Ver código fonte

活动模块标题修改

jwyu 3 anos atrás
pai
commit
d701ffa60e
3 arquivos alterados com 9 adições e 6 exclusões
  1. 4 4
      pages.json
  2. 1 1
      pages/activity/activity.vue
  3. 4 1
      pages/buy/buy.vue

+ 4 - 4
pages.json

@@ -25,7 +25,7 @@
 		{
 			"path": "pages/activity/activity",
 			"style": {
-				"navigationBarTitleText": "报告及活动",
+				"navigationBarTitleText": "活动",
 				"enablePullDownRefresh": true
 			}
 		},
@@ -56,13 +56,13 @@
 				{
 					"path":"detail",
 					"style":{
-						"navigationBarTitleText":"报告及活动详情"
+						"navigationBarTitleText":"活动详情"
 					}
 				},
 				{
 					"path":"noAuthority",
 					"style":{
-						"navigationBarTitleText":"报告及活动详情"
+						"navigationBarTitleText":"活动详情"
 					}
 				},
 				{
@@ -218,7 +218,7 @@
 			},
 			{
 				"pagePath": "pages/activity/activity",
-				"text": "报告及活动",
+				"text": "活动",
 				"iconPath": "./static/tabbar/activity.png",
 				"selectedIconPath": "./static/tabbar/activity-s.png"
 			},

+ 1 - 1
pages/activity/activity.vue

@@ -16,7 +16,7 @@
                 <view
                     :class="['tab-item', tabActive === '1' && 'tab-active']"
                     data-type="1"
-                    >报告及线上会议</view>
+                    >线上会议</view>
                 <view
                     :class="['tab-item', tabActive === '3' && 'tab-active']"
                     data-type="3"

+ 4 - 1
pages/buy/buy.vue

@@ -7,7 +7,7 @@
         </view>
         <view class="content-box">
           <view class="van-ellipsis title">{{item.title}}</view>
-          <view class="van-ellipsis intro">{{item.content}}</view>
+          <view :class="['van-ellipsis intro',item.content.substr(0,1)=='【'?'text-indent':'']">{{item.content}}</view>
         </view>
         <view class="time">{{item.time|showTime}}</view>
       </view>
@@ -113,6 +113,9 @@ export default {
         .intro{
           color: $global-text-color-grey;
         }
+        .text-indent{
+          margin-left: -12rpx;
+        }
       }
       .time{
         font-size: $global-font-size-sm;