xcx 4 gadus atpakaļ
vecāks
revīzija
ad0a25d3cd

+ 11
- 11
project.config.json Parādīt failu

@@ -5,30 +5,30 @@
5 5
 	"appid": "wx1d9348230d6a0da6",
6 6
 	"setting": {
7 7
 		"urlCheck": true,
8
-		"scopeDataCheck": false,
9
-		"coverView": true,
10 8
 		"es6": false,
9
+		"enhance": false,
11 10
 		"postcss": false,
12
-		"compileHotReLoad": false,
13 11
 		"preloadBackgroundData": false,
14 12
 		"minified": false,
15
-		"autoAudits": false,
16 13
 		"newFeature": false,
17
-		"uglifyFileName": false,
18
-		"uploadWithSourceMap": true,
19
-		"useIsolateContext": true,
14
+		"coverView": true,
20 15
 		"nodeModules": false,
21
-		"enhance": false,
22
-		"useCompilerModule": false,
23
-		"userConfirmedUseCompilerModuleSwitch": false,
16
+		"autoAudits": false,
24 17
 		"showShadowRootInWxmlPanel": true,
18
+		"scopeDataCheck": false,
19
+		"uglifyFileName": false,
25 20
 		"checkInvalidKey": true,
26 21
 		"checkSiteMap": true,
22
+		"uploadWithSourceMap": true,
23
+		"compileHotReLoad": false,
27 24
 		"babelSetting": {
28 25
 			"ignore": [],
29 26
 			"disablePlugins": [],
30 27
 			"outputPath": ""
31
-		}
28
+		},
29
+		"useIsolateContext": true,
30
+		"useCompilerModule": false,
31
+		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",
34 34
 	"simulatorType": "wechat",

+ 15
- 5
src/app.config.js Parādīt failu

@@ -1,10 +1,20 @@
1 1
 export default {
2 2
   pages: [
3
-    'pages/WoDe/index',
4
-    'pages/ShouYe/index',
5
-    'pages/WuYe/index',
6
-    'pages/HuoDong/index',
7
-    'pages/FuLi/index',
3
+    'pages/WuYe/TianJiaBaoXiu/index', // 物业-添加报修
4
+    'pages/ShouYe/index', // tab-首页
5
+    'pages/ShouYe/HuoDong/index', // 首页-活动
6
+    'pages/ShouYe/ZiXun/index', // 首页-资讯
7
+
8
+    'pages/WuYe/index', // tab-物业
9
+    'pages/WuYe/FuWuDetail/index', // 物业-服务详情
10
+    'pages/WuYe/GongGaoDetail/index', // 物业-公告详情
11
+    'pages/WuYe/BaoXiuQuYu/index', // 物业-报修区域
12
+
13
+    'pages/HuoDong/index', // tab-活动
14
+
15
+    'pages/FuLi/index', // tab-福利
16
+
17
+    'pages/WoDe/index', // tab-我的
8 18
   ],
9 19
   tabBar: {
10 20
     color: '#666666',

+ 2
- 1
src/components/WuYeFuWuItem/index.jsx Parādīt failu

@@ -1,4 +1,5 @@
1 1
 import React, { Component } from 'react'
2
+import Taro from '@tarojs/taro'
2 3
 import '../../assets/css/reset.less'
3 4
 import '../../assets/css/iconfont.less'
4 5
 import './index.less'
@@ -22,7 +23,7 @@ export default class WuYeFuWuItem extends Component {
22 23
   render () {
23 24
     const { TestImg } = this.state
24 25
     return (
25
-      <view className='WuYeFuWuItem flex-h'>
26
+      <view className='WuYeFuWuItem flex-h' onClick={() => { Taro.navigateTo({ url: '/pages/WuYe/FuWuDetail/index' }) }}>
26 27
         <view className='Img'>
27 28
           <image mode='aspectFill' src={TestImg} className='centerLabel'></image>
28 29
         </view>

+ 2
- 1
src/components/WuYeGongGaoItem/index.jsx Parādīt failu

@@ -1,4 +1,5 @@
1 1
 import React, { Component } from 'react'
2
+import Taro from '@tarojs/taro'
2 3
 import '../../assets/css/reset.less'
3 4
 import '../../assets/css/iconfont.less'
4 5
 import './index.less'
@@ -17,7 +18,7 @@ export default class WuYeGongGaoItem extends Component {
17 18
 
18 19
   render () {
19 20
     return (
20
-      <view className='WuYeGongGaoItem'>
21
+      <view className='WuYeGongGaoItem' onClick={() => { Taro.navigateTo({ url: '/pages/WuYe/GongGaoDetail/index?id=1' }) }}>
21 22
         <view className='Title flex-h'>
22 23
           <text className='flex-item'>处理绿化带种菜公告</text>
23 24
           <text>2020/06/08</text>

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

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

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

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

+ 54
- 0
src/pages/ShouYe/HuoDong/index.jsx Parādīt failu

@@ -0,0 +1,54 @@
1
+import React, { Component } 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 class ShouYeHuoDong extends Component {
8
+
9
+  state = {
10
+    ActivityList: ['', '', '', '', '', '', '', ''],
11
+    IsPull: false
12
+  }
13
+
14
+  componentWillMount () { }
15
+
16
+  componentDidMount () { }
17
+
18
+  componentWillUnmount () { }
19
+
20
+  componentDidShow () { }
21
+
22
+  componentDidHide () { }
23
+
24
+  OnRefresh () { // 页面下拉刷新
25
+    this.setState({
26
+      IsPull: true
27
+    }, () => {
28
+      window.setTimeout(() => {
29
+        this.setState({
30
+          IsPull: false
31
+        })
32
+      }, 1000)
33
+    })
34
+  }
35
+
36
+  render () {
37
+    const { IsPull, ActivityList } = this.state
38
+    return (
39
+      <view className='ShouYeHuoDong'>
40
+        <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={this.OnRefresh.bind(this)} refresher-triggered={IsPull} refresher-background='none'>
41
+          <view className='ShouYeHuoDongContent'>
42
+            {
43
+              ActivityList.map((item, index) => (
44
+                <view className='ListItem' key={`ActivityItem-${index}`}>
45
+                  <ActivityListItem Data={item}></ActivityListItem>
46
+                </view>
47
+              ))
48
+            }
49
+          </view>
50
+        </scroll-view>
51
+      </view >
52
+    )
53
+  }
54
+}

+ 20
- 0
src/pages/ShouYe/HuoDong/index.less Parādīt failu

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

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

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '资讯'
3
+}

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

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

+ 54
- 0
src/pages/ShouYe/ZiXun/index.jsx Parādīt failu

@@ -0,0 +1,54 @@
1
+import React, { Component } from 'react'
2
+import NewsListItem from '../../../components/NewsListItem/index'
3
+import '../../../assets/css/reset.less'
4
+import '../../../assets/css/iconfont.less'
5
+import './index.less'
6
+
7
+export default class ShouYeZiXun extends Component {
8
+
9
+  state = {
10
+    ActivityList: ['', '', '', '', '', '', '', ''],
11
+    IsPull: false
12
+  }
13
+
14
+  componentWillMount () { }
15
+
16
+  componentDidMount () { }
17
+
18
+  componentWillUnmount () { }
19
+
20
+  componentDidShow () { }
21
+
22
+  componentDidHide () { }
23
+
24
+  OnRefresh () { // 页面下拉刷新
25
+    this.setState({
26
+      IsPull: true
27
+    }, () => {
28
+      window.setTimeout(() => {
29
+        this.setState({
30
+          IsPull: false
31
+        })
32
+      }, 1000)
33
+    })
34
+  }
35
+
36
+  render () {
37
+    const { IsPull, ActivityList } = this.state
38
+    return (
39
+      <view className='ShouYeZiXun'>
40
+        <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={this.OnRefresh.bind(this)} refresher-triggered={IsPull} refresher-background='none'>
41
+          <view className='ShouYeHuoDongContent'>
42
+            {
43
+              ActivityList.map((item, index) => (
44
+                <view className='ListItem' key={`ActivityItem-${index}`}>
45
+                  <NewsListItem Data={item} ShowTips={index === 0}></NewsListItem>
46
+                </view>
47
+              ))
48
+            }
49
+          </view>
50
+        </scroll-view>
51
+      </view >
52
+    )
53
+  }
54
+}

+ 20
- 0
src/pages/ShouYe/ZiXun/index.less Parādīt failu

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

+ 20
- 9
src/pages/ShouYe/index.jsx Parādīt failu

@@ -1,6 +1,7 @@
1 1
 import React, { Component } from 'react'
2 2
 import NavHeader from '../../components/NavHeader/index'
3 3
 import { Swiper, SwiperItem, Text } from '@tarojs/components'
4
+import Taro from '@tarojs/taro'
4 5
 import '../../assets/css/reset.less'
5 6
 import '../../assets/css/iconfont.less'
6 7
 import './index.less'
@@ -23,10 +24,10 @@ export default class Index extends Component {
23 24
       { icon: 'iconrenzheng', name: '业主认证', id: 4 }
24 25
     ],
25 26
     NavList: [
26
-      { icon: 'iconhuodong1', name: '活动', id: 1 },
27
-      { icon: 'iconfuli', name: '福利', id: 2 },
28
-      { icon: 'iconfuwu', name: '服务', id: 3 },
29
-      { icon: 'iconxinwen', name: '资讯', id: 4 }
27
+      { icon: 'iconhuodong1', name: '活动', id: 1, router: '/pages/ShouYe/HuoDong/index', isTab: false },
28
+      { icon: 'iconfuli', name: '福利', id: 2, router: '/pages/FuLi/index', isTab: true },
29
+      { icon: 'iconfuwu', name: '服务', id: 3, router: '/pages/WuYe/index', isTab: true },
30
+      { icon: 'iconxinwen', name: '资讯', id: 4, router: '/pages/ShouYe/ZiXun/index', isTab: false }
30 31
     ],
31 32
     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',
32 33
     BannerList: [
@@ -48,6 +49,16 @@ export default class Index extends Component {
48 49
 
49 50
   componentDidHide () { }
50 51
 
52
+  NavClick (item) {
53
+    return () => {
54
+      if (item.isTab) {
55
+        Taro.switchTab({ url: item.router })
56
+      } else {
57
+        Taro.navigateTo({ url: item.router })
58
+      }
59
+    }
60
+  }
61
+
51 62
   OnRefresh () { // 页面下拉刷新
52 63
     this.setState({
53 64
       IsPull: true
@@ -77,7 +88,7 @@ export default class Index extends Component {
77 88
 
78 89
           {/* 正文 */}
79 90
           <view className='PageContainer'>
80
-            <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={this.OnRefresh.bind(this)} refresher-triggered={IsPull} refresher-background='none'>
91
+            <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={this.OnRefresh.bind(this)} refresher-triggered={IsPull} refresher-background='#f35844'>
81 92
               <view className='Content'>
82 93
 
83 94
                 {/* 背景图 */}
@@ -112,7 +123,7 @@ export default class Index extends Component {
112 123
                     {
113 124
                       NavList.map((item, index) => (
114 125
                         <view key={`Nav-${index}`} className='flex-item'>
115
-                          <view>
126
+                          <view onClick={this.NavClick(item)}>
116 127
                             <view className='centerLabel'>
117 128
                               <Text className={`iconfont ${item.icon}`}></Text>
118 129
                               <Text>{item.name}</Text>
@@ -127,8 +138,8 @@ export default class Index extends Component {
127 138
                   <view className='HotActivityContainer'>
128 139
                     <view>
129 140
                       <view className='Title'>
130
-                        <Text>热门活动</Text>
131
-                        <Text className='iconfont icongengduo'></Text>
141
+                        <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}>热门活动</Text>
142
+                        <Text className='iconfont icongengduo' onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}></Text>
132 143
                       </view>
133 144
                       <view className='Activity'>
134 145
                         <image className='centerLabel' mode='aspectFill' src={TestImg}></image>
@@ -160,7 +171,7 @@ export default class Index extends Component {
160 171
                     <view>
161 172
                       <view className='Title flex-h'>
162 173
                         <Text className='flex-item'>热门资讯</Text>
163
-                        <Text>查看全部</Text>
174
+                        <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/ZiXun/index' }) }}>查看全部</Text>
164 175
                         <Text className='iconfont iconjiantouright'></Text>
165 176
                       </view>
166 177
                       <view className='List'>

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

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '报修区域'
3
+}

+ 50
- 0
src/pages/WuYe/BaoXiuQuYu/index.css Parādīt failu

@@ -0,0 +1,50 @@
1
+.WuYeBaoXiuQuYu {
2
+  width: 100%;
3
+  position: relative;
4
+  background: #f8f8f8;
5
+  overflow: hidden;
6
+  min-height: 100%;
7
+}
8
+.WuYeBaoXiuQuYu > view {
9
+  padding: 0 30px;
10
+  margin-bottom: 30px;
11
+  position: relative;
12
+  overflow: hidden;
13
+}
14
+.WuYeBaoXiuQuYu > view:first-child {
15
+  margin-top: 30px;
16
+}
17
+.WuYeBaoXiuQuYu > view > view {
18
+  padding: 60px 0;
19
+  position: relative;
20
+  overflow: hidden;
21
+  background-color: #fff;
22
+  border-radius: 12px;
23
+}
24
+.WuYeBaoXiuQuYu > view > view > view {
25
+  font-size: 0;
26
+  white-space: nowrap;
27
+  text-align: center;
28
+}
29
+.WuYeBaoXiuQuYu > view > view > view > text {
30
+  display: inline-block;
31
+  vertical-align: middle;
32
+  font-size: 32px;
33
+  color: #333;
34
+  font-weight: bold;
35
+  line-height: 60px;
36
+}
37
+.WuYeBaoXiuQuYu > view > view > view > text:first-child {
38
+  font-weight: normal;
39
+  font-size: 40px;
40
+  color: #F35844;
41
+  margin-right: 20px;
42
+}
43
+.WuYeBaoXiuQuYu > view > view > text {
44
+  display: block;
45
+  font-size: 24px;
46
+  color: #999;
47
+  line-height: 40px;
48
+  text-align: center;
49
+  margin-top: 20px;
50
+}

+ 48
- 0
src/pages/WuYe/BaoXiuQuYu/index.jsx Parādīt failu

@@ -0,0 +1,48 @@
1
+import React, { Component } 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 class WuYeBaoXiuQuYu extends Component {
8
+
9
+  state = {
10
+    TypeList: [
11
+      { icon: 'icongonggongquyu', name: '公共区域问题', desc: '如绿植被破坏、楼道灯不亮等问题', id: 1 },
12
+      { icon: 'iconfangwuzhiliang', name: '房屋质量问题', desc: '如家中墙体开裂、墙皮脱落等问题', id: 2 },
13
+      { icon: 'iconhuneisheshi', name: '户内设施问题', desc: '如通浴室下水道、保洁等可能需要收费的项目', id: 3 }
14
+    ]
15
+  }
16
+
17
+  componentWillMount () {
18
+  }
19
+
20
+  componentDidMount () { }
21
+
22
+  componentWillUnmount () { }
23
+
24
+  componentDidShow () { }
25
+
26
+  componentDidHide () { }
27
+
28
+  render () {
29
+    const { TypeList } = this.state
30
+    return (
31
+      <view className='WuYeBaoXiuQuYu'>
32
+        {
33
+          TypeList.map((item, index) => (
34
+            <view key={`WuYeBaoXiuQuYu-${index}`}>
35
+              <view onClick={() => { Taro.navigateTo({ url: `/pages/WuYe/TianJiaBaoXiu/index?type=${item.id}` }) }}>
36
+                <view>
37
+                  <text className={`iconfont ${item.icon}`}></text>
38
+                  <text>{item.name}</text>
39
+                </view>
40
+                <text>{item.desc}</text>
41
+              </view>
42
+            </view>
43
+          ))
44
+        }
45
+      </view>
46
+    )
47
+  }
48
+}

+ 56
- 0
src/pages/WuYe/BaoXiuQuYu/index.less Parādīt failu

@@ -0,0 +1,56 @@
1
+.WuYeBaoXiuQuYu {
2
+  width: 100%;
3
+  position: relative;
4
+  background: #f8f8f8;
5
+  overflow: hidden;
6
+  min-height: 100%;
7
+
8
+  >view {
9
+    padding: 0 30px;
10
+    margin-bottom: 30px;
11
+    position: relative;
12
+    overflow: hidden;
13
+
14
+    &:first-child {
15
+      margin-top: 30px;
16
+    }
17
+
18
+    >view {
19
+      padding: 60px 0;
20
+      position: relative;
21
+      overflow: hidden;
22
+      background-color: #fff;
23
+      border-radius: 12px;
24
+
25
+      >view {
26
+        font-size: 0;
27
+        white-space: nowrap;
28
+        text-align: center;
29
+
30
+        >text {
31
+          display: inline-block;
32
+          vertical-align: middle;
33
+          font-size: 32px;
34
+          color: #333;
35
+          font-weight: bold;
36
+          line-height: 60px;
37
+
38
+          &:first-child {
39
+            font-weight: normal;
40
+            font-size: 40px;
41
+            color: #F35844;
42
+            margin-right: 20px;
43
+          }
44
+        }
45
+      }
46
+      >text {
47
+        display: block;
48
+        font-size: 24px;
49
+        color: #999;
50
+        line-height: 40px;
51
+        text-align: center;
52
+        margin-top: 20px;
53
+      }
54
+    }
55
+  }
56
+}

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

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

+ 6
- 0
src/pages/WuYe/FuWuDetail/index.css Parādīt failu

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

+ 29
- 0
src/pages/WuYe/FuWuDetail/index.jsx Parādīt failu

@@ -0,0 +1,29 @@
1
+import React, { Component } from 'react'
2
+import '../../../assets/css/reset.less'
3
+import '../../../assets/css/iconfont.less'
4
+import './index.less'
5
+
6
+export default class WuYeFuWuDetail extends Component {
7
+
8
+  state = {
9
+  }
10
+
11
+  componentWillMount () {
12
+  }
13
+
14
+  componentDidMount () { }
15
+
16
+  componentWillUnmount () { }
17
+
18
+  componentDidShow () { }
19
+
20
+  componentDidHide () { }
21
+
22
+  render () {
23
+    return (
24
+      <view className='WuYeFuWuDetail'>
25
+
26
+      </view>
27
+    )
28
+  }
29
+}

+ 6
- 0
src/pages/WuYe/FuWuDetail/index.less Parādīt failu

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

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

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

+ 6
- 0
src/pages/WuYe/GongGaoDetail/index.css Parādīt failu

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

+ 33
- 0
src/pages/WuYe/GongGaoDetail/index.jsx Parādīt failu

@@ -0,0 +1,33 @@
1
+import React, { Component } from 'react'
2
+import '../../../assets/css/reset.less'
3
+import '../../../assets/css/iconfont.less'
4
+import './index.less'
5
+
6
+export default class WuYeGongGaoDetail extends Component {
7
+
8
+  state = {
9
+  }
10
+
11
+  componentWillMount () {
12
+  }
13
+
14
+  componentDidMount () { }
15
+
16
+  componentWillUnmount () { }
17
+  
18
+  onLoad (opt) {
19
+    console.log(opt.id)
20
+  }
21
+
22
+  componentDidShow () { }
23
+
24
+  componentDidHide () { }
25
+
26
+  render () {
27
+    return (
28
+      <view className='WuYeGongGaoDetail'>
29
+
30
+      </view>
31
+    )
32
+  }
33
+}

+ 6
- 0
src/pages/WuYe/GongGaoDetail/index.less Parādīt failu

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

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

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '添加报修'
3
+}

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

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

+ 30
- 0
src/pages/WuYe/TianJiaBaoXiu/index.jsx Parādīt failu

@@ -0,0 +1,30 @@
1
+import React, { Component } 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 class WuYeTianJiaBaoXiu extends Component {
8
+
9
+  state = {
10
+  }
11
+
12
+  componentWillMount () {
13
+  }
14
+
15
+  componentDidMount () { }
16
+
17
+  componentWillUnmount () { }
18
+
19
+  componentDidShow () { }
20
+
21
+  componentDidHide () { }
22
+
23
+  render () {
24
+    return (
25
+      <view className='WuYeTianJiaBaoXiu'>
26
+
27
+      </view>
28
+    )
29
+  }
30
+}

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

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

+ 2
- 1
src/pages/WuYe/index.jsx Parādīt failu

@@ -22,7 +22,8 @@ export default class WuYe extends Component {
22 22
     IsPull: false
23 23
   }
24 24
 
25
-  componentWillMount () { }
25
+  componentWillMount () {
26
+  }
26 27
 
27 28
   componentDidMount () { }
28 29