|
|
|
@ -14,37 +14,40 @@
|
|
|
|
|
</view> |
|
|
|
|
<view class="phones" v-if="phone">{{phone.substr(0,4)}}****{{phone.substr(8,11)}}</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="noLogin" @tap="checkLogin()" v-else>登录</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="info-jifen"> |
|
|
|
|
<view class="wdjf">账户资金</view> |
|
|
|
|
<view class="shouye_item"> |
|
|
|
|
<view class="shouye_item_left" @tap="myMoneyMessage"> |
|
|
|
|
<view class="shouye_item_text">账户余额</view> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{myMoney}}</view> |
|
|
|
|
<view class="shouye_item_text">账户余额</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_center" @tap="moneyMessage"> |
|
|
|
|
<view class="shouye_item_text">不可用金额</view> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{money}}</view> |
|
|
|
|
<view class="shouye_item_text">不可用金额</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_right" @tap="cashMoneyMessage"> |
|
|
|
|
<view class="shouye_item_text">可用金额</view> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{cashMoney}}</view> |
|
|
|
|
<view class="shouye_item_text">可用金额</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class="line"></view> |
|
|
|
|
<view class="tuandui_item"> |
|
|
|
|
<view class="shouye_item_left" @tap="goPageLogin('/pages/my/recharge')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/chongzhi.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/zhcz.png"></image> |
|
|
|
|
<view class="shouye_item_text">账户充值</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_center" @tap="goPageLogin('/pages/my/withdrawal')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/tixian.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/yetx.png"></image> |
|
|
|
|
<view class="shouye_item_text">余额提现</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_right" @tap="goPageLogin('/pages/my/balanceHistory')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/lishi.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/yels.png"></image> |
|
|
|
|
<view class="shouye_item_text">余额历史</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -54,35 +57,35 @@
|
|
|
|
|
<view class="integrals-box"> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('/pages/my/toExamine')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/dingdan.png"></image> |
|
|
|
|
<image src="../../static/img/my/spsh.png"></image> |
|
|
|
|
<text>我的订单</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('/pages/my/myshop')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/dianpu.png"></image> |
|
|
|
|
<image src="../../static/img/my/wddp.png"></image> |
|
|
|
|
<text>我的店铺</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('../activity/index')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/huodong.png"></image> |
|
|
|
|
<image src="../../static/img/my/hdgl.png"></image> |
|
|
|
|
<text>活动管理</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="integral" @tap="goPageLogin('/pages/my/cooperation')"> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/cooperation')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/dlhz.png"></image> |
|
|
|
|
<text>代理合作</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/customer')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/lianxikefu.png"></image> |
|
|
|
|
<image src="../../static/img/my/lxkf.png"></image> |
|
|
|
|
<text>联系客服</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
@ -91,36 +94,35 @@
|
|
|
|
|
<view class="integrals-box"> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/account?className=商家教程')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/jiaocheng.png"></image> |
|
|
|
|
<image src="../../static/img/my/sjjc.png"></image> |
|
|
|
|
<text>商家教程</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="integral" v-if="userId" @tap='loginOut()'> |
|
|
|
|
<view class="integral" v-if="userId" @tap='loginOut()'> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/qwyhd.png"></image> |
|
|
|
|
<text>前往用户端</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/share.png"></image> |
|
|
|
|
<button open-type="share" |
|
|
|
|
style="background: #FFFFFF;border: none;padding-left: 34rpx;font-size: 30rpx;font-weight: 500;">分享给其他商家</button> |
|
|
|
|
<image src="../../static/img/my/fenxiang.png"></image> |
|
|
|
|
<button open-type="share" style="background: #FFFFFF;border: none;padding-left: 34rpx;font-size: 30rpx;font-weight: 500;">分享给其他商家</button> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/account?className=关于我们')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/about.png"></image> |
|
|
|
|
<image src="../../static/img/my/gywm.png"></image> |
|
|
|
|
<text>关于我们</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/member/feedback')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/yjfk.png"></image> |
|
|
|
|
<image src="../../static/img/my/fankui.png"></image> |
|
|
|
|
<text>意见反馈</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
@ -141,12 +143,12 @@
|
|
|
|
|
avatar: "/static/img/logo.jpg", |
|
|
|
|
member: 0, |
|
|
|
|
total: 0, |
|
|
|
|
tuiguang: '', |
|
|
|
|
backgroundImageUrl: '', |
|
|
|
|
tuiguang:'', |
|
|
|
|
backgroundImageUrl:'', |
|
|
|
|
CompanylinkUrl: '', |
|
|
|
|
Companyname: '', |
|
|
|
|
userId: '', |
|
|
|
|
shopcourse: '', |
|
|
|
|
shopcourse:'', |
|
|
|
|
nickName: "", |
|
|
|
|
isStudent: -1, |
|
|
|
|
MerchantList: 0, |
|
|
|
@ -228,7 +230,7 @@
|
|
|
|
|
let token = this.$queue.getData('token'); |
|
|
|
|
let userId = this.$queue.getData('userId'); |
|
|
|
|
if (token) { |
|
|
|
|
if (!url) { |
|
|
|
|
if(!url){ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (url.indexOf('/pages/') !== -1) { |
|
|
|
@ -274,14 +276,13 @@
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
getShopList(userId) { |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantPage?page=1&limit=10&userId=' + userId + '&status=2') |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.code == 0) { |
|
|
|
|
if (res.data.records.length > 0) { |
|
|
|
|
this.$queue.setData('merchantId', res.data.records[0].merchantId); |
|
|
|
|
} |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantPage?page=1&limit=10&userId=' + userId + '&status=2').then(res => { |
|
|
|
|
if (res.code == 0) { |
|
|
|
|
if (res.data.records.length > 0) { |
|
|
|
|
this.$queue.setData('merchantId', res.data.records[0].merchantId); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
checkMerchant(userId) { |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantList?userId=' + userId + '&status=1').then(res => { |
|
|
|
@ -515,7 +516,7 @@
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 500rpx; |
|
|
|
|
height: 600rpx; |
|
|
|
|
display: block; |
|
|
|
|
position: relative; |
|
|
|
|
// background: #fff; |
|
|
|
@ -532,11 +533,11 @@
|
|
|
|
|
height: 425rpx; |
|
|
|
|
position: absolute; |
|
|
|
|
z-index: 15; |
|
|
|
|
padding: 0 30upx; |
|
|
|
|
padding: 100upx 30upx 0; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
// background: #FF4701; |
|
|
|
|
|
|
|
|
|
background-image: url(../../static/img/my/myuser.png); |
|
|
|
|
background-size: 100%; |
|
|
|
|
|
|
|
|
|
.user-info-box { |
|
|
|
@ -566,7 +567,7 @@
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
font-size: 40upx; |
|
|
|
|
font-weight: 800; |
|
|
|
|
color: #333333; |
|
|
|
|
color: #FEFEFE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.user-info { |
|
|
|
@ -586,7 +587,7 @@
|
|
|
|
|
height: 38upx; |
|
|
|
|
line-height: 38upx; |
|
|
|
|
font-weight: 800; |
|
|
|
|
color:#333333; |
|
|
|
|
color: #fff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.nick_image { |
|
|
|
@ -610,7 +611,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.phones { |
|
|
|
|
color:#333333!important; |
|
|
|
|
color: #fff; |
|
|
|
|
margin-top: 15rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -646,10 +647,10 @@
|
|
|
|
|
width: 92%; |
|
|
|
|
height: 360rpx; |
|
|
|
|
position: absolute; |
|
|
|
|
background: linear-gradient(50deg, #FF4848 0%, #FF6E6E 100%); |
|
|
|
|
background: #fff; |
|
|
|
|
border-radius: 15rpx; |
|
|
|
|
z-index: 15; |
|
|
|
|
margin: 120upx 30upx 0; |
|
|
|
|
margin: 235upx 30upx 0; |
|
|
|
|
padding: 20upx; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
box-shadow: 0 0 3px 1px #ccc; |
|
|
|
@ -658,34 +659,28 @@
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
font-size: 34rpx; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.line{ |
|
|
|
|
height: 1px; |
|
|
|
|
background-color: #FFFFFF; |
|
|
|
|
margin-top: 20px; |
|
|
|
|
color: #806C30; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item { |
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
display: flex; |
|
|
|
|
width: 100%; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
color: #333333; |
|
|
|
|
// text-align: justify; |
|
|
|
|
text-align: center; |
|
|
|
|
padding: 0rpx 20rpx; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
.shouye_item_text { |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
color: #806C30; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_money { |
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
font-size: 20px; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
font-size: 38rpx; |
|
|
|
|
color: #FF4701; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_left { |
|
|
|
@ -737,7 +732,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_text { |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
color: #999; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|