zhangdan 4 years ago
parent
commit
ec0195a23e
4 changed files with 6 additions and 3 deletions
  1. 1 1
      pages/index/index.vue
  2. 1 0
      pages/order/waitOrderDetail.vue
  3. 3 1
      pages/store/addStore.vue
  4. 1 1
      pages/store/storeList.vue

+ 1 - 1
pages/index/index.vue

@@ -39,7 +39,7 @@
 				<view>待处理订单({{listdata.length}}个)</view>
 			</view>
 			<view class="list-item" v-for="item in listdata" :key="item.id">
-				<u-image class="img-icon" :src="item.icon?item.imageHeader:'/static/def_home_shop.png'"
+				<u-image class="img-icon" :src="item.icon?item.imageHeader:'/static/home_shop.png'"
 					border-radius="16" width="160" height="160"></u-image>
 				<view @click="intoWaitOrderDetail(item)"
 					class="cont-item-right flex_1 flex flex_column justify_between">

+ 1 - 0
pages/order/waitOrderDetail.vue

@@ -306,6 +306,7 @@
 						uni.redirectTo({
 							url: '/pages/order/finish?money=' + res.data
 						})
+						console.log('=============')
 					}
 					this.loading = false
 				})

+ 3 - 1
pages/store/addStore.vue

@@ -43,7 +43,9 @@
 							<u-icon name="camera" color="#bfbfbf" size="60" v-show="!isView"></u-icon>
 						</view>
 					</view>
-					<view v-if="isView &&photograph.length==0" style="margin-top: 10rpx;">暂无门头照</view>
+					<view v-if="isView &&photograph.length==0" style="margin-top: 10rpx;">
+						<u-image src="/static/home_shop.png" width="160" height="160"></u-image>
+					</view>
 					<view v-show="photograph.length" v-for="(item,index) in photograph" :key="index" class="photograph-con">
 						<u-icon  v-show="!isView" name="close-circle-fill" color="#fa3534" size="50" class="close-circle-icon" @click="cancelPhotograph(index)"></u-icon>
 						<u-image width="100%" height="100%" :src="item" @click="previewPictures(item)"></u-image>

+ 1 - 1
pages/store/storeList.vue

@@ -5,7 +5,7 @@
 		</view>
 		<scroll-view scroll-y class="list" @scrolltolower="onreachBottom">
 			<view class="list-item flex align_center" v-for="item in list" :key="item.id" @click="addStore(item.id)">
-				<u-image src="/static/home_shop.png" width="160" height="160"></u-image>
+				<u-image :src="item.reverseReceiveAddress &&item.reverseReceiveAddress.headerImageList?item.reverseReceiveAddress.headerImageList[0]:'/static/home_shop.png'" width="160" height="160"></u-image>
 				<view class="item-right flex_1 flex justify_between align_center"> 
 					<view class="right-item flex flex_column">
 						<view >{{item.name}}</view>