Przeglądaj źródła

修复一点问题

EagleLin 4 lat temu
rodzic
commit
97b92cd0d8

+ 4 - 0
components/page-component/goods/u-attr.vue

xqd
@@ -188,9 +188,13 @@
 				if( this.serviceId == index){
 					this.serviceId = null
 					this.screenDescription=""
+					this.service_label=null
+					this.card_id=null
 				}else{
 					this.serviceId = index
 					this.screenDescription=this.service_screen.screenList[index]['description']||''
+					this.service_label = this.service_screen.screenList[index]
+					this.card_id = this.service_screen.screenList['card_id']
 				} 
 			// 	if(this.serviceId || this.serviceId===0){
 			// 		this.service_screen.screenList.forEach((item,index)=>{

+ 2 - 0
pages/goods/contrast.vue

xqd
@@ -583,6 +583,8 @@
 										&&data[i].params[index].params&&data[i].params[index].params.length>0
 										&&inde<data[i].params[index].params.length)
 											text.push(data[i].params[index].params[inde].value || '-')
+										else
+											text.push( '-')
 									}
 								})
 								title = data[indexs].params[index].name

+ 27 - 2
pages/user-center/user-center.vue

xqd xqd
@@ -65,9 +65,34 @@
                         </view>
                     </app-jump-button>
                 </view>
+				<view class="item" @click="goUrl">
+					
+				    <app-jump-button form
+				                     url="pages/sp/index/index"
+				                     open_type="item.open_type"
+				                     item="item"
+				                     :arrangement="`${userCenter.menu_style === '1' ? 'row' : userCenter.menu_style === '2' ? 'column' : ''}`">
+				        <view style="width: 100%"
+				              class="item-container"
+				              :class="[
+				                  userCenter.menu_style=='1'?'dir-left-nowrap cross-center':'',
+				                  userCenter.menu_style=='2'?'dir-top-nowrap cross-center':'',
+				              ]">
+				            <view class="box-grow-0">
+				                <image src="https://t12.9026.com/web/statics/img/mall/pick-link/icon-user-card.png" class="icon"></image>
+				            </view>
+				            <view class="box-grow-1" style="max-width: 100%">
+				                <view class="name">碎屏险中心</view>
+				            </view>
+				            <view class="box-grow-0" v-if="userCenter.menu_style=='1'">
+				                <image src="/static/image/icon/arrow-right.png" class="arrow"></image>
+				            </view>
+				        </view>
+				    </app-jump-button>
+				</view>
             </view>
         </view>
-		<view class="app-my-service" v-if="userCenter.is_menu_status == 1"> 
+	<!-- 	<view class="app-my-service" v-if="userCenter.is_menu_status == 1"> 
 		    <view class="list" :class="[listStyle]">
 		        <view class="item" @click="goUrl">
 		            <app-jump-button form 
@@ -89,7 +114,7 @@
 		            </app-jump-button>
 		        </view>
 		    </view>
-		</view>
+		</view> -->
         <app-copyright
             v-if="copyright && copyright.status == '1'"
             background-color="transparent"