| @@ -288,7 +288,7 @@ | |||
| console.log("过户检测", value) | |||
| if (value.transferLogs && value.transferLogs.length > 0) { | |||
| let arr = value.transferLogs; | |||
| state.data.transferLogs=[] | |||
| state.data.transferLogs = [] | |||
| for (var k = 0; k < arr.length; k++) { | |||
| if (arr[k]['status'] == "WAITING") { | |||
| state.data.transferLogs.push(arr[k]) | |||
| @@ -346,7 +346,7 @@ | |||
| state.form.totalMass = parseFloat(state.form.totalMass); | |||
| state.form.permittedWeight = parseFloat(state.form.permittedWeight); | |||
| state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight); | |||
| const options = { | |||
| type: 2, | |||
| data: state.form, | |||
| @@ -4,16 +4,11 @@ | |||
| <view class="title" @click="addInterestsList(item)"> | |||
| <view> | |||
| <view v-if='item.children' style="display: inline-block;"> | |||
| <image :class="item.isShow?'imageChange':'imageDefault'" @click="changeIsShow(index)" | |||
| <image :class="item.isShow?'imageChange':'imageDefault'" @click.prevent="changeIsShow(index)" | |||
| src="../../static/image/icon-back.png" alt="" srcset=""></image> | |||
| </view> | |||
| <text><text>{{item.productName}}</text> <text>¥{{item.discountPrice * 0.01}}</text></text> | |||
| </view> | |||
| <!-- <checkbox-group @change='getValue(index)'> | |||
| <label> | |||
| <checkbox :value="index" /> | |||
| </label> | |||
| </checkbox-group> --> | |||
| </view> | |||
| <view v-if="item.isShow" class="children" v-for="(itemChild,index) in item.children" :key='index'> | |||
| <view><text>{{itemChild.productName}}</text> <text>{{itemChild.discountPrice * 0.01}}</text> | |||
| @@ -110,16 +110,9 @@ | |||
| // #endif | |||
| // #ifdef MP-WEIXIN | |||
| // if (!state.openid) { | |||
| // getOpenID(); | |||
| // } | |||
| uni.login({ | |||
| provider: "weixin", | |||
| success: function (e) { | |||
| // uni.request({ | |||
| // url: `https://api.weixin.qq.com/sns/jscode2session?appid=${wechatAppID}&secret=${wechatSecret}&js_code=${e.code}&grant_type=authorization_code`, | |||
| // success: (res : any) => { | |||
| const options1 = { | |||
| type: 2, | |||
| data: { | |||
| @@ -163,9 +156,6 @@ | |||
| }); | |||
| }); | |||
| }); | |||
| // }, | |||
| // }); | |||
| }, | |||
| }); | |||