Kaynağa Gözat

星星修改

wcni 5 yıl önce
ebeveyn
işleme
ce06b1f120

+ 2 - 2
pages/index/commemt.vue

@@ -3,7 +3,7 @@
 		<view  v-for="(item,index) in assesslist" :key="index" class="uni-padding-wrap" style="border-bottom: 1px solid #EEEEEE;padding-bottom: 10upx;">
 			<view class="uni-comment">
 				<view class="uni-comment-list">
-					<view class="uni-comment-face"><image :src="item.member_avatar"></image></view>
+					<view class="uni-comment-face"><image style="width: 100%;height: 100%;" :src="item.member_avatar"></image></view>
 					<view class="uni-comment-body">
 						<view class="uni-comment-top">
 							<text style="font-size: 28upx;color: #303133">{{item.member_truename}}</text>
@@ -15,7 +15,7 @@
 					</view>
 					<view>
 						<van-rate
-						  :value="item.satisfaction"
+						  :value="item.geval_scores"
 						  void-icon="star"
 						  void-color="#eee"
 						  color="#ee0a24"

+ 4 - 2
pages/index/hotel.vue

@@ -46,10 +46,11 @@
                   <van-tabs v-model="activeindex" @click.stop="onChange">
                     <van-tab  :name="0" title="服务项目">
                   <view>
+					  <!-- background: #909399 -->
                       <view class="giveList">
                           <view class="giveItem" v-for="(item,index) in category_list" :key="index" @click.stop="godetail(item)">
                             <image :src="item.pic" 
-							style="width:100%;height: 100upx;background: #909399">
+							style="width:100%;height: 100upx;">
 							</image>
                             <p style="text-align: center;">{{item.gc_name}}</p>
                           </view>
@@ -414,7 +415,6 @@
 				})
 			},
 		
-           
             onChange(event) {
                     this.activeindex = event.detail.name;
 					this.page = 1;
@@ -452,6 +452,7 @@
 					},
 					success: (res) => {
 						let { data } = res.data;
+						this.store_slide = [];
 						this.hoteldetail = data;
 						this.hotelitle = data.store_name;
 						data.store_slide.forEach(item => {
@@ -459,6 +460,7 @@
 								this.store_slide.push(item);
 							}
 						})
+						console.log(this.store_slide);
 						this.store_summary = data.store_summary;
 						const regex = new RegExp('<img', 'gi');
 						data.store_description = data.store_description.replace(regex, 

+ 5 - 1
pages/myCenter/index.vue

@@ -225,7 +225,11 @@
 						});
 					}
 					
-				}
+				}else {
+						uni.navigateTo({
+							url: './logion'
+						})
+					}
 				
 			},
 			getuserinfo() {

+ 0 - 3
pages/myCenter/information.vue

@@ -83,12 +83,9 @@
 		flex-direction: row;
 		padding: 18upx 32upx;
 		border-bottom: 10upx solid #F5F5F5;
-	
 		.contentleft {
 			width: 200upx;
 			height: 180upx;
-			background-color: red;
-			
 		}
 		.contentitle {
 			width: 100%;

+ 0 - 0
pages/myone/ariclle.vue → pages/myOrder/myone/ariclle.vue


+ 0 - 0
pages/myone/oneIndex.vue → pages/myOrder/myone/oneIndex.vue


+ 0 - 0
pages/myone/onedetail.vue → pages/myOrder/myone/onedetail.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/hotel.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/myCenter/index.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/myCenter/information.js.map


+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/commemt.wxml

@@ -1 +1 @@
-<view><block wx:for="{{assesslist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-padding-wrap" style="border-bottom:1px solid #EEEEEE;padding-bottom:10rpx;"><view class="uni-comment"><view class="uni-comment-list"><view class="uni-comment-face"><image src="{{item.member_avatar}}"></image></view><view class="uni-comment-body"><view class="uni-comment-top"><text style="font-size:28rpx;color:#303133;">{{item.member_truename}}</text><uni-icon vue-id="{{'aa985128-1-'+index}}" type="star" size="16" bind:__l="__l"></uni-icon></view><view class="uni-comment-date"><text style="color:#909399;font-size:20rpx;">{{item.geval_addtime}}</text></view></view><view><van-rate vue-id="{{'aa985128-2-'+index}}" value="{{item.satisfaction}}" void-icon="star" void-color="#eee" color="#ee0a24" readonly="true" data-com-type="wx" bind:__l="__l"></van-rate></view></view><view class="uni-comment-content" style="color:#303133;font-size:28rpx;">{{item.geval_content}}</view></view></view></block><block wx:if="{{assesslist.length==0}}"><view style="text-align:center;">暂无评价</view></block></view>
+<view><block wx:for="{{assesslist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-padding-wrap" style="border-bottom:1px solid #EEEEEE;padding-bottom:10rpx;"><view class="uni-comment"><view class="uni-comment-list"><view class="uni-comment-face"><image style="width:100%;height:100%;" src="{{item.member_avatar}}"></image></view><view class="uni-comment-body"><view class="uni-comment-top"><text style="font-size:28rpx;color:#303133;">{{item.member_truename}}</text><uni-icon vue-id="{{'aa985128-1-'+index}}" type="star" size="16" bind:__l="__l"></uni-icon></view><view class="uni-comment-date"><text style="color:#909399;font-size:20rpx;">{{item.geval_addtime}}</text></view></view><view><van-rate vue-id="{{'aa985128-2-'+index}}" value="{{item.geval_scores}}" void-icon="star" void-color="#eee" color="#ee0a24" readonly="true" data-com-type="wx" bind:__l="__l"></van-rate></view></view><view class="uni-comment-content" style="color:#303133;font-size:28rpx;">{{item.geval_content}}</view></view></view></block><block wx:if="{{assesslist.length==0}}"><view style="text-align:center;">暂无评价</view></block></view>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/index/hotel.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/index/hotel.wxml


+ 4 - 0
unpackage/dist/dev/mp-weixin/pages/myCenter/index.js

@@ -358,6 +358,10 @@ var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumera
           });
         }
 
+      } else {
+        uni.navigateTo({
+          url: './logion' });
+
       }
 
     },

+ 0 - 1
unpackage/dist/dev/mp-weixin/pages/myCenter/information.wxss

@@ -44,7 +44,6 @@
 .hotelcontent .contentleft {
     width: 200rpx;
     height: 180rpx;
-    background-color: red;
 }
 .hotelcontent .contentitle {
     width: 100%;

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor