xcx 4 年之前
父節點
當前提交
3ba6f539f7

+ 10
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.vue 查看文件

7
         <!-- 活动主要信息 -->
7
         <!-- 活动主要信息 -->
8
         <view class="MainInfo">
8
         <view class="MainInfo">
9
           <text>{{ActivityInfo.name}}</text>
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
           <view class="Line flex-h">
20
           <view class="Line flex-h">
11
             <text>活动时间:</text>
21
             <text>活动时间:</text>
12
             <text class="flex-item">{{ToolClass.DateFormat(new Date(ActivityInfo.startDate).getTime())}} 至 {{ToolClass.DateFormat(new Date(ActivityInfo.endDate).getTime())}}</text>
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 查看文件

8
       width: 100%;
8
       width: 100%;
9
       height: 100%;
9
       height: 100%;
10
       overflow-y: scroll;
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
       > .MainInfo {
26
       > .MainInfo {
12
         background: #fff;
27
         background: #fff;
13
         padding: 24px;
28
         padding: 24px;