|
@@ -46,7 +46,7 @@
|
|
<u-cell-group :border="false">
|
|
<u-cell-group :border="false">
|
|
<u-cell icon="order" title="提货订单" :isLink="true" @click="toOrder"></u-cell>
|
|
<u-cell icon="order" title="提货订单" :isLink="true" @click="toOrder"></u-cell>
|
|
<u-cell icon="map" title="我的地址" :isLink="true" @click="toAddress"></u-cell>
|
|
<u-cell icon="map" title="我的地址" :isLink="true" @click="toAddress"></u-cell>
|
|
- <!-- <u-cell icon="kefu-ermai" title="联系客服" :isLink="true"></u-cell> -->
|
|
|
|
|
|
+ <u-cell icon="kefu-ermai" title="联系我们" :isLink="true" @click="contactService"></u-cell>
|
|
<u-cell icon="info-circle" title="关于我们" :border="false" :isLink="true" :url="'/pages/about/index'">
|
|
<u-cell icon="info-circle" title="关于我们" :border="false" :isLink="true" :url="'/pages/about/index'">
|
|
</u-cell>
|
|
</u-cell>
|
|
</u-cell-group>
|
|
</u-cell-group>
|
|
@@ -56,7 +56,6 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<custom-tab-bar :activeValue="'user'" />
|
|
<custom-tab-bar :activeValue="'user'" />
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -106,7 +105,7 @@
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
})
|
|
})
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
getBaseInfo() {
|
|
getBaseInfo() {
|
|
$http.post('/api/v1/mp/user/getLoginUserinfo', {}).then(res => {
|
|
$http.post('/api/v1/mp/user/getLoginUserinfo', {}).then(res => {
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
@@ -114,7 +113,7 @@
|
|
this.avatar = env.filePublic + res.data.avatar
|
|
this.avatar = env.filePublic + res.data.avatar
|
|
}
|
|
}
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
-
|
|
|
|
|
|
+
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
|
|
@@ -171,6 +170,18 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ // 联系客服
|
|
|
|
+ contactService() {
|
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
|
+ wx.openCustomerServiceChat({
|
|
|
|
+ extInfo: {
|
|
|
|
+ url: 'https://work.weixin.qq.com/kfid/kfc36c0d90028adbd24'
|
|
|
|
+ },
|
|
|
|
+ corpId: 'ww02da63d80c66284b',
|
|
|
|
+ })
|
|
|
|
+ // #endif
|
|
|
|
+ },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -214,8 +225,8 @@
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .no-ava{
|
|
|
|
|
|
+
|
|
|
|
+ .no-ava {
|
|
width: 106rpx;
|
|
width: 106rpx;
|
|
height: 106rpx;
|
|
height: 106rpx;
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|