wcni 5 лет назад
Родитель
Сommit
47730bca01
3 измененных файлов с 6 добавлено и 8 удалено
  1. 3 5
      pages/index/shop.vue
  2. 1 2
      pages/myCenter/index.vue
  3. 2 1
      pages/myOrder/finsh.vue

+ 3 - 5
pages/index/shop.vue

@@ -50,8 +50,8 @@
  			<view  style="display: flex;justify-content: space-between;" class="c-row b-b" @click="toggleSpec">
  				<view style="font-size: 32upx;color: #909399;">规则数量选择</view>
 				<view>
-				 <uni-icon  size="20" type="arrowright"></uni-icon>
-				 </view>
+				  <uni-icon  size="20" type="arrowright"></uni-icon>
+				</view>
  			</view>
  		</view>
  		
@@ -512,8 +512,6 @@
 					return;
 				}
 				this.specSelected = []; 
-				
-				
  				let list = this.datalist.spec_list[index].value_list;
  				this.datalist.spec_list[index].value_list.forEach(item=>{
  					if(item.value_id === pid){
@@ -546,7 +544,7 @@
 					this.firstprice = items.goods_price;
 					this.totalprice = items.goods_price*this.shopnumber;
 				}
-				
+				console.log(this.specSelected);
 				// if(this.arrayId.length == this.datalist.spec_list.length) {
 					
 				// }

+ 1 - 2
pages/myCenter/index.vue

@@ -10,7 +10,7 @@
 						<image :src="userInfo.avatarUrl"></image>
 					</view>
                     <view v-if="successlogion&&hasLogin">
-						<view  style="font-size: 34upx;margin-bottom: 32upx;">{{userInfo.member_name}}</view>
+						<view  style="font-size: 34upx;margin-bottom: 32upx;">{{userInfo.nickName}}</view>
 						<view style="font-size: 24upx"  @click="goAdress(3)" >圈币{{menberinfo.member_points}}></view>
 					</view>
 					
@@ -94,7 +94,6 @@
 		<van-cell @click="goAdress(9)"   title="我的收藏" is-link>
 			<template slot="icon">
 				<image style="width: 29upx;height: 29upx;
-			
 				margin-right: 8upx;
 				vertical-align:middle"
 				src="../../static/favorite.png" />

+ 2 - 1
pages/myOrder/finsh.vue

@@ -44,7 +44,8 @@
 			// cha kan ding dan xiang qing 
 			lookfor() {
 				let order_id = this.order_id ;
-				uni.navigateTo({
+				uni.$emit('finshlist');
+				uni.redirectTo({
 				        url: `/pages/myOrder/order?id=${order_id}`
 				});
 			}