Commit 6c651386 by 匡雅琴

样式调整

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