|
|
@ -60,7 +60,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="wp100 mt15" v-if="subject=='1'||subject=='4'"> |
|
|
|
<view class="wp100 mt15" v-if="subject=='1'||subject=='4'"> |
|
|
|
<image class="wp100" mode="widthFix" :src="picUrl"></image> |
|
|
|
<image class="wp100" mode="widthFix" src="https://oss-bq.ahduima.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/%E5%9B%BE%E7%89%87/vip%E6%8F%8F%E8%BF%B0_20230911211600.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -86,7 +86,6 @@ |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data(){ |
|
|
|
data(){ |
|
|
|
return{ |
|
|
|
return{ |
|
|
|
picUrl:'', |
|
|
|
|
|
|
|
titleNum:500, |
|
|
|
titleNum:500, |
|
|
|
subject:'1', |
|
|
|
subject:'1', |
|
|
|
loading:true, |
|
|
|
loading:true, |
|
|
@ -107,19 +106,12 @@ |
|
|
|
this.getVipList() |
|
|
|
this.getVipList() |
|
|
|
this.getWXOpenId() |
|
|
|
this.getWXOpenId() |
|
|
|
this.getTitle() |
|
|
|
this.getTitle() |
|
|
|
this.getPic() |
|
|
|
|
|
|
|
this.$set(this.order, 'userId', this.userInfo.userId); |
|
|
|
this.$set(this.order, 'userId', this.userInfo.userId); |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
...mapState(useUserStore, ["userInfo"]) |
|
|
|
...mapState(useUserStore, ["userInfo"]) |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
methods:{ |
|
|
|
getPic(){ |
|
|
|
|
|
|
|
const currentCartype = storage.get('carType') || '1001' |
|
|
|
|
|
|
|
querySysConfig(currentCartype, 'VipDescImageUrl').then(res => { |
|
|
|
|
|
|
|
this.picUrl = JSON.parse(res.data.configJson).url |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
getTitle(){ |
|
|
|
getTitle(){ |
|
|
|
const carId=storage.get('carType') || '1001' |
|
|
|
const carId=storage.get('carType') || '1001' |
|
|
|
querySysConfig(carId,'SimplifyQuestionNum').then(resp=>{ |
|
|
|
querySysConfig(carId,'SimplifyQuestionNum').then(resp=>{ |
|
|
@ -150,7 +142,6 @@ |
|
|
|
carTypeId: storage.get('carType') || '1001', |
|
|
|
carTypeId: storage.get('carType') || '1001', |
|
|
|
subject:this.subject |
|
|
|
subject:this.subject |
|
|
|
}).then(resp=>{ |
|
|
|
}).then(resp=>{ |
|
|
|
if(resp.code==='0000'){ |
|
|
|
|
|
|
|
this.priceList=resp.data |
|
|
|
this.priceList=resp.data |
|
|
|
this.checkedId=this.priceList[0].memberId |
|
|
|
this.checkedId=this.priceList[0].memberId |
|
|
|
this.order.outTradeNo=this.priceList[0].memberId |
|
|
|
this.order.outTradeNo=this.priceList[0].memberId |
|
|
@ -161,7 +152,6 @@ |
|
|
|
item.all=true |
|
|
|
item.all=true |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
checkPrice(val,price){ |
|
|
|
checkPrice(val,price){ |
|
|
@ -185,6 +175,7 @@ |
|
|
|
padding: 14px; |
|
|
|
padding: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
.checked_item{ |
|
|
|
.checked_item{ |
|
|
|
|
|
|
|
width: 228rpx; |
|
|
|
background: #FFF0E5; |
|
|
|
background: #FFF0E5; |
|
|
|
border: 4px solid #FF6E02; |
|
|
|
border: 4px solid #FF6E02; |
|
|
|
} |
|
|
|
} |
|
|
|