14 changed files with 193 additions and 69 deletions
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 466 KiB |
@ -1,49 +1,49 @@ |
|||||
page { |
page { |
||||
width:100%; |
width:100%; |
||||
height: auto; |
height: auto; |
||||
overflow-y: auto; |
overflow-y: auto; |
||||
background: #f7f7f7; |
background: #f7f7f7; |
||||
} |
} |
||||
.hover-btn { |
.hover-btn { |
||||
box-shadow: 0 0 10rpx rgba(63, 63, 63, 0.1); |
box-shadow: 0 0 10rpx rgba(63, 63, 63, 0.1); |
||||
} |
} |
||||
.community .func-top{ |
.community .func-top{ |
||||
height: 94rpx; |
height: 94rpx; |
||||
width: 750rpx; |
width: 750rpx; |
||||
position: relative; |
position: relative; |
||||
background: rgba(255, 255, 255, 1); |
background: rgba(255, 255, 255, 1); |
||||
} |
} |
||||
.community .func-top text{ |
.community .func-top text{ |
||||
height: 94rpx; |
height: 94rpx; |
||||
font-size: 32rpx; |
font-size: 32rpx; |
||||
font-family: PingFang SC; |
font-family: PingFang SC; |
||||
font-weight: bold; |
font-weight: bold; |
||||
color: rgba(51, 51, 51, 1); |
color: rgba(51, 51, 51, 1); |
||||
line-height: 94rpx; |
line-height: 94rpx; |
||||
position: absolute; |
position: absolute; |
||||
left: 29rpx; |
left: 29rpx; |
||||
} |
} |
||||
.community .func-top .top-right{ |
.community .func-top .top-right{ |
||||
width: 40rpx; |
width: 40rpx; |
||||
height: 94rpx; |
height: 94rpx; |
||||
padding: 0; |
padding: 0; |
||||
border: none; |
border: none; |
||||
position: absolute; |
position: absolute; |
||||
right: 34rpx; |
right: 34rpx; |
||||
} |
} |
||||
.community .func-top .top-right image{ |
.community .func-top .top-right image{ |
||||
width: 18rpx; |
width: 18rpx; |
||||
height: 24rpx; |
height: 24rpx; |
||||
margin: 0; |
margin: 0; |
||||
position: absolute; |
position: absolute; |
||||
top: 30rpx; |
top: 30rpx; |
||||
} |
} |
||||
.community .func-item{ |
.community .func-item{ |
||||
width: 720rpx; |
width: 720rpx; |
||||
height: 270rpx; |
height: 270rpx; |
||||
margin: 0 auto; |
margin: 0 auto; |
||||
} |
} |
||||
.community .func-item image{ |
.community .func-item image{ |
||||
width: 100%; |
width: 100%; |
||||
height: 100%; |
height: 100%; |
||||
} |
} |
@ -1,5 +1,5 @@ |
|||||
{ |
{ |
||||
"usingComponents": { |
"usingComponents": { |
||||
}, |
}, |
||||
"navigationBarTitleText": "论坛指南" |
"navigationBarTitleText": "话题指南" |
||||
} |
} |
@ -1,5 +1,13 @@ |
|||||
<view class="guide-info"> |
<view class="guide-info"> |
||||
|
<image class="topic-img" src="../../images/huatizhinan@2x.png" /> |
||||
<view class="guide-content"> |
<view class="guide-content"> |
||||
{{guideInfoData}} |
<view class="today-item"> |
||||
|
<view class="today-top"><image src="../../images/fire@2x.png"/><text>{{todayTopic.showTime}}</text></view> |
||||
|
<view class="today-content"><text>{{todayTopic.content}}</text></view> |
||||
|
</view> |
||||
|
<view class="topic-item" wx:for="{{guideInfoData}}" wx:for-index="index" wx:for-item="item" wx:key="index"> |
||||
|
<view class="item-top"><image src="../../images/copy@2x.png"/><text>{{item.showTime}}</text></view> |
||||
|
<view class="item-content"><text>{{item.content}}</text></view> |
||||
|
</view> |
||||
</view> |
</view> |
||||
</view> |
</view> |
@ -1,9 +1,78 @@ |
|||||
page { |
page { |
||||
width:100%; |
width:100%; |
||||
height: auto; |
height: auto; |
||||
|
min-height:100vh; |
||||
overflow-y: auto; |
overflow-y: auto; |
||||
background: #f7f7f7; |
background: linear-gradient(to bottom, #db1a1f 0%,#e95027 50%,#db1a1f 100%); |
||||
|
} |
||||
|
.guide-info { |
||||
|
position: relative; |
||||
|
} |
||||
|
.topic-img{ |
||||
|
width: 750rpx; |
||||
|
height: 306rpx; |
||||
|
position: absolute; |
||||
} |
} |
||||
.guide-content { |
.guide-content { |
||||
font-size: 34rpx; |
display: flex; |
||||
|
flex-direction: column; |
||||
|
position: absolute; |
||||
|
top: 243rpx; |
||||
|
margin: 16rpx 30rpx; |
||||
|
} |
||||
|
|
||||
|
.today-top { |
||||
|
position: relative; |
||||
|
} |
||||
|
.today-top image{ |
||||
|
width: 232rpx; |
||||
|
height: 50rpx; |
||||
|
} |
||||
|
.today-top text{ |
||||
|
height: 50rpx; |
||||
|
line-height: 50rpx; |
||||
|
font-size: 32rpx; |
||||
|
font-family: PingFang SC; |
||||
|
font-weight: bold; |
||||
|
color: rgba(255,255,255,1); |
||||
|
position: absolute; |
||||
|
left: 76rpx; |
||||
|
z-index: 999; |
||||
|
} |
||||
|
.topic-item, .today-item { |
||||
|
background-color: #ffffff; |
||||
|
border-radius: 10rpx; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
margin-bottom: 16rpx; |
||||
|
width: 690rpx; |
||||
|
} |
||||
|
.item-top { |
||||
|
position: relative; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
padding-left: 31rpx; |
||||
|
margin-top: 39rpx; |
||||
|
} |
||||
|
.item-top image{ |
||||
|
width: 32rpx; |
||||
|
height: 32rpx; |
||||
|
} |
||||
|
.item-top text{ |
||||
|
font-size: 32rpx; |
||||
|
font-family: PingFang SC; |
||||
|
font-weight: bold; |
||||
|
color: #BF1F1F; |
||||
|
margin-left: 18rpx; |
||||
|
} |
||||
|
.item-content, .today-content{ |
||||
|
padding: 28rpx 32rpx; |
||||
|
} |
||||
|
.item-content text,.today-content text{ |
||||
|
font-size:34rpx; |
||||
|
font-family:PingFang SC; |
||||
|
font-weight:500; |
||||
|
color:rgba(51,51,51,1); |
||||
|
line-height:52rpx; |
||||
|
height: 52rpx; |
||||
} |
} |
Loading…
Reference in new issue