zx 3 years ago
parent b5d1008b5a
commit 6be1d4b633

@ -3,9 +3,6 @@ Page({
data: { data: {
brandDataList: [], brandDataList: [],
//form //form
sQuDao: [],
sQingGan: [],
sCrisis: [],
iTimeType: 0, iTimeType: 0,
sTimeType: 34, sTimeType: 34,
sStartTime: '', sStartTime: '',
@ -14,15 +11,16 @@ Page({
iPageSize: 10, iPageSize: 10,
//api //api
affList: [], affList: [],
qgList: [], qgList: [
wjList: [{key: 1,value: '低级危机'},{key: 2,value: '中级危机'},{key: 3,value: '高级危机'}], {key: 1, value: "正面", isSelect: false},
{key: 2, value: "负面", isSelect: false},
{key: 3, value: "中性", isSelect: false}
],
wjList: [
{key: 1,value: '低级危机', isSelect: false},{key: 2,value: '中级危机', isSelect: false},{key: 3,value: '高级危机', isSelect: false}
],
copyShow: false, copyShow: false,
copyData: {}, copyData: {},
//default select all list
allQuDao: [],
allQingGan: [],
qingGanList: [],
quDaoList: [],
}, },
onShow() { onShow() {
this.setData({ this.setData({
@ -34,6 +32,24 @@ Page({
this.getData(); this.getData();
}, },
onReachBottom() { onReachBottom() {
let qdList = [];
this.data.affList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qdList.push(ele.key)
}
});
let qgList = [];
this.data.qgList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qgList.push(ele.key)
}
});
let wjList = [];
this.data.wjList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
wjList.push(ele.key)
}
});
let pageIndex = this.data.iPageIndex + 1; let pageIndex = this.data.iPageIndex + 1;
this.setData({iPageIndex: pageIndex}); this.setData({iPageIndex: pageIndex});
app.globalData.request({ app.globalData.request({
@ -42,14 +58,14 @@ Page({
sTimeType: this.data.sTimeType, sTimeType: this.data.sTimeType,
sStartTime: this.data.sStartTime, sStartTime: this.data.sStartTime,
sEndTime: this.data.sEndTime, sEndTime: this.data.sEndTime,
sQuDao: (this.data.sQuDao).join(',') || '', sQuDao: qdList.join(',') || '',
sQingGan: (this.data.sQingGan).join(',') || '', sQingGan: qgList.join(',') || '',
iPageIndex: this.data.iPageIndex, iPageIndex: this.data.iPageIndex,
iPageSize: this.data.iPageSize, iPageSize: this.data.iPageSize,
sType: 'BrandData', sType: 'BrandData',
isSourcetype: 0, //1返回渠道 0不返回 isSourcetype: 0, //1返回渠道 0不返回
iTimeType: this.data.iTimeType, //0发布时间 1入库时间 iTimeType: this.data.iTimeType, //0发布时间 1入库时间
sCrisis: (this.data.sCrisis).join(',') || '', sCrisis: wjList.join(',') || '',
sBrand: wx.getStorageSync('sBrand') || '', sBrand: wx.getStorageSync('sBrand') || '',
}).then(res => { }).then(res => {
let arr = [...this.data.brandDataList, ...res] let arr = [...this.data.brandDataList, ...res]
@ -57,20 +73,38 @@ Page({
}); });
}, },
getData() { getData() {
let qdList = [];
this.data.affList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qdList.push(ele.key)
}
});
let qgList = [];
this.data.qgList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qgList.push(ele.key)
}
});
let wjList = [];
this.data.wjList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
wjList.push(ele.key)
}
});
app.globalData.request({ app.globalData.request({
action: 'getList', //数据列表 action: 'getList', //数据列表
token: 't%2BrswgjvzGM=', token: 't%2BrswgjvzGM=',
sTimeType: this.data.sTimeType, sTimeType: this.data.sTimeType,
sStartTime: this.data.sStartTime, sStartTime: this.data.sStartTime,
sEndTime: this.data.sEndTime, sEndTime: this.data.sEndTime,
sQuDao: (this.data.sQuDao).join(',') || '', sQuDao: qdList.join(',') || '',
sQingGan: (this.data.sQingGan).join(',') || '', sQingGan: qgList.join(',') || '',
iPageIndex: this.data.iPageIndex, iPageIndex: this.data.iPageIndex,
iPageSize: this.data.iPageSize, iPageSize: this.data.iPageSize,
sType: 'BrandData', sType: 'BrandData',
isSourcetype: 0, //1返回渠道 0不返回 isSourcetype: 0, //1返回渠道 0不返回
iTimeType: this.data.iTimeType, //0发布时间 1入库时间 iTimeType: this.data.iTimeType, //0发布时间 1入库时间
sCrisis: (this.data.sCrisis).join(',') || '', sCrisis: wjList.join(',') || '',
sBrand: wx.getStorageSync('sBrand') || '', sBrand: wx.getStorageSync('sBrand') || '',
}).then(res => { }).then(res => {
this.setData({brandDataList: res}) this.setData({brandDataList: res})
@ -81,44 +115,48 @@ Page({
action: 'getQuDao', //获取所有渠道 action: 'getQuDao', //获取所有渠道
token: 't%2BrswgjvzGM=', token: 't%2BrswgjvzGM=',
}).then(res => { }).then(res => {
let arr = [] res.forEach(ele => {
res.slice(1).forEach(ele => { ele.isSelect = false;
arr.push(ele.key.toString())
})
this.setData({affList: res.slice(1), quDaoList: arr})
});
app.globalData.request({
action: 'getQingGan', //获取所有情感
token: 't%2BrswgjvzGM=',
}).then(res => {
let arr = []
res.slice(1).forEach(ele => {
arr.push(ele.key.toString())
}) })
this.setData({qgList: res.slice(1), qingGanList: arr}) this.setData({affList: res})
}); });
}, },
changeSource(event) {this.setData({ sQuDao: event.detail });this.getData()}, changeSource(event) {
selectQdall(event) { let that = this;
if(event.detail.length == 0) { let val = event.currentTarget.dataset.value;
this.setData({sQuDao: []}) if(val.key == -1 && val.isSelect == false) {
that.data.affList.forEach(ele => {
ele.isSelect = true;
})
} else if(val.key == -1 && val.isSelect == true) {
that.data.affList.forEach(ele => {
ele.isSelect = false;
})
} else { } else {
this.setData({sQuDao: this.data.quDaoList}) that.data.affList[0].isSelect = false;
} }
this.setData({ allQuDao: event.detail }); if(val.key == -1) {
this.setData({affList: that.data.affList});
} else {
that.data.affList[val.key].isSelect = !that.data.affList[val.key].isSelect;
this.setData({affList: that.data.affList});
};
this.getData(); this.getData();
}, },
changeQingGan(event) {this.setData({ sQingGan: event.detail });this.getData()}, changeQingGan(event) {
selectQgall(event) { let that = this;
if(event.detail.length == 0) { let val = event.currentTarget.dataset.value;
this.setData({sQingGan: [], sCrisis: []}) that.data.qgList[val.key-1].isSelect = !that.data.qgList[val.key-1].isSelect;
} else { this.setData({qgList: that.data.qgList});
this.setData({sQingGan: this.data.qingGanList, sCrisis: ['1','2','3']}) this.getData();
} },
this.setData({ allQingGan: event.detail }); changeWeiJi(event) {
let that = this;
let val = event.currentTarget.dataset.value;
that.data.wjList[val.key-1].isSelect = !that.data.wjList[val.key-1].isSelect;
this.setData({wjList: that.data.wjList});
this.getData(); this.getData();
}, },
changeWeiJi(event) {this.setData({ sCrisis: event.detail });this.getData()},
iTimeTypeChange(event) { iTimeTypeChange(event) {
this.setData({ this.setData({
iTimeType: this.data.iTimeType == 1?0:1, iTimeType: this.data.iTimeType == 1?0:1,

@ -3,35 +3,26 @@
<van-dropdown-menu> <van-dropdown-menu>
<van-dropdown-item id="allSource" title="全部渠道"> <van-dropdown-item id="allSource" title="全部渠道">
<view style="margin: 24rpx"> <view style="margin: 24rpx">
<van-checkbox-group value="{{ allQuDao }}" bind:change="selectQdall"> <view class="filter">
<van-checkbox name="0" shape="square"> <view wx:for="{{affList}}" wx:key="index">
<view style="margin: 12rpx">全部</view> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeSource">{{item.value}}</view>
</van-checkbox> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeSource">{{item.value}}</view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sQuDao }}" bind:change="changeSource"> </view>
<van-checkbox wx:for="{{affList}}" wx:key="key" name="{{item.key}}" shape="square">
<view style="margin: 12rpx">{{item.value}}</view>
</van-checkbox>
</van-checkbox-group>
</view> </view>
</van-dropdown-item> </van-dropdown-item>
<van-dropdown-item id="allAff" title="全部调性"> <van-dropdown-item id="allAff" title="全部调性">
<view style="padding: 24rpx"> <view style="margin: 24rpx">
<van-checkbox-group value="{{ allQingGan }}" bind:change="selectQgall"> <view class="filter">
<van-checkbox name="0" shape="square"> <view wx:for="{{qgList}}" wx:key="index">
<view style="margin: 12rpx">全部</view> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeQingGan">{{item.value}}</view>
</van-checkbox> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeQingGan">{{item.value}}</view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sQingGan }}" bind:change="changeQingGan"> <view wx:for="{{wjList}}" wx:key="index">
<van-checkbox wx:for="{{qgList}}" wx:key="key" name="{{item.key}}" shape="square"> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeWeiJi">{{item.value}}</view>
<view style="margin: 12rpx">{{item.value}}</view> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeWeiJi">{{item.value}}</view>
</van-checkbox> </view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sCrisis }}" bind:change="changeWeiJi">
<van-checkbox wx:for="{{wjList}}" wx:key="key" name="{{item.key}}" shape="square">
<view style="margin: 12rpx">{{item.value}}</view>
</van-checkbox>
</van-checkbox-group>
</view> </view>
</van-dropdown-item> </van-dropdown-item>
<van-dropdown-item id="sort" title="时间范围"> <van-dropdown-item id="sort" title="时间范围">

@ -30,11 +30,11 @@ Page({
sTimeType: wx.getStorageSync('sTimeType') || 34, sTimeType: wx.getStorageSync('sTimeType') || 34,
sStartTime: wx.getStorageSync('sStartTime') || '', sStartTime: wx.getStorageSync('sStartTime') || '',
sEndTime: wx.getStorageSync('sEndTime') || '', sEndTime: wx.getStorageSync('sEndTime') || '',
sBrand: this.data.currentBrand, sBrand: wx.getStorageSync('sBrand') || '',
sSeriesName: wx.getStorageSync('sSeriesName') || '', sSeriesName: wx.getStorageSync('sSeriesName') || '',
}).then(res => { }).then(res => {
this.setData({ this.setData({
percent: (res.countPercent * 100).toFixed(2) + '%' percent: (res.countPercent * 1) + '%'
}) })
}); });
app.globalData.request({ app.globalData.request({
@ -44,7 +44,7 @@ Page({
sTimeType: wx.getStorageSync('sTimeType') || 34, sTimeType: wx.getStorageSync('sTimeType') || 34,
sStartTime: wx.getStorageSync('sStartTime') || '', sStartTime: wx.getStorageSync('sStartTime') || '',
sEndTime: wx.getStorageSync('sEndTime') || '', sEndTime: wx.getStorageSync('sEndTime') || '',
sBrand: this.currentBrand, sBrand: wx.getStorageSync('sBrand') || '',
sSeriesName: wx.getStorageSync('sSeriesName') || '', sSeriesName: wx.getStorageSync('sSeriesName') || '',
}).then(res => { }).then(res => {
let total = res.正面*1 + res.中性*1 + res.负面*1 let total = res.正面*1 + res.中性*1 + res.负面*1
@ -74,7 +74,7 @@ Page({
sTimeType: wx.getStorageSync('sTimeType') || 34, sTimeType: wx.getStorageSync('sTimeType') || 34,
sStartTime: wx.getStorageSync('sStartTime') || '', sStartTime: wx.getStorageSync('sStartTime') || '',
sEndTime: wx.getStorageSync('sEndTime') || '', sEndTime: wx.getStorageSync('sEndTime') || '',
sBrand: this.data.currentBrand, sBrand: wx.getStorageSync('sBrand') || '',
sSeriesName: wx.getStorageSync('sSeriesName') || '', sSeriesName: wx.getStorageSync('sSeriesName') || '',
}).then(res => { }).then(res => {
wx.showModal({ wx.showModal({

@ -3,69 +3,111 @@ Page({
data: { data: {
brandDataList: [], brandDataList: [],
//form //form
sQuDao: [],
sQingGan: [],
sCrisis: [],
iTimeType: 0, iTimeType: 0,
sTimeType: 34,
sStartTime: '',
sEndTime: '',
iPageIndex: 1, iPageIndex: 1,
iPageSize: 10, iPageSize: 10,
//api //api
affList: [], affList: [],
qgList: [], qgList: [
wjList: [{key: 1,value: '低级危机'},{key: 2,value: '中级危机'},{key: 3,value: '高级危机'}], {key: 1, value: "正面", isSelect: false},
{key: 2, value: "负面", isSelect: false},
{key: 3, value: "中性", isSelect: false}
],
wjList: [
{key: 1,value: '低级危机', isSelect: false},{key: 2,value: '中级危机', isSelect: false},{key: 3,value: '高级危机', isSelect: false}
],
copyShow: false, copyShow: false,
copyData: {}, copyData: {},
//default select all list
allQuDao: [],
allQingGan: [],
qingGanList: [],
quDaoList: [],
}, },
onShow() { onShow() {
this.setData({
sTimeType: wx.getStorageSync('sTimeType') || 34,
sStartTime: wx.getStorageSync('sStartTime') || '',
sEndTime: wx.getStorageSync('sEndTime') || '',
})
this.getApi(); this.getApi();
this.getData(); this.getData();
}, },
onReachBottom() { onReachBottom() {
let qdList = [];
this.data.affList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qdList.push(ele.key)
}
});
let qgList = [];
this.data.qgList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qgList.push(ele.key)
}
});
let wjList = [];
this.data.wjList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
wjList.push(ele.key)
}
});
let pageIndex = this.data.iPageIndex + 1; let pageIndex = this.data.iPageIndex + 1;
this.setData({iPageIndex: pageIndex}); this.setData({iPageIndex: pageIndex});
app.globalData.request({ app.globalData.request({
action: 'getList', //数据列表 action: 'getList', //数据列表
token: 't%2BrswgjvzGM=', token: 't%2BrswgjvzGM=',
sTimeType: wx.getStorageSync('sTimeType') || 34, sTimeType: this.data.sTimeType,
sStartTime: wx.getStorageSync('sStartTime') || '', sStartTime: this.data.sStartTime,
sEndTime: wx.getStorageSync('sEndTime') || '', sEndTime: this.data.sEndTime,
sQuDao: (this.data.sQuDao).join(',') || '', sQuDao: qdList.join(',') || '',
sQingGan: (this.data.sQingGan).join(',') || '', sQingGan: qgList.join(',') || '',
iPageIndex: this.data.iPageIndex, iPageIndex: this.data.iPageIndex,
iPageSize: this.data.iPageSize, iPageSize: this.data.iPageSize,
sType: 'BrandData', sType: 'BrandData',
isSourcetype: 0, //1返回渠道 0不返回 isSourcetype: 0, //1返回渠道 0不返回
iTimeType: this.data.iTimeType, //0发布时间 1入库时间 iTimeType: this.data.iTimeType, //0发布时间 1入库时间
sCrisis: (this.data.sCrisis).join(','), sCrisis: wjList.join(',') || '',
sBrand: wx.getStorageSync('sBrand') || '', sBrand: wx.getStorageSync('sBrand') || '',
sSeries: wx.getStorageSync('sSeries') || '', sSeries: wx.getStorageSync('sSeriesName') || '',
}).then(res => { }).then(res => {
let arr = [...this.data.brandDataList, ...res] let arr = [...this.data.brandDataList, ...res]
this.setData({brandDataList: arr}) this.setData({brandDataList: arr})
}); });
}, },
getData() { getData() {
let qdList = [];
this.data.affList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qdList.push(ele.key)
}
});
let qgList = [];
this.data.qgList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
qgList.push(ele.key)
}
});
let wjList = [];
this.data.wjList.forEach(ele => {
if(ele.isSelect && ele.key != -1) {
wjList.push(ele.key)
}
});
app.globalData.request({ app.globalData.request({
action: 'getList', //数据列表 action: 'getList', //数据列表
token: 't%2BrswgjvzGM=', token: 't%2BrswgjvzGM=',
sTimeType: wx.getStorageSync('sTimeType') || 34, sTimeType: this.data.sTimeType,
sStartTime: wx.getStorageSync('sStartTime') || '', sStartTime: this.data.sStartTime,
sEndTime: wx.getStorageSync('sEndTime') || '', sEndTime: this.data.sEndTime,
sQuDao: (this.data.sQuDao).join(',') || '', sQuDao: qdList.join(',') || '',
sQingGan: (this.data.sQingGan).join(',') || '', sQingGan: qgList.join(',') || '',
iPageIndex: this.data.iPageIndex, iPageIndex: this.data.iPageIndex,
iPageSize: this.data.iPageSize, iPageSize: this.data.iPageSize,
sType: 'BrandData', sType: 'BrandData',
isSourcetype: 0, //1返回渠道 0不返回 isSourcetype: 0, //1返回渠道 0不返回
iTimeType: this.data.iTimeType, //0发布时间 1入库时间 iTimeType: this.data.iTimeType, //0发布时间 1入库时间
sCrisis: (this.data.sCrisis).join(','), sCrisis: wjList.join(',') || '',
sBrand: wx.getStorageSync('sBrand') || '', sBrand: wx.getStorageSync('sBrand') || '',
sSeries: wx.getStorageSync('sSeries') || '', sSeries: wx.getStorageSync('sSeriesName') || '',
}).then(res => { }).then(res => {
this.setData({brandDataList: res}) this.setData({brandDataList: res})
}); });
@ -75,44 +117,48 @@ Page({
action: 'getQuDao', //获取所有渠道 action: 'getQuDao', //获取所有渠道
token: 't%2BrswgjvzGM=', token: 't%2BrswgjvzGM=',
}).then(res => { }).then(res => {
let arr = [] res.forEach(ele => {
res.slice(1).forEach(ele => { ele.isSelect = false;
arr.push(ele.key.toString())
})
this.setData({affList: res.slice(1), quDaoList: arr})
});
app.globalData.request({
action: 'getQingGan', //获取所有情感
token: 't%2BrswgjvzGM=',
}).then(res => {
let arr = []
res.slice(1).forEach(ele => {
arr.push(ele.key.toString())
}) })
this.setData({qgList: res.slice(1), qingGanList: arr}) this.setData({affList: res})
}); });
}, },
changeSource(event) {this.setData({ sQuDao: event.detail });this.getData()}, changeSource(event) {
selectQdall(event) { let that = this;
if(event.detail.length == 0) { let val = event.currentTarget.dataset.value;
this.setData({sQuDao: []}) if(val.key == -1 && val.isSelect == false) {
that.data.affList.forEach(ele => {
ele.isSelect = true;
})
} else if(val.key == -1 && val.isSelect == true) {
that.data.affList.forEach(ele => {
ele.isSelect = false;
})
} else { } else {
this.setData({sQuDao: this.data.quDaoList}) that.data.affList[0].isSelect = false;
} }
this.setData({ allQuDao: event.detail }); if(val.key == -1) {
this.setData({affList: that.data.affList});
} else {
that.data.affList[val.key].isSelect = !that.data.affList[val.key].isSelect;
this.setData({affList: that.data.affList});
};
this.getData(); this.getData();
}, },
changeQingGan(event) {this.setData({ sQingGan: event.detail });this.getData()}, changeQingGan(event) {
selectQgall(event) { let that = this;
if(event.detail.length == 0) { let val = event.currentTarget.dataset.value;
this.setData({sQingGan: [], sCrisis: []}) that.data.qgList[val.key-1].isSelect = !that.data.qgList[val.key-1].isSelect;
} else { this.setData({qgList: that.data.qgList});
this.setData({sQingGan: this.data.qingGanList, sCrisis: ['1','2','3']}) this.getData();
} },
this.setData({ allQingGan: event.detail }); changeWeiJi(event) {
let that = this;
let val = event.currentTarget.dataset.value;
that.data.wjList[val.key-1].isSelect = !that.data.wjList[val.key-1].isSelect;
this.setData({wjList: that.data.wjList});
this.getData(); this.getData();
}, },
changeWeiJi(event) {this.setData({ sCrisis: event.detail });this.getData()},
iTimeTypeChange(event) { iTimeTypeChange(event) {
this.setData({ this.setData({
iTimeType: this.data.iTimeType == 1?0:1, iTimeType: this.data.iTimeType == 1?0:1,

@ -3,35 +3,26 @@
<van-dropdown-menu> <van-dropdown-menu>
<van-dropdown-item id="allSource" title="全部渠道"> <van-dropdown-item id="allSource" title="全部渠道">
<view style="margin: 24rpx"> <view style="margin: 24rpx">
<van-checkbox-group value="{{ allQuDao }}" bind:change="selectQdall"> <view class="filter">
<van-checkbox name="0" shape="square"> <view wx:for="{{affList}}" wx:key="index">
<view style="margin: 12rpx">全部</view> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeSource">{{item.value}}</view>
</van-checkbox> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeSource">{{item.value}}</view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sQuDao }}" bind:change="changeSource"> </view>
<van-checkbox wx:for="{{affList}}" wx:key="key" name="{{item.key}}" shape="square">
<view style="margin: 12rpx">{{item.value}}</view>
</van-checkbox>
</van-checkbox-group>
</view> </view>
</van-dropdown-item> </van-dropdown-item>
<van-dropdown-item id="allAff" title="全部调性"> <van-dropdown-item id="allAff" title="全部调性">
<view style="margin: 24rpx"> <view style="margin: 24rpx">
<van-checkbox-group value="{{ allQingGan }}" bind:change="selectQgall"> <view class="filter">
<van-checkbox name="0" shape="square"> <view wx:for="{{qgList}}" wx:key="index">
<view style="margin: 12rpx">全部</view> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeQingGan">{{item.value}}</view>
</van-checkbox> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeQingGan">{{item.value}}</view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sQingGan }}" bind:change="changeQingGan"> <view wx:for="{{wjList}}" wx:key="index">
<van-checkbox wx:for="{{qgList}}" wx:key="key" name="{{item.key}}" shape="square"> <view data-value="{{item}}" wx:if="{{item.isSelect == false}}" class="more-item" style="width: 200rpx" bindtap="changeWeiJi">{{item.value}}</view>
<view style="margin: 12rpx">{{item.value}}</view> <view data-value="{{item}}" wx:else class="more-item-active" style="width: 200rpx" bindtap="changeWeiJi">{{item.value}}</view>
</van-checkbox> </view>
</van-checkbox-group> </view>
<van-checkbox-group value="{{ sCrisis }}" bind:change="changeWeiJi">
<van-checkbox wx:for="{{wjList}}" wx:key="key" name="{{item.key}}" shape="square">
<view style="margin: 12rpx">{{item.value}}</view>
</van-checkbox>
</van-checkbox-group>
</view> </view>
</van-dropdown-item> </van-dropdown-item>
<van-dropdown-item id="sort" title="时间范围"> <van-dropdown-item id="sort" title="时间范围">

Loading…
Cancel
Save