|
@@ -45,7 +45,7 @@
|
|
|
<view class="title">{{item.title}}</view>
|
|
|
<view class="title">
|
|
|
<text v-if="user.id&&item.title=='我的积分'">{{user.integral||0}}分</text>
|
|
|
- <text v-if="item.title=='客服电话'" @tap="makePhone(serviceContaceInfo.phone)">{{serviceContaceInfo.phone||''}}</text>
|
|
|
+ <text v-if="item.title=='客服电话'" @tap="makePhone(serviceContactInfo.phone)">{{serviceContactInfo.phone||''}}</text>
|
|
|
<text class="iconfont icon-jiantouyou"></text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -64,7 +64,7 @@
|
|
|
// 用户信息
|
|
|
user: {},
|
|
|
// 客服信息
|
|
|
- serviceContaceInfo: {},
|
|
|
+ serviceContactInfo: {},
|
|
|
// 图标菜单
|
|
|
orderList: [ //订单列表
|
|
|
{
|
|
@@ -160,9 +160,9 @@
|
|
|
async searchOther() {
|
|
|
const that = this;
|
|
|
let res;
|
|
|
- res = await that.$api(`/serviceContace`, 'GET');
|
|
|
+ res = await that.$api(`/serviceContact`, 'GET');
|
|
|
if (res.errcode == '0' && res.total > 0) {
|
|
|
- that.$set(that, `serviceContaceInfo`, res.data[0])
|
|
|
+ that.$set(that, `serviceContactInfo`, res.data[0])
|
|
|
}
|
|
|
},
|
|
|
// 底部菜单跳转
|