Commit ea7e4fe08bd756456f7d3925d7b4fbd6dd1d0ce6

Authored by 陈晓峰
1 parent dbe77696

正文标题颜色

... ... @@ -7,8 +7,8 @@
7 7 </view>
8 8 <view class="con2">
9 9 <view class="top">
10   - <view style='color:#a8a8a8;'>{{con.eventDate}}</view>
11   - <text>{{con.title}}</text>
  10 + <view style="color:{{con.title_color}};">{{con.eventDate}}</view>
  11 + <text style="color:{{con.title_color}};">{{con.title}}</text>
12 12 </view>
13 13 <!-- <import src="../../wxParse/wxParse.wxml" />
14 14 <view class="wxParse">
... ...
... ... @@ -7,8 +7,8 @@
7 7 </view>
8 8 <view class="con2">
9 9 <view class="top">
10   - <view>{{con.eventDate}}</view>
11   - <text style='font-size:34rpx; font-weight: bold;'>{{con.title}}</text>
  10 + <view style="color:{{con.title_color}}">{{con.eventDate}}</view>
  11 + <text style="font-size:34rpx; font-weight: bold; color:{{con.title_color}};">{{con.title}}</text>
12 12 </view>
13 13 <!-- <import src="../../wxParse/wxParse.wxml" />
14 14 <view class="wxParse">
... ...
... ... @@ -5,8 +5,8 @@
5 5 <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
6 6 </view>
7 7 <view class="con2">
8   - <view class="top"><text>{{con.agency}}</text> | {{con.date}}</view>
9   - <view class="bot">{{con.title}}</view>
  8 + <view class="top" style="color:{{con.title_color}};"><text>{{con.agency}}</text> | {{con.date}}</view>
  9 + <view class="bot" style="color:{{con.title_color}};">{{con.title}}</view>
10 10 </view>
11 11 </view>
12 12 <view class="content1">
... ...
... ... @@ -7,8 +7,8 @@
7 7 <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
8 8 </view>
9 9 <view class="con2">
10   - <view>{{con.eventDate}}</view>
11   - <text style='font-size:34rpx; font-weight: bold;'>{{con.title}}</text>
  10 + <view style="color:{{con.title_color}}">{{con.eventDate}}</view>
  11 + <text style="font-size:34rpx; font-weight: bold;color:{{con.title_color}};" >{{con.title}}</text>
12 12 </view>
13 13 </view>
14 14 <view class="content1">
... ...
... ... @@ -5,8 +5,8 @@
5 5 <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
6 6 </view>
7 7 <view class="con2">
8   - <view class="top"><text>{{con.author}}</text> | {{con.date}}</view>
9   - <view class="bot">{{con.title}}</view>
  8 + <view class="top" style="color:{{con.title_color}}"><text>{{con.author}}</text> | {{con.date}}</view>
  9 + <view class="bot" style="color:{{con.title_color}}">{{con.title}}</view>
10 10 </view>
11 11 </view>
12 12 <view class="content1">
... ...
Please register or login to post a comment