cyl/dev
wangxia 1 year ago
parent 3eaa681e89
commit 870a596e10

@ -13,29 +13,29 @@ App({
"content-type": "multipart/form-data", "content-type": "multipart/form-data",
Authorization: "", Authorization: "",
Cookie: "", Cookie: "",
appId: 'wxbc6d9dbb9dff5b37', appId: 'wxb0dea4d11428c6a5',
"g-open-env": 'MP_MINI', "g-open-env": 'MP_MINI',
// 请求来源标识 1.小程序 2.app 3.网页 // 请求来源标识 1.小程序 2.app 3.网页
appClassify: 1, appClassify: 1,
appName: encodeURIComponent('伯才') // appName: encodeURIComponent('伯才')
}, },
headers1: { headers1: {
"content-type": "application/json", "content-type": "application/json",
Authorization: "", Authorization: "",
Cookie: "", Cookie: "",
appId: 'wxbc6d9dbb9dff5b37', appId: 'wxb0dea4d11428c6a5',
"g-open-env": 'MP_MINI', "g-open-env": 'MP_MINI',
appClassify: 1, appClassify: 1,
appName: encodeURIComponent('伯才') // appName: encodeURIComponent('伯才')
}, },
headers: { headers: {
"content-type": "application/x-www-form-urlencoded", "content-type": "application/x-www-form-urlencoded",
Authorization: "", Authorization: "",
Cookie: "", Cookie: "",
appId: 'wxbc6d9dbb9dff5b37', appId: 'wxb0dea4d11428c6a5',
"g-open-env": 'MP_MINI', "g-open-env": 'MP_MINI',
appClassify: 1, appClassify: 1,
appName: encodeURIComponent('伯才') // appName: encodeURIComponent('伯才')
}, },
userLoginTokenInfo: { userLoginTokenInfo: {
tel: "", //用户电话 tel: "", //用户电话

@ -129,7 +129,7 @@
"list": [ "list": [
{ {
"iconPath": "./assets/images/ysd.png", "iconPath": "./assets/images/ysd.png",
"selectedIconPath": "./assets/images/ysd1.png", "selectedIconPath": "./assets/images/home1.png",
"pagePath": "pages/firstBill/index", "pagePath": "pages/firstBill/index",
"text": "首页" "text": "首页"
}, },

@ -108,7 +108,7 @@ page {
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 12px; margin-right: 12px;
background-color: rgba(255, 106, 0, 0.1); background-color: #f4faff;
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
} }

@ -4566,7 +4566,7 @@ Page({
} else if (event.detail.scrollTop <= 200 && this.getTabBar().data.toTop) { } else if (event.detail.scrollTop <= 200 && this.getTabBar().data.toTop) {
// console.log(!this.getTabBar().data.toTop); // console.log(!this.getTabBar().data.toTop);
this.getTabBar().data.list[0].selectedIconPath = this.getTabBar().data.list[0].selectedIconPath =
"../assets/images/ysd1.png"; "../assets/images/home1.png";
this.getTabBar().data.list[0].text = "首页"; this.getTabBar().data.list[0].text = "首页";
this.getTabBar().setData({ this.getTabBar().setData({
toTop: false, toTop: false,

@ -3416,7 +3416,7 @@ Page({
index: 0, index: 0,
text: "首页", text: "首页",
iconPath: "/assets/images/ysd.png", iconPath: "/assets/images/ysd.png",
selectedIconPath: "/assets/images/ysd1.png", selectedIconPath: "/assets/images/home1.png",
success: (e) => { }, success: (e) => { },
fail (e) { fail (e) {
console.log(e); console.log(e);

@ -3784,7 +3784,7 @@ Page({
index: 0, index: 0,
text: "首页", text: "首页",
iconPath: "/assets/images/ysd.png", iconPath: "/assets/images/ysd.png",
selectedIconPath: "/assets/images/ysd1.png", selectedIconPath: "/assets/images/home1.png",
success: (e) => { }, success: (e) => { },
fail (e) { fail (e) {
console.log(e); console.log(e);

@ -148,13 +148,14 @@ Page({
sendMsg: function () { sendMsg: function () {
console.log(this.data.tel); console.log(this.data.tel);
var that = this; var that = this;
if (that.data.disabled == 1) {
that.getCode();
}
that.setData({ that.setData({
btnColor: false, btnColor: false,
disabled: 0, disabled: 0,
}); });
that.getCode();
var timer = 1; var timer = 1;
if (timer == 1) { if (timer == 1) {
timer = 0; timer = 0;
@ -231,7 +232,7 @@ Page({
code: that.data.wxCode, code: that.data.wxCode,
iv: iv, iv: iv,
encryptedData: encryptedData, encryptedData: encryptedData,
type: "yishoudan", appId: 'wxb0dea4d11428c6a5',
} }
}).then((res) => { }).then((res) => {
app.globalData.openId = res.data.data.openId; app.globalData.openId = res.data.data.openId;
@ -997,9 +998,9 @@ Page({
tel: "", tel: "",
}); });
}, },
showPSW(){ showPSW () {
this.setData({ this.setData({
showPSW:!this.data.showPSW, showPSW: !this.data.showPSW,
}); });
} }
}); });

@ -117,7 +117,7 @@ page {
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 12px; margin-right: 12px;
background-color: rgba(255, 106, 0, 0.1); background-color: #f4faff;
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
} }

@ -107,7 +107,7 @@ page {
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 12px; margin-right: 12px;
background-color: rgba(255, 106, 0, 0.1); background-color: #f4faff;
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
} }

@ -25,7 +25,7 @@
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 12px; margin-right: 12px;
background-color: rgba(255, 106, 0, 0.1); background-color: #f4faff;
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
} }

Loading…
Cancel
Save