<view class="text">设备激活</view> | <view class="text">设备激活</view> | ||||
</view> | </view> | ||||
<view class="item-box" | |||||
@click="$util.navTo('/subpackage/after-sale/card-loss-reporting/select-car',true)"> | |||||
<view class="item-box" @click="cardRecharge(3)"> | |||||
<view class="item item-5"> | <view class="item item-5"> | ||||
<image :src="fileURL + 'image/index/item-5.png'" mode="aspectFill" /> | <image :src="fileURL + 'image/index/item-5.png'" mode="aspectFill" /> | ||||
</view> | </view> | ||||
const cardRecharge = (val) => { | const cardRecharge = (val) => { | ||||
// #ifdef MP-ALIPAY | // #ifdef MP-ALIPAY | ||||
// msg("业务升级中,请前往九州ETC公众号进行办理。或拨打客服电话400-800-8787") | // msg("业务升级中,请前往九州ETC公众号进行办理。或拨打客服电话400-800-8787") | ||||
if (val == 1) { | |||||
navTo('/pages/recharge/recharge-pay', true) | |||||
// if (val == 1) { | |||||
// navTo('/pages/recharge/recharge-pay', true) | |||||
// } else | |||||
if (val == 1 || val == 2 || val == 3) { | |||||
msg("业务升级中,请前往九州ETC公众号进行办理。或拨打客服电话400-800-8787") | |||||
} | } | ||||
// #endif | // #endif | ||||
// // #ifdef MP-ALIPAY | // // #ifdef MP-ALIPAY | ||||
navTo('/pages/recharge/recharge-pay', true) | navTo('/pages/recharge/recharge-pay', true) | ||||
} else if (val == 2) { | } else if (val == 2) { | ||||
navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select', true) | navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select', true) | ||||
} else if (val == 3) { | |||||
navTo('/subpackage/after-sale/card-loss-reporting/select-car', true) | |||||
} | } | ||||
// #endif | // #endif | ||||
} | } |
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="go-through box"> | |||||
<view class="go-through box" v-if="source=='WECHAT'"> | |||||
<view class="right-head"> | <view class="right-head"> | ||||
<view class="tit">本月通行</view> | <view class="tit">本月通行</view> | ||||
</view> | </view> | ||||
stringToJson | stringToJson | ||||
} from "@/utils/network/encryption.js"; | } from "@/utils/network/encryption.js"; | ||||
import filter from '@/components/filter/filter.vue'; | import filter from '@/components/filter/filter.vue'; | ||||
import { source } from "@/utils/network/difference"; | |||||
import { vehiclePlateColor, vehiclePlateColorPai, getVehiclePlateColorPaiShow } from "@/datas/vehiclePlateColor.js"; | import { vehiclePlateColor, vehiclePlateColorPai, getVehiclePlateColorPaiShow } from "@/datas/vehiclePlateColor.js"; | ||||
const height = ref(null); | const height = ref(null); | ||||
const top = ref(null); | const top = ref(null); |
<view><text>车头照:</text> | <view><text>车头照:</text> | ||||
<image mode="widthFix" :src="state.tableData['vehBodyUrl']"></image> | <image mode="widthFix" :src="state.tableData['vehBodyUrl']"></image> | ||||
</view> | </view> | ||||
<button v-if="state.tableData['status']=='已办理'" class="submit" | |||||
<button v-if="state.tableData['status']=='已办理' && source=='WECHAT'" class="submit" | |||||
@click="carChange(state.tableData['vehicleId'])">车辆信息变更</button> | @click="carChange(state.tableData['vehicleId'])">车辆信息变更</button> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<script setup lang="ts"> | <script setup lang="ts"> | ||||
import { reactive } from "vue"; | import { reactive } from "vue"; | ||||
import { onLoad } from "@dcloudio/uni-app"; | import { onLoad } from "@dcloudio/uni-app"; | ||||
import { source } from "@/utils/network/difference"; | |||||
const state = reactive({ | const state = reactive({ | ||||
tableData: {}, //上一个页面传递过来的参数 | tableData: {}, //上一个页面传递过来的参数 | ||||
}); | }); |