弹窗
This commit is contained in:
@@ -522,7 +522,6 @@ export default {
|
||||
color: #3aa0ff;
|
||||
text-align: center;
|
||||
border-radius: 16px;
|
||||
|
||||
}
|
||||
.bgactive {
|
||||
background: #fff;
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
<u-popup v-model="showUpload" mode="bottom" border-radius="24">
|
||||
<div class="uploadPopup">
|
||||
<div class="upload_card" v-for="(item,index) in upload" :key="index">
|
||||
<div class="upload_card" v-for="(item,index) in uploadList" :key="index">
|
||||
<div class="upload_item">{{ item.title }}</div>
|
||||
<div class="upload_list">
|
||||
<div class="list_item" v-for="(e, i) in item.list" :key="i" @click="uploadBtn(e.msgType)">
|
||||
@@ -251,7 +251,7 @@ export default {
|
||||
]
|
||||
}
|
||||
],
|
||||
upload: [],
|
||||
// upload: [],
|
||||
midiaIds: [],
|
||||
sum: '',
|
||||
// 筛选条件
|
||||
@@ -545,14 +545,26 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
type: {
|
||||
handler(v) {
|
||||
if(v) {
|
||||
if(v=='Residents') {
|
||||
this.forms.taskType = 1
|
||||
this.uploadList = this.uploadList
|
||||
} else if(v=='CircleOfFriends') {
|
||||
this.forms.taskType = 0
|
||||
this.uploadList = this.uploadCircle
|
||||
} else if(v=='ResidentsGroup') {
|
||||
this.uploadList = this.uploadList
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
this.type = o.type;
|
||||
document.title = this.type=='ResidentsGroup'? "群发居民群": this.type=='Residents'? "群发居民": "群发朋友圈"
|
||||
if(this.type=='Residents') {
|
||||
this.forms.taskType = 1
|
||||
} else if(this.type=='CircleOfFriends') {
|
||||
this.forms.taskType = 0
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.form.wxGroups = uni.getStorageSync('wxGroupsUser') || []
|
||||
@@ -562,15 +574,13 @@ export default {
|
||||
this.forms.sendScope = this.form.sendScope
|
||||
this.forms.groupList = this.form.wxGroups
|
||||
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
||||
this.upload = this.uploadList
|
||||
} else if(this.type=='CircleOfFriends') {
|
||||
this.forms.taskType = 0
|
||||
this.forms.sendScope = this.form.sendScope
|
||||
this.forms.executorList = this.form.wxGroups
|
||||
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
||||
this.upload = this.uploadCircle
|
||||
} else if(this.type == 'ResidentsGroup') {
|
||||
this.upload = this.uploadList
|
||||
|
||||
}
|
||||
this.forms.taskTitle = this.form.taskTitle
|
||||
const girdArr = uni.getStorageSync('girdSelect')
|
||||
|
||||
Reference in New Issue
Block a user