xcx 4 gadus atpakaļ
vecāks
revīzija
add0f7fb16
39 mainītis faili ar 1683 papildinājumiem un 59 dzēšanām
  1. 8
    1
      src/app.config.js
  2. 44
    2
      src/assets/css/iconfont.css
  3. 46
    6
      src/assets/css/iconfont.less
  4. 25
    0
      src/components/CustomHeader/index.css
  5. 26
    0
      src/components/CustomHeader/index.jsx
  6. 29
    0
      src/components/CustomHeader/index.less
  7. 23
    37
      src/components/PrizeListItem/index.jsx
  8. 3
    0
      src/pages/FuLi/ShangPinDuiHuan/index.config.js
  9. 123
    0
      src/pages/FuLi/ShangPinDuiHuan/index.css
  10. 44
    0
      src/pages/FuLi/ShangPinDuiHuan/index.jsx
  11. 142
    0
      src/pages/FuLi/ShangPinDuiHuan/index.less
  12. 3
    0
      src/pages/FuLi/ShangPinXiangQing/index.config.js
  13. 105
    0
      src/pages/FuLi/ShangPinXiangQing/index.css
  14. 38
    0
      src/pages/FuLi/ShangPinXiangQing/index.jsx
  15. 121
    0
      src/pages/FuLi/ShangPinXiangQing/index.less
  16. 43
    0
      src/pages/WoDe/GeRenXinXi/index.css
  17. 34
    1
      src/pages/WoDe/GeRenXinXi/index.jsx
  18. 43
    0
      src/pages/WoDe/GeRenXinXi/index.less
  19. 4
    0
      src/pages/WoDe/TuiJianErWeiMa/index.config.js
  20. 7
    0
      src/pages/WoDe/TuiJianErWeiMa/index.css
  21. 15
    0
      src/pages/WoDe/TuiJianErWeiMa/index.jsx
  22. 7
    0
      src/pages/WoDe/TuiJianErWeiMa/index.less
  23. 4
    0
      src/pages/WoDe/TuiJianFenXiang/index.config.js
  24. 7
    0
      src/pages/WoDe/TuiJianFenXiang/index.css
  25. 15
    0
      src/pages/WoDe/TuiJianFenXiang/index.jsx
  26. 7
    0
      src/pages/WoDe/TuiJianFenXiang/index.less
  27. 3
    0
      src/pages/WoDe/WoDeHuoDong/index.config.js
  28. 20
    0
      src/pages/WoDe/WoDeHuoDong/index.css
  29. 36
    0
      src/pages/WoDe/WoDeHuoDong/index.jsx
  30. 22
    0
      src/pages/WoDe/WoDeHuoDong/index.less
  31. 3
    0
      src/pages/WoDe/YeZhuRenZheng/index.config.js
  32. 59
    0
      src/pages/WoDe/YeZhuRenZheng/index.css
  33. 39
    0
      src/pages/WoDe/YeZhuRenZheng/index.jsx
  34. 68
    0
      src/pages/WoDe/YeZhuRenZheng/index.less
  35. 3
    0
      src/pages/WoDe/YeZhuShenHe/index.config.js
  36. 151
    0
      src/pages/WoDe/YeZhuShenHe/index.css
  37. 120
    0
      src/pages/WoDe/YeZhuShenHe/index.jsx
  38. 180
    0
      src/pages/WoDe/YeZhuShenHe/index.less
  39. 13
    12
      src/pages/WoDe/index.jsx

+ 8
- 1
src/app.config.js Parādīt failu

@@ -1,6 +1,5 @@
1 1
 export default {
2 2
   pages: [
3
-    'pages/WoDe/GeRenXinXi/index', // 我的-个人信息
4 3
     'pages/ShouYe/index', // tab-首页
5 4
     'pages/ShouYe/HuoDong/index', // 首页-活动
6 5
     'pages/ShouYe/ZiXun/index', // 首页-资讯
@@ -19,8 +18,16 @@ export default {
19 18
     'pages/HuoDong/ZiXunDetail/index', // 活动-资讯详情
20 19
 
21 20
     'pages/FuLi/index', // tab-福利
21
+    'pages/FuLi/ShangPinXiangQing/index', // 福利-商品详情
22
+    'pages/FuLi/ShangPinDuiHuan/index', // 福利-商品兑换
22 23
 
23 24
     'pages/WoDe/index', // tab-我的
25
+    'pages/WoDe/GeRenXinXi/index', // 我的-个人信息
26
+    'pages/WoDe/YeZhuRenZheng/index', // 我的-业主认证
27
+    'pages/WoDe/YeZhuShenHe/index', // 我的-业主审核
28
+    'pages/WoDe/WoDeHuoDong/index', // 我的-我的活动
29
+    'pages/WoDe/TuiJianErWeiMa/index', // 我的-推荐二维码
30
+    'pages/WoDe/TuiJianFenXiang/index', // 我的-推荐分享
24 31
   ],
25 32
   tabBar: {
26 33
     color: '#666666',

+ 44
- 2
src/assets/css/iconfont.css
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 46
- 6
src/assets/css/iconfont.less
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 25
- 0
src/components/CustomHeader/index.css Parādīt failu

@@ -0,0 +1,25 @@
1
+.CustomHeader {
2
+  width: 100%;
3
+  position: relative;
4
+  overflow: hidden;
5
+  z-index: 2;
6
+}
7
+.CustomHeader > text.Back {
8
+  display: inline-block;
9
+  position: absolute;
10
+  z-index: 2;
11
+  color: #fff;
12
+  font-size: 40px;
13
+  left: 30px;
14
+  top: 0;
15
+}
16
+.CustomHeader > text.Title {
17
+  display: block;
18
+  font-size: 32px;
19
+  color: #fff;
20
+  text-indent: 30px;
21
+  padding-bottom: 20px;
22
+  position: relative;
23
+  z-index: 1;
24
+  text-align: center;
25
+}

+ 26
- 0
src/components/CustomHeader/index.jsx Parādīt failu

@@ -0,0 +1,26 @@
1
+import React, { useState } from 'react'
2
+import Taro from '@tarojs/taro'
3
+import '@/assets/css/reset.less'
4
+import '@/assets/css/iconfont.less'
5
+import './index.less'
6
+
7
+export default function CustomHeader (props) {
8
+
9
+  const [MarginTop, setMarginTop] = useState(0)
10
+  const [LineHeight, setLineHeight] = useState(0)
11
+  const { BgColor = '#fff', IsFixed = false, Title = '香颂蔚澜' } = props
12
+
13
+  if (MarginTop === 0) {
14
+    setMarginTop(Taro.getMenuButtonBoundingClientRect().top)
15
+  }
16
+  if (LineHeight === 0) {
17
+    setLineHeight(Taro.getMenuButtonBoundingClientRect().height)
18
+  }
19
+
20
+  return (
21
+    <view className='CustomHeader' style={{ background: BgColor, position: IsFixed ? 'absolute' : 'relative' }}>
22
+      <text className='iconfont iconjiantouleft Back' style={{ top: `${MarginTop}px`, lineHeight: `${LineHeight}px` }} onClick={() => { Taro.navigateBack() }}></text>
23
+      <text className='Title' style={{ marginTop: `${MarginTop}px`, lineHeight: `${LineHeight}px` }}>{Title}</text>
24
+    </view>
25
+  )
26
+}

+ 29
- 0
src/components/CustomHeader/index.less Parādīt failu

@@ -0,0 +1,29 @@
1
+.CustomHeader {
2
+  width: 100%;
3
+  position: relative;
4
+  overflow: hidden;
5
+  z-index: 2;
6
+
7
+  >text {
8
+    &.Back {
9
+      display: inline-block;
10
+      position: absolute;
11
+      z-index: 2;
12
+      color: #fff;
13
+      font-size: 40px;
14
+      left: 30px;
15
+      top: 0;
16
+    }
17
+
18
+    &.Title {
19
+      display: block;
20
+      font-size: 32px;
21
+      color: #fff;
22
+      text-indent: 30px;
23
+      padding-bottom: 20px;
24
+      position: relative;
25
+      z-index: 1;
26
+      text-align: center;
27
+    }
28
+  }
29
+}

+ 23
- 37
src/components/PrizeListItem/index.jsx Parādīt failu

@@ -1,41 +1,27 @@
1
-import React, { Component } from 'react'
2
-import '../../assets/css/reset.less'
3
-import '../../assets/css/iconfont.less'
1
+import React, { useState } from 'react'
2
+import Taro from '@tarojs/taro'
3
+import '@/assets/css/reset.less'
4
+import '@/assets/css/iconfont.less'
4 5
 import './index.less'
5 6
 
6
-export default class PrizeListItem extends Component {
7
-
8
-  state = {
9
-    TestImg: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1606120989360&di=8610f1678b51e26de6d4c6af39d1cf63&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201503%2F19%2F211608ztcq7higicydxhsy.jpg'
10
-  }
11
-
12
-  componentWillMount () { }
13
-
14
-  componentDidMount () { }
15
-
16
-  componentWillUnmount () { }
17
-
18
-  componentDidShow () { }
19
-
20
-  componentDidHide () { }
21
-
22
-  render () {
23
-    const { TestImg } = this.state
24
-    return (
25
-      <view className='PrizeListItem'>
26
-        <view className='Img'>
27
-          <image mode='aspectFill' src={TestImg} className='centerLabel'></image>
28
-        </view>
29
-        <view className='Info'>
30
-          <text>沙发垫欧式轻奢</text>
31
-          <view className='flex-h'>
32
-            <text className='Count'>70</text>
33
-            <text className='flex-item'>人已兑换</text>
34
-            <text className='Num'>30000</text>
35
-            <text>积分</text>
36
-          </view>
7
+export default function PrizeListItem (props) {
8
+
9
+  const [TestImg] = useState('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1606120989360&di=8610f1678b51e26de6d4c6af39d1cf63&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201503%2F19%2F211608ztcq7higicydxhsy.jpg')
10
+
11
+  return (
12
+    <view className='PrizeListItem' onClick={() => { Taro.navigateTo({ url: `/pages/FuLi/ShangPinXiangQing/index?id=` }) }}>
13
+      <view className='Img'>
14
+        <image mode='aspectFill' src={TestImg} className='centerLabel'></image>
15
+      </view>
16
+      <view className='Info'>
17
+        <text>沙发垫欧式轻奢</text>
18
+        <view className='flex-h'>
19
+          <text className='Count'>70</text>
20
+          <text className='flex-item'>人已兑换</text>
21
+          <text className='Num'>30000</text>
22
+          <text>积分</text>
37 23
         </view>
38
-      </view >
39
-    )
40
-  }
24
+      </view>
25
+    </view >
26
+  )
41 27
 }

+ 3
- 0
src/pages/FuLi/ShangPinDuiHuan/index.config.js Parādīt failu

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '商品兑换'
3
+}

+ 123
- 0
src/pages/FuLi/ShangPinDuiHuan/index.css Parādīt failu

@@ -0,0 +1,123 @@
1
+.ShangPinDuiHuan {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+  background: #f8f8f8;
7
+}
8
+.ShangPinDuiHuan > .Info {
9
+  position: relative;
10
+  overflow: hidden;
11
+  padding: 0 30px;
12
+  min-height: 100vh;
13
+  z-index: 1;
14
+}
15
+.ShangPinDuiHuan > .Info > .Item {
16
+  position: relative;
17
+  overflow: hidden;
18
+  background: #fff;
19
+  border-radius: 12px;
20
+  margin-top: 30px;
21
+}
22
+.ShangPinDuiHuan > .Info > .Item > .Img {
23
+  width: 200px;
24
+  height: 200px;
25
+  position: relative;
26
+  overflow: hidden;
27
+  background: #ccc;
28
+}
29
+.ShangPinDuiHuan > .Info > .Item > .Img > image {
30
+  width: 100%;
31
+  height: 100%;
32
+}
33
+.ShangPinDuiHuan > .Info > .Item > .flex-item {
34
+  padding: 20px;
35
+  position: relative;
36
+  overflow: hidden;
37
+}
38
+.ShangPinDuiHuan > .Info > .Item > .flex-item > text {
39
+  width: 100%;
40
+  display: block;
41
+  white-space: nowrap;
42
+  overflow: hidden;
43
+  text-overflow: ellipsis;
44
+  font-size: 28px;
45
+  font-weight: bold;
46
+  line-height: 40px;
47
+}
48
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .Num {
49
+  font-size: 0;
50
+  white-space: nowrap;
51
+  margin-top: 16px;
52
+}
53
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .Num > text {
54
+  display: inline-block;
55
+  font-size: 24px;
56
+  line-height: 40px;
57
+  vertical-align: middle;
58
+}
59
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .Num > text:first-child {
60
+  color: #971C21;
61
+}
62
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h {
63
+  align-items: center;
64
+  margin-top: 16px;
65
+}
66
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h > text {
67
+  font-size: 24px;
68
+  color: #999;
69
+  line-height: 40px;
70
+}
71
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h > text:first-child {
72
+  color: #F35844;
73
+}
74
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h > .EditNum {
75
+  font-size: 0;
76
+  white-space: nowrap;
77
+  border: 2px solid #ccc;
78
+  border-radius: 6px;
79
+}
80
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h > .EditNum > text {
81
+  display: inline-block;
82
+  font-size: 30px;
83
+  color: #333;
84
+  line-height: 40px;
85
+  width: 50px;
86
+  text-align: center;
87
+}
88
+.ShangPinDuiHuan > .Info > .Item > .flex-item > .flex-h > .EditNum > input {
89
+  width: 80px;
90
+  display: inline-block;
91
+  vertical-align: middle;
92
+  font-size: 24px;
93
+  text-align: center;
94
+  line-height: 40px;
95
+  height: 40px;
96
+  border: 2px solid #ccc;
97
+  border-top: none;
98
+  border-bottom: none;
99
+}
100
+.ShangPinDuiHuan > .Info > .InfoBottom {
101
+  width: 100%;
102
+  height: 158px;
103
+}
104
+.ShangPinDuiHuan > .BottomBtn {
105
+  padding: 30px;
106
+  position: relative;
107
+  overflow: hidden;
108
+  z-index: 2;
109
+  margin-top: -158px;
110
+}
111
+.ShangPinDuiHuan > .BottomBtn > text {
112
+  width: 100%;
113
+  font-size: 34px;
114
+  color: #fff;
115
+  line-height: 98px;
116
+  background: #ccc;
117
+  border-radius: 98px;
118
+  text-align: center;
119
+  display: block;
120
+}
121
+.ShangPinDuiHuan > .BottomBtn > text.active {
122
+  background: #F35844;
123
+}

+ 44
- 0
src/pages/FuLi/ShangPinDuiHuan/index.jsx Parādīt failu

@@ -0,0 +1,44 @@
1
+import React, { useState } from 'react'
2
+import { Current } from '@tarojs/taro'
3
+import { Input } from '@tarojs/components'
4
+import '@/assets/css/reset.less'
5
+import '@/assets/css/iconfont.less'
6
+import './index.less'
7
+
8
+export default function ShangPinDuiHuan (props) {
9
+
10
+  const CurrnetId = Current.router.params.id
11
+
12
+  return (
13
+    <view className='ShangPinDuiHuan'>
14
+      <view className='Info'>
15
+        <view className='Item flex-h'>
16
+          <view className='Img'>
17
+            <image mode='aspectFill' src={null} className='centerLabel'></image>
18
+          </view>
19
+          <view className='flex-item'>
20
+            <text>沙发垫欧式轻奢</text>
21
+            <view className='Num'>
22
+              <text>78</text>
23
+              <text>人已兑换</text>
24
+            </view>
25
+            <view className='flex-h'>
26
+              <text>80000</text>
27
+              <text>积分</text>
28
+              <view className='flex-item'></view>
29
+              <view className='EditNum flex-h'>
30
+                <text className='iconfont iconjian'></text>
31
+                <Input></Input>
32
+                <text className='iconfont iconjia1'></text>
33
+              </view>
34
+            </view>
35
+          </view>
36
+        </view>
37
+        <view className='InfoBottom'></view>
38
+      </view>
39
+      <view className='BottomBtn'>
40
+        <text className='active'>确认兑换</text>
41
+      </view>
42
+    </view>
43
+  )
44
+}

+ 142
- 0
src/pages/FuLi/ShangPinDuiHuan/index.less Parādīt failu

@@ -0,0 +1,142 @@
1
+.ShangPinDuiHuan {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+  background: #f8f8f8;
7
+
8
+  >.Info {
9
+    position: relative;
10
+    overflow: hidden;
11
+    padding: 0 30px;
12
+    min-height: 100vh;
13
+    z-index: 1;
14
+
15
+    >.Item {
16
+      position: relative;
17
+      overflow: hidden;
18
+      background: #fff;
19
+      border-radius: 12px;
20
+      margin-top: 30px;
21
+
22
+      >.Img {
23
+        width: 200px;
24
+        height: 200px;
25
+        position: relative;
26
+        overflow: hidden;
27
+        background: #ccc;
28
+
29
+        >image {
30
+          width: 100%;
31
+          height: 100%;
32
+        }
33
+      }
34
+
35
+      >.flex-item {
36
+        padding: 20px;
37
+        position: relative;
38
+        overflow: hidden;
39
+
40
+        >text {
41
+          width: 100%;
42
+          display: block;
43
+          white-space: nowrap;
44
+          overflow: hidden;
45
+          text-overflow: ellipsis;
46
+          font-size: 28px;
47
+          font-weight: bold;
48
+          line-height: 40px;
49
+        }
50
+
51
+        >.Num {
52
+          font-size: 0;
53
+          white-space: nowrap;
54
+          margin-top: 16px;
55
+
56
+          >text {
57
+            display: inline-block;
58
+            font-size: 24px;
59
+            line-height: 40px;
60
+            vertical-align: middle;
61
+
62
+            &:first-child {
63
+              color: #971C21;
64
+            }
65
+          }
66
+        }
67
+
68
+        >.flex-h {
69
+          align-items: center;
70
+          margin-top: 16px;
71
+
72
+          >text {
73
+            font-size: 24px;
74
+            color: #999;
75
+            line-height: 40px;
76
+
77
+            &:first-child {
78
+              color: #F35844;
79
+            }
80
+          }
81
+
82
+          >.EditNum {
83
+            font-size: 0;
84
+            white-space: nowrap;
85
+            border: 2px solid #ccc;
86
+            border-radius: 6px;
87
+
88
+            >text {
89
+              display: inline-block;
90
+              font-size: 30px;
91
+              color: #333;
92
+              line-height: 40px;
93
+              width: 50px;
94
+              text-align: center;
95
+            }
96
+
97
+            >input {
98
+              width: 80px;
99
+              display: inline-block;
100
+              vertical-align: middle;
101
+              font-size: 24px;
102
+              text-align: center;
103
+              line-height: 40px;
104
+              height: 40px;
105
+              border: 2px solid #ccc;
106
+              border-top: none;
107
+              border-bottom: none;
108
+            }
109
+          }
110
+        }
111
+      }
112
+    }
113
+
114
+    >.InfoBottom {
115
+      width: 100%;
116
+      height: 158px;
117
+    }
118
+  }
119
+
120
+  >.BottomBtn {
121
+    padding: 30px;
122
+    position: relative;
123
+    overflow: hidden;
124
+    z-index: 2;
125
+    margin-top: -158px;
126
+
127
+    >text {
128
+      width: 100%;
129
+      font-size: 34px;
130
+      color: #fff;
131
+      line-height: 98px;
132
+      background: #ccc;
133
+      border-radius: 98px;
134
+      text-align: center;
135
+      display: block;
136
+
137
+      &.active {
138
+        background: #F35844;
139
+      }
140
+    }
141
+  }
142
+}

+ 3
- 0
src/pages/FuLi/ShangPinXiangQing/index.config.js Parādīt failu

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '商品详情'
3
+}

+ 105
- 0
src/pages/FuLi/ShangPinXiangQing/index.css Parādīt failu

@@ -0,0 +1,105 @@
1
+.ShangPinXiangQing {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+  background: #f8f8f8;
7
+}
8
+.ShangPinXiangQing > .Info {
9
+  position: relative;
10
+  overflow: hidden;
11
+  background: #fff;
12
+}
13
+.ShangPinXiangQing > .Info > .Img {
14
+  width: 100%;
15
+  padding-bottom: 50%;
16
+  background: #ccc;
17
+  position: relative;
18
+  overflow: hidden;
19
+}
20
+.ShangPinXiangQing > .Info > .Img > image {
21
+  width: 100%;
22
+  height: 100%;
23
+}
24
+.ShangPinXiangQing > .Info > .Title {
25
+  padding: 20px 30px;
26
+  position: relative;
27
+  overflow: hidden;
28
+}
29
+.ShangPinXiangQing > .Info > .Title > text {
30
+  display: block;
31
+  width: 100%;
32
+  font-size: 32px;
33
+  color: #333;
34
+  font-weight: bold;
35
+  line-height: 40px;
36
+}
37
+.ShangPinXiangQing > .Info > .flex-h {
38
+  padding: 0 30px 20px;
39
+  align-items: center;
40
+}
41
+.ShangPinXiangQing > .Info > .flex-h > text {
42
+  font-size: 28px;
43
+  color: #666;
44
+  line-height: 40px;
45
+}
46
+.ShangPinXiangQing > .Info > .flex-h > text:first-child {
47
+  color: #F35844;
48
+}
49
+.ShangPinXiangQing > .Info > .flex-h > text.flex-item {
50
+  color: #999;
51
+}
52
+.ShangPinXiangQing > .Info > .flex-h > text:last-child {
53
+  color: #971C21;
54
+}
55
+.ShangPinXiangQing > .Detail {
56
+  position: relative;
57
+  overflow: hidden;
58
+  background: #fff;
59
+  margin-top: 20px;
60
+}
61
+.ShangPinXiangQing > .Detail > .Title {
62
+  position: relative;
63
+  overflow: hidden;
64
+  text-align: center;
65
+  padding: 30px 0;
66
+}
67
+.ShangPinXiangQing > .Detail > .Title > .Line {
68
+  height: 2px;
69
+  background: rgba(0, 0, 0, 0.08);
70
+  z-index: 1;
71
+  position: absolute;
72
+  left: 30px;
73
+  right: 30px;
74
+  top: 50%;
75
+  transform: translateY(-50%);
76
+  -webkit-transform: translateY(-50%);
77
+}
78
+.ShangPinXiangQing > .Detail > .Title > text {
79
+  display: inline-block;
80
+  background: #fff;
81
+  padding: 0 40px;
82
+  line-height: 40px;
83
+  z-index: 2;
84
+  font-size: 28px;
85
+  color: #666;
86
+  position: relative;
87
+}
88
+.ShangPinXiangQing > .Detail > .BottomBtn {
89
+  padding: 30px;
90
+  position: relative;
91
+  overflow: hidden;
92
+}
93
+.ShangPinXiangQing > .Detail > .BottomBtn > text {
94
+  width: 100%;
95
+  font-size: 34px;
96
+  color: #fff;
97
+  line-height: 98px;
98
+  background: #ccc;
99
+  border-radius: 98px;
100
+  text-align: center;
101
+  display: block;
102
+}
103
+.ShangPinXiangQing > .Detail > .BottomBtn > text.active {
104
+  background: #F35844;
105
+}

+ 38
- 0
src/pages/FuLi/ShangPinXiangQing/index.jsx Parādīt failu

@@ -0,0 +1,38 @@
1
+import React, { useState } from 'react'
2
+import Taro, { Current } from '@tarojs/taro'
3
+import '@/assets/css/reset.less'
4
+import '@/assets/css/iconfont.less'
5
+import './index.less'
6
+
7
+export default function ShangPinXiangQing (props) {
8
+
9
+  const CurrnetId = Current.router.params.id
10
+
11
+  return (
12
+    <view className='ShangPinXiangQing'>
13
+      <view className='Info'>
14
+        <view className='Img'>
15
+          <image mode='aspectFill' src={null} className='centerLabel'></image>
16
+        </view>
17
+        <view className='Title'>
18
+          <text>筷子置物架收纳盒</text>
19
+        </view>
20
+        <view className='flex-h'>
21
+          <text>3000</text>
22
+          <text className='flex-item'>积分</text>
23
+          <text>剩余数量</text>
24
+          <text>22</text>
25
+        </view>
26
+      </view>
27
+      <view className='Detail'>
28
+        <view className='Title'>
29
+          <view className='Line'></view>
30
+          <text>产品详情</text>
31
+        </view>
32
+        <view className='BottomBtn'>
33
+          <text className='active' onClick={() => { Taro.navigateTo({ url: `/pages/FuLi/ShangPinDuiHuan/index` }) }}>立即兑换</text>
34
+        </view>
35
+      </view>
36
+    </view>
37
+  )
38
+}

+ 121
- 0
src/pages/FuLi/ShangPinXiangQing/index.less Parādīt failu

@@ -0,0 +1,121 @@
1
+.ShangPinXiangQing {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+  background: #f8f8f8;
7
+
8
+  >.Info {
9
+    position: relative;
10
+    overflow: hidden;
11
+    background: #fff;
12
+
13
+    >.Img {
14
+      width: 100%;
15
+      padding-bottom: 50%;
16
+      background: #ccc;
17
+      position: relative;
18
+      overflow: hidden;
19
+
20
+      >image {
21
+        width: 100%;
22
+        height: 100%;
23
+      }
24
+    }
25
+
26
+    >.Title {
27
+      padding: 20px 30px;
28
+      position: relative;
29
+      overflow: hidden;
30
+
31
+      >text {
32
+        display: block;
33
+        width: 100%;
34
+        font-size: 32px;
35
+        color: #333;
36
+        font-weight: bold;
37
+        line-height: 40px;
38
+      }
39
+    }
40
+
41
+    >.flex-h {
42
+      padding: 0 30px 20px;
43
+      align-items: center;
44
+
45
+      >text {
46
+        font-size: 28px;
47
+        color: #666;
48
+        line-height: 40px;
49
+
50
+        &:first-child {
51
+          color: #F35844;
52
+        }
53
+
54
+        &.flex-item {
55
+          color: #999;
56
+        }
57
+
58
+        &:last-child {
59
+          color: #971C21;
60
+        }
61
+      }
62
+    }
63
+  }
64
+
65
+  >.Detail {
66
+    position: relative;
67
+    overflow: hidden;
68
+    background: #fff;
69
+    margin-top: 20px;
70
+
71
+    >.Title {
72
+      position: relative;
73
+      overflow: hidden;
74
+      text-align: center;
75
+      padding: 30px 0;
76
+
77
+      >.Line {
78
+        height: 2px;
79
+        background: rgba(0, 0, 0, 0.08);
80
+        z-index: 1;
81
+        position: absolute;
82
+        left: 30px;
83
+        right: 30px;
84
+        top: 50%;
85
+        transform: translateY(-50%);
86
+        -webkit-transform: translateY(-50%);
87
+      }
88
+
89
+      >text {
90
+        display: inline-block;
91
+        background: #fff;
92
+        padding: 0 40px;
93
+        line-height: 40px;
94
+        z-index: 2;
95
+        font-size: 28px;
96
+        color: #666;
97
+        position: relative;
98
+      }
99
+    }
100
+
101
+    >.BottomBtn {
102
+      padding: 30px;
103
+      position: relative;
104
+      overflow: hidden;
105
+
106
+      >text {
107
+        width: 100%;
108
+        font-size: 34px;
109
+        color: #fff;
110
+        line-height: 98px;
111
+        background: #ccc;
112
+        border-radius: 98px;
113
+        text-align: center;
114
+        display: block;
115
+        &.active {
116
+          background: #F35844;
117
+        }
118
+      }
119
+    }
120
+  }
121
+}

+ 43
- 0
src/pages/WoDe/GeRenXinXi/index.css Parādīt failu

@@ -0,0 +1,43 @@
1
+.GeRenXinXi {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}
8
+.GeRenXinXi > .Form {
9
+  padding: 0 30px;
10
+  position: relative;
11
+  overflow: hidden;
12
+  background: #fff;
13
+  margin-top: 20px;
14
+}
15
+.GeRenXinXi > .Form > .flex-h {
16
+  align-items: center;
17
+  border-top: 2px solid rgba(0, 0, 0, 0.08);
18
+}
19
+.GeRenXinXi > .Form > .flex-h:first-child {
20
+  border: none;
21
+}
22
+.GeRenXinXi > .Form > .flex-h > text {
23
+  font-size: 28px;
24
+  color: #999;
25
+  line-height: 40px;
26
+  padding: 32px 0;
27
+}
28
+.GeRenXinXi > .Form > .flex-h > text:first-child {
29
+  color: #333;
30
+  margin-right: 40px;
31
+}
32
+.GeRenXinXi > .Form > .flex-h > .UserIcon {
33
+  width: 60px;
34
+  height: 60px;
35
+  position: relative;
36
+  overflow: hidden;
37
+  border-radius: 100%;
38
+  background: #ccc;
39
+}
40
+.GeRenXinXi > .Form > .flex-h > .UserIcon > image {
41
+  width: 100%;
42
+  height: 100%;
43
+}

+ 34
- 1
src/pages/WoDe/GeRenXinXi/index.jsx Parādīt failu

@@ -7,7 +7,40 @@ export default function GeRenXinXi (props) {
7 7
 
8 8
   return (
9 9
     <view className='GeRenXinXi'>
10
-      
10
+      <view className='Form'>
11
+        <view className='flex-h'>
12
+          <text className='flex-item'>头像</text>
13
+          <view className='UserIcon'>
14
+            <image mode='aspectFill' src={null}></image>
15
+          </view>
16
+        </view>
17
+        <view className='flex-h'>
18
+          <text className='flex-item'>姓名</text>
19
+          <text>三十而已</text>
20
+        </view>
21
+        <view className='flex-h'>
22
+          <text className='flex-item'>性别</text>
23
+          <text>女</text>
24
+        </view>
25
+        <view className='flex-h'>
26
+          <text className='flex-item'>联系电话</text>
27
+          <text>13648041829</text>
28
+        </view>
29
+      </view>
30
+      <view className='Form'>
31
+        <view className='flex-h'>
32
+          <text className='flex-item'>身份</text>
33
+          <text>业主</text>
34
+        </view>
35
+        <view className='flex-h'>
36
+          <text className='flex-item'>联系电话</text>
37
+          <text>13648041829</text>
38
+        </view>
39
+        <view className='flex-h'>
40
+          <text>房产</text>
41
+          <text className='flex-item'>南京市雨花台区安德门大姐56号凤翔山庄3区1栋3单元3楼309</text>
42
+        </view>
43
+      </view>
11 44
     </view>
12 45
   )
13 46
 }

+ 43
- 0
src/pages/WoDe/GeRenXinXi/index.less Parādīt failu

@@ -3,4 +3,47 @@
3 3
   min-height: 100%;
4 4
   position: relative;
5 5
   background: #f8f8f8;
6
+  overflow: hidden;
7
+
8
+  >.Form {
9
+    padding: 0 30px;
10
+    position: relative;
11
+    overflow: hidden;
12
+    background: #fff;
13
+    margin-top: 20px;
14
+
15
+    >.flex-h {
16
+      align-items: center;
17
+      border-top: 2px solid rgba(0, 0, 0, 0.08);
18
+      &:first-child {
19
+        border: none;
20
+      }
21
+
22
+      >text {
23
+        font-size: 28px;
24
+        color: #999;
25
+        line-height: 40px;
26
+        padding: 32px 0;
27
+
28
+        &:first-child {
29
+          color: #333;
30
+          margin-right: 40px;
31
+        }
32
+      }
33
+
34
+      >.UserIcon {
35
+        width: 60px;
36
+        height: 60px;
37
+        position: relative;
38
+        overflow: hidden;
39
+        border-radius: 100%;
40
+        background: #ccc;
41
+
42
+        >image {
43
+          width: 100%;
44
+          height: 100%;
45
+        }
46
+      }
47
+    }
48
+  }
6 49
 }

+ 4
- 0
src/pages/WoDe/TuiJianErWeiMa/index.config.js Parādīt failu

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationStyle: 'custom',
3
+  navigationBarTextStyle: 'white'
4
+}

+ 7
- 0
src/pages/WoDe/TuiJianErWeiMa/index.css Parādīt failu

@@ -0,0 +1,7 @@
1
+.TuiJianErWeiMa {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}

+ 15
- 0
src/pages/WoDe/TuiJianErWeiMa/index.jsx Parādīt failu

@@ -0,0 +1,15 @@
1
+import React, { useState } from 'react'
2
+import Taro from '@tarojs/taro'
3
+import CustomHeader from '@/components/CustomHeader/index'
4
+import '@/assets/css/reset.less'
5
+import '@/assets/css/iconfont.less'
6
+import './index.less'
7
+
8
+export default function TuiJianErWeiMa (props) {
9
+
10
+  return (
11
+    <view className='TuiJianErWeiMa'>
12
+      <CustomHeader IsFixed={true} BgColor='none' Title='推荐二维码'></CustomHeader>
13
+    </view>
14
+  )
15
+}

+ 7
- 0
src/pages/WoDe/TuiJianErWeiMa/index.less Parādīt failu

@@ -0,0 +1,7 @@
1
+.TuiJianErWeiMa {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}

+ 4
- 0
src/pages/WoDe/TuiJianFenXiang/index.config.js Parādīt failu

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationStyle: 'custom',
3
+  navigationBarTextStyle: 'white'
4
+}

+ 7
- 0
src/pages/WoDe/TuiJianFenXiang/index.css Parādīt failu

@@ -0,0 +1,7 @@
1
+.TuiJianFenXiang {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}

+ 15
- 0
src/pages/WoDe/TuiJianFenXiang/index.jsx Parādīt failu

@@ -0,0 +1,15 @@
1
+import React, { useState } from 'react'
2
+import Taro from '@tarojs/taro'
3
+import CustomHeader from '@/components/CustomHeader/index'
4
+import '@/assets/css/reset.less'
5
+import '@/assets/css/iconfont.less'
6
+import './index.less'
7
+
8
+export default function TuiJianFenXiang (props) {
9
+
10
+  return (
11
+    <view className='TuiJianFenXiang'>
12
+      <CustomHeader IsFixed={true} BgColor='none' Title='推荐分享'></CustomHeader>
13
+    </view>
14
+  )
15
+}

+ 7
- 0
src/pages/WoDe/TuiJianFenXiang/index.less Parādīt failu

@@ -0,0 +1,7 @@
1
+.TuiJianFenXiang {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}

+ 3
- 0
src/pages/WoDe/WoDeHuoDong/index.config.js Parādīt failu

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '我的活动'
3
+}

+ 20
- 0
src/pages/WoDe/WoDeHuoDong/index.css Parādīt failu

@@ -0,0 +1,20 @@
1
+.WoDeHuoDong {
2
+  width: 100%;
3
+  height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}
8
+.WoDeHuoDong .Content {
9
+  padding: 0 30px;
10
+  position: relative;
11
+  overflow: hidden;
12
+}
13
+.WoDeHuoDong .Content > .ListItem {
14
+  position: relative;
15
+  overflow: hidden;
16
+  margin-bottom: 30px;
17
+}
18
+.WoDeHuoDong .Content > .ListItem:first-child {
19
+  margin-top: 30px;
20
+}

+ 36
- 0
src/pages/WoDe/WoDeHuoDong/index.jsx Parādīt failu

@@ -0,0 +1,36 @@
1
+import React, { useState } from 'react'
2
+import ActivityListItem from '@/components/ActivityListItem/index'
3
+import '@/assets/css/reset.less'
4
+import '@/assets/css/iconfont.less'
5
+import './index.less'
6
+
7
+export default function WoDeHuoDong (props) {
8
+
9
+  const [IsPull, setIsPull] = useState(false)
10
+  const [ActivityList, setActivityList] = useState(['', '', '', '', '', '', ''])
11
+
12
+  const OnRefresh = () => {
13
+    setIsPull(true)
14
+    window.setTimeout(() => {
15
+      setIsPull(false)
16
+    }, 1000)
17
+  }
18
+
19
+  return (
20
+    <view className='WoDeHuoDong'>
21
+      <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={OnRefresh} refresher-triggered={IsPull} refresher-background='none'>
22
+
23
+        <view className='Content Activity'>
24
+          {
25
+            ActivityList.map((item, index) => (
26
+              <view className='ListItem' key={`ActivityItem-${index}`}>
27
+                <ActivityListItem Data={item}></ActivityListItem>
28
+              </view>
29
+            ))
30
+          }
31
+        </view>
32
+
33
+      </scroll-view>
34
+    </view>
35
+  )
36
+}

+ 22
- 0
src/pages/WoDe/WoDeHuoDong/index.less Parādīt failu

@@ -0,0 +1,22 @@
1
+.WoDeHuoDong {
2
+  width: 100%;
3
+  height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+
8
+  .Content {
9
+    padding: 0 30px;
10
+    position: relative;
11
+    overflow: hidden;
12
+
13
+    >.ListItem {
14
+      position: relative;
15
+      overflow: hidden;
16
+      margin-bottom: 30px;
17
+      &:first-child {
18
+        margin-top: 30px;
19
+      }
20
+    }
21
+  }
22
+}

+ 3
- 0
src/pages/WoDe/YeZhuRenZheng/index.config.js Parādīt failu

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '业主认证'
3
+}

+ 59
- 0
src/pages/WoDe/YeZhuRenZheng/index.css Parādīt failu

@@ -0,0 +1,59 @@
1
+.YeZhuRenZheng {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+}
7
+.YeZhuRenZheng > .Form {
8
+  padding: 0 30px;
9
+  position: relative;
10
+  overflow: hidden;
11
+  min-height: 100vh;
12
+  z-index: 1;
13
+}
14
+.YeZhuRenZheng > .Form > .flex-h {
15
+  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
16
+  align-items: center;
17
+}
18
+.YeZhuRenZheng > .Form > .flex-h > text {
19
+  font-size: 28px;
20
+  color: #333;
21
+  line-height: 100px;
22
+}
23
+.YeZhuRenZheng > .Form > .flex-h > text:first-child {
24
+  font-size: 50px;
25
+  color: #F35844;
26
+  width: 80px;
27
+}
28
+.YeZhuRenZheng > .Form > .flex-h > text:last-child {
29
+  line-height: 60px;
30
+  padding: 0 20px;
31
+  border-radius: 8px;
32
+  border: 2px solid #ccc;
33
+  color: #ccc;
34
+}
35
+.YeZhuRenZheng > .Form > .flex-h > text:last-child.active {
36
+  color: #F35844;
37
+  border-color: #F35844;
38
+}
39
+.YeZhuRenZheng > .Form > .flex-h > input {
40
+  font-size: 28px;
41
+  color: #333;
42
+}
43
+.YeZhuRenZheng > .BottomBtn {
44
+  padding: 0 30px;
45
+  position: relative;
46
+  overflow: hidden;
47
+  z-index: 2;
48
+  margin-top: -164px;
49
+}
50
+.YeZhuRenZheng > .BottomBtn > text {
51
+  display: block;
52
+  width: 100%;
53
+  font-size: 32px;
54
+  color: #fff;
55
+  background: #F35844;
56
+  border-radius: 12px;
57
+  line-height: 84px;
58
+  text-align: center;
59
+}

+ 39
- 0
src/pages/WoDe/YeZhuRenZheng/index.jsx Parādīt failu

@@ -0,0 +1,39 @@
1
+import React, { useState } from 'react'
2
+import { Input } from '@tarojs/components'
3
+import '@/assets/css/reset.less'
4
+import '@/assets/css/iconfont.less'
5
+import './index.less'
6
+
7
+export default function YeZhuRenZheng (props) {
8
+
9
+  return (
10
+    <view className='YeZhuRenZheng'>
11
+      <view className='Form'>
12
+        <view className='flex-h'>
13
+          <text className='iconfont iconxingming'></text>
14
+          <Input className='flex-item' placeholder='请输入您的姓名'></Input>
15
+        </view>
16
+        <view className='flex-h'>
17
+          <text className='iconfont iconshenfenzheng'></text>
18
+          <Input type='idcard' className='flex-item' placeholder='请输入您的身份证号码'></Input>
19
+        </view>
20
+        <view className='flex-h'>
21
+          <text className='iconfont iconshouji'></text>
22
+          <Input type='idcard' className='flex-item' placeholder='请输入您的手机号码'></Input>
23
+        </view>
24
+        <view className='flex-h'>
25
+          <text className='iconfont iconyanzhengma'></text>
26
+          <Input type='idcard' className='flex-item' placeholder='请输入验证码'></Input>
27
+          <text className='active'>获取验证码</text>
28
+        </view>
29
+        <view className='flex-h'>
30
+          <text className='iconfont iconmenpaihao'></text>
31
+          <Input className='flex-item' placeholder='请输入小区楼栋单元门牌号'></Input>
32
+        </view>
33
+      </view>
34
+      <view className='BottomBtn'>
35
+        <text>提交</text>
36
+      </view>
37
+    </view>
38
+  )
39
+}

+ 68
- 0
src/pages/WoDe/YeZhuRenZheng/index.less Parādīt failu

@@ -0,0 +1,68 @@
1
+.YeZhuRenZheng {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  overflow: hidden;
6
+
7
+  >.Form {
8
+    padding: 0 30px;
9
+    position: relative;
10
+    overflow: hidden;
11
+    min-height: 100vh;
12
+    z-index: 1;
13
+
14
+    >.flex-h {
15
+      border-bottom: 2px solid rgba(0, 0, 0, 0.08);
16
+      align-items: center;
17
+
18
+      >text {
19
+        font-size: 28px;
20
+        color: #333;
21
+        line-height: 100px;
22
+
23
+        &:first-child {
24
+          font-size: 50px;
25
+          color: #F35844;
26
+          width: 80px;
27
+        }
28
+
29
+        &:last-child {
30
+          line-height: 60px;
31
+          padding: 0 20px;
32
+          border-radius: 8px;
33
+          border: 2px solid #ccc;
34
+          color: #ccc;
35
+
36
+          &.active {
37
+            color: #F35844;
38
+            border-color: #F35844;
39
+          }
40
+        }
41
+      }
42
+
43
+      >input {
44
+        font-size: 28px;
45
+        color: #333;
46
+      }
47
+    }
48
+  }
49
+
50
+  >.BottomBtn {
51
+    padding: 0 30px;
52
+    position: relative;
53
+    overflow: hidden;
54
+    z-index: 2;
55
+    margin-top: -164px;
56
+
57
+    >text {
58
+      display: block;
59
+      width: 100%;
60
+      font-size: 32px;
61
+      color: #fff;
62
+      background: #F35844;
63
+      border-radius: 12px;
64
+      line-height: 84px;
65
+      text-align: center;
66
+    }
67
+  }
68
+}

+ 3
- 0
src/pages/WoDe/YeZhuShenHe/index.config.js Parādīt failu

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '业主审核'
3
+}

+ 151
- 0
src/pages/WoDe/YeZhuShenHe/index.css Parādīt failu

@@ -0,0 +1,151 @@
1
+.YeZhuShenHe {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+}
8
+.YeZhuShenHe > .ShenHeContent {
9
+  position: relative;
10
+  overflow: hidden;
11
+  min-height: 100vh;
12
+  z-index: 1;
13
+}
14
+.YeZhuShenHe > .ShenHeContent > .CheckStatus {
15
+  position: relative;
16
+  overflow: hidden;
17
+}
18
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Status,
19
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Status {
20
+  padding: 40px 30px;
21
+  position: relative;
22
+  overflow: hidden;
23
+  background: #fff;
24
+}
25
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Status > text,
26
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Status > text {
27
+  display: block;
28
+  width: 100%;
29
+  text-align: center;
30
+  font-size: 28px;
31
+  color: #666;
32
+  line-height: 40px;
33
+}
34
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Status > text:first-child,
35
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Status > text:first-child {
36
+  font-size: 100px;
37
+  line-height: 100px;
38
+  color: #77A5F0;
39
+  margin-bottom: 20px;
40
+}
41
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Info,
42
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Info {
43
+  padding: 10px 30px;
44
+  position: relative;
45
+  overflow: hidden;
46
+  background: #fff;
47
+  margin-top: 20px;
48
+}
49
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Info > .flex-h,
50
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Info > .flex-h {
51
+  align-items: flex-start;
52
+}
53
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Checking > .Info > .flex-h > text,
54
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Info > .flex-h > text {
55
+  font-size: 30px;
56
+  color: #333;
57
+  line-height: 40px;
58
+  padding: 10px 0;
59
+}
60
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.Pass > .Status > text:first-child {
61
+  color: #2ed61a;
62
+}
63
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Status {
64
+  padding: 40px 30px;
65
+  position: relative;
66
+  overflow: hidden;
67
+  background: #fff;
68
+}
69
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Status > text {
70
+  display: block;
71
+  width: 100%;
72
+  text-align: center;
73
+  font-size: 28px;
74
+  color: #F35844;
75
+  line-height: 40px;
76
+}
77
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Status > text:first-child {
78
+  font-size: 100px;
79
+  line-height: 100px;
80
+  margin-bottom: 20px;
81
+}
82
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Info {
83
+  padding: 0 30px;
84
+  position: relative;
85
+  overflow: hidden;
86
+  background: #fff;
87
+  margin-top: 20px;
88
+}
89
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Info > .flex-h {
90
+  align-items: center;
91
+  border-top: 2px solid rgba(0, 0, 0, 0.08);
92
+}
93
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Info > .flex-h:first-child {
94
+  border: none;
95
+}
96
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Info > .flex-h > text {
97
+  font-size: 30px;
98
+  color: #333;
99
+  line-height: 40px;
100
+  padding: 30px 0;
101
+  text-align: right;
102
+  white-space: nowrap;
103
+  overflow: hidden;
104
+  text-overflow: ellipsis;
105
+}
106
+.YeZhuShenHe > .ShenHeContent > .CheckStatus.NoPass > .Info > .flex-h > text:first-child {
107
+  font-size: 28px;
108
+  color: #999;
109
+}
110
+.YeZhuShenHe > .ShenHeContent > .OtherTab {
111
+  background: #fff;
112
+  padding: 0 30px;
113
+  margin-top: 20px;
114
+}
115
+.YeZhuShenHe > .ShenHeContent > .OtherTab > .flex-h {
116
+  align-items: center;
117
+  border-top: 2px solid rgba(0, 0, 0, 0.08);
118
+}
119
+.YeZhuShenHe > .ShenHeContent > .OtherTab > .flex-h:first-child {
120
+  border: none;
121
+}
122
+.YeZhuShenHe > .ShenHeContent > .OtherTab > .flex-h > text {
123
+  font-size: 36px;
124
+  color: #999;
125
+  line-height: 100px;
126
+}
127
+.YeZhuShenHe > .ShenHeContent > .OtherTab > .flex-h > text:first-child {
128
+  font-size: 32px;
129
+  color: #333;
130
+}
131
+.YeZhuShenHe > .ShenHeContent > .ContentBottom {
132
+  width: 100%;
133
+  height: 250px;
134
+}
135
+.YeZhuShenHe > .BottomBtn {
136
+  padding: 0 30px 20px;
137
+  position: relative;
138
+  overflow: hidden;
139
+  z-index: 2;
140
+  margin-top: -164px;
141
+}
142
+.YeZhuShenHe > .BottomBtn > text {
143
+  display: block;
144
+  width: 100%;
145
+  font-size: 32px;
146
+  color: #fff;
147
+  background: #F35844;
148
+  border-radius: 12px;
149
+  line-height: 84px;
150
+  text-align: center;
151
+}

+ 120
- 0
src/pages/WoDe/YeZhuShenHe/index.jsx Parādīt failu

@@ -0,0 +1,120 @@
1
+import React, { useState } from 'react'
2
+import '@/assets/css/reset.less'
3
+import '@/assets/css/iconfont.less'
4
+import './index.less'
5
+
6
+export default function YeZhuShenHe (props) {
7
+
8
+  const [Status, setStatus] = useState(1)
9
+
10
+  return (
11
+    <view className='YeZhuShenHe'>
12
+      <view className='ShenHeContent'>
13
+
14
+        {/* 审核中 */}
15
+        {
16
+          Status - 0 === 0 &&
17
+          <view className='CheckStatus Checking'>
18
+            <view className='Status'>
19
+              <text className='iconfont iconshenhezhong'></text>
20
+              <text>审核中</text>
21
+              <text>请等待物业或户主审核</text>
22
+            </view>
23
+
24
+            <view className='Info'>
25
+              <view className='flex-h'>
26
+                <text>身份:</text>
27
+                <text className='flex-item'>户主</text>
28
+              </view>
29
+              <view className='flex-h'>
30
+                <text>房产:</text>
31
+                <text className='flex-item'>金科蓝湾小区  一区  六栋  一单元  六楼</text>
32
+              </view>
33
+            </view>
34
+          </view>
35
+        }
36
+
37
+        {/* 审核通过 */}
38
+        {
39
+          Status - 0 === 1 &&
40
+          <view className='CheckStatus Pass'>
41
+            <view className='Status'>
42
+              <text className='iconfont iconyitongguo'></text>
43
+              <text>审核通过</text>
44
+            </view>
45
+
46
+            <view className='Info'>
47
+              <view className='flex-h'>
48
+                <text>身份:</text>
49
+                <text className='flex-item'>户主</text>
50
+              </view>
51
+              <view className='flex-h'>
52
+                <text>房产:</text>
53
+                <text className='flex-item'>金科蓝湾小区  一区  六栋  一单元  六楼</text>
54
+              </view>
55
+            </view>
56
+          </view>
57
+        }
58
+
59
+        {/* 审核未通过 */}
60
+        {
61
+          Status - 0 === 2 &&
62
+          <view className='CheckStatus NoPass'>
63
+            <view className='Status'>
64
+              <text className='iconfont iconweitongguo'></text>
65
+              <text>审核未通过</text>
66
+            </view>
67
+
68
+            <view className='Info'>
69
+              <view className='flex-h'>
70
+                <text>审核人</text>
71
+                <text className='flex-item'>物业</text>
72
+              </view>
73
+              <view className='flex-h'>
74
+                <text>原因</text>
75
+                <text className='flex-item'>信息填写不完善</text>
76
+              </view>
77
+            </view>
78
+
79
+            <view className='Info'>
80
+              <view className='flex-h'>
81
+                <text>身份</text>
82
+                <text className='flex-item'>户主</text>
83
+              </view>
84
+              <view className='flex-h'>
85
+                <text>房产</text>
86
+                <text className='flex-item'>金科蓝湾小区  一区  六栋  一单元  六楼</text>
87
+              </view>
88
+            </view>
89
+          </view>
90
+        }
91
+
92
+        <view className='OtherTab'>
93
+          <view className='flex-h'>
94
+            <text className='flex-item'>联系物业</text>
95
+            <text className='iconfont iconjiantouright'></text>
96
+          </view>
97
+          <view className='flex-h'>
98
+            <text className='flex-item'>删除当前资料</text>
99
+            <text className='iconfont iconjiantouright'></text>
100
+          </view>
101
+          <view className='flex-h'>
102
+            <text className='flex-item'>关联其他房产</text>
103
+            <text className='iconfont iconjiantouright'></text>
104
+          </view>
105
+        </view>
106
+
107
+        <view className='ContentBottom'></view>
108
+
109
+      </view>
110
+
111
+      {/* 审核未通过 */}
112
+      {
113
+        Status - 0 === 2 &&
114
+        <view className='BottomBtn'>
115
+          <text>重新认证</text>
116
+        </view>
117
+      }
118
+    </view>
119
+  )
120
+}

+ 180
- 0
src/pages/WoDe/YeZhuShenHe/index.less Parādīt failu

@@ -0,0 +1,180 @@
1
+.YeZhuShenHe {
2
+  width: 100%;
3
+  min-height: 100%;
4
+  position: relative;
5
+  background: #f8f8f8;
6
+  overflow: hidden;
7
+
8
+  >.ShenHeContent {
9
+    position: relative;
10
+    overflow: hidden;
11
+    min-height: 100vh;
12
+    z-index: 1;
13
+
14
+    >.CheckStatus {
15
+      position: relative;
16
+      overflow: hidden;
17
+
18
+      &.Checking,
19
+      &.Pass {
20
+        >.Status {
21
+          padding: 40px 30px;
22
+          position: relative;
23
+          overflow: hidden;
24
+          background: #fff;
25
+
26
+          >text {
27
+            display: block;
28
+            width: 100%;
29
+            text-align: center;
30
+            font-size: 28px;
31
+            color: #666;
32
+            line-height: 40px;
33
+
34
+            &:first-child {
35
+              font-size: 100px;
36
+              line-height: 100px;
37
+              color: #77A5F0;
38
+              margin-bottom: 20px;
39
+            }
40
+          }
41
+        }
42
+
43
+        >.Info {
44
+          padding: 10px 30px;
45
+          position: relative;
46
+          overflow: hidden;
47
+          background: #fff;
48
+          margin-top: 20px;
49
+
50
+          >.flex-h {
51
+            align-items: flex-start;
52
+
53
+            >text {
54
+              font-size: 30px;
55
+              color: #333;
56
+              line-height: 40px;
57
+              padding: 10px 0;
58
+            }
59
+          }
60
+        }
61
+      }
62
+
63
+      &.Pass {
64
+        >.Status {
65
+          >text {
66
+            &:first-child {
67
+              color: #2ed61a;
68
+            }
69
+          }
70
+        }
71
+      }
72
+
73
+      &.NoPass {
74
+
75
+        >.Status {
76
+          padding: 40px 30px;
77
+          position: relative;
78
+          overflow: hidden;
79
+          background: #fff;
80
+
81
+          >text {
82
+            display: block;
83
+            width: 100%;
84
+            text-align: center;
85
+            font-size: 28px;
86
+            color: #F35844;
87
+            line-height: 40px;
88
+
89
+            &:first-child {
90
+              font-size: 100px;
91
+              line-height: 100px;
92
+              margin-bottom: 20px;
93
+            }
94
+          }
95
+        }
96
+
97
+        >.Info {
98
+          padding: 0 30px;
99
+          position: relative;
100
+          overflow: hidden;
101
+          background: #fff;
102
+          margin-top: 20px;
103
+
104
+          >.flex-h {
105
+            align-items: center;
106
+            border-top: 2px solid rgba(0, 0, 0, 0.08);
107
+            &:first-child {
108
+              border: none;
109
+            }
110
+
111
+            >text {
112
+              font-size: 30px;
113
+              color: #333;
114
+              line-height: 40px;
115
+              padding: 30px 0;
116
+              text-align: right;
117
+              white-space: nowrap;
118
+              overflow: hidden;
119
+              text-overflow: ellipsis;
120
+
121
+              &:first-child {
122
+                font-size: 28px;
123
+                color: #999;
124
+              }
125
+            }
126
+          }
127
+        }
128
+      }
129
+    }
130
+
131
+    >.OtherTab {
132
+      background: #fff;
133
+      padding: 0 30px;
134
+      margin-top: 20px;
135
+
136
+      >.flex-h {
137
+        align-items: center;
138
+        border-top: 2px solid rgba(0, 0, 0, 0.08);
139
+
140
+        &:first-child {
141
+          border: none;
142
+        }
143
+
144
+        >text {
145
+          font-size: 36px;
146
+          color: #999;
147
+          line-height: 100px;
148
+
149
+          &:first-child {
150
+            font-size: 32px;
151
+            color: #333;
152
+          }
153
+        }
154
+      }
155
+    }
156
+    >.ContentBottom {
157
+      width: 100%;
158
+      height: 250px;
159
+    }
160
+  }
161
+
162
+  >.BottomBtn {
163
+    padding: 0 30px 20px;
164
+    position: relative;
165
+    overflow: hidden;
166
+    z-index: 2;
167
+    margin-top: -164px;
168
+
169
+    >text {
170
+      display: block;
171
+      width: 100%;
172
+      font-size: 32px;
173
+      color: #fff;
174
+      background: #F35844;
175
+      border-radius: 12px;
176
+      line-height: 84px;
177
+      text-align: center;
178
+    }
179
+  }
180
+}

+ 13
- 12
src/pages/WoDe/index.jsx Parādīt failu

@@ -1,5 +1,6 @@
1 1
 import React, { useState } from 'react'
2 2
 import NavHeader from '@/components/NavHeader/index'
3
+import Taro from '@tarojs/taro'
3 4
 import '@/assets/css/reset.less'
4 5
 import '@/assets/css/iconfont.less'
5 6
 import './index.less'
@@ -9,21 +10,21 @@ export default function WoDe (props) {
9 10
   const [IsPull, setIsPull] = useState(false)
10 11
 
11 12
   const [UserTab, setUserTab] = useState([
12
-    { icon: 'iconrenzheng1', name: '业主认证', id: 1 },
13
-    { icon: 'iconjifenguize', name: '积分明细', id: 2 },
14
-    { icon: 'iconjiaofei', name: '物业缴费', id: 3 },
15
-    { icon: 'iconfuwu1', name: '物业服务', id: 4 }
13
+    { icon: 'iconrenzheng1', name: '业主认证', id: 1, router: '/pages/WoDe/YeZhuRenZheng/index' },
14
+    { icon: 'iconjifenguize', name: '积分明细', id: 2, router: null },
15
+    { icon: 'iconjiaofei', name: '物业缴费', id: 3, router: null },
16
+    { icon: 'iconfuwu1', name: '物业服务', id: 4, router: null }
16 17
   ])
17 18
 
18 19
   const [MoreUserTab, setMoreUserTab] = useState([
19
-    { icon: 'iconerweima', name: '推荐二维码', id: 5 },
20
-    { icon: 'iconfenxiang', name: '推荐分享', id: 6 },
21
-    { icon: 'iconhuodong', name: '参与活动', id: 7 }
20
+    { icon: 'iconerweima', name: '推荐二维码', id: 5, router: '/pages/WoDe/TuiJianErWeiMa/index' },
21
+    { icon: 'iconfenxiang', name: '推荐分享', id: 6, router: '/pages/WoDe/TuiJianFenXiang/index' },
22
+    { icon: 'iconhuodong', name: '参与活动', id: 7, router: '/pages/WoDe/WoDeHuoDong/index' }
22 23
   ])
23 24
 
24 25
   const OnRefresh = () => { // 页面下拉刷新
25 26
     setIsPull(true)
26
-    
27
+
27 28
     const t = setTimeout(() => {
28 29
       setIsPull(false)
29 30
       clearTimeout(t)
@@ -40,10 +41,10 @@ export default function WoDe (props) {
40 41
           <view className='TopBg'>
41 42
             <view className='ColorBg'></view>
42 43
             <view className='UserInfo flex-h'>
43
-              <view className='Icon'>
44
+              <view className='Icon' onClick={() => { Taro.navigateTo({ url: '/pages/WoDe/GeRenXinXi/index' }) }}>
44 45
                 <image mode='aspectFill' src={null} class='centerLabel'></image>
45 46
               </view>
46
-              <view className='flex-item'>
47
+              <view className='flex-item' onClick={() => { Taro.navigateTo({ url: '/pages/WoDe/GeRenXinXi/index' }) }}>
47 48
                 <text>徐慧慧</text>
48 49
                 <text>13613949434</text>
49 50
               </view>
@@ -55,7 +56,7 @@ export default function WoDe (props) {
55 56
           <view className='UserTab'>
56 57
             {
57 58
               UserTab.map((item, index) => (
58
-                <view key={`UserTab-${index}`} className='flex-h'>
59
+                <view key={`UserTab-${index}`} className='flex-h' onClick={() => { Taro.navigateTo({ url: item.router }) }}>
59 60
                   <text className={`iconfont ${item.icon}`}></text>
60 61
                   <view className='flex-h flex-item'>
61 62
                     <text className='flex-item'>{item.name}</text>
@@ -67,7 +68,7 @@ export default function WoDe (props) {
67 68
             <view className='Line'></view>
68 69
             {
69 70
               MoreUserTab.map((item, index) => (
70
-                <view key={`UserTab-${index}`} className='flex-h'>
71
+                <view key={`UserTab-${index}`} className='flex-h' onClick={() => { Taro.navigateTo({ url: item.router }) }}>
71 72
                   <text className={`iconfont ${item.icon}`}></text>
72 73
                   <view className='flex-h flex-item'>
73 74
                     <text className='flex-item'>{item.name}</text>