Przeglądaj źródła

feat: 增加会员详情页

Basil 2 lat temu
rodzic
commit
4dabdca9d7

Plik diff jest za duży
+ 1 - 1
src/pages.json


+ 1 - 1
src/pages/home/index.vue

@@ -162,7 +162,7 @@ page {
162 162
   background-color: #f8f8f8;
163 163
 }
164 164
 </style>
165
-<route lang="yaml">
165
+<route lang="yaml" type="home">
166 166
 style:
167 167
   navigationStyle: custom
168 168
   navigationBarTitleText: 储蓄保

+ 1 - 1
src/pages/my-rules/index.vue

@@ -236,7 +236,7 @@ function handleToVipPage() {
236 236
 
237 237
 </template>
238 238
 
239
-<route lang="yaml" type="home">
239
+<route lang="yaml">
240 240
 style:
241 241
   navigationBarTitleText: 储蓄保
242 242
   enablePullDownRefresh: true

+ 7 - 0
src/pages/user/index.vue

@@ -231,6 +231,12 @@ function handleShowMyProfile() {
231 231
     url: '/pages/my-profile/index'
232 232
   })
233 233
 }
234
+
235
+function handleShowMyRulePage() {
236
+  uni.navigateTo({
237
+    url: '/pages/my-rules/index'
238
+  })
239
+}
234 240
 </script>
235 241
 <template>
236 242
   <div v-if="state.isLogin">
@@ -262,6 +268,7 @@ function handleShowMyProfile() {
262 268
               </div>
263 269
             </div>
264 270
             <div
271
+                @click="handleShowMyRulePage"
265 272
                 class="flex rounded-full border border-solid border-1px border-yellow text-[12px] text-white w-12 h-5 justify-center items-center">
266 273
               {{ userType || '用户' }}
267 274
             </div>