6
0
Fork 0

修改客服信息

hui.zhou
h30830569 2022-05-31 14:39:00 +08:00
parent 47e65241cb
commit 4383d268ac
4 changed files with 251 additions and 244 deletions

View File

@ -24,7 +24,7 @@
<view class=" text-txGray ml-15rpx">{{user.phone}}</view>
</view>
<view class="flex items-center flex-1 justify-end font-extrabold" @tap="$u.routeAuth('/pageB/comm_rec/index')" >
<view class="mr-5rpx">记录</view>
<view class="mr-5rpx">记录</view>
<u-icon name="arrow-right" size="26"></u-icon>
</view>
</view>

View File

@ -2,7 +2,7 @@
<view class="px-30rpx pt-20rpx">
<view class="sticky top-0 z-1500 bg-hex-F5F5F5 rounded-full grid grid-cols-3 text-28rpx text-hex-333 leading-40rpx py-10rpx">
<view class="text-center">时间</view>
<view class="text-center">佣金</view>
<view class="text-center">返利</view>
<view class="text-center">状态</view>
</view>
<mescroll-body :height="height" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption"

View File

@ -589,7 +589,7 @@
{
"path": "comm_rec/index",
"style": {
"navigationBarTitleText": "佣金记录",
"navigationBarTitleText": "推荐返利",
"enablePullDownRefresh": false,
"navigationStyle": "default"
}

View File

@ -36,9 +36,7 @@
</view>
</view>
<view class="flex items-center justify-between mt-20rpx text-txBase text-lg">
<view class="flex-1" v-if="walletShow"
>余额: <text class="font-medium">{{ balance.balance }}</text></view
>
<view class="flex-1" v-if="walletShow">: <text class="font-medium">{{ balance.balance }}</text></view>
<!-- <view class="w-200rpx flex-none">
<view class="" v-if="!isVerify"
>积分:<text class="font-medium">{{ user.points }}</text></view
@ -65,20 +63,14 @@
<!-- 已是会员广告位 -->
<block v-if="!isVerify">
<block v-if="show_vip_banner && user.is_vip == true">
<view
@tap="$u.routeAuth('/pageB/svip/index')"
:style="[{ backgroundImage: 'url(' + show_vip_banner + ')' }]"
class="bg_advertisement mt flex items-center justify-end px-30rpx"
>
<view @tap="$u.routeAuth('/pageB/svip/index')" :style="[{ backgroundImage: 'url(' + show_vip_banner + ')' }]"
class="bg_advertisement mt flex items-center justify-end px-30rpx">
</view>
</block>
<!-- 还未成为会员 -->
<block v-if="become_vip_banner && user.is_vip == false">
<view
@tap="$u.routeAuth('/pageB/svip/index')"
:style="[{ backgroundImage: 'url(' + become_vip_banner + ')' }]"
class="bg_advertisements mt px-30rpx"
>
<view @tap="$u.routeAuth('/pageB/svip/index')" :style="[{ backgroundImage: 'url(' + become_vip_banner + ')' }]"
class="bg_advertisements mt px-30rpx">
</view>
</block>
</block>
@ -89,29 +81,34 @@
<view class="text-md text-txBase" @tap="$u.routeAuth('/pageA/user_order/index', { type: 0 })">查看全部</view>
</view>
<view class="flex items-center px-base justify-around py-26rpx">
<view class="flex items-center justify-center flex-col text-txBase text-md" @tap="$u.routeAuth('/pageA/user_order/index', { type: 1 })">
<view class="flex items-center justify-center flex-col text-txBase text-md"
@tap="$u.routeAuth('/pageA/user_order/index', { type: 1 })">
<view class="flex items-start relative">
<image class="w-48rpx h-48rpx" src="/static/images/user/pending_payment.png" mode="scaleToFill"></image>
<block v-if="isLogin && order_count.pending_orders_count > 0">
<view class="absolute left-30rpx -top-18rpx w-32rpx h-32rpx rounded-full bg-bgSubtitle text-white text-sm text-center leading-32rpx">
<view
class="absolute left-30rpx -top-18rpx w-32rpx h-32rpx rounded-full bg-bgSubtitle text-white text-sm text-center leading-32rpx">
{{ order_count.pending_orders_count }}
</view>
</block>
</view>
<view>待付款</view>
</view>
<view class="flex items-center justify-center flex-col text-txBase text-md" @tap="$u.routeAuth('/pageA/user_order/index', { type: 2 })">
<view class="flex items-center justify-center flex-col text-txBase text-md"
@tap="$u.routeAuth('/pageA/user_order/index', { type: 2 })">
<view class="flex items-start relative">
<image class="w-48rpx h-48rpx" src="@/static/images/user/received.png" mode=""></image>
<block v-if="isLogin && order_count.unreceived_orders_count > 0">
<view class="absolute left-30rpx -top-18rpx w-32rpx h-32rpx rounded-full bg-bgSubtitle text-white text-sm text-center leading-32rpx">
<view
class="absolute left-30rpx -top-18rpx w-32rpx h-32rpx rounded-full bg-bgSubtitle text-white text-sm text-center leading-32rpx">
{{ order_count.unreceived_orders_count }}
</view>
</block>
</view>
<view>待收货</view>
</view>
<view class="flex items-center justify-center flex-col text-txBase text-md" @tap="$u.routeAuth('/pageA/user_order/index', { type: 3 })">
<view class="flex items-center justify-center flex-col text-txBase text-md"
@tap="$u.routeAuth('/pageA/user_order/index', { type: 3 })">
<view class="flex items-start relative">
<image class="w-48rpx h-48rpx" src="@/static/images/user/evaluated.png" mode=""></image>
<!-- <block v-if="isLogin">
@ -122,7 +119,8 @@
</view>
<view>已完成</view>
</view>
<view @tap="$u.routeAuth('/pageA/after_sale/index')" class="flex items-center justify-center flex-col text-txBase text-md">
<view @tap="$u.routeAuth('/pageA/after_sale/index')"
class="flex items-center justify-center flex-col text-txBase text-md">
<view class="flex items-start relative">
<image class="w-48rpx h-48rpx" src="@/static/images/user/sfter_sale.png" mode=""></image>
<!-- <view class="absolute left-30rpx -top-18rpx w-32rpx h-32rpx rounded-full bg-bgSubtitle text-white text-sm text-center leading-32rpx">3</view> -->
@ -146,42 +144,43 @@
<image class="w-58rpx h-58rpx" src="@/static/images/user/sign_in.png" mode=""></image>
<view class="mt-5rpx">签到积分</view>
</view> -->
<view
@tap="$u.route('/pages/web_view/index', { url: config.article_profit })"
class="my-base flex items-center justify-center flex-col text-md text-txBase"
>
<view @tap="$u.route('/pages/web_view/index', { url: config.article_profit })"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/commission.png" mode=""></image>
<view class="mt-5rpx">佣金说明</view>
<view class="mt-5rpx">返利说明</view>
</view>
<view @tap="$u.routeAuth('/pageA/collection/index')" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/collection/index')"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/my_collection.png" mode=""></image>
<view class="mt-5rpx">我的收藏</view>
</view>
<view @tap="$u.routeAuth('/pageA/address/index', { type: 1 })" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/address/index', { type: 1 })"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/address_management.png" mode=""></image>
<view class="mt-5rpx">地址管理</view>
</view>
<view @tap="$u.routeAuth('/pageA/reset_password/index')" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/reset_password/index')"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/password_modification.png" mode=""></image>
<view class="mt-5rpx">密码修改</view>
</view>
<view @tap="$u.routeAuth('/pageA/coupon/coupon')" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/coupon/coupon')"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/my_coupon.png" mode=""></image>
<view class="mt-5rpx">优惠券</view>
</view>
<view @tap="$u.routeAuth('/pageA/history/index')" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/history/index')"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/browse_records.png" mode=""></image>
<view class="mt-5rpx">浏览记录</view>
</view>
<view @tap="$u.routeAuth('/pageA/fan_list/index')" class="my-base flex items-center justify-center flex-col text-md text-txBase">
<view @tap="$u.routeAuth('/pageA/fan_list/index')"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/fan_list.png" mode=""></image>
<view class="mt-5rpx">粉丝列表</view>
</view>
<view
@tap="$u.routeAuth('/pageA/invite_friends/index')"
v-if="!isVerify"
class="my-base flex items-center justify-center flex-col text-md text-txBase"
>
<view @tap="$u.routeAuth('/pageA/invite_friends/index')" v-if="!isVerify"
class="my-base flex items-center justify-center flex-col text-md text-txBase">
<image class="w-58rpx h-58rpx" src="@/static/images/user/share_friends.png" mode=""></image>
<view class="mt-5rpx">分享好友</view>
</view>
@ -190,11 +189,8 @@
<!-- -->
<view class="w-710rpx bg-white px-base m-auto rounded-xs mt-base">
<!-- 销售端 -->
<view
@tap="$u.routeAuth('/pageB/index/index')"
class="flex justify-between items-center py-base border-b border-txBorder"
v-if="is_company"
>
<view @tap="$u.routeAuth('/pageB/index/index')"
class="flex justify-between items-center py-base border-b border-txBorder" v-if="is_company">
<view class="flex items-center">
<image class="w-32rpx h-32rpx" src="/static/images/user/my_account.png" mode=""></image>
<view class="text-txBase text-lg ml-base">员工中心</view>
@ -227,11 +223,9 @@
</button>
</view>
<!-- #endif -->
<view
@tap="$u.route('/pages/web_view/index', { url: config.about_us })"
<view @tap="$u.route('/pages/web_view/index', { url: config.about_us })"
class="flex justify-between items-center py-base border-t border-txBorder"
:class="isLogin ? 'border-b border-txBorder' : ''"
>
:class="isLogin ? 'border-b border-txBorder' : ''">
<view class="flex items-center">
<image class="w-32rpx h-32rpx" src="/static/images/user/about_us.png" mode=""></image>
<view class="text-txBase text-lg ml-base">关于我们</view>
@ -262,7 +256,8 @@
<u-icon color="#383838" name="arrow-right" size="32"></u-icon>
</view>
</view> -->
<view v-if="isLogin" @tap="$u.routeAuth('/pages/feedback/index')" class="flex justify-between items-center py-base ">
<view v-if="isLogin" @tap="$u.routeAuth('/pages/feedback/index')"
class="flex justify-between items-center py-base ">
<view class="flex items-center">
<image class="w-32rpx h-32rpx" src="/static/images/user/yjfk-icon.png" mode=""></image>
<view class="text-txBase text-lg ml-base">意见反馈</view>
@ -292,21 +287,16 @@
<view @tap="$u.route('/pages/web_view/index', { url: config.user_hide_agreement })">隐私协议</view>
</view>
<!-- 客服电话 -->
<view @tap="getCall('4006006631')" class="text-center text-txBase text-txBase my-10rpx">客服电话:4006006631</view>
<view @tap="getCall(tipsValue.service_phone)" v-if="tipsValue.service_phone" class="text-center text-txBase text-txBase my-10rpx">: {{tipsValue.service_phone}}</view>
<view v-if="tipsValue.wechat" class="text-center text-txBase text-txBase my-10rpx">: {{tipsValue.wechat}}</view>
<!-- #ifdef APP-PLUS -->
<view class="text-center text-md text-txBase">版本号:{{ version }}</view>
<!-- #endif -->
</view>
<!-- 提示框 -->
<cu-modal
:title="modelData.title"
v-model="showModel"
:content="modelData.content"
show-cancel-button
async-close
@confirm="onConfirm"
></cu-modal>
<cu-modal :title="modelData.title" v-model="showModel" :content="modelData.content" show-cancel-button async-close
@confirm="onConfirm"></cu-modal>
</view>
</template>
@ -326,6 +316,7 @@ export default {
},
showModel: false,
scrollNumber: 0,
tipsValue: {},
// service: process.env.VUE_APP_SERVICE,
version: process.env.VUE_APP_VERSION,
};
@ -376,8 +367,19 @@ export default {
onLoad() {
this.getNotmunber();
this.getMunber();
this.getTips()
},
methods: {
async getTips() {
let {
values
} = await this.$api.get('/v1/configs-custom', {
params: {
keys: ['service_phone', 'wechat']
}
})
this.tipsValue=values
},
//
getCall(val) {
uni.makePhoneCall({
@ -452,6 +454,7 @@ export default {
.border-t {
border-top: 1rpx solid #E5E5E5;
}
.content-btn {
padding: 0 !important;
margin: 0;
@ -463,9 +466,11 @@ export default {
margin-right: initial;
appearance: none;
}
.mt {
margin-top: 20rpx !important;
}
.status_bar {
height: var(--status-bar-height);
width: 100%;
@ -497,6 +502,7 @@ export default {
// background-image: url('../../static/images/user/user_advertisement.png');
background-size: 100% 100%;
}
.bg_advertisements {
width: 710rpx;
height: 158rpx;
@ -504,6 +510,7 @@ export default {
// background-image: url('../../static/images/user/become_munber.png');
background-size: 100% 100%;
}
.user_btn {
width: 145rpx;
height: 53rpx;