吃个甘蔗嚼一年 3 years ago
parent
commit
67fe9bd426
2 changed files with 11 additions and 2 deletions
  1. 6
    2
      src/pages/MineUserAll/Rules/index.jsx
  2. 5
    0
      src/pages/index/tabs/Mine.jsx

+ 6
- 2
src/pages/MineUserAll/Rules/index.jsx View File

1
 
1
 
2
+import Taro from '@tarojs/taro'
2
 import withLayout from '@/layouts'
3
 import withLayout from '@/layouts'
4
+import { WebView } from '@tarojs/components'
5
+
3
 import CustomNav from '@/components/CustomNav'
6
 import CustomNav from '@/components/CustomNav'
4
 import './style.less'
7
 import './style.less'
5
 
8
 
9
   return (
12
   return (
10
     <view className='box-content'>
13
     <view className='box-content'>
11
       <CustomNav title='用户协议须知' />
14
       <CustomNav title='用户协议须知' />
12
-      <view className='aaa'>
15
+      <WebView src='https://sgl-v2.njyunzhi.com/protocol.html' />
16
+      {/* <view className='aaa'>
13
         以下是详细的用户须知:
17
         以下是详细的用户须知:
14
       </view>
18
       </view>
15
       <view className='content'>
19
       <view className='content'>
26
       <view className='content'>
30
       <view className='content'>
27
         sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
31
         sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
28
         Quisipsumsuspendisseultricesgravida. Risuscommodoviverramaecenasaccumsan lacus vel facilisis.
32
         Quisipsumsuspendisseultricesgravida. Risuscommodoviverramaecenasaccumsan lacus vel facilisis.
29
-      </view>
33
+      </view> */}
30
     </view>
34
     </view>
31
   )
35
   )
32
 })
36
 })

+ 5
- 0
src/pages/index/tabs/Mine.jsx View File

1
 
1
 
2
 import { useState } from 'react'
2
 import { useState } from 'react'
3
 import Taro from '@tarojs/taro'
3
 import Taro from '@tarojs/taro'
4
+import { Slot } from '@tarojs/components'
4
 import AuthPage from '@/components/AuthPage'
5
 import AuthPage from '@/components/AuthPage'
5
 import boy from '@/assets/icons/UserCenter/boy.png'
6
 import boy from '@/assets/icons/UserCenter/boy.png'
6
 import girl from '@/assets/icons/UserCenter/girl.png'
7
 import girl from '@/assets/icons/UserCenter/girl.png'
98
 
99
 
99
   return !person.phone ? <AuthPage /> : (
100
   return !person.phone ? <AuthPage /> : (
100
     <scroll-view scroll-y style='height: 77vh;' >
101
     <scroll-view scroll-y style='height: 77vh;' >
102
+
103
+
101
       <view className='User-box'>
104
       <view className='User-box'>
102
         {/* 身份切换 */}
105
         {/* 身份切换 */}
103
         <SwitchSelect show={showCutover} maskClosable />
106
         <SwitchSelect show={showCutover} maskClosable />
163
         </view>
166
         </view>
164
 
167
 
165
       </view>
168
       </view>
169
+
170
+
166
     </scroll-view>
171
     </scroll-view>
167
   )
172
   )
168
 }
173
 }