Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
张身仁
/
mp-car-evaluate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b1c88250
authored
Sep 20, 2019
by
zhangshengren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加验证码
parent
c8c8bb17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
59 additions
and
0 deletions
+59
-0
app.js
+1
-0
pages/index/index.js
+0
-0
pages/index/index.wxml
+11
-0
pages/index/index.wxss
+18
-0
pages/sellcar/sellcar.js
+0
-0
pages/sellcar/sellcar.wxml
+11
-0
pages/sellcar/sellcar.wxss
+18
-0
No files found.
app.js
View file @
b1c88250
...
@@ -3,6 +3,7 @@ App({
...
@@ -3,6 +3,7 @@ App({
globalData
:
{
globalData
:
{
app_id
:
'wx3722cae0d0b62fff'
,
app_id
:
'wx3722cae0d0b62fff'
,
url
:
'https://test-es.checheng.com/api/'
,
url
:
'https://test-es.checheng.com/api/'
,
urlSpecial
:
'https://test-es.checheng.com/api-weapp/'
,
name
:
'爱车估价助手'
,
name
:
'爱车估价助手'
,
width
:
0
,
width
:
0
,
height
:
0
,
height
:
0
,
...
...
pages/index/index.js
View file @
b1c88250
This diff is collapsed.
Click to expand it.
pages/index/index.wxml
View file @
b1c88250
...
@@ -68,6 +68,17 @@
...
@@ -68,6 +68,17 @@
<button bindgetphonenumber="getPhone" id="get-phone" openType="getPhoneNumber" size="mini" type="primary" wx:else>11位手机号</button> -->
<button bindgetphonenumber="getPhone" id="get-phone" openType="getPhoneNumber" size="mini" type="primary" wx:else>11位手机号</button> -->
</view>
</view>
</view>
</view>
<view class="weui-cell weui-cell_input form-input-item">
<view class="weui-cell__hd">
<view class="weui-label">验 证 码</view>
</view>
<view class="weui-cell__bd">
<input bindinput="smsCodeInput" maxlength="6" class="weui-input text-right" placeholder="请输入短信验证码" type="digit" value="{{inputSmsCode}}"></input>
</view>
<view class="weui-cell__ft">
<button bindtap="sendSmsCode" id="get-smsCode" class="{{disabled ? 'disabled': ''}}" size="mini" type="primary" disabled="{{disabled}}">{{btnText}}</button>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="weui-cell submit-section">
<view class="weui-cell submit-section">
...
...
pages/index/index.wxss
View file @
b1c88250
...
@@ -139,4 +139,21 @@ page {
...
@@ -139,4 +139,21 @@ page {
.weui-input {
.weui-input {
color: #39424D;
color: #39424D;
text-align: right;
text-align: right;
}
#get-smsCode {
display: block;
padding: 3px 5px;
margin-left: 30rpx;
width: 180rpx;
line-height: 2;
background: #fe560e;
color:#fff;
border-color: white;
font-size: 26rpx;
text-align: center;
}
button.disabled {
background: #cec5c0 !important;
}
}
\ No newline at end of file
pages/sellcar/sellcar.js
View file @
b1c88250
This diff is collapsed.
Click to expand it.
pages/sellcar/sellcar.wxml
View file @
b1c88250
...
@@ -68,6 +68,17 @@
...
@@ -68,6 +68,17 @@
<button bindgetphonenumber="getPhone" id="get-phone" openType="getPhoneNumber" size="mini" type="primary" wx:else>11位手机号</button> -->
<button bindgetphonenumber="getPhone" id="get-phone" openType="getPhoneNumber" size="mini" type="primary" wx:else>11位手机号</button> -->
</view>
</view>
</view>
</view>
<view class="weui-cell weui-cell_input form-input-item">
<view class="weui-cell__hd">
<view class="weui-label">验 证 码</view>
</view>
<view class="weui-cell__bd">
<input bindinput="smsCodeInput" maxlength="6" class="weui-input text-right" placeholder="请输入短信验证码" type="digit" value="{{inputSmsCode}}"></input>
</view>
<view class="weui-cell__ft">
<button bindtap="sendSmsCode" id="get-smsCode" class="{{disabled ? 'disabled': ''}}" size="mini" type="primary" disabled="{{disabled}}">{{btnText}}</button>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/sellcar/sellcar.wxss
View file @
b1c88250
...
@@ -238,3 +238,20 @@ page {
...
@@ -238,3 +238,20 @@ page {
width: 202rpx;
width: 202rpx;
height: 32rpx;
height: 32rpx;
}
}
#get-smsCode {
display: block;
padding: 3px 5px;
margin-left: 30rpx;
width: 180rpx;
line-height: 2;
background: #fe560e;
color:#fff;
border-color: white;
font-size: 26rpx;
text-align: center;
}
button.disabled {
background: #cec5c0 !important;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment