master
zsk 2 years ago
parent a7c8ea711e
commit ef72321926

123
app.js

@ -6,10 +6,12 @@ App({
sessionId: '', sessionId: '',
headers2: { headers2: {
"content-type": "multipart/form-data", "content-type": "multipart/form-data",
Authorization: "",
'Cookie': '' 'Cookie': ''
}, },
headers: { headers: {
"content-type": "application/x-www-form-urlencoded", "content-type": "application/x-www-form-urlencoded",
Authorization: "",
'Cookie': '' 'Cookie': ''
}, },
userLoginTokenInfo: { userLoginTokenInfo: {
@ -117,35 +119,94 @@ App({
return !this.isEmptyCheck(str); return !this.isEmptyCheck(str);
}, },
getLoginUserTokenInfo: function() { getLoginUserTokenInfo: function() {
var that = this; var that = this;
try { // debugger;
var value = wx.getStorageSync('loginUserTokenInfo'); try {
if (value) { var value = wx.getStorageSync("loginUserTokenInfo");
that.globalData.userLoginTokenInfo = value; console.log(value);
if (value) {
if (that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.tel)) { that.globalData.userLoginTokenInfo = value;
that.globalData.autoLoginTag = 1; // console.log(that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.token));
// that.appLoginByTel(); if (that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.token)) {
let token = that.globalData.userLoginTokenInfo.token;
return new Promise(function(resolve, reject) { that.globalData.header.Authorization = "Bearer " + token;
try { that.globalData.headers2.Authorization = "Bearer " + token;
that.globalData.headers.Authorization = "Bearer " + token;
console.log(that.globalData.headers);
wx.request({
url: that.globalData.ip + "/checkToken",
method: "GET",
header: that.globalData.headers,
success: function (res) {
console.log(res);
if (res.data.status == 200) {
if (wx.getStorageSync("messageClick" + res.data.data.id)) {
console.log("messageClick" + res.data.data.id);
} else {
wx.setStorageSync("messageClick" + res.data.data.id, false);
}
that.globalData.isLogin = true;
that.globalData.test = "b";
that.globalData.user = res.data.data.user;
// that.globalData.user.idauth = 0;
that.globalData.loginUserInfo = res.data.data;
console.log(that.globalData.loginUserInfo);
that.getServiceInfo().then(() => {
console.log("getServiceInfo");
});
console.log("getLoginUserTokenInfo" + "+++++++++++++++++++++++++++++++++++++++++++");
if (that.userLoginCallback) {
that.userLoginCallback(res);
}
} else {
//已过期
that.globalData.autoLoginTag = 1;
// that.appLoginByTel();
// that.globalData.isLogin = false;
return new Promise(function (resolve, reject) {
try {
that.appLoginByTel(resolve, reject); that.appLoginByTel(resolve, reject);
} catch (e) { } catch (e) {
console.log('设置登录信息错误'); console.log("设置登录信息错误");
console.log(e); console.log(e);
reject(); reject();
} }
}); });
}
} },
});
// console.log(that.globalData.isLogin);
} else if (that.isNotEmptyCheck(that.globalData.userLoginTokenInfo.tel)) {
that.globalData.autoLoginTag = 1;
return new Promise(function (resolve, reject) {
try {
that.appLoginByTel(resolve, reject);
} catch (e) {
console.log("设置登录信息错误");
console.log(e);
reject();
}
});
}
} else {
if (that.userLoginCallback) {
that.userLoginCallback();
} }
console.log('获取用户登录信息---------------start');
console.log(value);
console.log('获取用户登录信息---------------end');
} catch (e) {
console.log('获取登录信息错误');
console.log(e);
} }
console.log("获取用户登录信息---------------start");
console.log(that.globalData.test);
// that.globalData.isLogin = true
setTimeout(() => {
console.log(that.globalData.isLogin);
}, 1000);
console.log("获取用户登录信息---------------end");
} catch (e) {
console.log("获取登录信息错误");
console.log(e);
}
}, },
setLoginUserTokenInfo: function(tel, token) { setLoginUserTokenInfo: function(tel, token) {
var that = this; var that = this;
@ -226,11 +287,11 @@ App({
console.log(that.globalData); console.log(that.globalData);
console.log("login====result=======2"); console.log("login====result=======2");
wx.showToast({ // wx.showToast({
title: '登录成功', // title: '登录成功',
icon: 'success', // icon: 'success',
duration: 2000 // duration: 2000
}) // })
} }
}) })
}, },
@ -243,6 +304,8 @@ App({
that.globalData.sessionId = ''; that.globalData.sessionId = '';
that.globalData.headers.Cookie = ''; that.globalData.headers.Cookie = '';
that.globalData.headers2.Cookie = ''; that.globalData.headers2.Cookie = '';
that.globalData.headers.Authorization = "";
that.globalData.headers2.Authorization = "";
that.globalData.isLogin = false; that.globalData.isLogin = false;
that.globalData.hasUserInfo = 0; that.globalData.hasUserInfo = 0;
that.globalData.loginUserInfo = {}; that.globalData.loginUserInfo = {};
@ -261,7 +324,7 @@ App({
title: title, title: title,
content: content, content: content,
showCancel: false, showCancel: false,
confirmColor: "#e60012", confirmColor: "#0dcc91",
confirmText: btxt, confirmText: btxt,
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {

@ -111,6 +111,10 @@
"desc": "你的位置信息将用于小程序位置接口的效果展示" "desc": "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"requiredPrivateInfos":[
"chooseLocation",
"getLocation"
],
"requiredBackgroundModes": [ "requiredBackgroundModes": [
"audio" "audio"
], ],

@ -824,7 +824,7 @@ button::after {
width: 260px; width: 260px;
height: 42px; height: 42px;
opacity: 1; opacity: 1;
background: var(--color-yc); background-color: var(--color-yc);
border-radius: 25px; border-radius: 25px;
font-size: 18px; font-size: 18px;
font-weight: 601; font-weight: 601;
@ -834,7 +834,7 @@ button::after {
margin-top: 100px; margin-top: 100px;
} }
.loginOut:active,.loginOut:hover,.loginOut:focus{ .loginOut:active,.loginOut:hover,.loginOut:focus{
background: var(--color-ych); background-color: var(--color-ych);
} }
.staticTitle { .staticTitle {
margin-top: 20px; margin-top: 20px;

@ -43,12 +43,12 @@
</view> </view>
</scroll-view> </scroll-view>
<view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;"> <view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> --> <!-- <switch checked="{{switch1Checked}}" class="dib" color="var(--color-yc)" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7)" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7)" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink" style="color:#027AFF;">《用户服务协议》</navigator> <navigator url="../serviceTerm/index" class="aLink" style="color:var(--color-yc);">《用户服务协议》</navigator>
<navigator url="../secret/index" style="color:#027AFF;">《隐私政策》</navigator> <navigator url="../secret/index" style="color:var(--color-yc);">《隐私政策》</navigator>
</view> </view>

@ -49,12 +49,12 @@
</navigator> </navigator>
</view> </view>
<view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;"> <view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> --> <!-- <switch checked="{{switch1Checked}}" class="dib" color="var(--color-yc)" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7)" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7)" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink" style="color:#027AFF;">《用户服务协议》</navigator> <navigator url="../serviceTerm/index" class="aLink" style="color:var(--color-yc);">《用户服务协议》</navigator>
<navigator url="../secret/index" style="color:#027AFF;">《隐私政策》</navigator> <navigator url="../secret/index" style="color:var(--color-yc);">《隐私政策》</navigator>
</view> </view>

@ -21,7 +21,7 @@
<i class="iconfont icon-jia f12"></i> <i class="iconfont icon-jia f12"></i>
</view> </view>
<view wx:if="{{item.classify == 1}}" class="f12" style="color:#027AFF;"> <view wx:if="{{item.classify == 1}}" class="f12" style="color:var(--color-yc);">
<i class="iconfont icon-gongsi f12"></i> <i class="iconfont icon-gongsi f12"></i>
公司 公司
</view> </view>
@ -32,7 +32,7 @@
</view> </view>
<view class="mt12"> <view class="mt12">
<radio value="{{item.id}}" checked="{{item.defaultFlag == 1}}" color="#027AFF" <radio value="{{item.id}}" checked="{{item.defaultFlag == 1}}" color="var(--color-yc)"
style="transform: scale(0.7);" /> style="transform: scale(0.7);" />
<text class="f14 {{item.defaultFlag == 1 ? 'cf00' : 'c9'}}">{{item.defaultFlag == 1 ? '已设为默认' : <text class="f14 {{item.defaultFlag == 1 ? 'cf00' : 'c9'}}">{{item.defaultFlag == 1 ? '已设为默认' :
'设为默认'}}</text> '设为默认'}}</text>

@ -95,9 +95,9 @@
</scroll-view> </scroll-view>
<view class="f12 tc c045 mt36"> <view class="f12 tc c045 mt36">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> --> <!-- <switch checked="{{switch1Checked}}" class="dib" color="var(--color-yc)" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7)" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7)" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink"> <navigator url="../serviceTerm/index" class="aLink">

@ -7,7 +7,7 @@
<view>{{item.name}}</view> <view>{{item.name}}</view>
</view> </view>
<view class="weui-cell__ft"> <view class="weui-cell__ft">
<radio class="weui-check" value="{{item.value}}" checked="{{item.checked}}" color="#027AFF"/> <radio class="weui-check" value="{{item.value}}" checked="{{item.checked}}" color="var(--color-yc)"/>
<i class="weui-icon-checked"></i> <i class="weui-icon-checked"></i>
</view> </view>
</label> </label>

@ -62,7 +62,7 @@
<view class="mg020 pb10 bb1 v-center"> <view class="mg020 pb10 bb1 v-center">
<view wx:if="{{jobDetail.poses.store.latitude}}"> <view wx:if="{{jobDetail.poses.store.latitude}}">
<i class="iconfont icon-dizhi11 f18 mr10 lh1" style="color:#027AFF;"></i> <i class="iconfont icon-dizhi11 f18 mr10 lh1" style="color:var(--color-yc);"></i>
</view> </view>
<view class="address" bindtap="openMap" data-lat="{{jobDetail.poses.store.latitude}}" data-lng="{{jobDetail.poses.store.longitude}}" data-address="{{jobDetail.poses.store.posContent}}">{{jobDetail.poses.store.posContent ? jobDetail.poses.store.posContent :'暂无地址信息'}}</view> <view class="address" bindtap="openMap" data-lat="{{jobDetail.poses.store.latitude}}" data-lng="{{jobDetail.poses.store.longitude}}" data-address="{{jobDetail.poses.store.posContent}}">{{jobDetail.poses.store.posContent ? jobDetail.poses.store.posContent :'暂无地址信息'}}</view>
<view> <view>

@ -1,12 +1,4 @@
/* pages/index/index.wxss */ /* pages/index/index.wxss */
#nav { page{
text-align: center; overflow-x: hidden !important;
background: #eeeeee;
margin: 1em;
padding: 1em;
border-radius: 5px;
} }
#add {
margin: 1em;
}

@ -14,7 +14,7 @@ Page({
reg_type:'a', reg_type:'a',
wxCode: '', wxCode: '',
btnColor:false, btnColor:false,
switch1Checked: true, switch1Checked: false,
}, },
switch1Change: function (e) { switch1Change: function (e) {
console.log("radio发生change事件携带value值为", e.detail.value); console.log("radio发生change事件携带value值为", e.detail.value);
@ -178,10 +178,13 @@ Page({
code: that.data.wxCode, code: that.data.wxCode,
iv: iv, iv: iv,
encryptedData: encryptedData, encryptedData: encryptedData,
type: "yishoudan",
appId:'wxd7aba642f7fd77fd'
}, },
success: function (res) { success: function (res) {
console.log(res); console.log(res);
app.globalData.openId = res.data.data.openId; app.globalData.openId = res.data.data.openId;
app.globalData.unionid = res.data.data.unionid;
let promise = app.setLoginUserTokenInfo(res.data.data.phoneNumber, null); let promise = app.setLoginUserTokenInfo(res.data.data.phoneNumber, null);
promise.then(res => { promise.then(res => {
wx.reLaunch({ wx.reLaunch({
@ -209,6 +212,8 @@ Page({
code: res.code, code: res.code,
iv: iv, iv: iv,
encryptedData: encryptedData, encryptedData: encryptedData,
type: "dtdl",
appId:'wxd7aba642f7fd77fd'
}, },
success: function (res) { success: function (res) {
console.log(res); console.log(res);
@ -288,7 +293,7 @@ Page({
} }
wx.request({ wx.request({
url: app.globalData.ip + '/appLoginByTel', url: app.globalData.ip + '/appLoginByTelYiShouDan',
data: { data: {
tel: that.data.tel, tel: that.data.tel,
code: that.data.msgCode, code: that.data.msgCode,
@ -297,6 +302,8 @@ Page({
autoLoginTag: 0, autoLoginTag: 0,
loginType: 'login', loginType: 'login',
isScanQRCodes: app.globalData.isScanQRCodes, isScanQRCodes: app.globalData.isScanQRCodes,
wxCode: that.data.wxCode,
appId:'wxd7aba642f7fd77fd'
}, },
header: { header: {
'content-type': 'application/json' 'content-type': 'application/json'
@ -307,59 +314,7 @@ Page({
console.log(res.data); console.log(res.data);
if (res.data.status == 200) { if (res.data.status == 200) {
app.globalData.user = res.data.data.user; that.setLoginData(res);
app.globalData.sessionId = res.data.data.sessionId;
app.globalData.headers.Cookie = 'JSESSIONID=' + res.data.data.sessionId;
app.globalData.headers2.Cookie = 'JSESSIONID=' + res.data.data.sessionId;
app.globalData.isLogin = true;
app.globalData.agencyStatus = res.data.data.agencyStatus;
app.globalData.loginUserInfo = res.data.data;
//登录设置缓存
app.globalData.userLoginTokenInfo.tel = res.data.data.tel;
app.globalData.userLoginTokenInfo.token = null;
wx.setStorageSync('loginUserTokenInfo', app.globalData.userLoginTokenInfo);
console.log(111);
try {
var comeFrom = wx.getStorageSync('comeFromPage');
// var comeFromPageParam = wx.getStorageSync('comeFromPageParam');
if(comeFrom == 'me') {
wx.reLaunch({
url: '/pages/me/index'
})
} else if (comeFrom == 'index') {
wx.reLaunch({
url: '/pages/tgIndex/index'
})
} else if (comeFrom == 'detail') {
wx.navigateBack({
delta: 1
})
// wx.reLaunch({
// url: "/pages/detail/index?storeJobId=" + comeFromPageParam.storeJobId
// })
} else {
wx.setStorage({
key: "comeFrom",
data: "login"
})
wx.reLaunch({
url: "../me/index"
})
}
} catch (e) {
wx.setStorage({
key: "comeFrom",
data: "login"
})
wx.reLaunch({
url: "/pages/me/index"
})
}
console.log(222);
} else { } else {
wx.showToast({ wx.showToast({
@ -373,6 +328,70 @@ Page({
}) })
//console.log('form发生了submit事件携带数据为', e.detail.value) //console.log('form发生了submit事件携带数据为', e.detail.value)
}, },
setLoginData(res) {
app.globalData.user = res.data.data.user;
app.globalData.sessionId = res.data.data.sessionId;
app.globalData.headers.Cookie = "JSESSIONID=" + res.data.data.sessionId;
app.globalData.headers2.Cookie = "JSESSIONID=" + res.data.data.sessionId;
app.globalData.isLogin = true;
app.globalData.agencyStatus = res.data.data.agencyStatus;
app.globalData.loginUserInfo = res.data.data;
//登录设置缓存
app.globalData.userLoginTokenInfo.tel = res.data.data.tel;
app.globalData.userLoginTokenInfo.token = null;
wx.setStorageSync("loginUserTokenInfo", app.globalData.userLoginTokenInfo);
console.log(111);
try {
var comeFrom = wx.getStorageSync("comeFromPage");
// var comeFromPageParam = wx.getStorageSync('comeFromPageParam');
console.log(comeFrom);
if (comeFrom == "me") {
wx.reLaunch({
url: "/pages/me/index",
});
} else if (comeFrom == "index") {
wx.reLaunch({
url: "/pages/index/index",
});
} else if (comeFrom == "detail") {
wx.navigateBack({
delta: 1,
});
// wx.reLaunch({
// url: "/pages/detail/index?storeJobId=" + comeFromPageParam.storeJobId
// })
} else if (comeFrom == "collect") {
wx.reLaunch({
url: "/pages/collect/index",
});
} else if (comeFrom == "BillInfo") {
// console.log(wx.getStorageSync('QRBillInfo'));
// console.log(JSON.stringify(wx.getStorageSync('QRBillInfo')));
wx.reLaunch({
url: "/pages/wodeBillDetail/index?info=" + JSON.stringify(wx.getStorageSync("QRBillInfo")),
});
wx.removeStorageSync("QRBillInfo");
} else {
wx.setStorage({
key: "comeFrom",
data: "login",
});
wx.reLaunch({
url: "/pages/index/index",
});
}
} catch (e) {
wx.setStorage({
key: "comeFrom",
data: "login",
});
wx.reLaunch({
url: "/pages/index/index",
});
}
},
ohShitfadeOut() { ohShitfadeOut() {
var fadeOutTimeout = setTimeout(() => { var fadeOutTimeout = setTimeout(() => {
this.setData({ popErrorMsg: '', pop: 0 }); this.setData({ popErrorMsg: '', pop: 0 });

@ -4,7 +4,7 @@
<view class="container"> <view class="container">
<view class='tc'> <view class='tc'>
<image src='https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/yicaiLogoBgf.png' class='logoPng' mode='aspectFit'></image> <image src='https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/yicaiLogoBgf.png' class='logoPng' mode='aspectFit'></image>
<view class='logoTxt'>一才找人才啦</view> <view class='logoTxt'>找工作,到一才!</view>
</view> </view>
<view class="loginForm"> <view class="loginForm">
<form bindsubmit="formSubmit"> <form bindsubmit="formSubmit">
@ -48,12 +48,12 @@
<view class='ui-poptips-cnt'>{{popErrorMsg}}</view> <view class='ui-poptips-cnt'>{{popErrorMsg}}</view>
</view> </view>
<view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;" wx:if="{{!isFinish}}"> <view class="f12 tc c045 display-flex" style="align-items:center;margin-left:37px;margin-bottom: 16px;margin-top:120px;" wx:if="{{!isFinish}}">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> --> <!-- <switch checked="{{switch1Checked}}" class="dib" color="var(--color-yc)" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7)" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7)" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink" style="color:#027AFF;">《用户服务协议》</navigator> <navigator url="../serviceTerm/index" class="aLink" style="color:var(--color-yc);">《用户服务协议》</navigator>
<navigator url="../secret/index" style="color:#027AFF;">《隐私政策》</navigator> <navigator url="../secret/index" style="color:var(--color-yc);">《隐私政策》</navigator>
</view> </view>

@ -34,7 +34,7 @@
<view class="f12 tc c045 mt36"> <view class="f12 tc c045 mt36">
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7);position:relative;top:-2px;" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7);position:relative;top:-2px;" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink"> <navigator url="../serviceTerm/index" class="aLink">

@ -30,7 +30,7 @@
</form> </form>
<view class="f12 tc c045 mt36"> <view class="f12 tc c045 mt36">
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7);position:relative;top:-2px;" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7);position:relative;top:-2px;" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink"> <navigator url="../serviceTerm/index" class="aLink">

@ -34,7 +34,7 @@
<view class="f12 tc c045 mt36"> <view class="f12 tc c045 mt36">
<radio-group class="dib"> <radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#027AFF" style="transform:scale(.7);position:relative;top:-2px;" /> <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="var(--color-yc)" style="transform:scale(.7);position:relative;top:-2px;" />
</radio-group> </radio-group>
我已阅读并同意 我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink"> <navigator url="../serviceTerm/index" class="aLink">

@ -31,7 +31,7 @@
</view> </view>
</navigator> </navigator>
</view> </view>
<view class='loginOut' catchtap='loginOut' hover-class='thover'> <view class='loginOut2' catchtap='loginOut' hover-class='thover'>
<view class='' > <view class='' >
<text class='f16'>退出登录</text> <text class='f16'>退出登录</text>
</view> </view>

@ -30,7 +30,7 @@ page{
line-height: 24px; line-height: 24px;
color: #b8b8b8; color: #b8b8b8;
} }
.loginOut{ .loginOut2{
width: unset; width: unset;
height: 56px; height: 56px;
background-color: #fff; background-color: #fff;
@ -43,3 +43,6 @@ page{
font-weight: 400; font-weight: 400;
overflow: hidden; overflow: hidden;
} }
view.loginOut2:hover,view.loginOut2:active,view.loginOut2:focus{
background-color: #eee;
}

@ -65,5 +65,5 @@
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"appid": "wxb1f7c694803f6f00" "appid": "wxd7aba642f7fd77fd"
} }

@ -1,6 +1,6 @@
{ {
"setting": { "setting": {
"urlCheck": false, "urlCheck": true,
"compileHotReLoad": true "compileHotReLoad": true
}, },
"condition": { "condition": {

Loading…
Cancel
Save