1
This commit is contained in:
parent
b54845aba6
commit
245b77895a
@ -840,7 +840,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
async submit() {
|
async submit() {
|
||||||
if (this.saveNum < 2) return
|
if (this.saveNum < 2) return this.$util.Tips({
|
||||||
|
title: '请至少填写两项!'
|
||||||
|
})
|
||||||
let that = this
|
let that = this
|
||||||
uni.request({
|
uni.request({
|
||||||
url: HTTP_REQUEST_URL_SIX + (that.mode == 'add' ? '/api/index/addVillagerInfo' :
|
url: HTTP_REQUEST_URL_SIX + (that.mode == 'add' ? '/api/index/addVillagerInfo' :
|
||||||
@ -881,10 +883,10 @@
|
|||||||
this.SaveList.splice(index, 1, true);
|
this.SaveList.splice(index, 1, true);
|
||||||
this.open(index)
|
this.open(index)
|
||||||
},
|
},
|
||||||
|
|
||||||
edit(index) {
|
edit(index) {
|
||||||
this.SaveList.splice(index, 1, false);
|
this.SaveList.splice(index, 1, false);
|
||||||
},
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
back(){
|
back() {
|
||||||
uni.navigateBack();
|
uni.navigateBack();
|
||||||
},
|
},
|
||||||
navgo(url) {
|
navgo(url) {
|
||||||
@ -31,9 +31,9 @@
|
|||||||
url
|
url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
navSw(url){
|
navSw(url) {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:url
|
url: url
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -74,6 +74,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg_back {
|
.bg_back {
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
width: 20rpx;
|
width: 20rpx;
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
<!-- 自定义顶部背景颜色 -->
|
<!-- 自定义顶部背景颜色 -->
|
||||||
<view class="new-users skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
|
<view class="new-users skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
|
||||||
<view class="head">
|
<view class="head">
|
||||||
<view class="user-card" style="padding-bottom: 0;" :class="userInfo.svip_open && svip_switch_status == 1 ? 'svip-card' : ''">
|
<view class="user-card" style="padding-bottom: 0;"
|
||||||
|
:class="userInfo.svip_open && svip_switch_status == 1 ? 'svip-card' : ''">
|
||||||
<view class="bg"></view>
|
<view class="bg"></view>
|
||||||
<view class="user-info">
|
<view class="user-info">
|
||||||
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
|
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
|
||||||
@ -87,14 +88,18 @@
|
|||||||
<view class="packet_card">
|
<view class="packet_card">
|
||||||
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
||||||
<view class="p_d_count">
|
<view class="p_d_count">
|
||||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png"></image>
|
<image
|
||||||
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png">
|
||||||
|
</image>
|
||||||
<view>¥{{userInfo.now_money||"0.00"}}</view>
|
<view>¥{{userInfo.now_money||"0.00"}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view>我的余额 (元)</view>
|
<view>我的余额 (元)</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="p_d_item" @click="authTo('/pages/redpacket/redpack_type')" >
|
<view class="p_d_item" @click="authTo('/pages/redpacket/redpack_type')">
|
||||||
<view class="p_d_count">
|
<view class="p_d_count">
|
||||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/d2868202401201750014779.png"></image>
|
<image
|
||||||
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/d2868202401201750014779.png">
|
||||||
|
</image>
|
||||||
<view>¥{{userInfo.red_pack_balance||"0.00"}}</view>
|
<view>¥{{userInfo.red_pack_balance||"0.00"}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view>补贴余额 (元)</view>
|
<view>补贴余额 (元)</view>
|
||||||
@ -220,11 +225,7 @@
|
|||||||
<view class="">增值电信营业许可证号:川B2-20221250</view>
|
<view class="">增值电信营业许可证号:川B2-20221250</view>
|
||||||
<view class="" style="margin-top: 10rpx;">{{ appVersion }}</view>
|
<view class="" style="margin-top: 10rpx;">{{ appVersion }}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view v-else class="copy-right">
|
|
||||||
<view class="iconfont icon-crmeb"></view>
|
|
||||||
<view class="text">众邦科技提供技术支持</view>
|
|
||||||
|
|
||||||
</view> -->
|
|
||||||
<view style="height: 50rpx;"></view>
|
<view style="height: 50rpx;"></view>
|
||||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"
|
||||||
:isGoIndex="false"></authorize>
|
:isGoIndex="false"></authorize>
|
||||||
@ -451,7 +452,7 @@
|
|||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
this.appVersion = 'V ' + uni.getSystemInfoSync().appVersion;
|
this.appVersion = 'V ' + uni.getSystemInfoSync().appVersion;
|
||||||
// #endif
|
// #endif
|
||||||
if(ENV != 'prod') this.appVersion+=" Beta"
|
if (ENV != 'prod') this.appVersion += " Beta"
|
||||||
},
|
},
|
||||||
onReady() {
|
onReady() {
|
||||||
this.isNodes++;
|
this.isNodes++;
|
||||||
@ -627,7 +628,9 @@
|
|||||||
},
|
},
|
||||||
// 订单数字
|
// 订单数字
|
||||||
orderNum() {
|
orderNum() {
|
||||||
orderData({source: 103}).then(({
|
orderData({
|
||||||
|
source: 103
|
||||||
|
}).then(({
|
||||||
data
|
data
|
||||||
}) => {
|
}) => {
|
||||||
// console.log(data);
|
// console.log(data);
|
||||||
@ -669,15 +672,17 @@
|
|||||||
let query = [];
|
let query = [];
|
||||||
let flag = false;
|
let flag = false;
|
||||||
let rooms = item.url.split('?'); // 截取参数
|
let rooms = item.url.split('?'); // 截取参数
|
||||||
if(rooms[1]) query = rooms[1].split('&'); //分割参数
|
if (rooms[1]) query = rooms[1].split('&'); //分割参数
|
||||||
query.forEach(item=>{ // 遍历参数
|
query.forEach(item => { // 遍历参数
|
||||||
let t = item.split('='); // 获取键值对
|
let t = item.split('='); // 获取键值对
|
||||||
if(t.length>1 && t[0]=='type_code' ){ // 判断是否包含正确参数, 参数名称是否为type_code
|
if (t.length > 1 && t[0] ==
|
||||||
|
'type_code') { // 判断是否包含正确参数, 参数名称是否为type_code
|
||||||
let x = t[1].split(','); // 逗号分割多种用户
|
let x = t[1].split(','); // 逗号分割多种用户
|
||||||
if(!x.includes(this.$store.state.app.userInfo.mer_info.type_code)) flag = true;
|
if (!x.includes(this.$store.state.app.userInfo.mer_info
|
||||||
|
.type_code)) flag = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if(!flag) that.personalMenu.push(item);
|
if (!flag) that.personalMenu.push(item);
|
||||||
})
|
})
|
||||||
that.imgUrls = res.data.banner
|
that.imgUrls = res.data.banner
|
||||||
});
|
});
|
||||||
@ -1353,7 +1358,8 @@
|
|||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.packet_card{
|
|
||||||
|
.packet_card {
|
||||||
height: 140rpx;
|
height: 140rpx;
|
||||||
width: 710rpx;
|
width: 710rpx;
|
||||||
background-color: rgba(#fff, 0.3);
|
background-color: rgba(#fff, 0.3);
|
||||||
@ -1364,7 +1370,8 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.p_d_item{
|
|
||||||
|
.p_d_item {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -1374,19 +1381,23 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
&:nth-child(1){
|
|
||||||
|
&:nth-child(1) {
|
||||||
top: 20rpx;
|
top: 20rpx;
|
||||||
left: 30rpx;
|
left: 30rpx;
|
||||||
}
|
}
|
||||||
&:nth-child(2){
|
|
||||||
|
&:nth-child(2) {
|
||||||
top: 20rpx;
|
top: 20rpx;
|
||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
}
|
}
|
||||||
.p_d_count{
|
|
||||||
|
.p_d_count {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
image{
|
|
||||||
|
image {
|
||||||
width: 53rpx;
|
width: 53rpx;
|
||||||
height: 53rpx;
|
height: 53rpx;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user