对比样式

dev
Esdese 3 years ago
parent 69f95221ca
commit 815fd9266e

@ -3,7 +3,7 @@
<view class="box"> <view class="box">
<view class="add"> <view class="add">
<view wx:for="{{boxArr}}" wx:key="{{item.events_id}}"> <view wx:for="{{boxArr}}" wx:key="{{item.events_id}}">
<view class="add_box" bindtap="add" wx:if="{{item == undefined }}" data-index="{{index}}"> <view class="add_box" bindtap="add" wx:if="{{item == undefined }}" data-index="{{index}}">
<view class="heng"></view> <view class="heng"></view>
<view class="shu"></view> <view class="shu"></view>
<view class="event">添加事件{{tempLate[index]}}</view> <view class="event">添加事件{{tempLate[index]}}</view>
@ -38,10 +38,13 @@
<text style="font-size: 40rpx;font-weight: bolder;">事件推荐</text> <text style="font-size: 40rpx;font-weight: bolder;">事件推荐</text>
<view class="event_card" wx:for="{{eventList}}" wx:key="idxa"> <view class="event_card" wx:for="{{eventList}}" wx:key="idxa">
<view class="card_head"> <view class="card_head">
<van-checkbox name="{{filter.stringify(item)}}" shape="square" class="van-checkbox"></van-checkbox> <view style="display: inline-block">
<view style="display: inline-block; font-size: 24rpx;color: rgba(153, 153, 153, 1);margin-left:16rpx;"> <van-checkbox name="{{filter.stringify(item)}}" shape="square" class="van-checkbox"></van-checkbox>
{{item.maxSourcetime}} <view style="display: inline-block; font-size: 24rpx;color: rgba(153, 153, 153, 1);">
{{item.maxSourcetime}}
</view>
</view> </view>
<view class="tag"> {{item.events_type}}</view> <view class="tag"> {{item.events_type}}</view>
</view> </view>
<view class="card_title"> <view class="card_title">

@ -105,15 +105,18 @@ page {
} }
.event_card { .event_card {
width: 686rpx; width: 654rpx;
height: 350rpx; height: 350rpx;
background-color: white; background-color: white;
margin-top: 32rpx; margin-top: 32rpx;
padding-top: 36rpx; padding-top: 36rpx;
padding-left: 32rpx;
} }
.card_head { .card_head {
margin-left: 32rpx; /* margin-left: 32rpx; */
display: flex;
justify-content:space-between;
} }
checkbox .wx-checkbox-input { checkbox .wx-checkbox-input {
@ -130,7 +133,7 @@ checkbox .wx-checkbox-input {
font-size: 24rpx; font-size: 24rpx;
text-align: center; text-align: center;
line-height: 40rpx; line-height: 40rpx;
margin-left: 210rpx; margin-right: 32rpx;
} }
.card_title{ .card_title{
@ -139,14 +142,14 @@ checkbox .wx-checkbox-input {
display:-webkit-box; display:-webkit-box;
-webkit-line-clamp:1; -webkit-line-clamp:1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-left: 32rpx; /* margin-left: 32rpx; */
margin-top: 24rpx; margin-top: 24rpx;
font-size: 32rpx; font-size: 32rpx;
font-weight: bolder; font-weight: bolder;
} }
.card_label{ .card_label{
width: 622rpx; width: 622rpx;
margin-left: 32rpx; /* margin-left: 32rpx; */
display: flex; display: flex;
font-size: 28rpx; font-size: 28rpx;
height: 24rpx; height: 24rpx;

Loading…
Cancel
Save