yunlingyin 7 years ago
parent
commit
f5fafee0fd

+ 8 - 8
app.json

@@ -1,5 +1,5 @@
1 1
 {
2
-  "pages":[
2
+  "pages": [
3 3
     "pages/index/index",
4 4
     "pages/find/find",
5 5
     "pages/calculate/calculate",
@@ -12,15 +12,15 @@
12 12
     "pages/feedback/feedback",
13 13
     "pages/application/application",
14 14
     "pages/getPhone/getPhone",
15
-   "pages/getPhone_to/getPhone_to"
16
-    
15
+    "pages/getPhone_to/getPhone_to",
16
+    "pages/register_phon/register_phon"
17 17
   ],
18
-  "window":{
19
-    "backgroundTextStyle":"dark",
18
+  "window": {
19
+    "backgroundTextStyle": "dark",
20 20
     "navigationBarBackgroundColor": "#fff",
21 21
     "navigationBarTitleText": "帮你贷",
22
-    "navigationBarTextStyle":"black",
23
-    "enablePullDownRefresh":true,
22
+    "navigationBarTextStyle": "black",
23
+    "enablePullDownRefresh": true,
24 24
     "onReachBottomDistance": 10
25 25
   },
26 26
   "tabBar": {
@@ -56,4 +56,4 @@
56 56
     ]
57 57
   },
58 58
   "debug": true
59
-}
59
+}

+ 66 - 0
pages/register_phon/register_phon.js

@@ -0,0 +1,66 @@
1
+// pages/logs_to/logs_to.js
2
+Page({
3
+
4
+  /**
5
+   * 页面的初始数据
6
+   */
7
+  data: {
8
+  
9
+  },
10
+
11
+  /**
12
+   * 生命周期函数--监听页面加载
13
+   */
14
+  onLoad: function (options) {
15
+  
16
+  },
17
+
18
+  /**
19
+   * 生命周期函数--监听页面初次渲染完成
20
+   */
21
+  onReady: function () {
22
+  
23
+  },
24
+
25
+  /**
26
+   * 生命周期函数--监听页面显示
27
+   */
28
+  onShow: function () {
29
+  
30
+  },
31
+
32
+  /**
33
+   * 生命周期函数--监听页面隐藏
34
+   */
35
+  onHide: function () {
36
+  
37
+  },
38
+
39
+  /**
40
+   * 生命周期函数--监听页面卸载
41
+   */
42
+  onUnload: function () {
43
+  
44
+  },
45
+
46
+  /**
47
+   * 页面相关事件处理函数--监听用户下拉动作
48
+   */
49
+  onPullDownRefresh: function () {
50
+  
51
+  },
52
+
53
+  /**
54
+   * 页面上拉触底事件的处理函数
55
+   */
56
+  onReachBottom: function () {
57
+  
58
+  },
59
+
60
+  /**
61
+   * 用户点击右上角分享
62
+   */
63
+  onShareAppMessage: function () {
64
+  
65
+  }
66
+})

+ 1 - 0
pages/register_phon/register_phon.json

@@ -0,0 +1 @@
1
+{}

+ 22 - 0
pages/register_phon/register_phon.wxml

@@ -0,0 +1,22 @@
1
+<view class='register_logo'>
2
+  <image src='../resource/image/mine-on.png' class='logo_img'></image>
3
+</view>
4
+
5
+<view class='item'>
6
+<!-- 手机号 -->
7
+  <view class="item-inner">
8
+     <view class="item-title">手机号</view> 
9
+     <view class="item-input">
10
+    <input maxlength="10" placeholder="请输入手机号码" />
11
+    </view> 
12
+  </view>
13
+   <!-- 验证码 -->
14
+  <view class="item-inner">
15
+     <view class="item-title">验证码</view> 
16
+     <view class="item-input label">
17
+    <input maxlength="10" placeholder="请输入验证码" />
18
+    </view> 
19
+    <view class='get_code'>获取验证码</view>
20
+  </view>
21
+</view>
22
+   <button form-type="submit" class='item_btn'> 提交 </button>

+ 78 - 0
pages/register_phon/register_phon.wxss

@@ -0,0 +1,78 @@
1
+page {
2
+  font-family: "PingFangSC-Regular, 微软雅黑, sans-serif";
3
+  background: #f5f4f9;
4
+}
5
+
6
+view {
7
+  /* border-top: 1px solid#f5f4f9; */
8
+  background: #fff;
9
+}
10
+
11
+.register_logo {
12
+  background: #f5f4f9;
13
+  width: 100%;
14
+  height: 124px;
15
+}
16
+
17
+.register_logo image {
18
+  display: block;
19
+  width: 70px;
20
+  height: 70px;
21
+  margin: auto;
22
+  margin-top: 24px;
23
+}
24
+
25
+.item {
26
+  display: block;
27
+  width: 100%;
28
+}
29
+
30
+.item .item-inner {
31
+  display: block;
32
+  border-bottom: #e5e5e5 solid 1px;
33
+  box-sizing: border-box;
34
+  position: relative;
35
+  color: #333;
36
+  height: 56px;
37
+  width: 100%;
38
+}
39
+
40
+.item .item-inner .item-title {
41
+  display: block;
42
+  float: left;
43
+  width: 60px;
44
+  height: 55px;
45
+  /* background: #f00;   */
46
+  font-size: 14px;
47
+  color: #333;
48
+  padding-left: 13px;
49
+  line-height: 56px;
50
+}
51
+
52
+.item .item-inner .item-input  input {
53
+  display: block;
54
+  float: left;
55
+  height: 55px;
56
+  line-height: 56px;
57
+  vertical-align: middle;
58
+  font-size: 14px;
59
+  color: #999;
60
+}
61
+
62
+.item .item-inner .get_code {
63
+  float: right;
64
+  display: block;
65
+  width: 110px;
66
+  height: 40px;
67
+  font-size: 12px;
68
+  text-align: center;
69
+  line-height: 40px;
70
+  margin-top: 6px;
71
+  border-left: 1px solid#e5e5e5;
72
+}
73
+.item_btn{
74
+ background-color: #ffe100;
75
+  font-size: 16px;
76
+  color: #333;
77
+  margin: 90px 15px 0 15px;
78
+}

+ 7 - 1
project.config.json

@@ -24,7 +24,7 @@
24 24
 			"list": []
25 25
 		},
26 26
 		"miniprogram": {
27
-			"current": -1,
27
+			"current": 13,
28 28
 			"list": [
29 29
 				{
30 30
 					"id": -1,
@@ -109,6 +109,12 @@
109 109
 					"name": "getPhone_to",
110 110
 					"pathName": "pages/getPhone_to/getPhone_to",
111 111
 					"query": ""
112
+				},
113
+				{
114
+					"id": -1,
115
+					"name": "register_phon",
116
+					"pathName": "pages/register_phon/register_phon",
117
+					"query": ""
112 118
 				}
113 119
 			]
114 120
 		}