Commit 6c651386 by 匡雅琴

样式调整

1 parent 63695f4f
......@@ -3,14 +3,14 @@
padding: 30rpx;
.strategy-item {
width: 690rpx;
background: #FFFFFF;
background: #ffffff;
border-radius: 8rpx;
margin-bottom: 30rpx;
.strategy-img {
height: 388rpx;
}
.strategy-detail {
height: 140rpx;
// height: 140rpx;
padding: 20rpx;
&-title {
font-weight: 500;
......@@ -24,11 +24,12 @@
.tag {
width: 128rpx;
height: 36rpx;
background: #3772ec;
font-size: 24rpx;
color: #ffffff;
line-height: 36rpx;
text-align: center;
background-image: linear-gradient(107deg, #70b2ff 0%, #6db0ff 100%);
border-radius: 4rpx;
}
.viewer {
font-weight: 400;
......
......@@ -2,16 +2,10 @@
<view class="strategy-item" wx:for="{{strategyList}}" wx:key="index" data-item="{{item}}" bind:tap="selectStrategy">
<glsx-image webp src="strategy/{{item.url}}" class="strategy-img"></glsx-image>
<view class="strategy-detail">
<text class="strategy-detail-title">
{{item.name}}
</text>
<text class="strategy-detail-title">{{item.name}}</text>
<view class="strategy-detail-bottom">
<view class="tag">
{{item.tagName}}
</view>
<view class="viewer">
{{item.viewer}}人浏览
</view>
<view class="tag">{{item.tagName}}</view>
<view class="viewer">{{item.viewer}}人浏览</view>
</view>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!