Browse Source

在线客服

yxb
yangteng 11 months ago
parent
commit
e52391d573

+ 38
- 2
subpackage/after-sale/onlineService.vue View File

</div> </div>
</template> </template>
<script setup lang='ts'> <script setup lang='ts'>
import { onShow } from "@dcloudio/uni-app";
import {
getOnLineUrlApi
} from "@/utils/network/api.js";
import { import {
ref ref
} from 'vue' } 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> </script>
<style lang='scss' scoped> <style lang='scss' scoped>


</style>
</style>

+ 1
- 1
subpackage/after-sale/result-failed.vue View File

<template> <template>
<view class="oderPage"> <view class="oderPage">
<view class="content"> <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 class="title">
办理失败 办理失败
</view> </view>

+ 1
- 1
subpackage/personal-center/trapping-and-repairing-account/recharge-pay.vue View File

<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复 <image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复
</view> </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>
<view>选择充值方式:</view> <view>选择充值方式:</view>

+ 1
- 1
subpackage/personal-center/trapping-and-repairing/recharge-pay.vue View File

<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复 <image class="photo" :src="fileURL + 'image/index/goRecharge.png'"></image>去修复
</view> </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>
<view>选择充值方式:</view> <view>选择充值方式:</view>

+ 1
- 1
subpackage/service/trajectory-map.vue View File

<view class="all">您共到访过<text class="num">{{state.mapArr.length}}</text>个城市</view> <view class="all">您共到访过<text class="num">{{state.mapArr.length}}</text>个城市</view>
<view>您的足迹已踏遍{{state.mileages}}的国土超过了{{state.ranking}}%的九州ETC用户</view> <view>您的足迹已踏遍{{state.mileages}}的国土超过了{{state.ranking}}%的九州ETC用户</view>
</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> </view>
</template> </template>



+ 1
- 0
utils/network/api.js View File

export const getMailingAddressApi = "1babe3f09d0b458a84c798e89895664f" //更换设备获取邮寄地址 export const getMailingAddressApi = "1babe3f09d0b458a84c798e89895664f" //更换设备获取邮寄地址
export const addAddressApi = "09d4ba9985394ef8a241acabe888273c" //支付完添加收货地址 export const addAddressApi = "09d4ba9985394ef8a241acabe888273c" //支付完添加收货地址
export const oneOreTwo = "3e09b1199e854a91a4d3a9329e734b8d" //判断诺德订单是一次激活还是重新激活 export const oneOreTwo = "3e09b1199e854a91a4d3a9329e734b8d" //判断诺德订单是一次激活还是重新激活
export const getOnLineUrlApi = "4b173ee5f550478ca22d4681fa9d8b42" //在线客服

Loading…
Cancel
Save