Browse Source

样式优化

chenrui 4 years ago
parent
commit
5ab75ecef0

+ 1 - 1
pages/organization/organization.vue

@@ -8,7 +8,7 @@
 			</view>
 		</view>
 		<!-- 组织结构子节点 -->
-		<view class="organization-node-con">
+		<view class="organization-node-con" v-if="organizationNowList && organizationNowList.length > 0">
 			<view class="organization-node-item" v-for="(item, index) in organizationNowList" :key="index" @click="clickOrganization(item, index)">
 				<text class="organization-node-item-name">{{item.name}}</text>
 				<u-icon class="organization-node-item-icon" name="arrow-right" color="#999" size="28"></u-icon>

+ 2 - 2
pages/shopTourRecord/shopTourRecord.vue

@@ -45,8 +45,8 @@
 							</u-grid-item>
 						</u-grid>
 					</view>
-					<u-empty :text="noDataText" img-width="120" :margin-top="400" v-if="list.length == 0 && status != 'loading'" mode="list"></u-empty>
-					<view style="padding: 20upx;"><u-loadmore v-if="total > pageSize || status == 'loading'" :status="status" /></view>
+					<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" mode="list"></u-empty>
+					<view v-if="total > pageSize || status == 'loading'" style="padding: 20upx;"><u-loadmore :status="status" /></view>
 				</scroll-view>
 			</view>
 		</view>

+ 1 - 1
pages/videoShopTour/videoShopTour.vue

@@ -25,7 +25,7 @@
 						<u-icon class="listData-item-r-icon" name="icon-xian-11" custom-prefix="xd-icon" size="24" color="#2b85e4"></u-icon>
 					</view>
 				</view>
-				<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="220" style="height: auto;" mode="list"></u-empty>
+				<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" style="padding-top: 220upx;height: auto;" mode="list"></u-empty>
 			</scroll-view>
 		</view>
 	</view>