xcx 4 년 전
부모
커밋
dcbe809aeb

+ 1
- 1
project.config.json 파일 보기

@@ -27,7 +27,7 @@
27 27
 			"outputPath": ""
28 28
 		},
29 29
 		"useIsolateContext": true,
30
-		"useCompilerModule": false,
30
+		"useCompilerModule": true,
31 31
 		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",

+ 1
- 1
src/pages/HuiQuanYi/index.vue 파일 보기

@@ -29,8 +29,8 @@
29 29
               <view class="Num"><text>{{index + 1}}</text></view>
30 30
               <view class="flex-item">
31 31
                 <text>{{item.title}}</text>
32
-                <text></text>
33 32
               </view>
33
+              <text :class="{'active': item.typeId - 0 === 2}">{{item.typeId - 0 === 1 ? '喜' : item.typeId - 0 === 2 ? '书' : ''}}</text>
34 34
             </navigator>
35 35
           </view>
36 36
         </view>

+ 13
- 0
src/pages/HuiQuanYi/page.scss 파일 보기

@@ -138,6 +138,19 @@
138 138
               }
139 139
             }
140 140
           }
141
+          > text {
142
+            font-size: 24px;
143
+            background: #fe7e48;
144
+            line-height: 40px;
145
+            width: 40px;
146
+            text-align: center;
147
+            border-radius: 6px;
148
+            color: #fff;
149
+            margin-right: 20px;
150
+            &.active {
151
+              background: #ffa93a;
152
+            }
153
+          }
141 154
         }
142 155
       }
143 156
     }

+ 8
- 5
src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.vue 파일 보기

@@ -42,8 +42,8 @@
42 42
               </view>
43 43
             </view>
44 44
           </view>
45
-          <text @tap="ToPostActivityVote" v-if="!ShowVoteRes">提交</text>
46
-          <button open-type="getPhoneNumber" class="GetPhoneBtn" v-if="!DataLock && ShowGetPhoneBtn && !ShowVoteRes" @getphonenumber="GetPhoneNumber">授权手机号</button>
45
+          <text @tap="ToPostActivityVote" v-if="!ShowVoteRes && ActivityStatus">提交</text>
46
+          <button open-type="getPhoneNumber" class="GetPhoneBtn" v-if="!DataLock && ShowGetPhoneBtn && !ShowVoteRes && ActivityStatus" @getphonenumber="GetPhoneNumber">授权手机号</button>
47 47
           <view class="ResList" v-if="ShowVoteRes">
48 48
             <view v-for="(item, index) in VoteResList" :key="index">
49 49
               <view class="Text flex-h">
@@ -71,9 +71,10 @@
71 71
         <image class="centerLabel" mode="heightFix" src="https://cjgw.oss-cn-hangzhou.aliyuncs.com/ygcxxfb/image/fenxiang.png"></image>
72 72
       </view>
73 73
       <button open-type="share" class="ShareBottomBtn" :class="{'active': IsEnroll}">分享</button>
74
-      <image mode="heightFix" v-if="IsEnroll && !HasEnroll" src="https://cjgw.oss-cn-hangzhou.aliyuncs.com/ygcxxfb/image/lijibaomingbtn.png" @tap="ToJoin"></image>
75
-      <button open-type="getPhoneNumber" class="GetPhoneBottomBtn" v-if="!DataLock && ShowGetPhoneBtn && IsEnroll && !HasEnroll" @getphonenumber="GetPhoneNumber">授权手机号</button>
76
-      <text v-if="IsEnroll && HasEnroll">已报名</text>
74
+      <image mode="heightFix" v-if="IsEnroll && !HasEnroll && ActivityStatus" src="https://cjgw.oss-cn-hangzhou.aliyuncs.com/ygcxxfb/image/lijibaomingbtn.png" @tap="ToJoin"></image>
75
+      <button open-type="getPhoneNumber" class="GetPhoneBottomBtn" v-if="!DataLock && ShowGetPhoneBtn && IsEnroll && !HasEnroll && ActivityStatus" @getphonenumber="GetPhoneNumber">授权手机号</button>
76
+      <text v-if="IsEnroll && HasEnroll && ActivityStatus">已报名</text>
77
+      <text v-if="!ActivityStatus">已过期</text>
77 78
     </view>
78 79
 
79 80
     <!-- 授权头像获取弹窗 -->
@@ -92,6 +93,7 @@ export default {
92 93
   name: 'HuoDongXiangQing',
93 94
   data () {
94 95
     return {
96
+      ActivityStatus: false,
95 97
       HasEnroll: false,
96 98
       ShowVoteRes: false,
97 99
       VoteResList: [],
@@ -144,6 +146,7 @@ export default {
144 146
       this.GetActivityDetail({ urlData: { id: this.CurrnetId } }).then((res) => {
145 147
         this.ActivityInfo = res.data.data
146 148
         this.IsEnroll = this.ActivityInfo.isEnroll
149
+        this.ActivityStatus = this.ActivityInfo.status - 0 !== 2
147 150
         if (this.IsEnroll) {
148 151
           this.HasEnroll = this.ActivityInfo.isSelfEnrolled
149 152
         }

+ 2
- 1
src/pages/WoDe/MyRecommed/index.vue 파일 보기

@@ -11,10 +11,11 @@
11 11
         <!-- 列表 -->
12 12
         <view class="List" v-if="PageList.length">
13 13
           <view v-for="(item, index) in PageList" :key="index" class="Item">
14
-            <view>
14
+            <view class="flex-h">
15 15
               <text>{{item.name}}</text>
16 16
               <text>{{item.sex - 0 === 1 ? '男' : '女'}}</text>
17 17
               <text>{{item.phone}}</text>
18
+              <text class="flex-item" :class="[item.status - 0 === 1 ? 'Type1' : item.status - 0 === 2 ? 'Type2' : 'Type3']">{{item.status - 0 === 1 ? '审核通过' : item.status - 0 === 2 ? '审核不通过' : '未审核'}}</text>
18 19
             </view>
19 20
             <text>备注:{{item.remark}}</text>
20 21
           </view>

+ 12
- 0
src/pages/WoDe/MyRecommed/page.scss 파일 보기

@@ -28,6 +28,18 @@
28 28
             &:first-child {
29 29
               color: #000;
30 30
             }
31
+            &:last-child {
32
+              text-align: right;
33
+              &.Type1 {
34
+                color: #29d61d;
35
+              }
36
+              &.Type2 {
37
+                color: #fe7e48;
38
+              }
39
+              &.Type3 {
40
+                color: #ffa93a;
41
+              }
42
+            }
31 43
           }
32 44
         }
33 45
         > text {