You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

542 lines
73 KiB

4 months ago
<template>
<view class="gradeActive">
<!-- #ifdef MP -->
<NavBar titleText="激活会员" iconColor="#FFFFFF" textColor="#FFFFFF" showBack></NavBar>
<!-- #endif -->
<view class="headerBg"></view>
<view class="header">
<view class="title">激活会员卡</view>
<view>新用户免费激活会员卡</view>
</view>
<view class="conter">
<view class="headerT">
<view class="name">{{list.length?'请填写以下信息':'我的成长特权'}}</view>
</view>
<view class="list acea-row row-between-wrapper" v-if="!list.length">
<view class="itemNo">
<view class="pictrue">
<image :src="imgHost+'/statics/images/userVip1.png'"></image>
</view>
<view>购物折扣</view>
</view>
<view class="itemNo">
<view class="pictrue">
<image :src="imgHost+'/statics/images/userVip2.png'"></image>
</view>
<view>专属徽章</view>
</view>
<view class="itemNo">
<view class="pictrue">
<image :src="imgHost+'/statics/images/userVip3.png'"></image>
</view>
<view>经验累积</view>
</view>
<view class="itemNo">
<view class="pictrue">
<image :src="imgHost+'/statics/images/userVip4.png'"></image>
</view>
<view>尊享客服</view>
</view>
<image class="vipBg" src="../static/vipBg.png"></image>
</view>
<view class="form">
<view class="item acea-row row-middle" v-for="(item,index) in list" :key="index">
<view class="name acea-row row-middle" :class="{ asterisk: item.required==1 }">
<view>{{item.info}}</view>
</view>
<!-- <view class="name"><text class="asterisk" v-if="item.required==1">*</text><text>{{item.info}}</text></view> -->
<!-- text -->
<view class="input" v-if="item.format == 'text'">
<input type="text" :placeholder="item.tip" placeholder-class="placeholder" v-model="item.value" />
</view>
<!-- number -->
<view class="input" v-if="item.format=='num'">
<input type="number" :placeholder="item.tip" placeholder-class="placeholder" v-model="item.value" />
</view>
<!-- email -->
<view class="input" v-if="item.format=='mail'">
<input type="text" :placeholder="item.tip" placeholder-class="placeholder" v-model="item.value" />
</view>
<!-- date -->
<view class="input" v-if="item.format=='date'">
<picker mode="date" :value="item.value" @change="bindDateChange($event,index)">
<view class="acea-row row-middle row-right">
<view v-if="item.value == ''">{{item.tip}}</view>
<view v-else>{{item.value}}</view>
<text class='iconfont icon-ic_rightarrow'></text>
</view>
</picker>
</view>
<!-- id -->
<view class="input" v-if="item.format=='id'">
<input type="idcard" :placeholder="item.tip" placeholder-class="placeholder" v-model="item.value" />
</view>
<!-- phone -->
<view class="input" v-if="item.format=='phone'">
<input type="tel" :placeholder="item.tip" placeholder-class="placeholder" v-model="item.value" />
</view>
<!-- radio -->
<view class="input" v-if="item.format=='radio'">
<radio-group @change="radioChange($event,index)">
<label class="label">
<radio value="0" :checked="item.value == 0" />{{item.singlearr[0]}}
</label>
<label>
<radio value="1" :checked="item.value == 1" />{{item.singlearr[1]}}
</label>
</radio-group>
</view>
<!-- address -->
<view class="input" @click="addressList" v-if="item.format=='address'">
<picker mode="multiSelector" @change="bindRegionChange($event,index)" @columnchange="bindMultiPickerColumnChange" :value="valueRegion" :range="multiArray">
<view class='acea-row row-middle row-right'>
<view class="picker">{{region[0]}}{{region[1]}}{{region[2]}}</view>
<text class='iconfont icon-ic_rightarrow'></text>
</view>
</picker>
</view>
</view>
</view>
</view>
<view class="bnt" @click="activate">确认激活</view>
<ewcomerPop v-if="isComerGift" :fromActive="1" :comerGift="comerGift" @comerPop="comerPop"></ewcomerPop>
</view>
</template>
<script>
import {
levelInfo,
levelActivate
} from '@/api/user.js';
import {
getCity
} from '@/api/api.js';
import {
HTTP_REQUEST_URL
} from '@/config/app';
import ewcomerPop from '@/components/ewcomerPop/index.vue'
import NavBar from '@/components/NavBar.vue'
export default {
components: {
ewcomerPop,
NavBar
},
data() {
return {
imgHost: HTTP_REQUEST_URL,
list: [],
district: [],
multiArray: [],
multiIndex: [0, 0, 0],
valueRegion: [0, 0, 0],
region: ['省', '市', '区'],
comerGift: {},
isComerGift: false
};
},
onLoad() {
this.getInfo();
this.getCityList();
},
onReady() {},
onShow() {},
methods: {
comerPop() {
this.isComerGift = false;
uni.navigateTo({
url: '/pages/users/user_vip/index'
})
},
activate() {
let that = this;
for (var i = 0; i < that.list.length; i++) {
let data = that.list[i]
if (data.required || data.value) {
if (data.format === 'date' || data.format === 'address') {
if (!data.value) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
if (data.format === 'text') {
if (!data.value.trim()) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
if (data.format === 'num') {
if (data.value <= 0) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
if (data.format === 'mail') {
if (!/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(data.value)) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
if (data.format === 'phone') {
if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(data.value)) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
if (data.format === 'id') {
if (!/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/i.test(data.value)) {
return that.$util.Tips({
title: `${data.tip}`
});
}
}
}
}
levelActivate(this.list).then(res => {
res.data['register_give_integral'] = res.data.level_give_integral;
res.data['register_give_money'] = res.data.level_give_money;
res.data['register_give_coupon'] = res.data.level_give_coupon;
res.data['coupon_count'] = res.data.level_give_coupon.length;
this.comerGift = res.data;
if (res.data.level_give_integral > 0 || res.data.level_give_money > 0 || res.data.level_give_coupon.length > 0) {
this.isComerGift = true;
} else {
uni.navigateTo({
url: '/pages/users/user_vip/index'
})
}
}).catch(err => {
return this.$util.Tips({
title: err
});
})
},
// 省市区地址处理逻辑;
addressList() {
this.getCityList();
},
// 获取地址数据
getCityList() {
let that = this;
getCity().then(res => {
this.district = res.data
that.initialize();
})
},
// 处理地址数据
initialize: function() {
let that = this,
province = [],
city = [],
area = [];
if (that.district.length) {
let cityChildren = that.district[0].c || [];
let areaChildren = cityChildren.length ? (cityChildren[0].c || []) : [];
that.district.forEach(function(item) {
province.push(item.n);
});
cityChildren.forEach(function(item) {
city.push(item.n);
});
areaChildren.forEach(function(item) {
area.push(item.n);
});
this.multiArray = [province, city, area]
}
},
bindRegionChange(e, index) {
let multiIndex = this.multiIndex,
province = this.district[multiIndex[0]] || {
c: []
},
city = province.c[multiIndex[1]] || {
v: 0
},
multiArray = this.multiArray,
value = e.detail.value;
this.region = [multiArray[0][value[0]], multiArray[1][value[1]], multiArray[2][value[2]]]
this.list[index].value = city.v;
this.valueRegion = [0, 0, 0]
this.initialize();
},
bindMultiPickerColumnChange(e) {
let that = this,
column = e.detail.column,
value = e.detail.value,
currentCity = this.district[value] || {
c: []
},
multiArray = that.multiArray,
multiIndex = that.multiIndex;
multiIndex[column] = value;
switch (column) {
case 0:
let areaList = currentCity.c[0] || {
c: []
};
multiArray[1] = currentCity.c.map((item) => {
return item.n;
});
multiArray[2] = areaList.c.map((item) => {
return item.n;
});
break;
case 1:
let cityList = that.district[multiIndex[0]].c[multiIndex[1]].c || [];
multiArray[2] = cityList.map((item) => {
return item.n;
});
break;
case 2:
break;
}
// #ifdef MP || APP-PLUS
this.$set(this.multiArray, 0, multiArray[0]);
this.$set(this.multiArray, 1, multiArray[1]);
this.$set(this.multiArray, 2, multiArray[2]);
// #endif
// #ifdef H5
this.multiArray = multiArray;
// #endif
this.multiIndex = multiIndex
},
radioChange(e, index) {
this.list[index].value = e.detail.value
},
bindDateChange: function(e, index) {
const date = e.detail.value;
const current = new Date().toLocaleDateString();
const checked = new Date(date).toLocaleDateString();
if (checked < current) {
this.list[index].value = e.detail.value
} else {
this.$util.Tips({
title: this.list[index].info + '需小于当前的日期'
})
}
},
getInfo() {
levelInfo().then(res => {
res.data.forEach(item => {
if (item.format == 'radio') {
item.value = '0'
} else {
item.value = ''
}
})
this.list = res.data;
}).catch(err => {
this.$util.Tips({
title: err
})
})
}
},
onReachBottom() {}
}
</script>
<style lang="scss">
.gradeActive {
padding-bottom: 20rpx;
overflow: hidden;
.headerBg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 568rpx;
background: linear-gradient(180deg, #1E1C19 0%, #19140E 100%);
}
.header {
position: relative;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAACbCAYAAABcZhYLAAAAAXNSR0IArs4c6QAAgFFJREFUeNrsvWmwZdd13/dbe59z7vjG7n7d6EZjaoAACA7gADGkSJkW7ZIjy5bshJY/JFEpTjxVotjlRCpX+QPseFBSKduxEyWMYjuJnLhCphzL8iCLUkiRlCgSIEGCAImhQQzdAHp8w313OsPeKx/2Pveee/uBBGVQxQbvqbr9Xt/33rn3nrP/e631X2v9l7A6bspD9ZMb5N0/heHHEfNuvO34Mr2Wj/WLj3/xsUee+Pxv/pt//FsvffnTn/50tbpab95DVpfgZgPuoyn59C+Q8FdA1lC3eA81wReZvvyVp/znfu1TLz7z/Mv/6NrB5X/4P/zzx14FdHUF31yHXV2Cmwi8e5+6A2t+BSs/DbTBCyJzWIoCFWIKWTt5izmxsb1lrr76+3vdzp9+z1vvOHHXbSe/9tjTFw5XV3IF4NXxe3xMXvnkbXat/YuSJL8PfLS6uvAlABjAI+LobmyynhjpDa+2tte779lst971vntvf8Vv3XrhhRde8KurugLw6vi9AO+lf3On7bR/2Xba70dVkBp7Oo+EROZBkQLiMKnQ27mFXiL0/cRut5NzG/3ujz94pi8fue+OL/2LLz1Trq7uKgZeHd/F4/qz/2q9f7z36Wyt8yAgqAOqBlJ10QJrBLf6+HOLTtuMv/4oB88+xWTsGVfihrn7lU7Cz77rv/jYs6urfPMeZnUJvnePRz/2sTTrJf9l1u88ODexzNzkhbsoEcxNS4yAlkironv/u9i84zbaXUOvpfbUZvoTvZ79tRf/0Z//I6qrjXwF4NXxhh+3fvD4R1u9zl9EpBHz+rnrXOXocACVW4qGdPEW+zHSEdpveSdrxzdJjUd8SddyRyu1/+fBJ37m5578+Eez1RVfAXh1vEHHr/7S37gl7bZ/Lmm3+gvAFA2W1Tv06qsMv/B5qhfOg4vPq84jowaphRthNrdon7yVdsuAKt5XOOfW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rei8gdiInj+wF6HP/C8E3yuzh9Y9W3WXOT8AVPbrA74Az/sneFu1DAQhOcZCpcrB6JSQytU1AI/ONr+oKLv/1C0OoTLpbc5O44za89YfoPVytnJzmcJcrPculmV8gcsIWcalhJbmBJb5tnNsqcC0/kDtpBnf0D8gZi3gPgDxv6ApQ5j/IGENCxvbpb4A8vzB34nddfv1PyBs+rdLLrdrLiXa1Aqf8BWB0f8gfGvrOUSW8QfyMQfsIXKEltSJq7iD1DxBw6oe9N1HcQf8MIfWBPwB1az8wdsITd/4If4A175A48c/AGzuxq7WfPyB644J66LJbYsPnFl4Q9YBQsltuyV6x1hYss+f6Ca3azNJqa3hrer3Kxq3KwT+t2sYRrWUeoeOog/QO9mNcYfMLsrQRpWMf7AZR2JLUQT16z8AVvd88E8iS2cu1ntJLaE7prKH+hp/nHdddadQMcfiJhgTeEPXDviD6wJ+AOr2fkDth665wNj4jrdzXov/oD4AwffrSnd1SV/4KIm/sBa/IHjSvbpwgF/YKiLOfgDH8UfoOAP7Kl7KXyPcLNCqcrNEn8gN3/AfrnuDuRmiT8wE39gs82wP
background-position: 392rpx 34rpx, left top;
background-repeat: no-repeat;
background-size: 240rpx 155rpx, 100% 100%;
width: 686rpx;
height: 328rpx;
padding: 60rpx 0 0 64rpx;
margin: 44rpx auto 0;
font-size: 24rpx;
line-height: 34rpx;
color: rgba(126, 75, 6, 0.8);
.title {
margin-bottom: 8rpx;
font-weight: 700;
font-size: 44rpx;
line-height: 62rpx;
}
}
.bnt {
position: fixed;
right: 32rpx;
bottom: 32rpx;
bottom: calc(32rpx + constant(safe-area-inset-bottom));
bottom: calc(32rpx + env(safe-area-inset-bottom));
left: 32rpx;
height: 88rpx;
border-radius: 44rpx;
background: #FACC7D;
text-align: center;
font-weight: 500;
font-size: 28rpx;
line-height: 88rpx;
color: #7E4B06;
}
.conter {
position: relative;
margin: -104rpx 0 0;
.list {
margin-top: 78rpx;
padding-bottom: 28rpx;
position: relative;
.vipBg {
width: 262rpx;
height: 174rpx;
display: block;
position: absolute;
right: -48rpx;
bottom: -64rpx;
}
.itemNo {
font-weight: 400;
color: #282828;
font-size: 26rpx;
position: relative;
z-index: 1;
.pictrue {
width: 90rpx;
height: 90rpx;
margin-bottom: 12rpx;
image {
width: 100%;
height: 100%;
border-radius: 50%;
}
}
}
}
.form {
background: #FFFFFF;
}
.item {
padding: 32rpx 40rpx;
font-size: 28rpx;
line-height: 40rpx;
color: #333333;
/deep/uni-radio {
vertical-align: middle;
margin-right: 14rpx;
}
/deep/uni-radio .uni-radio-input {
width: 28rpx;
height: 28rpx;
border: 1px solid #E6993A;
}
/deep/uni-radio .uni-radio-input.uni-radio-input-checked {
border: 1px solid #E6993A !important;
background-color: #E6993A !important;
}
/deep/.wx-radio-input {
width: 29rpx;
height: 29rpx;
border: 1px solid #CCCCCC;
}
/deep/.wx-radio-input.wx-radio-input-checked {
border: 1px solid #E6993A !important;
background-color: #E6993A !important;
}
/deep/uni-radio .uni-radio-input.uni-radio-input-checked:before {
font-size: 15rpx;
}
.label {
margin-right: 48rpx;
}
.name {
padding-left: 26rpx;
background-repeat: no-repeat;
background-position: left center;
background-size: 14rpx;
&.asterisk {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAAXNSR0IArs4c6QAAAJlQTFRFAAAAgAAAvwAA1SoA2yQA2yQk3yAg2yQS7jMi3zAg7zAg5jEi7DAi6DIg6jIh6zMj7DIj6TIj6jIj6jEj6jMj6jMi6TIj6DMh6DMi6jIi6TIi6TIj6TIj6TIj6DIi6TMi6TIi6DMi6TMj6TMi6TIi6DMi6TMj6TIj6DMi6TIi6TIi6DMi6TMi6DMj6DIj6TMj6TMj6TIi6TMjzfWdyAAAADJ0Uk5TAAIEBgcHCA4PEBA0NTg9QUJRbG1ub4mRnJ2forfHyMjQ0t3e3+Lj5O3v8PX19/n6+/1j+QpmAAAAeUlEQVQIHQXBB0LCAAAEsFApyF6yhwMtRYZw/3+cCdBJOgBoJAUA/AUAnH8Bs9UApxr91cx78jntfn2/Tj+Svcm2Tm7X+yWptxMUo2WVVMtRAWgdkkMJYJP1OhuAeY7t9jFvwPjxHDJ8PsbQrLKARX5eoLcrodz1+AePZAvB1OQ7HAAAAABJRU5ErkJggg==);
}
}
.placeholder {
font-size: 28rpx;
font-weight: 400;
color: #CCCCCC;
}
.input {
flex: 1;
text-align: right;
.iconfont {
margin-left: 8rpx;
font-size: 24rpx;
color: #999;
}
input {
font-size: 28rpx;
}
}
}
.headerT {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAABoCAMAAACZtYUUAAABiVBMVEX//Pb/+vAAAAD/+/T///////////7//vz//fj//////////////////////////////////////fr/+Oz///////////////////7/////////////////+vD///////7///////7//vz//////////////v3/+e///vz//vz/+/T//vv//fn/+ez//Pf//vv//vv/+/P//vv//vv//fr/+vH//vr//Pf//fr/+/T//ff//ff//vv//Pf+9+n+9eP/+/X//fj//vv/+vP/+/T+9ub99OD/+e///vr//PT//fn/+vH+9OL++Ov/+fD//PX/+/b//vr+9eX//ff///7+9ub+9+n+9+n++Oz+9+r///7///z//vz//fr//Pr//vz/+vH//Pf/+/T//fr/+e7+9uf++O3///7+9+n+9eX//fn989///Pb99eP+9OH/+fD/+Ov/9+n/////+vP+9+v+8t3/+e3/+/P/9ub98tz+8dr99OD+8tv/9uj/9eP/9uX/9OH+8Nn/89/MFskxAAAAX3RSTlP8/AD7/Or5/f368Of28u3u5Nb8/N3Gz8z44sLb9Pnf7cm+8tHY0/Xy6+f4+Pr3+MbC5+PM8PTV9PXs5+Leyvv289zZ19H8/OzS7+7e/fDk4NrP7+u7+PXl3eqiJodBZwSHNhcAABqLSURBVHja7J37T1tlGMfBKQmlpSOsZcHdsKv1EsIY2RJksLECQ2HAXGHKZdkPtLZpymUpBAaUub/c7/uc93KuPVfYYe7z+PCq8Rbz8ZPHitrxjQNbmw8e/nTzn/df5+tckSF+/WPiweaWk9X2ur8dS7yX/EO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F9PXVdlJ2C70H3Fonu/1J29fsbbTd+0G1+fy3v65OaoJl6Nc9PbUi+VvtUg2Evha3E7Pnp8P/H6fqLq1vEC9RqbHJSTdmNodVyb7c946E481esOXr0i3cl31ffrqRJ0/z7RJ7oubAewXdV9fJzbDjo70XfSfTsoATuvKh+nk/4jETb4OxfA1S+4M7Ua2k4Y6g7fV4rF+XnyfRKuY4CmfF/i+jcdG4nEvQwYxBD3ZNwfr0wr3Qtc937obl/38K13+bzG6z1fleNONJ/cxATVcDVxv8GDMVuTtlt1LzLdwT3uuxA7kdjoeJvoIdmBsn1A6g7bDXXvBKLu4Qn60XzY/8hB9Pc88TEgO9HjrZHOOP86nx1edw6znXznui+Q7tx3CrmMeU9is2M9cSOj4x7gtkvdx211D+h7xfAe4j0kKpruePfYoPEaTZt3H1PlHlteMVV+z1f5TV9u/52V6PwRjXhr2HNMDaveFt4Wht4Gm0bD8EK1FgYKYzGe3nA0aPACGfEW/igaNC3Ty2xxHSB/jCSLgec6ZjH2uq/IawbA54ziRmK9Yyhx3yA76T6g6S5vmfHfHwGyndiOlkPislJ/JglUehX7qIofRbRjXOMLQeZ9Suj+4gXpDt8fz4u8o+86379PZDqy6T6uOpOdxz1Luj836w6k7hWMT/ze8nuG8f7ZvA3B7nmMZ6iEJiK77BtiKNqGdbJcjJWG88Ss4W3rXha6r5p0L0J35ju3nY1GX7qv4046d0/PAINsJ90nJkZ/47pL23c7d3d3ty+EEJFH5S+488C29GFTH/t+l2MF/yPitut0H2W+T6Pumu9jA+S7Ipe+0/FdOmuwfQy2Z7M63X8bhe2q7kL4bavw0dzyXHL+Wm5555t+HyP+bSiXl9/08pbHiBve/NbEW1M3PabtTc8GpbS/7RtYDMzmL1Uby7Hc2vQSdh1uROo1Bl/NLwNfY/Ji6CeY7Ez3Kb3
background-repeat: no-repeat;
background-size: 100% 100%;
height: 104rpx;
padding: 40rpx 0 0 40rpx;
font-weight: 600;
font-size: 30rpx;
line-height: 42rpx;
color: #333333;
.pictrue {
width: 124rpx;
height: 22rpx;
image {
width: 100%;
height: 100%;
display: block;
}
&.on {
transform: rotateX(180deg);
}
}
}
}
}
</style>