Compare commits
13 Commits
7a9c0eb53f
...
e96fcf28a9
Author | SHA1 | Date | |
---|---|---|---|
e96fcf28a9 | |||
|
8af938e0eb | ||
d805b6f0bf | |||
|
10c9498985 | ||
75dd6ca8d8 | |||
06bc5651ae | |||
28c324e449 | |||
8158a1e780 | |||
339f8e3346 | |||
1a9f06e722 | |||
dd15356717 | |||
|
414f50ce5d | ||
d5ba314bf6 |
@ -475,9 +475,9 @@ export default {
|
|||||||
return vm.$u.post("Expertapply/hobbyList")
|
return vm.$u.post("Expertapply/hobbyList")
|
||||||
},
|
},
|
||||||
// 达人申请
|
// 达人申请
|
||||||
applyExpert({ name, mobile, address, industry, hobby }) {
|
applyExpert({ name, mobile, idcard, address, industry, hobby }) {
|
||||||
return vm.$u.post("Expertapply/expertApply", {
|
return vm.$u.post("Expertapply/expertApply", {
|
||||||
name, mobile, address, industry, hobby
|
name, mobile, idcard, address, industry, hobby
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getInvoiceList() {
|
getInvoiceList() {
|
||||||
|
@ -119,7 +119,7 @@ export default {
|
|||||||
margin-left: -20rpx;
|
margin-left: -20rpx;
|
||||||
.daren-item {
|
.daren-item {
|
||||||
width: 215rpx;
|
width: 215rpx;
|
||||||
height: 282rpx;
|
height: 270rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<view class="item-name u-line-1">{{ item.store_name }}</view>
|
<view class="item-name u-line-1">{{ item.store_name }}</view>
|
||||||
<view class="item-date">
|
<view class="item-date">
|
||||||
<image src="@/pageE/static/mine/26.png"></image>
|
<image src="@/pageE/static/mine/26.png"></image>
|
||||||
<view>{{ item.fav_time | date }}</view>
|
<view>{{ item.fav_time }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<view class="item-bottom">
|
<view class="item-bottom">
|
||||||
<view class="item-date">
|
<view class="item-date">
|
||||||
<image src="@/pageE/static/mine/26.png"></image>
|
<image src="@/pageE/static/mine/26.png"></image>
|
||||||
<view>{{ item.friend_tomavatar | date }}</view>
|
<view>{{ item.friend_addtime }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
<label for="phone">手机号:</label>
|
<label for="phone">手机号:</label>
|
||||||
<input type="number" id="phone" @input="phones" maxlength="11" placeholder="请输入手机号" />
|
<input type="number" id="phone" @input="phones" maxlength="11" placeholder="请输入手机号" />
|
||||||
</view>
|
</view>
|
||||||
|
<view>
|
||||||
|
<label for="idCard">身份证号:</label>
|
||||||
|
<input type="text" id="idCard" placeholder="请输入身份证号" @input="setIdCard" />
|
||||||
|
</view>
|
||||||
<view @click="show=true">
|
<view @click="show=true">
|
||||||
<label for="address">居住地址:</label>
|
<label for="address">居住地址:</label>
|
||||||
<input type="text" id="address" v-model="address" disabled placeholder="请选择居住地址" />
|
<input type="text" id="address" v-model="address" disabled placeholder="请选择居住地址" />
|
||||||
@ -65,6 +69,7 @@ export default {
|
|||||||
areaList: [],
|
areaList: [],
|
||||||
name: '',
|
name: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
|
idCard: '',
|
||||||
address: '',
|
address: '',
|
||||||
details: '',
|
details: '',
|
||||||
industryList: [],
|
industryList: [],
|
||||||
@ -87,6 +92,9 @@ export default {
|
|||||||
phones(a){
|
phones(a){
|
||||||
this.phone = a.detail.value
|
this.phone = a.detail.value
|
||||||
},
|
},
|
||||||
|
setIdCard(v) {
|
||||||
|
this.idCard = v.detail.value;
|
||||||
|
},
|
||||||
detailss(a){
|
detailss(a){
|
||||||
this.details = a.detail.value
|
this.details = a.detail.value
|
||||||
},
|
},
|
||||||
@ -140,14 +148,22 @@ export default {
|
|||||||
this.$u.toast('手机号错误');
|
this.$u.toast('手机号错误');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(this.$u.test.isEmpty(this.address)) {
|
if(this.$u.test.isEmpty(this.idCard)) {
|
||||||
this.$u.toast('地址不能为空');
|
this.$u.toast('身份证号不可为空');
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if(this.$u.test.isEmpty(this.details)) {
|
|
||||||
this.$u.toast('详细地址不能为空');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// if(!this.$u.test.idCard(this.idCard)) {
|
||||||
|
// this.$u.toast('请正确填写身份证号');
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
|
// if(this.$u.test.isEmpty(this.address)) {
|
||||||
|
// this.$u.toast('地址不能为空');
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
|
// if(this.$u.test.isEmpty(this.details)) {
|
||||||
|
// this.$u.toast('详细地址不能为空');
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
if(!this.checkedIndustryList.length) {
|
if(!this.checkedIndustryList.length) {
|
||||||
this.$u.toast('行业领域不能为空');
|
this.$u.toast('行业领域不能为空');
|
||||||
return false;
|
return false;
|
||||||
@ -165,6 +181,7 @@ export default {
|
|||||||
this.$u.api.applyExpert({
|
this.$u.api.applyExpert({
|
||||||
name: this.name,
|
name: this.name,
|
||||||
mobile: this.phone,
|
mobile: this.phone,
|
||||||
|
idcard: this.idCard,
|
||||||
address: this.address + this.details,
|
address: this.address + this.details,
|
||||||
industry: this.checkedIndustryList,
|
industry: this.checkedIndustryList,
|
||||||
hobby: this.checkedHobbyList,
|
hobby: this.checkedHobbyList,
|
||||||
|
@ -273,7 +273,7 @@
|
|||||||
darenItem
|
darenItem
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
console.log(this.imService.status)
|
console.log(this.imService.status,this.$store.state.hasLogin)
|
||||||
if(!this.imService.status && this.$store.state.hasLogin){
|
if(!this.imService.status && this.$store.state.hasLogin){
|
||||||
const user = uni.getStorageSync('user_info');
|
const user = uni.getStorageSync('user_info');
|
||||||
// console.log(user)
|
// console.log(user)
|
||||||
|
@ -351,7 +351,7 @@
|
|||||||
z-index: 9;
|
z-index: 9;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
bottom: 300rpx;
|
bottom: 110rpx;
|
||||||
width: 100rpx;
|
width: 100rpx;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
background: rgba(253, 211, 96, 1);
|
background: rgba(253, 211, 96, 1);
|
||||||
|
@ -418,6 +418,7 @@ export default {
|
|||||||
"Authorization" : 'Bearer' + " " + token
|
"Authorization" : 'Bearer' + " " + token
|
||||||
},
|
},
|
||||||
success(res){
|
success(res){
|
||||||
|
|
||||||
console.log(res)
|
console.log(res)
|
||||||
that.info = res.data.data
|
that.info = res.data.data
|
||||||
// that.list= res.data.data
|
// that.list= res.data.data
|
||||||
@ -461,6 +462,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
errors(a){
|
errors(a){
|
||||||
|
this.videoContext.stop();
|
||||||
|
setTimeout(() => {
|
||||||
|
this.videoContext.play()
|
||||||
|
},1000)
|
||||||
console.log(a)
|
console.log(a)
|
||||||
},
|
},
|
||||||
newpeople(list){
|
newpeople(list){
|
||||||
@ -497,6 +502,11 @@ export default {
|
|||||||
// this.contentPosition = 'message-box'+(this.room.messages.length-1);
|
// this.contentPosition = 'message-box'+(this.room.messages.length-1);
|
||||||
// }, 300)
|
// }, 300)
|
||||||
console.log(message)
|
console.log(message)
|
||||||
|
if(message.type == 1){
|
||||||
|
|
||||||
|
console.log('stop')
|
||||||
|
return ;
|
||||||
|
}
|
||||||
this.danmulist.push(message)
|
this.danmulist.push(message)
|
||||||
|
|
||||||
if(this.danmulist.length > 7){
|
if(this.danmulist.length > 7){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user