|
|
@@ -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>
|