浏览代码

raisemoney

xujing 5 年前
父节点
当前提交
773c65aed7

+ 4
- 4
config/prod.js 查看文件

@@ -5,10 +5,10 @@ module.exports = {
5 5
   defineConstants: {
6 6
     // HOST: '"http://192.168.2.54:8080"',
7 7
     // WSS_HOST: '"ws://192.168.2.54:8080"',
8
-    // HOST: '"https://dev.pawoma.cn"',// 新测试
9
-    // WSS_HOST: '"wss://dev.pawoma.cn"',
10
-    HOST: '"https://lt.pawoma.cn"',
11
-    WSS_HOST: '"wss://lt.pawoma.cn"',
8
+    HOST: '"https://dev.pawoma.cn"',// 新测试
9
+    WSS_HOST: '"wss://dev.pawoma.cn"',
10
+    // HOST: '"https://lt.pawoma.cn"',
11
+    // WSS_HOST: '"wss://lt.pawoma.cn"',
12 12
     Version: 'V3.5.12'
13 13
   },
14 14
   weapp: {},

+ 2
- 2
project.config.json 查看文件

@@ -1,8 +1,8 @@
1 1
 {
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "mini-chengjiao",
4
-	"description": "知与行互动",
5
-	"appid": "wxd6f47a9bb3052175",
4
+	"description": "知与行联调",
5
+	"appid": "wxd9ee3a9480a4e544",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 1
- 1
src/app.js 查看文件

@@ -125,12 +125,12 @@ class App extends Component {
125 125
         root: "onlineSelling",
126 126
         pages: [
127 127
           'pages/houseList/index',
128
+          'pages/raiseMoney/index',
128 129
           'pages/live/index',
129 130
           'pages/help/index',
130 131
           'pages/records/index',
131 132
           'pages/detail/index',
132 133
           'pages/detail/resultPage',
133
-          'pages/selectionRecord/index',
134 134
           'pages/screenHouse/index',
135 135
         ],
136 136
       }

+ 1
- 1
src/onlineSelling/components/HouseGrid/Unit.js 查看文件

@@ -13,7 +13,7 @@ export default class Unit extends Component {
13 13
     } else {
14 14
       item.noshow = false
15 15
     }
16
-    this.setState({})
16
+    this.setState({})  // 强制页面刷新
17 17
   }
18 18
   render() {
19 19
     const { termName, blockName, unitName, noshow = false, floorList = [] } = this.props.dataset || {}

+ 19
- 0
src/onlineSelling/pages/raiseMoney/index.js 查看文件

@@ -0,0 +1,19 @@
1
+import Taro, { Component } from '@tarojs/taro'
2
+import { View } from '@tarojs/components'
3
+import './index.scss'
4
+
5
+export default class raiseMoney extends Component {
6
+  config = {
7
+    navigationBarTitleText: '认筹'
8
+  }
9
+
10
+  render() {
11
+
12
+    return (
13
+      <View>
14
+
15
+      </View>
16
+    )
17
+  }
18
+
19
+}

+ 0
- 0
src/onlineSelling/pages/raiseMoney/index.scss 查看文件


+ 0
- 105
src/onlineSelling/pages/selectionRecord/index.js 查看文件

@@ -1,105 +0,0 @@
1
-import Taro, { Component } from '@tarojs/taro';
2
-import './index.scss'
3
-import HouseCard from '../../components/HouseCard'
4
-import Blank from '../../components/Blank'
5
-import { AtTabs, AtTabsPane } from 'taro-ui'
6
-import "taro-ui/dist/style/components/tabs.scss"
7
-import { connect } from '@tarojs/redux'
8
-
9
-
10
-@connect(({ user, city }) => ({ user, city }))
11
-export default class selectionRecord extends Component {
12
-
13
-  config = {
14
-    navigationBarTitleText: '选房记录'
15
-  }
16
-
17
-  state = {
18
-    current: 0,
19
-    recordId: undefined, // 埋点ID
20
-    testData: [
21
-      {
22
-        preselectionRecordId: 1,
23
-        buildingName: '艾菲国际二期',
24
-        blockName: '6栋',
25
-        unitName: '一单元',
26
-        roomName: '1502',
27
-        aerialViewImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1573738541467-25667811-b020-4c1f-b57d-e65a410d6fbd3103856559286073565.jpg',
28
-        price: '234万',
29
-        createDate: '2020-02-8',
30
-        status: 1
31
-      },
32
-      {
33
-        preselectionRecordId: 2,
34
-        buildingName: '艾菲国际二期',
35
-        blockName: '6栋',
36
-        unitName: '一单元',
37
-        roomName: '1502',
38
-        aerialViewImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1573738541467-25667811-b020-4c1f-b57d-e65a410d6fbd3103856559286073565.jpg',
39
-        price: '234万',
40
-        createDate: '2020-02-9',
41
-        status: 0
42
-      },
43
-      {
44
-        preselectionRecordId: 3,
45
-        buildingName: '艾菲国际二期',
46
-        blockName: '6栋',
47
-        unitName: '二单元',
48
-        roomName: '1503',
49
-        aerialViewImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1573738541467-25667811-b020-4c1f-b57d-e65a410d6fbd3103856559286073565.jpg',
50
-        price: '234万',
51
-        createDate: '2020-02-10',
52
-        status: 1
53
-      },
54
-      {
55
-        preselectionRecordId: 4,
56
-        buildingName: '艾菲国际二期',
57
-        blockName: '6栋',
58
-        unitName: '二单元',
59
-        roomName: '1504',
60
-        aerialViewImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1573738541467-25667811-b020-4c1f-b57d-e65a410d6fbd3103856559286073565.jpg',
61
-        price: '234万',
62
-        createDate: '2020-02-11',
63
-        status: 0
64
-      },
65
-    ]
66
-  }
67
-
68
-  componentWillMount() {
69
-
70
-  }
71
-
72
-
73
-  handleClick(value) {
74
-    this.setState({
75
-      current: value
76
-    })
77
-  }
78
-
79
-
80
-  render() {
81
-    const { testData } = this.state
82
-    return (
83
-      <View style="height:100vh">
84
-        <AtTabs className="selectionRecord" scroll current={this.state.current} tabList={[{ title: '预选记录' }, { title: '认筹记录' }]} onClick={this.handleClick.bind(this)}>
85
-          <AtTabsPane current={this.state.current} index={0} >
86
-            {
87
-              testData.map((item) => {
88
-                return (
89
-                  <View className="carditem" key={item.preselectionRecordId}>
90
-                    <HouseCard summary={item} />
91
-                  </View>
92
-                )
93
-              })
94
-            }
95
-          </AtTabsPane>
96
-          <AtTabsPane current={this.state.current} index={1}>
97
-            <View>
98
-              <Blank tips="暂无认筹记录" />
99
-            </View>
100
-          </AtTabsPane>
101
-        </AtTabs>
102
-      </View>
103
-    )
104
-  }
105
-}

+ 0
- 28
src/onlineSelling/pages/selectionRecord/index.scss 查看文件

@@ -1,28 +0,0 @@
1
-@import "@/styles/mixins.scss";
2
-@import "@/styles/theme.scss";
3
-.selectionRecord{
4
-    .at-tabs__header{
5
-      width: 86%;
6
-      background-color: #fff;
7
-      box-shadow:0px 4px 12px 0px rgba(0,0,0,0.12);
8
-      margin: 20px auto 10px auto;
9
-      border-radius: 44px;
10
-    }
11
-    .at-tabs__item{
12
-      width:50%;
13
-      flex: none;
14
-      color: #333;
15
-      font-size: 28px;
16
-    }
17
-    .at-tabs__item--active{
18
-      color: $primary-color;
19
-      background-color: #f4f4f4;
20
-    }
21
-    .at-tabs__item-underline{
22
-      height: 0;
23
-    }
24
-    .at-tabs__underline{
25
-      display: none;
26
-    }
27
-  
28
-}