Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FlashMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
FlashMan
Commits
29b347fa
Commit
29b347fa
authored
Jul 05, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
244d660b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
4 deletions
+22
-4
login.js
pages/login/login.js
+4
-1
login.wxml
pages/login/login.wxml
+5
-1
login.wxss
pages/login/login.wxss
+13
-0
investigation.js
pages/member/investigation/investigation.js
+0
-1
nameList.js
pages/member/nameList/nameList.js
+0
-1
No files found.
pages/login/login.js
View file @
29b347fa
...
...
@@ -50,7 +50,6 @@ Page({
loginState
:
loginState
})
},
/**
* 登录
*/
...
...
@@ -89,6 +88,10 @@ Page({
wx
.
navigateBack
({
delta
:
1
})
let
formId
=
e
.
detail
.
formId
app
.
$apiSaveFormId
(
'survey_post_SaveFormId'
,
{
formId
:
formId
,
customerId
:
res
.
id
}).
then
(
res
=>
{
}).
catch
(
err
=>
{
})
}).
catch
(
err
=>
{
if
(
err
.
resultCode
===
10007
)
{
wx
.
navigateTo
({
...
...
pages/login/login.wxml
View file @
29b347fa
...
...
@@ -30,7 +30,11 @@
<navigator class='form_link_text' url='revisePwd/revisePwd'>修改密码</navigator>
</view>
</view>
<view class='login_btn {{loginState===true?"login_btn_true":""}}' bindtap='signIn'>登录</view>
<form bindsubmit="signIn" report-submit>
<button hover-class="btn-hover" form-type="submit">
<view class='login_btn {{loginState===true?"login_btn_true":""}}'>登录</view>
</button>
</form>
<view class='login_wx' bindtap='signWx'>
<image class='login_wx_image' src='../../../images/login/ico_wx.png' mode='widthFix'></image>
<text class='login_wx_text'>微信手机号快捷登录</text>
...
...
pages/login/login.wxss
View file @
29b347fa
...
...
@@ -154,4 +154,17 @@
font-size: 15px;
color: #FFFFFF;
white-space: nowrap;
}
button{
padding: 0;
font-size: 22rpx;
border: none;
background-color: transparent;
line-height: initial;
}
button::after{
border: none
}
.btn-hover{
background-color: transparent;
}
\ No newline at end of file
pages/member/investigation/investigation.js
View file @
29b347fa
...
...
@@ -31,7 +31,6 @@ Page({
let
url
=
e
.
detail
.
target
.
dataset
.
url
;
let
index
=
e
.
detail
.
target
.
dataset
.
index
;
let
formId
=
e
.
detail
.
formId
;
console
.
log
(
formId
,
code
)
app
.
$apiSaveFormId
(
'survey_post_SaveFormId'
,
{
formId
:
formId
,
customerId
:
res
.
data
.
id
}).
then
(
res
=>
{
console
.
log
(
res
)
}).
catch
(
err
=>
{
})
...
...
pages/member/nameList/nameList.js
View file @
29b347fa
...
...
@@ -21,7 +21,6 @@ Page({
let
url
=
e
.
detail
.
target
.
dataset
.
url
;
let
index
=
e
.
detail
.
target
.
dataset
.
index
;
let
formId
=
e
.
detail
.
formId
console
.
log
(
formId
,
code
)
app
.
$apiSaveFormId
(
'survey_post_SaveFormId'
,
{
formId
:
formId
,
customerId
:
res
.
data
.
id
}).
then
(
res
=>
{
console
.
log
(
res
)
}).
catch
(
err
=>
{
})
...
...
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