xcx 4 years ago
parent
commit
3ba6f539f7

+ 10
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.vue View File

@@ -7,6 +7,16 @@
7 7
         <!-- 活动主要信息 -->
8 8
         <view class="MainInfo">
9 9
           <text>{{ActivityInfo.name}}</text>
10
+          <view class="SubInfo flex-h">
11
+            <view class="flex-item">
12
+              <text class="iconfont iconxianshi"></text>
13
+              <text>{{ActivityInfo.pv || ''}}</text>
14
+            </view>
15
+            <view class="Time">
16
+              <text class="iconfont iconshijian"></text>
17
+              <text>{{ToolClass.DateFormat(new Date(ActivityInfo.createDate).getTime())}}</text>
18
+            </view>
19
+          </view>
10 20
           <view class="Line flex-h">
11 21
             <text>活动时间:</text>
12 22
             <text class="flex-item">{{ToolClass.DateFormat(new Date(ActivityInfo.startDate).getTime())}} 至 {{ToolClass.DateFormat(new Date(ActivityInfo.endDate).getTime())}}</text>

+ 15
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/page.scss View File

@@ -8,6 +8,21 @@
8 8
       width: 100%;
9 9
       height: 100%;
10 10
       overflow-y: scroll;
11
+      > .SubInfo {
12
+        font-size: 0;
13
+        white-space: nowrap;
14
+        > text {
15
+          display: inline-block;
16
+          vertical-align: middle;
17
+          font-size: 26px;
18
+          line-height: 40px;
19
+          color: #999;
20
+          margin-right: 10px;
21
+          &:first-child {
22
+            font-size: 30px;
23
+          }
24
+        }
25
+      }
11 26
       > .MainInfo {
12 27
         background: #fff;
13 28
         padding: 24px;