Commit c8faff7a authored by huangyuanyuan's avatar huangyuanyuan
parents b4ef8d49 5bfbf84a
...@@ -50,7 +50,6 @@ Page({ ...@@ -50,7 +50,6 @@ Page({
loginState: loginState loginState: loginState
}) })
}, },
/** /**
* 登录 * 登录
*/ */
...@@ -89,6 +88,10 @@ Page({ ...@@ -89,6 +88,10 @@ Page({
wx.navigateBack({ wx.navigateBack({
delta: 1 delta: 1
}) })
let formId = e.detail.formId
app.$apiSaveFormId('survey_post_SaveFormId', { formId: formId, customerId: res.id }).then(res => {
}).catch(err => { })
}).catch(err => { }).catch(err => {
if (err.resultCode === 10007) { if (err.resultCode === 10007) {
wx.navigateTo({ wx.navigateTo({
......
...@@ -30,7 +30,11 @@ ...@@ -30,7 +30,11 @@
<navigator class='form_link_text' url='revisePwd/revisePwd'>修改密码</navigator> <navigator class='form_link_text' url='revisePwd/revisePwd'>修改密码</navigator>
</view> </view>
</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'> <view class='login_wx' bindtap='signWx'>
<image class='login_wx_image' src='../../../images/login/ico_wx.png' mode='widthFix'></image> <image class='login_wx_image' src='../../../images/login/ico_wx.png' mode='widthFix'></image>
<text class='login_wx_text'>微信手机号快捷登录</text> <text class='login_wx_text'>微信手机号快捷登录</text>
......
...@@ -154,4 +154,17 @@ ...@@ -154,4 +154,17 @@
font-size: 15px; font-size: 15px;
color: #FFFFFF; color: #FFFFFF;
white-space: nowrap; 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
...@@ -14,7 +14,7 @@ Page({ ...@@ -14,7 +14,7 @@ Page({
onLoad: function (options) { onLoad: function (options) {
console.log(options) console.log(options)
this.setData({ this.setData({
url: "http://www.test.com:8084/html/invesDetails.html" + '?ID=' + options.ID + '&name=' + encodeURI(options.name) + '&MobilePhone=' + options.MobilePhone url: "http://192.168.2.139:8084/html/invesDetails.html" + '?ID=' + options.ID + '&name=' + encodeURI(options.name) + '&MobilePhone=' + options.MobilePhone
}) })
console.log(this.data.url) console.log(this.data.url)
}, },
......
...@@ -31,7 +31,6 @@ Page({ ...@@ -31,7 +31,6 @@ Page({
let url = e.detail.target.dataset.url; let url = e.detail.target.dataset.url;
let index = e.detail.target.dataset.index; let index = e.detail.target.dataset.index;
let formId = e.detail.formId; let formId = e.detail.formId;
console.log(formId, code)
app.$apiSaveFormId('survey_post_SaveFormId', { formId: formId, customerId: res.data.id }).then(res => { app.$apiSaveFormId('survey_post_SaveFormId', { formId: formId, customerId: res.data.id }).then(res => {
console.log(res) console.log(res)
}).catch(err => { }) }).catch(err => { })
......
...@@ -21,7 +21,6 @@ Page({ ...@@ -21,7 +21,6 @@ Page({
let url = e.detail.target.dataset.url; let url = e.detail.target.dataset.url;
let index = e.detail.target.dataset.index; let index = e.detail.target.dataset.index;
let formId = e.detail.formId let formId = e.detail.formId
console.log(formId, code)
app.$apiSaveFormId('survey_post_SaveFormId', { formId: formId, customerId: res.data.id }).then(res => { app.$apiSaveFormId('survey_post_SaveFormId', { formId: formId, customerId: res.data.id }).then(res => {
console.log(res) console.log(res)
}).catch(err => { }) }).catch(err => { })
......
...@@ -39,16 +39,8 @@ ...@@ -39,16 +39,8 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 5, "current": 10,
"list": [ "list": [
{
"id": 0,
"name": "产品跳详情",
"pathName": "pages/product/product",
"query": "jump=1&&id=213",
"scene": "1036",
"referrerInfo": {}
},
{ {
"id": -1, "id": -1,
"name": "产品", "name": "产品",
...@@ -64,33 +56,66 @@ ...@@ -64,33 +56,66 @@
"scene": "1036", "scene": "1036",
"referrerInfo": {} "referrerInfo": {}
}, },
{
"id": 5,
"name": "写游记",
"pathName": "pages/Voucher/write/write",
"query": "orderId='20914'&tcid='3037'",
"scene": null
},
{ {
"id": 3, "id": 3,
"name": "产品详情", "name": "调查",
"pathName": "pages/product/productDetail/productDetail", "pathName": "pages/Voucher/Voucher",
"query": "id=102", "query": "tcid=4018",
"scene": "1036", "scene": null
"referrerInfo": {}
}, },
{ {
"id": 4, "id": 7,
"name": "产品订单", "name": "个人中心",
"pathName": "pages/product/productOrder/productOrder", "pathName": "pages/member/member",
"query": "configId=102", "query": "",
"scene": "1036", "scene": null
"referrerInfo": {}
}, },
{ {
"id": 5, "id": -1,
"name": "写游记", "name": "个人信息",
"pathName": "pages/Voucher/write/write", "pathName": "pages/member/memberInfo/memberInfo",
"query": "orderId='20914'&tcid='3037'", "query": "",
"scene": null "scene": null
}, },
{ {
"id": -1, "id": -1,
"name": "调查", "name": "修改",
"pathName": "pages/Voucher/VoucherDetails/VoucherDetails", "pathName": "pages/member/memberInfoED/memberInfoED",
"query": "",
"scene": null
},
{
"id": -1,
"name": "订单中心",
"pathName": "pages/member/orderCenter/orderCenter",
"query": "",
"scene": null
},
{
"id": 8,
"name": "getToken",
"pathName": "pages/login/login",
"query": "",
"scene": null
},
{
"id": -1,
"name": "意见调查",
"pathName": "pages/member/investigation/investigation",
"query": "",
"scene": null
},
{
"id": -1,
"name": "表格",
"pathName": "pages/member/invesDetails/invesDetails",
"query": "", "query": "",
"scene": null "scene": null
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment