dev
liuyongli 3 years ago
parent cba7b710a0
commit a7b2849a2e

@ -31,7 +31,6 @@ Component({
let themeName=['主题一','主题二','主题三','主题四','主题五','主题六'] let themeName=['主题一','主题二','主题三','主题四','主题五','主题六']
let numb=0 let numb=0
let sGuid = [] let sGuid = []
this.data.boxArr.forEach((ele) => { this.data.boxArr.forEach((ele) => {
if (ele) sGuid.push(ele.Guids),numb+=1 if (ele) sGuid.push(ele.Guids),numb+=1
}) })

@ -82,7 +82,7 @@
<van-checkbox-group value="{{ result }}" bind:change="onChange"> <van-checkbox-group value="{{ result }}" bind:change="onChange">
<view class="tdl-item" wx:for="{{dataList}}" wx:key="index" name="{{item}}"> <view class="tdl-item" wx:for="{{dataList}}" wx:key="index" name="{{item}}">
<view class="top-time"> <view class="top-time">
<view style="display: flex;width: 200px;"> <view style="display: flex;width: 200px;height: 25px;line-height: 25px;">
<van-checkbox name="{{item._id}}" shape="square" class="van-checkbox"></van-checkbox> <van-checkbox name="{{item._id}}" shape="square" class="van-checkbox"></van-checkbox>
<view class="top-time-item">{{item._source.sourcetime}}</view> <view class="top-time-item">{{item._source.sourcetime}}</view>
</view> </view>

@ -60,4 +60,5 @@
} }
.top-time .van-checkbox{ .top-time .van-checkbox{
display: inline-block !important; display: inline-block !important;
margin-bottom: -3px
} }

@ -42,6 +42,13 @@
"query": "brand=%E5%A5%87%E7%91%9E%E6%96%B0%E8%83%BD%E6%BA%90", "query": "brand=%E5%A5%87%E7%91%9E%E6%96%B0%E8%83%BD%E6%BA%90",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "",
"pathName": "contrastPackages/themeRatio/index",
"query": "",
"launchMode": "default",
"scene": null
} }
] ]
} }

Loading…
Cancel
Save