|
@@ -22,7 +22,10 @@
|
|
|
<view class="me-shop_content content_box">
|
|
<view class="me-shop_content content_box">
|
|
|
<view class="me-shop_top">
|
|
<view class="me-shop_top">
|
|
|
<view class="shop-top_left">
|
|
<view class="shop-top_left">
|
|
|
- <app-avatar-module :src="infoData.shopImg" :width="100" />
|
|
|
|
|
|
|
+ <app-avatar-module
|
|
|
|
|
+ :src="infoData.shopImg"
|
|
|
|
|
+ :width="100"
|
|
|
|
|
+ />
|
|
|
<view class="top-info_box">
|
|
<view class="top-info_box">
|
|
|
<view>
|
|
<view>
|
|
|
{{ infoData.sjName }}
|
|
{{ infoData.sjName }}
|
|
@@ -64,8 +67,7 @@
|
|
|
v-if="infoData.txBalance > 0"
|
|
v-if="infoData.txBalance > 0"
|
|
|
@click="checkToApplyCash"
|
|
@click="checkToApplyCash"
|
|
|
class="to-cash"
|
|
class="to-cash"
|
|
|
- >提现</text
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >提现</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<button
|
|
<button
|
|
@@ -155,32 +157,32 @@ export default {
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters(["getLoginInfo"]),
|
|
...mapGetters(["getLoginInfo"]),
|
|
|
},
|
|
},
|
|
|
- data() {
|
|
|
|
|
|
|
+ data () {
|
|
|
return {
|
|
return {
|
|
|
constant: this.$constant,
|
|
constant: this.$constant,
|
|
|
infoData: {},
|
|
infoData: {},
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
- onPullDownRefresh() {
|
|
|
|
|
- this.init()
|
|
|
|
|
|
|
+ onPullDownRefresh () {
|
|
|
|
|
+ this.init()
|
|
|
},
|
|
},
|
|
|
- onShow(){
|
|
|
|
|
|
|
+ onShow () {
|
|
|
// this.init()
|
|
// this.init()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- shopShow() {
|
|
|
|
|
|
|
+ shopShow () {
|
|
|
this.shopId = this.getLoginInfo.shopId;
|
|
this.shopId = this.getLoginInfo.shopId;
|
|
|
this.$refs.dorpdownSelect.dropdownShow = true;
|
|
this.$refs.dorpdownSelect.dropdownShow = true;
|
|
|
},
|
|
},
|
|
|
- async init() {
|
|
|
|
|
|
|
+ async init () {
|
|
|
try {
|
|
try {
|
|
|
const { data } = await mainMy();
|
|
const { data } = await mainMy();
|
|
|
this.infoData = data;
|
|
this.infoData = data;
|
|
|
- uni.stopPullDownRefresh();
|
|
|
|
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
} finally {
|
|
} finally {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- async selectSussess() {
|
|
|
|
|
|
|
+ async selectSussess () {
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
|
title: "加载中",
|
|
title: "加载中",
|
|
|
});
|
|
});
|
|
@@ -197,7 +199,7 @@ export default {
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- checkToApplyCash() {
|
|
|
|
|
|
|
+ checkToApplyCash () {
|
|
|
let self = this;
|
|
let self = this;
|
|
|
//没有设置提现帐号则提示
|
|
//没有设置提现帐号则提示
|
|
|
if (self.infoData.cashAccount == "") {
|
|
if (self.infoData.cashAccount == "") {
|
|
@@ -215,10 +217,10 @@ export default {
|
|
|
self.applyCash();
|
|
self.applyCash();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- async applyCash() {
|
|
|
|
|
- const { data } = await applyCash({});
|
|
|
|
|
|
|
+ async applyCash () {
|
|
|
|
|
+ const { data } = await applyCash({});
|
|
|
},
|
|
},
|
|
|
- _list() {},
|
|
|
|
|
|
|
+ _list () { },
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
@@ -226,6 +228,7 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
.me-content_box {
|
|
.me-content_box {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ overflow-x: hidden;
|
|
|
.content_box {
|
|
.content_box {
|
|
|
background-color: #ffffff;
|
|
background-color: #ffffff;
|
|
|
box-shadow: 0px 1px 0px 0px #eeeeee;
|
|
box-shadow: 0px 1px 0px 0px #eeeeee;
|
|
@@ -240,6 +243,7 @@ export default {
|
|
|
& .me-user_box {
|
|
& .me-user_box {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
padding: 150upx 30upx 0;
|
|
padding: 150upx 30upx 0;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
|
& > .user-info_item {
|
|
& > .user-info_item {
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -266,6 +270,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
& .me-shop_box {
|
|
& .me-shop_box {
|
|
|
padding: 50upx 20px 0;
|
|
padding: 50upx 20px 0;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
& .me-shop_content {
|
|
& .me-shop_content {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
@@ -274,9 +279,11 @@ export default {
|
|
|
& .shop-top_left {
|
|
& .shop-top_left {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
padding: 40upx 30upx;
|
|
padding: 40upx 30upx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
& .top-info_box {
|
|
& .top-info_box {
|
|
|
padding-left: 30upx;
|
|
padding-left: 30upx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
& > view:nth-child(1) {
|
|
& > view:nth-child(1) {
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
font-size: 32upx;
|
|
font-size: 32upx;
|
|
@@ -303,6 +310,7 @@ export default {
|
|
|
// text-align: center;
|
|
// text-align: center;
|
|
|
& .iconqiehuan1 {
|
|
& .iconqiehuan1 {
|
|
|
margin-right: 10upx;
|
|
margin-right: 10upx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -330,6 +338,7 @@ export default {
|
|
|
& .account-info_box {
|
|
& .account-info_box {
|
|
|
margin-top: 20upx;
|
|
margin-top: 20upx;
|
|
|
padding: 30upx 20upx;
|
|
padding: 30upx 20upx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
& .info-lf_box {
|
|
& .info-lf_box {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
@@ -365,6 +374,7 @@ export default {
|
|
|
border-radius: 25upx;
|
|
border-radius: 25upx;
|
|
|
font-size: 22upx;
|
|
font-size: 22upx;
|
|
|
padding: 0 15upx 0 15upx;
|
|
padding: 0 15upx 0 15upx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
& .user-open_bx {
|
|
& .user-open_bx {
|