Ver código fonte

【Mod】活动规则的字体,需修改和参与答题题目的字体一致,保持统一性

liuxiangxin 2 meses atrás
pai
commit
cfac41f44d
1 arquivos alterados com 10 adições e 7 exclusões
  1. 10 7
      pages/activity/index.vue

+ 10 - 7
pages/activity/index.vue

@@ -15,7 +15,7 @@
       <view class="activity-info">
         <!-- <text class="title">{{ acticve_detail?.name }}</text> -->
         <view class="active-rule">
-          <rich-text :nodes="acticve_detail.active_rule" class="rich_text" style="font-size: 36rpx; font-weight: 300"></rich-text>
+          <rich-text :nodes="acticve_detail.active_rule" class="rich_text" ></rich-text>
         </view>
       </view>
       <view class="activity-btn" @click="_handleChangePage(1)">立即参与</view>
@@ -405,6 +405,8 @@ const _handleChangeRule = (type) => {
         height: 400rpx;
         overflow-y: auto;
         .rich_text {
+		 font-size: 28rpx;
+		 font-weight: bold;
           white-space: break-spaces;
         }
       }
@@ -434,15 +436,16 @@ const _handleChangeRule = (type) => {
     padding: 80rpx 16rpx 0;
     .question {
       // 题干的样式
-      background-color: #fff;
+      width: 100%;
+      opacity: 0.8;
       height: 300rpx;
-      border-radius: 6rpx;
       padding: 26rpx;
-      opacity: 0.8;
+      overflow: auto;
+	  font-size: 28rpx;
+      border-radius: 6rpx;
       margin-bottom: 30rpx;
-      width: 100%;
+      background-color: #fff;
       box-sizing: border-box;
-      overflow: auto;
     }
     .options {
       // 选项的样式
@@ -530,7 +533,7 @@ const _handleChangeRule = (type) => {
         box-sizing: border-box;
         background-color: #ffffff;
         .rich_text {
-          white-space: break-spaces;
+			white-space: break-spaces;
         }
       }
     }