@@ -4,11 +4,47 @@ | |||
</div> | |||
</template> | |||
<script setup lang='ts'> | |||
import { onShow } from "@dcloudio/uni-app"; | |||
import { | |||
getOnLineUrlApi | |||
} from "@/utils/network/api.js"; | |||
import { | |||
ref | |||
} from 'vue' | |||
let url = ref('https://mcs-ynt.hltgz.com/onekey.html?id=c3pnog1pbnr4dq&appName=gzetc144&appChannel=20001') | |||
// let url = ref('https://mcs-ynt.hltgz.com/onekey.html?id=c3pnog1pbnr4dq&appName=gzetc144&appChannel=20001') | |||
let url = ref('') | |||
import {getItem} from "@/utils/storage"; | |||
import {request} from "@/utils/network/request.js"; | |||
import {stringToJson} from "@/utils/network/encryption"; | |||
onShow(() => { | |||
console.log("过来了的") | |||
getOnLineUrl() | |||
}); | |||
// 在线客服请求 | |||
const getOnLineUrl = () => { | |||
const options = { | |||
type: 2, | |||
data: { | |||
"uid":getItem('openId'),//用户唯一标识(微信公众号openid) | |||
"phone":getItem('mobile'), | |||
"chl":"9ZHOUETC" | |||
}, | |||
method: "POST", | |||
showLoading: true, | |||
}; | |||
console.log("11",{ | |||
"uid":getItem('openId'),//用户唯一标识(微信公众号openid) | |||
"phone":getItem('mobile'), | |||
"chl":"9ZHOUETC" | |||
}) | |||
request(getOnLineUrlApi, options).then((res) => { | |||
const data = stringToJson(res.bizContent); | |||
url.value=data.data.rd | |||
console.log("在线客服请求", stringToJson(res.bizContent)) | |||
}) | |||
} | |||
</script> | |||
<style lang='scss' scoped> | |||
</style> | |||
</style> |
@@ -1,7 +1,7 @@ | |||
<template> | |||
<view class="oderPage"> | |||
<view class="content"> | |||
<image src="../static/image/failed.png" mode="aspectFill"></image> | |||
<image src="../../static/image/home.png" mode="aspectFill"></image> | |||
<view class="title"> | |||
办理失败 | |||
</view> |
@@ -4,7 +4,7 @@ | |||
<view style="display: flex;align-items: center;"> | |||
<image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复 | |||
</view> | |||
<image class="photo1" src="../../static/image/icon-back.png" mode="widthFix"></image> | |||
<image class="photo1" src="../../../static/image/icon-back.png" mode="widthFix"></image> | |||
</view> | |||
<view> | |||
<view>选择充值方式:</view> |
@@ -4,7 +4,7 @@ | |||
<view style="display: flex;align-items: center;"> | |||
<image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复 | |||
</view> | |||
<image class="photo1" src="../../static/image/icon-back.png" mode="widthFix"></image> | |||
<image class="photo1" src="../../../static/image/icon-back.png" mode="widthFix"></image> | |||
</view> | |||
<view> | |||
<view>选择充值方式:</view> |
@@ -13,7 +13,7 @@ | |||
<view class="all">您共到访过<text class="num">{{state.mapArr.length}}</text>个城市</view> | |||
<view>您的足迹已踏遍{{state.mileages}}的国土超过了{{state.ranking}}%的九州ETC用户</view> | |||
</view> | |||
<image class="car" src="../../../static/image/home-on.png" mode="aspectFit"></image> | |||
<image class="car" src="../../static/image/home-on.png" mode="aspectFit"></image> | |||
</view> | |||
</template> | |||
@@ -316,3 +316,4 @@ export const decrypt9901 = "c6e7c27e774c493d82c942dc69507d67" | |||
export const getMailingAddressApi = "1babe3f09d0b458a84c798e89895664f" //更换设备获取邮寄地址 | |||
export const addAddressApi = "09d4ba9985394ef8a241acabe888273c" //支付完添加收货地址 | |||
export const oneOreTwo = "3e09b1199e854a91a4d3a9329e734b8d" //判断诺德订单是一次激活还是重新激活 | |||
export const getOnLineUrlApi = "4b173ee5f550478ca22d4681fa9d8b42" //在线客服 |