|
|
@@ -84,7 +84,7 @@
|
|
|
<view class="fun_container">
|
|
|
<view class="fun mar_t30">
|
|
|
<view class="fun_title">我的账户</view>
|
|
|
- <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
|
|
|
+ <view class="fun_con mar_t50 flex_r flex_ac">
|
|
|
<!-- <navigator class="fun_list flex_c flex_ac" url="/pages/top-up/index" hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/recharge.png" mode=""></image>
|
|
|
<view class="fun_text">充值</view>
|
|
|
@@ -109,7 +109,7 @@
|
|
|
</view>
|
|
|
<view class="fun mar_t30">
|
|
|
<view class="fun_title">账户明细</view>
|
|
|
- <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
|
|
|
+ <view class="fun_con mar_t50 flex_r flex_ac">
|
|
|
<navigator class="fun_list flex_c flex_ac" url="/pages/accountDetails/running" hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/fund.png" mode=""></image>
|
|
|
<view class="fun_text">流水明细</view>
|
|
|
@@ -118,9 +118,6 @@
|
|
|
<image class="fun_img" src="/static/my/withdraw.png" mode=""></image>
|
|
|
<view class="fun_text">提现明细</view>
|
|
|
</navigator>
|
|
|
- <navigator></navigator>
|
|
|
- <navigator></navigator>
|
|
|
- <navigator></navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="fun mar_t30">
|
|
|
@@ -154,7 +151,7 @@
|
|
|
</view>
|
|
|
<view class="fun mar_t30">
|
|
|
<view class="fun_title">本地生活</view>
|
|
|
- <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
|
|
|
+ <view class="fun_con mar_t50 flex_r flex_ac">
|
|
|
<navigator v-if="local_uinfo.level_id>1" class="fun_list flex_c flex_ac" url="/pagesB/orderingfood/group" hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/l_group.png" mode=""></image>
|
|
|
<view class="fun_text">我的团队</view>
|
|
|
@@ -163,14 +160,19 @@
|
|
|
<image class="fun_img" src="/static/my/order_history.png" mode=""></image>
|
|
|
<view class="fun_text">历史订单</view>
|
|
|
</navigator>
|
|
|
- <navigator></navigator>
|
|
|
- <navigator></navigator>
|
|
|
- <navigator></navigator>
|
|
|
+ <navigator class="fun_list flex_c flex_ac" @click="activation" hover-class="none">
|
|
|
+ <image class="fun_img" src="/static/my/upgrade.png" mode=""></image>
|
|
|
+ <view class="fun_text">激活升级</view>
|
|
|
+ </navigator>
|
|
|
+ <navigator class="fun_list flex_c flex_ac" @click="getToCash('local')" hover-class="none">
|
|
|
+ <image class="fun_img" src="/static/my/deposit.png" mode=""></image>
|
|
|
+ <view class="fun_text">提现</view>
|
|
|
+ </navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="fun mar_t30">
|
|
|
<view class="fun_title">其他</view>
|
|
|
- <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
|
|
|
+ <view class="fun_con mar_t50 flex_r flex_ac">
|
|
|
<navigator class="fun_list flex_c flex_ac" url="/pagesB/address/list" hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/dizhi.png" mode=""></image>
|
|
|
<view class="fun_text">地址管理</view>
|
|
|
@@ -183,13 +185,11 @@
|
|
|
<image class="fun_img" src="/static/my/assistantHistory.png" mode=""></image>
|
|
|
<view class="fun_text">开票历史</view>
|
|
|
</navigator>
|
|
|
- <navigator></navigator>
|
|
|
- <navigator></navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="fun mar_t30">
|
|
|
<view class="fun_title">我的服务</view>
|
|
|
- <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
|
|
|
+ <view class="fun_con mar_t50 flex_r flex_ac">
|
|
|
<navigator class="fun_list flex_c flex_ac" @click="goto('/pages/agreement/index',{tit:'关于我们',type:7})" hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/about.png" mode=""></image>
|
|
|
<view class="fun_text">关于我们</view>
|
|
|
@@ -212,10 +212,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="fz_w_text">让数字经济赋能美好生活!</view>
|
|
|
- <!-- 功能列表-end -->
|
|
|
+
|
|
|
<!-- 授权 -->
|
|
|
<authorize-module v-if="showAuth" :shopInfo="shopInfo" @authGetTelSuccess="onauthGetTelSuccess" />
|
|
|
- <!-- 授权-end -->
|
|
|
+ <!-- 激活升级 -->
|
|
|
+ <activation ref="activation" tit="激活" />
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -223,11 +224,12 @@ let app = getApp();
|
|
|
var appEv = app.$vm.$options;
|
|
|
import uniCopy from "@/utils/copy";
|
|
|
import authorizeModule from "@/components/authorize-module/index";
|
|
|
+import activation from "@/components/activation/activation.vue"
|
|
|
import { post } from "@/request/api.js";
|
|
|
export default {
|
|
|
components: {
|
|
|
authorizeModule,
|
|
|
- // newauthorize
|
|
|
+ activation
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -358,16 +360,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 跳转到提现页面
|
|
|
- getToCash() {
|
|
|
+ getToCash(type) {
|
|
|
if (this.isAuthentication) {
|
|
|
if (this.userinfo.is_authentication == 1) {
|
|
|
- this.goto("/pages/cash/index")
|
|
|
+ this.goto("/pages/cash/index",{type})
|
|
|
} else {
|
|
|
appEv.errTips("您还未实名");
|
|
|
this.goToAutonym();
|
|
|
}
|
|
|
} else {
|
|
|
- this.goto("/pages/cash/index")
|
|
|
+ this.goto("/pages/cash/index",{type})
|
|
|
}
|
|
|
},
|
|
|
// 复制账号
|
|
|
@@ -418,13 +420,12 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- getLU() {
|
|
|
- post("local/userinfo").then(res => {
|
|
|
- if (res.code == 0) {
|
|
|
- this.local_uinfo = res.data
|
|
|
- }
|
|
|
- })
|
|
|
+ async getLU() {
|
|
|
+ this.local_uinfo = await uni.Luserfun()
|
|
|
},
|
|
|
+ activation(){
|
|
|
+ this.$refs.activation.open()
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
@@ -668,6 +669,10 @@ page {
|
|
|
color: #333333;
|
|
|
}
|
|
|
|
|
|
+.fun_list{
|
|
|
+ width: 25%;
|
|
|
+}
|
|
|
+
|
|
|
.fun_list button::after {
|
|
|
border: 0 !important;
|
|
|
}
|
|
|
@@ -692,6 +697,7 @@ page {
|
|
|
}
|
|
|
|
|
|
.fun_title {
|
|
|
+ padding: 0 30rpx;
|
|
|
font-size: 32rpx;
|
|
|
color: #232323;
|
|
|
font-family: "SourceHanSansSC-Bold";
|
|
|
@@ -703,7 +709,7 @@ page {
|
|
|
overflow: hidden;
|
|
|
border-radius: 16rpx;
|
|
|
background: #fff;
|
|
|
- padding: 30rpx;
|
|
|
+ padding: 30rpx 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|