|
@@ -68,11 +68,11 @@
|
|
|
<view>
|
|
|
<view class="item-box item-box-a">
|
|
|
<view class="order-section">
|
|
|
- <view class="order-item" @click="navTo('/pages/money/award')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class="order-item" @click="navTo('/pages/user/award')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
<view class="icon icon-b"><image class="icon-img" src="/static/user/yue.png" mode="aspectFit"></image></view>
|
|
|
<view class="order-font">我的余额</view>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/user/wallet')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
+ <view class="order-item" @click="navTo('/pages/money/wallet')" hover-class="common-hover" :hover-stay-time="50">
|
|
|
<view class="icon icon-b"><image class="icon-img" src="/static/user/yongjin.png" mode="aspectFit"></image></view>
|
|
|
<view class="order-font">我的佣金</view>
|
|
|
</view>
|
|
@@ -90,34 +90,18 @@
|
|
|
<uni-list>
|
|
|
<uni-list-item title="我的收藏" @click="navTo('/pages/user/favorites')" thumb="/static/user/shoucang.png"></uni-list-item>
|
|
|
<uni-list-item title="收货地址" @click="navTo('/pages/set/address')" thumb="/static/user/dizhi.png"></uni-list-item>
|
|
|
- <uni-list-item title="联系客服" @click="showPopup" thumb="/static/user/kefu.png"></uni-list-item>
|
|
|
+ <!-- <uni-list-item title="联系客服" @click="showPopup" thumb="/static/user/kefu.png"></uni-list-item> -->
|
|
|
</uni-list>
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
- <uni-popup ref="popup" type="center">
|
|
|
- <view class="popup">
|
|
|
- <view class="popup-dox">
|
|
|
- <image class="popup-logo" src="../../static/img/img009.png"></image>
|
|
|
- <view class="pop-title">已为您定制专属客服</view>
|
|
|
- <view>{{ weixin }}</view>
|
|
|
- <image class="popup-text" @longtap="bc_code" :src="erweima"></image>
|
|
|
- <view class="btn" @click="copy(weixin)">复制微信号</view>
|
|
|
- <view class="pop-tip flex">
|
|
|
- <view class="weixin"><image src="../../static/img/weixin.png" mode=""></image></view>
|
|
|
- <view>长按保存二维码</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="close_icon" @click="close"><image src="../../static/img/Close.png"></image></view>
|
|
|
- </uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapState, mapMutations } from 'vuex';
|
|
|
import uniList from '@/components/uni-list/uni-list.vue';
|
|
|
import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
|
|
|
-import { orderData, getUserInfo, getMyStore,service } from '@/api/user.js';
|
|
|
+import { orderData, getUserInfo, getMyStore } from '@/api/user.js';
|
|
|
import { saveUrl, interceptor } from '@/utils/loginUtils.js';
|
|
|
import { logout } from '@/api/set.js';
|
|
|
// import uniCopy from '@/js_sdk/xb-copy/uni-copy.js';
|
|
@@ -136,8 +120,6 @@ export default {
|
|
|
moving: false,
|
|
|
userDowm: 0, //卡片升级专属高度
|
|
|
userMaxDowm: 0, //卡片最高高度
|
|
|
- erweima: '',
|
|
|
- weixin: '',
|
|
|
};
|
|
|
},
|
|
|
onShow() {
|
|
@@ -292,10 +274,6 @@ export default {
|
|
|
.catch(e => {
|
|
|
console.log(e);
|
|
|
});
|
|
|
- service({}).then(({ data }) => {
|
|
|
- this.erweima = data.service_qr;
|
|
|
- this.weixin = data.service_wechat;
|
|
|
- });
|
|
|
},
|
|
|
/**
|
|
|
* 统一跳转接口,拦截未登录路由
|