@@ -99,7 +99,8 @@ | |||||
"root": "pages3", | "root": "pages3", | ||||
"name": "pages3", | "name": "pages3", | ||||
"pages": [ | "pages": [ | ||||
"setUserInfo/index" | |||||
"setUserInfo/index", | |||||
"userProtocol/userProtocol" | |||||
] | ] | ||||
} | } | ||||
], | ], | ||||
@@ -253,8 +253,17 @@ Page({ | |||||
}, | }, | ||||
gotomange: function () { | gotomange: function () { | ||||
wx.navigateTo({ | |||||
url: '/pages/managelicenseplate/managelicenseplate', | |||||
Http.get({ | |||||
url: config.api.checkPhoneStatus, | |||||
data: {} | |||||
}).then(res => { | |||||
wx.navigateTo({ | |||||
url: '/pages/managelicenseplate/managelicenseplate', | |||||
}) | |||||
}).catch(err => { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=passCar`, | |||||
}) | |||||
}) | }) | ||||
}, | }, | ||||
bindfail: function (res) { | bindfail: function (res) { | ||||
@@ -283,14 +292,32 @@ Page({ | |||||
} | } | ||||
}, | }, | ||||
showquan: function () { | showquan: function () { | ||||
wx.navigateTo({ | |||||
url: '/pages/passCar/couponList/couponList', | |||||
Http.get({ | |||||
url: config.api.checkPhoneStatus, | |||||
data: {} | |||||
}).then(res => { | |||||
wx.navigateTo({ | |||||
url: '/pages/passCar/couponList/couponList', | |||||
}) | |||||
}).catch(err => { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=passCar`, | |||||
}) | |||||
}) | }) | ||||
}, | }, | ||||
showList: function () { | showList: function () { | ||||
wx.navigateTo({ | |||||
url: '/pages/passCar/showList/showList', | |||||
Http.get({ | |||||
url: config.api.checkPhoneStatus, | |||||
data: {} | |||||
}).then(res => { | |||||
wx.navigateTo({ | |||||
url: '/pages/passCar/showList/showList', | |||||
}) | |||||
}).catch(err => { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=passCar`, | |||||
}) | |||||
}) | }) | ||||
}, | }, | ||||
@@ -366,7 +393,15 @@ Page({ | |||||
this.getTicketList(0, 1); | this.getTicketList(0, 1); | ||||
}).catch(err => { | }).catch(err => { | ||||
that.init(); | |||||
that.setData({ | |||||
etcpAppId: extConfig.attr.car.etcp.etcpAppId, | |||||
carMiniVersion: extConfig.attr.car.version, | |||||
etcpCallbackUrl: extConfig.attr.car.etcp.etcpCallbackUrl, | |||||
payPath: extConfig.attr.car.etcp.payPath, | |||||
ifHaveCarModular: extConfig.attr.ifHaveCarModular | |||||
}) | |||||
that.initPark(); | |||||
that.getParkStatus(); | |||||
}) | }) | ||||
}, | }, | ||||
@@ -123,7 +123,7 @@ page { | |||||
width: 680rpx; | width: 680rpx; | ||||
margin: 0 auto; | margin: 0 auto; | ||||
font-size: 36rpx; | font-size: 36rpx; | ||||
border: 2rpx dashed #fd832d; | |||||
border: 2rpx dashed #209cff; | |||||
border-radius: 16rpx; | border-radius: 16rpx; | ||||
padding-bottom: 40rpx; | padding-bottom: 40rpx; | ||||
height: 202rpx; | height: 202rpx; | ||||
@@ -22,9 +22,9 @@ Page({ | |||||
ifStoreApp: ifStoreApp, | ifStoreApp: ifStoreApp, | ||||
aboutUs: imgurl.aboutUs.url, | aboutUs: imgurl.aboutUs.url, | ||||
rqCode: imgurl.barcode.url, | rqCode: imgurl.barcode.url, | ||||
banneColor: bgColor.colorFirst.user.banneColor, | |||||
banneColor: bgColor.colorFirst.user2.banneColor, | |||||
levelBg: bgColor.colorFirst.user.levelBg, | levelBg: bgColor.colorFirst.user.levelBg, | ||||
view: bgColor.colorFirst.user.view, | |||||
view: bgColor.colorFirst.user2.view, | |||||
fenxiang: imgurl.fenxiang1.url, | fenxiang: imgurl.fenxiang1.url, | ||||
redirectUrl: imgurl.redirect.url, | redirectUrl: imgurl.redirect.url, | ||||
editUrl: imgurl.edit.url, | editUrl: imgurl.edit.url, | ||||
@@ -62,6 +62,7 @@ Page({ | |||||
placeholder: '', | placeholder: '', | ||||
userAvatarUrl: "", | userAvatarUrl: "", | ||||
userName: "", | userName: "", | ||||
ifSetUserInfo: false | |||||
}, | }, | ||||
suerService() { | suerService() { | ||||
console.log("打开客服") | console.log("打开客服") | ||||
@@ -105,14 +106,53 @@ Page({ | |||||
url: config.api.checkPhoneStatus, | url: config.api.checkPhoneStatus, | ||||
data: {} | data: {} | ||||
}).then(res => { | }).then(res => { | ||||
console.log(res, 'res'); | |||||
that.setData({ | |||||
ifSetUserInfo: true | |||||
}) | |||||
// 手机号未授权 | |||||
const ifSetUserInfo = wx.getStorageSync('ifSetUserInfo') | |||||
if (ifSetUserInfo == 1) { | |||||
if (!that.data.ifSetUserInfo) return | |||||
wx.showModal({ | |||||
title: '完善个人信息', | |||||
content: '请继续完成个人信息哦', | |||||
showCancel: true, | |||||
cancelText: "以后再说", | |||||
cancelColor: '', | |||||
confirmText: "去完善", | |||||
confirmColor: '#FD832D', | |||||
complete: (res) => { | |||||
if (res.cancel) { | |||||
console.log('cancel'); | |||||
} | |||||
if (res.confirm) { | |||||
wx.navigateTo({ | |||||
url: '/pages3/setUserInfo/index', | |||||
}) | |||||
} | |||||
// 已完成手机号授权 | |||||
wx.setStorageSync('ifSetUserInfo', 2) | |||||
} | |||||
}) | |||||
} | |||||
return | return | ||||
}).catch(err => { | }).catch(err => { | ||||
wx.setStorageSync('ifSetUserInfo', 1) //手机号未授权 | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
console.log(err, 'err'); | |||||
that.setData({ | |||||
ifSetUserInfo: false | |||||
}) | }) | ||||
const ifSetUserInfo = wx.getStorageSync('ifSetUserInfo') | |||||
if (ifSetUserInfo != 2) { | |||||
wx.setStorageSync('ifSetUserInfo', 1) //手机号未授权 | |||||
} | |||||
// wx.navigateTo({ | |||||
// url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
// }) | |||||
}) | }) | ||||
}, | }, | ||||
/* 判断是否授权*/ | /* 判断是否授权*/ | ||||
userAuthorization() { | userAuthorization() { | ||||
Http.get({ | Http.get({ | ||||
@@ -136,17 +176,208 @@ Page({ | |||||
* 跳转到成长值的页面 | * 跳转到成长值的页面 | ||||
*/ | */ | ||||
gotograde: function () { | gotograde: function () { | ||||
wx.navigateTo({ | |||||
url: '/pages/czdetail/czdetail', | |||||
}) | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/czdetail/czdetail', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | }, | ||||
gotointegralmall: function () { | gotointegralmall: function () { | ||||
wx.navigateTo({ | |||||
url: '/pages/integralmall/integraHistory/index', | |||||
}) | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/integralmall/integraHistory/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToOrder() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/order/index/index?id=all', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToCouponorder() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/couponorder/index/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToCardorder() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/cardorder/index/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToIntegralmall() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/integralmall/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToBargain() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/bargain/bargain?from=myhtml', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToSpellGroup() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/spellGroup/spellGroup?from=myhtml', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | }, | ||||
goToMyactivity() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/user/myactivity/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToSetUserInfo() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages3/setUserInfo/index', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToSpecialcourtesy() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/specialcourtesy/specialcourtesy', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToExchangeCard() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/exchangeCard/exchangeCard', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToQuestionnaire() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/questionnaire/questionnaireLsit/questionnaireLsit', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToComplaint() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/complaint/complaint', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToQuestionnaire() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/questionnaire/questionnaireLsit/questionnaireLsit', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
goToBusinessSwitch() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: this.data.goUrl, | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
share() { | |||||
if (this.data.ifSetUserInfo) { | |||||
wx.navigateTo({ | |||||
url: '/pages/shareFriend/shareFriend', | |||||
}) | |||||
} else { | |||||
wx.navigateTo({ | |||||
url: `/pages/getphoneInfo/index?mineFlag=mine`, | |||||
}) | |||||
} | |||||
}, | |||||
/** | /** | ||||
* 跳转到商场信息的页面 | * 跳转到商场信息的页面 | ||||
*/ | */ | ||||
@@ -247,30 +478,8 @@ Page({ | |||||
* 生命周期函数--监听页面显示 | * 生命周期函数--监听页面显示 | ||||
*/ | */ | ||||
onShow: function () { | onShow: function () { | ||||
const ifSetUserInfo = wx.getStorageSync('ifSetUserInfo') || 2 | |||||
// 手机号未授权 | |||||
if (ifSetUserInfo == 1) { | |||||
wx.showModal({ | |||||
title: '完善个人信息', | |||||
content: '请继续完成个人信息哦', | |||||
showCancel: true, | |||||
cancelText: "以后再说", | |||||
cancelColor: '', | |||||
confirmText: "去完善", | |||||
confirmColor: '#FD832D', | |||||
complete: (res) => { | |||||
if (res.cancel) { | |||||
console.log('cancel'); | |||||
} | |||||
if (res.confirm) { | |||||
wx.setStorageSync('ifSetUserInfo', 2) // 已完成手机号授权 | |||||
wx.navigateTo({ | |||||
url: '/pages3/setUserInfo/index', | |||||
}) | |||||
} | |||||
} | |||||
}) | |||||
} | |||||
this.ifPhoneInfo() | |||||
if (businessSwitch) { | if (businessSwitch) { | ||||
let openId = wx.getStorageSync("openId") | let openId = wx.getStorageSync("openId") | ||||
this.setData({ | this.setData({ | ||||
@@ -1,8 +1,8 @@ | |||||
{ | { | ||||
"usingComponents": { | |||||
"i-button": "../dist/button/index", | |||||
"navbar": "../components/navbar/navbar" | |||||
}, | |||||
"navigationBarBackgroundColor": "#FD832D", | |||||
"navigationBarTextStyle": "white" | |||||
} | |||||
"usingComponents": { | |||||
"i-button": "../dist/button/index", | |||||
"navbar": "../components/navbar/navbar" | |||||
}, | |||||
"navigationBarBackgroundColor": "#FD832D", | |||||
"navigationBarTextStyle": "white" | |||||
} |
@@ -1,4 +1,4 @@ | |||||
<navbar text="我的" background='#FD832D' color="white"></navbar> | |||||
<navbar text="我的" background='#26558b' color="white"></navbar> | |||||
<view style="height:{{navigationBarHeight}} "></view> | <view style="height:{{navigationBarHeight}} "></view> | ||||
<view class="user"> | <view class="user"> | ||||
<view bindlongtap='showVersion' class='version'> | <view bindlongtap='showVersion' class='version'> | ||||
@@ -13,12 +13,28 @@ | |||||
</view> | </view> | ||||
<view class="top-content" wx:if="{{ifStoreApp!=1}}"> | <view class="top-content" wx:if="{{ifStoreApp!=1}}"> | ||||
<view class='user_title'> | <view class='user_title'> | ||||
<view class="user-avatar" bindtap='gotoedit'> | |||||
<view wx:if="{{!ifSetUserInfo}}" class="user-avatar" bindtap='gotoPhoneInfo'> | |||||
<!-- <open-data class="open" type="userAvatarUrl"></open-data> --> | <!-- <open-data class="open" type="userAvatarUrl"></open-data> --> | ||||
<image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image> | <image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image> | ||||
<image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image> | <image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image> | ||||
</view> | </view> | ||||
<view class="user-name" bindtap='gotoedit'> | |||||
<view wx:if="{{ifSetUserInfo}}" class="user-avatar" bindtap='gotoedit'> | |||||
<!-- <open-data class="open" type="userAvatarUrl"></open-data> --> | |||||
<image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image> | |||||
<image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image> | |||||
</view> | |||||
<view wx:if="{{!ifSetUserInfo}}" class="user-name" bindtap='gotoPhoneInfo'> | |||||
<!-- <open-data class="name" type="userNickName"></open-data> --> | |||||
<p class="name">登录/注册</p> | |||||
<!-- 会员等级 --> | |||||
<!-- <view class=' usre_level'style='background:{{levelBg}}'> | |||||
<text class='chengzhang '>{{levelName}}</text> | |||||
</view> --> | |||||
</view> | |||||
<view wx:if="{{ifSetUserInfo}}" class="user-name" bindtap='gotoedit'> | |||||
<!-- <open-data class="name" type="userNickName"></open-data> --> | <!-- <open-data class="name" type="userNickName"></open-data> --> | ||||
<p class="name">{{userName}}</p> | <p class="name">{{userName}}</p> | ||||
<!-- 会员等级 --> | <!-- 会员等级 --> | ||||
@@ -26,29 +42,33 @@ | |||||
<text class='chengzhang '>{{levelName}}</text> | <text class='chengzhang '>{{levelName}}</text> | ||||
</view> --> | </view> --> | ||||
</view> | </view> | ||||
<!-- --> | <!-- --> | ||||
<view class="user_phone" wx:if="{{curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'> | <view class="user_phone" wx:if="{{curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'> | ||||
<!-- <text class="my">我的手机号:</text> --> | <!-- <text class="my">我的手机号:</text> --> | ||||
<text class="chengzhang_h" style="color:#fff">{{curPhone}}</text> | <text class="chengzhang_h" style="color:#fff">{{curPhone}}</text> | ||||
<text class="view" style='color:#993300'>[微信授权手机号]</text> | |||||
<text class="view">[微信授权手机号]</text> | |||||
</view> | </view> | ||||
<view class="user_phone" wx:if="{{!curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'> | <view class="user_phone" wx:if="{{!curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'> | ||||
<text class="view" style='color:#993300'>获取微信授权手机号</text> | |||||
<text class="view">[微信一键登录]</text> | |||||
</view> | </view> | ||||
<!-- --> | <!-- --> | ||||
<view class="marketTitleBox"> | <view class="marketTitleBox"> | ||||
<view class="marketName">{{memberName}}</view> | <view class="marketName">{{memberName}}</view> | ||||
<view class="levelName">{{levelName}}</view> | <view class="levelName">{{levelName}}</view> | ||||
<navigator url="/pages/shareFriend/shareFriend" open-type="navigate"> | |||||
<view bindtap="share"> | |||||
<view class="share">分享好友</view> | <view class="share">分享好友</view> | ||||
</navigator> | |||||
</view> | |||||
</view> | </view> | ||||
<view class="user_growth_box"> | <view class="user_growth_box"> | ||||
<navigator url="/pages/specialcourtesy/specialcourtesy"> | |||||
<navigator wx:if="{{ifSetUserInfo}}" url="/pages/specialcourtesy/specialcourtesy"> | |||||
<image src="{{rqCode}}" class="RQcode"></image> | <image src="{{rqCode}}" class="RQcode"></image> | ||||
</navigator> | </navigator> | ||||
<view wx:if="{{!ifSetUserInfo}}"> | |||||
<image src="{{rqCode}}" class="RQcode"></image> | |||||
</view> | |||||
<view class="memberBox"> | <view class="memberBox"> | ||||
<view class="memberCode">会员码:{{userId}}</view> | |||||
<view class="memberCode">会员码:{{ifSetUserInfo ? userId : '加入会员查看会员码,享受更多折扣优惠'}}</view> | |||||
<view class="user-phone" bindtap='gotograde'> | <view class="user-phone" bindtap='gotograde'> | ||||
<text class="my">我的成长值:{{score}}</text> | <text class="my">我的成长值:{{score}}</text> | ||||
<!-- <text class="chengzhang_h"></text> --> | <!-- <text class="chengzhang_h"></text> --> | ||||
@@ -56,6 +76,7 @@ | |||||
<!-- <text class="my">更多成长值</text> --> | <!-- <text class="my">更多成长值</text> --> | ||||
<text class="view" style='color:{{view}}'>更多成长值</text> | <text class="view" style='color:{{view}}'>更多成长值</text> | ||||
</view> | </view> | ||||
<view bindtap='gotointegralmall'> | <view bindtap='gotointegralmall'> | ||||
<text class="integral">我的积分:{{credit}}</text> | <text class="integral">我的积分:{{credit}}</text> | ||||
<text class="my my_line">|</text> | <text class="my my_line">|</text> | ||||
@@ -68,25 +89,24 @@ | |||||
</view> | </view> | ||||
<view class="user-btns"> | <view class="user-btns"> | ||||
<!-- 我的订单 --> | <!-- 我的订单 --> | ||||
<navigator url="/pages/order/index/index?id=all"> | |||||
<view class="link" bindtap="goToOrder"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单 | <image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单 | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<!-- 我的券包 --> | <!-- 我的券包 --> | ||||
<navigator url="/pages/couponorder/index/index"> | |||||
<view class="link" bindtap="goToCouponorder"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包 | <image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包 | ||||
</view> | </view> | ||||
<view> | <view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator url="/pages/cardorder/index/index"> | |||||
</view> | |||||
<view class="link" bindtap="goToCardorder"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包 | <image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包 | ||||
@@ -94,48 +114,53 @@ | |||||
<view> | <view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<!-- 积分商城 --> | <!-- 积分商城 --> | ||||
<navigator url="/pages/integralmall/index"> | |||||
<view class="link" bindtap="goToIntegralmall"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城 | <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城 | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='btns_bg'> | <view class='btns_bg'> | ||||
<navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate"> | |||||
<view bindtap="goToBargain"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">我的砍价</view> | <view class="particulars_name">我的砍价</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate"> | |||||
</view> | |||||
<view bindtap="goToSpellGroup"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">我的拼团</view> | <view class="particulars_name">我的拼团</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator url="/pages/user/myactivity/index" open-type="navigate"> | |||||
</view> | |||||
<view bindtap="goToMyactivity"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">我的活动</view> | <view class="particulars_name">我的活动</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator url="/pages3/setUserInfo/index" open-type="navigate"> | |||||
</view> | |||||
<view bindtap="goToSetUserInfo"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">完善个人信息</view> | <view class="particulars_name">完善个人信息</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator url="/pages/specialcourtesy/specialcourtesy"> | |||||
</view> | |||||
<view bindtap="goToSpecialcourtesy"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">特享礼遇</view> | <view class="particulars_name">特享礼遇</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<!-- <navigator url="/pages/exchange/exchange" open-type="navigate"> | <!-- <navigator url="/pages/exchange/exchange" open-type="navigate"> | ||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
@@ -144,43 +169,46 @@ | |||||
</view> | </view> | ||||
</navigator> --> | </navigator> --> | ||||
<navigator url="/pages/exchangeCard/exchangeCard" open-type="navigate"> | |||||
<view bindtap="goToExchangeCard"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">绑定消费卡</view> | <view class="particulars_name">绑定消费卡</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<navigator url="/pages/questionnaire/questionnaireLsit/questionnaireLsit" open-type="navigate"> | |||||
<view bindtap="goToQuestionnaire"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">问券调查</view> | <view class="particulars_name">问券调查</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<!-- <view bindtap="suerService"> | <!-- <view bindtap="suerService"> | ||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">联系客服</view> | <view class="particulars_name">联系客服</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</view> --> | </view> --> | ||||
<navigator url="/pages/complaint/complaint" open-type="navigate"> | |||||
<view bindtap="goToComplaint"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">投诉建议</view> | <view class="particulars_name">投诉建议</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
<navigator wx:if="{{businessSwitch}}" url="{{goUrl}}"> | |||||
</view> | |||||
<view wx:if="{{businessSwitch}}" bindtap="goToBusinessSwitch"> | |||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">自助积分</view> | <view class="particulars_name">自助积分</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | |||||
</view> | |||||
<navigator url="/pages/mallInfo/mallInfo" open-type="navigate"> | <navigator url="/pages/mallInfo/mallInfo" open-type="navigate"> | ||||
<view class="particulars_list"> | <view class="particulars_list"> | ||||
<view class="particulars_name">关于我们</view> | <view class="particulars_name">关于我们</view> | ||||
<view class="particulars_go">></view> | <view class="particulars_go">></view> | ||||
</view> | </view> | ||||
</navigator> | </navigator> | ||||
</view> | </view> | ||||
<!-- <view class='btns_bg' wx:if="{{ifStoreApp!=1}}"> | <!-- <view class='btns_bg' wx:if="{{ifStoreApp!=1}}"> | ||||
<view class="user-btns"> --> | <view class="user-btns"> --> | ||||
@@ -1,15 +1,17 @@ | |||||
page{ | |||||
page { | |||||
overflow-y: scroll !important; | overflow-y: scroll !important; | ||||
/* height: none; */ | /* height: none; */ | ||||
background: #f6f6f6; | background: #f6f6f6; | ||||
} | } | ||||
.icons { | .icons { | ||||
display: block; | display: block; | ||||
width: 50rpx; | width: 50rpx; | ||||
margin: 0 auto 10rpx; | margin: 0 auto 10rpx; | ||||
} | } | ||||
.particulars_list{ | |||||
.particulars_list { | |||||
overflow: hidden; | overflow: hidden; | ||||
border-bottom: 1rpx #f6f6f6 solid; | border-bottom: 1rpx #f6f6f6 solid; | ||||
width: 90%; | width: 90%; | ||||
@@ -19,10 +21,12 @@ page{ | |||||
color: #888; | color: #888; | ||||
font-family: PingFangSC-Regular; | font-family: PingFangSC-Regular; | ||||
} | } | ||||
.particulars_name{ | |||||
.particulars_name { | |||||
float: left | float: left | ||||
} | } | ||||
.particulars_go{ | |||||
.particulars_go { | |||||
color: rgba(0, 0, 0, 0.1); | color: rgba(0, 0, 0, 0.1); | ||||
float: right; | float: right; | ||||
} | } | ||||
@@ -50,11 +54,12 @@ page{ | |||||
width: 100%; | width: 100%; | ||||
height: 100%; | height: 100%; | ||||
} | } | ||||
.user-name{ | |||||
.user-name { | |||||
font-family: PingFangSC-Medium; | font-family: PingFangSC-Medium; | ||||
height: 42rpx; | height: 42rpx; | ||||
margin-top: 66rpx; | margin-top: 66rpx; | ||||
line-height: 44rpx; | line-height: 44rpx; | ||||
font-size: 32rpx; | font-size: 32rpx; | ||||
color: #FFFFFF; | color: #FFFFFF; | ||||
@@ -69,10 +74,11 @@ page{ | |||||
left: 200rpx; | left: 200rpx; | ||||
} | } | ||||
.user_phone{ | |||||
.user_phone { | |||||
font-family: PingFangSC-Medium; | font-family: PingFangSC-Medium; | ||||
height: 42rpx; | height: 42rpx; | ||||
line-height: 44rpx; | line-height: 44rpx; | ||||
font-size: 32rpx; | font-size: 32rpx; | ||||
color: #FFFFFF; | color: #FFFFFF; | ||||
@@ -85,34 +91,40 @@ page{ | |||||
top: -96rpx; | top: -96rpx; | ||||
left: 200rpx; | left: 200rpx; | ||||
} | } | ||||
.user_growth_box{ | |||||
.user_growth_box { | |||||
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
.RQcode{ | |||||
.RQcode { | |||||
width: 80rpx; | width: 80rpx; | ||||
height: 80rpx; | height: 80rpx; | ||||
margin: 20rpx 10rpx 0 40rpx; | margin: 20rpx 10rpx 0 40rpx; | ||||
float: left; | float: left; | ||||
} | } | ||||
.memberLogo{ | |||||
.memberLogo { | |||||
max-width: 150rpx; | max-width: 150rpx; | ||||
height: 80rpx; | height: 80rpx; | ||||
margin: 20rpx 10rpx 0 30rpx; | margin: 20rpx 10rpx 0 30rpx; | ||||
float: left; | float: left; | ||||
} | } | ||||
.memberBox{ | |||||
.memberBox { | |||||
float: left; | float: left; | ||||
margin-left: 20rpx; | margin-left: 20rpx; | ||||
margin-top: 10rpx; | margin-top: 10rpx; | ||||
margin-bottom: 10rpx; | margin-bottom: 10rpx; | ||||
} | } | ||||
.memberCode{ | |||||
.memberCode { | |||||
font-size: 24rpx; | font-size: 24rpx; | ||||
font-family: PingFangSC-Regular; | font-family: PingFangSC-Regular; | ||||
font-weight: 400; | font-weight: 400; | ||||
color: #888; | color: #888; | ||||
line-height: 34rpx; | line-height: 34rpx; | ||||
} | } | ||||
.user-phone { | .user-phone { | ||||
font-family: PingFangSC-Regular; | font-family: PingFangSC-Regular; | ||||
line-height: 44rpx; | line-height: 44rpx; | ||||
@@ -126,39 +138,43 @@ page{ | |||||
height: 119rpx; | height: 119rpx; | ||||
border-radius: 50%; | border-radius: 50%; | ||||
overflow: hidden; | overflow: hidden; | ||||
top:-133rpx; | |||||
top: -133rpx; | |||||
left: -500rpx; | left: -500rpx; | ||||
right: 0; | right: 0; | ||||
margin: auto; | margin: auto; | ||||
} | } | ||||
.marketTitleBox{ | |||||
.marketTitleBox { | |||||
border-radius: 16rpx 16rpx 0 0; | border-radius: 16rpx 16rpx 0 0; | ||||
background-color: #ff9933; | |||||
background-color: #007cc1; | |||||
overflow: hidden; | overflow: hidden; | ||||
height: 172rpx; | height: 172rpx; | ||||
position: relative ; | |||||
position: relative; | |||||
} | } | ||||
.share{ | |||||
.share { | |||||
position: absolute; | position: absolute; | ||||
bottom: 20rpx; | bottom: 20rpx; | ||||
right: 0; | right: 0; | ||||
font-size: 26rpx; | font-size: 26rpx; | ||||
border-radius:10rpx 0 0 10rpx; | |||||
border-radius: 10rpx 0 0 10rpx; | |||||
background-color: #f6f6f6; | background-color: #f6f6f6; | ||||
color:#993300; | |||||
color: #993300; | |||||
padding: 5rpx 10rpx; | padding: 5rpx 10rpx; | ||||
} | } | ||||
.marketName{ | |||||
.marketName { | |||||
margin: 30rpx 40rpx; | margin: 30rpx 40rpx; | ||||
font-weight: 600; | font-weight: 600; | ||||
width: 80%; | width: 80%; | ||||
font-size: 32rpx; | font-size: 32rpx; | ||||
color: #fff; | color: #fff; | ||||
} | } | ||||
.levelName{ | |||||
.levelName { | |||||
font-size: 34rpx; | font-size: 34rpx; | ||||
font-weight: 600; | font-weight: 600; | ||||
margin: 0 40rpx 20rpx 40rpx ; | |||||
margin: 0 40rpx 20rpx 40rpx; | |||||
width: 80%; | width: 80%; | ||||
color: #fff; | color: #fff; | ||||
} | } | ||||
@@ -194,33 +210,38 @@ page{ | |||||
width: 120rpx; | width: 120rpx; | ||||
height: 120rpx; | height: 120rpx; | ||||
} | } | ||||
.user-btns{ | |||||
.user-btns { | |||||
display: flex; | display: flex; | ||||
text-align: center; | text-align: center; | ||||
flex-wrap: wrap; | flex-wrap: wrap; | ||||
width: 94%; | width: 94%; | ||||
background: #fff; | background: #fff; | ||||
border-radius: 16rpx; | border-radius: 16rpx; | ||||
margin: 30rpx auto ; | |||||
margin: 30rpx auto; | |||||
/* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | /* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | ||||
} | } | ||||
.user-btns navigator{ | |||||
width: 25%; | |||||
height: 160rpx; | |||||
} | |||||
.user-btns:nth-of-type(3){ | |||||
.user-btns .link { | |||||
width: 25%; | |||||
height: 160rpx; | |||||
} | |||||
.user-btns:nth-of-type(3) { | |||||
margin-bottom: 0; | margin-bottom: 0; | ||||
} | } | ||||
.user-btns .user-btn { | .user-btns .user-btn { | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
letter-spacing: 1.16rpx; | letter-spacing: 1.16rpx; | ||||
} | } | ||||
.top-content{ | |||||
.top-content { | |||||
width: 100%; | width: 100%; | ||||
height: auto; | height: auto; | ||||
} | } | ||||
.user_title{ | |||||
.user_title { | |||||
position: relative; | position: relative; | ||||
width: 94%; | width: 94%; | ||||
background: #fff; | background: #fff; | ||||
@@ -228,7 +249,8 @@ page{ | |||||
margin: -100rpx auto 0; | margin: -100rpx auto 0; | ||||
/* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | /* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | ||||
} | } | ||||
.btns_bg{ | |||||
.btns_bg { | |||||
width: 94%; | width: 94%; | ||||
background: #fff; | background: #fff; | ||||
border-radius: 16rpx; | border-radius: 16rpx; | ||||
@@ -236,8 +258,9 @@ page{ | |||||
padding: 20rpx 0; | padding: 20rpx 0; | ||||
/* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | /* box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); */ | ||||
} | } | ||||
.user-btns .user-btn > view { | |||||
padding: 30rpx 10px ; | |||||
.user-btns .user-btn>view { | |||||
padding: 30rpx 10px; | |||||
font-size: 28rpx; | font-size: 28rpx; | ||||
color: #888; | color: #888; | ||||
letter-spacing: 1.16rpx; | letter-spacing: 1.16rpx; | ||||
@@ -262,13 +285,14 @@ page{ | |||||
padding-right: 25rpx; | padding-right: 25rpx; | ||||
} | } | ||||
.user{ | |||||
.user { | |||||
position: relative; | position: relative; | ||||
} | } | ||||
.user .version{ | |||||
.user .version { | |||||
position: absolute; | position: absolute; | ||||
top: 140rpx; | top: 140rpx; | ||||
left:30rpx; | |||||
left: 30rpx; | |||||
width: 307rpx; | width: 307rpx; | ||||
height: 50rpx; | height: 50rpx; | ||||
text-align: center; | text-align: center; | ||||
@@ -276,6 +300,7 @@ page{ | |||||
color: #999; | color: #999; | ||||
z-index: 100; | z-index: 100; | ||||
} | } | ||||
.user-out-btn { | .user-out-btn { | ||||
background-color: #fff; | background-color: #fff; | ||||
height: 100rpx; | height: 100rpx; | ||||
@@ -295,9 +320,11 @@ page{ | |||||
.user-out-btn::after { | .user-out-btn::after { | ||||
opacity: 0; | opacity: 0; | ||||
} | } | ||||
.gzh button::after { | .gzh button::after { | ||||
border: none!important; | |||||
border: none !important; | |||||
} | } | ||||
.gzh { | .gzh { | ||||
width: 100%; | width: 100%; | ||||
height: 170rpx; | height: 170rpx; | ||||
@@ -321,7 +348,8 @@ page{ | |||||
overflow: hidden; | overflow: hidden; | ||||
box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15); | box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15); | ||||
} | } | ||||
.of1{ | |||||
.of1 { | |||||
width: 90%; | width: 90%; | ||||
margin: auto; | margin: auto; | ||||
height: 160rpx; | height: 160rpx; | ||||
@@ -331,10 +359,12 @@ page{ | |||||
box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15); | box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15); | ||||
display: flex; | display: flex; | ||||
} | } | ||||
.of1 .img{ | |||||
width:100rpx; | |||||
.of1 .img { | |||||
width: 100rpx; | |||||
height: 100rpx; | height: 100rpx; | ||||
} | } | ||||
.activeimg { | .activeimg { | ||||
width: 200rpx !important; | width: 200rpx !important; | ||||
position: absolute; | position: absolute; | ||||
@@ -347,9 +377,11 @@ page{ | |||||
width: 26rpx; | width: 26rpx; | ||||
vertical-align: middle; | vertical-align: middle; | ||||
} | } | ||||
.qrcode{ | |||||
.qrcode { | |||||
display: none; | display: none; | ||||
} | } | ||||
.qrcode image { | .qrcode image { | ||||
width: 70rpx; | width: 70rpx; | ||||
margin-right: 20rpx; | margin-right: 20rpx; | ||||
@@ -461,61 +493,71 @@ page{ | |||||
right: 0; | right: 0; | ||||
margin: auto; | margin: auto; | ||||
background: #fff; | background: #fff; | ||||
border-radius: 16rpx; | |||||
border-radius: 16rpx; | |||||
} | } | ||||
.showQrcode text{ | |||||
.showQrcode text { | |||||
display: block; | display: block; | ||||
text-align: center; | text-align: center; | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
} | } | ||||
/* .membercode { | /* .membercode { | ||||
margin-top: 20rpx; | margin-top: 20rpx; | ||||
} */ | } */ | ||||
.integral{ | |||||
font-size:24rpx; | |||||
font-family:PingFangSC-Regular; | |||||
font-weight:400; | |||||
color:rgba(166,166,166,1); | |||||
line-height:34rpx | |||||
} | |||||
.top{ | |||||
.integral { | |||||
font-size: 24rpx; | |||||
font-family: PingFangSC-Regular; | |||||
font-weight: 400; | |||||
color: rgba(166, 166, 166, 1); | |||||
line-height: 34rpx | |||||
} | |||||
.top { | |||||
width: 100%; | width: 100%; | ||||
height: 234rpx; | height: 234rpx; | ||||
position: relative; | position: relative; | ||||
} | } | ||||
.usre_level{ | |||||
height:32rpx; | |||||
border-radius:9px 9px 9px 0px; | |||||
font-family:PingFangSC-Regular; | |||||
font-weight:400; | |||||
color:rgba(255,255,255,1); | |||||
line-height:32rpx; | |||||
.usre_level { | |||||
height: 32rpx; | |||||
border-radius: 9px 9px 9px 0px; | |||||
font-family: PingFangSC-Regular; | |||||
font-weight: 400; | |||||
color: rgba(255, 255, 255, 1); | |||||
line-height: 32rpx; | |||||
float: left; | float: left; | ||||
margin-top: 8rpx; | margin-top: 8rpx; | ||||
} | } | ||||
.my{ | |||||
font-size:24rpx; | |||||
font-family:PingFangSC-Regular; | |||||
font-weight:400; | |||||
color:rgba(166,166,166,1); | |||||
line-height:34rpx; | |||||
.my { | |||||
font-size: 24rpx; | |||||
font-family: PingFangSC-Regular; | |||||
font-weight: 400; | |||||
color: rgba(166, 166, 166, 1); | |||||
line-height: 34rpx; | |||||
} | } | ||||
.chengzhang_h{ | |||||
.chengzhang_h { | |||||
/* color: #fff; */ | /* color: #fff; */ | ||||
font-size:28rpx; | |||||
font-size: 28rpx; | |||||
margin-right: 10rpx; | margin-right: 10rpx; | ||||
/* font-weight: 600; */ | /* font-weight: 600; */ | ||||
} | } | ||||
.my_line{ | |||||
.my_line { | |||||
margin: 0 10rpx; | margin: 0 10rpx; | ||||
} | } | ||||
.usre_level{ | |||||
font-size:20rpx; | |||||
.usre_level { | |||||
font-size: 20rpx; | |||||
} | } | ||||
.name{ | |||||
.name { | |||||
float: left; | float: left; | ||||
} | } | ||||
.aboutUs{ | |||||
.aboutUs { | |||||
border-radius: 12rpx; | border-radius: 12rpx; | ||||
background: #fff; | background: #fff; | ||||
position: absolute; | position: absolute; | ||||
@@ -524,12 +566,14 @@ page{ | |||||
display: flex; | display: flex; | ||||
padding: 10rpx 20rpx; | padding: 10rpx 20rpx; | ||||
} | } | ||||
.aboutUs .aboutIcons { | .aboutUs .aboutIcons { | ||||
display: block; | display: block; | ||||
width: 50rpx; | width: 50rpx; | ||||
height: 40rpx; | height: 40rpx; | ||||
line-height: 40rpx; | line-height: 40rpx; | ||||
} | } | ||||
.aboutUs text { | .aboutUs text { | ||||
margin-left: 10rpx; | margin-left: 10rpx; | ||||
line-height: 55rpx; | line-height: 55rpx; | ||||
@@ -289,4 +289,10 @@ Page({ | |||||
}); | }); | ||||
}) | }) | ||||
}, | }, | ||||
goCheckProtocol() { | |||||
wx.navigateTo({ | |||||
url: '/pages3/userProtocol/userProtocol', | |||||
}) | |||||
} | |||||
}); | }); |
@@ -1,15 +1,17 @@ | |||||
<navbar home text="微信授权手机号" ></navbar> | |||||
<navbar back home text="微信授权手机号"></navbar> | |||||
<view class="login-body"> | <view class="login-body"> | ||||
<view class="login-logo"> | <view class="login-logo"> | ||||
<image src="{{mallImgUrl}}" mode="widthFix"></image> | <image src="{{mallImgUrl}}" mode="widthFix"></image> | ||||
</view> | </view> | ||||
<view class="title"> | <view class="title"> | ||||
<text>Hi , 请登录~</text> | <text>Hi , 请登录~</text> | ||||
<text>授权后,可以更好的体验我们哦~</text> | |||||
<text>登录后可以更好的体验我们哦~</text> | |||||
</view> | </view> | ||||
<view class="login-btn"> | <view class="login-btn"> | ||||
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">授权手机号</button> | |||||
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">微信手机号一键登录</button> | |||||
<view wx:else>请升级微信版本</view> | <view wx:else>请升级微信版本</view> | ||||
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button> | |||||
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button> | |||||
</view> | </view> | ||||
<view class="protocol" bindtap="goCheckProtocol">登录/注册即代表同意用户协议与隐私政策</view> | |||||
</view> | </view> |
@@ -1,5 +1,5 @@ | |||||
page { | page { | ||||
background: #fbfbfb; | |||||
background: #ffffff; | |||||
} | } | ||||
.login-body { | .login-body { | ||||
@@ -65,4 +65,11 @@ page { | |||||
.title text:nth-of-type(2) { | .title text:nth-of-type(2) { | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
margin-top: 25rpx; | margin-top: 25rpx; | ||||
} | |||||
.protocol { | |||||
position: fixed; | |||||
bottom: 50rpx; | |||||
font-size: 25rpx; | |||||
color: #00c0ff; | |||||
} | } |
@@ -0,0 +1,66 @@ | |||||
// pages3/userProtocol/userProtocol.js | |||||
Page({ | |||||
/** | |||||
* 页面的初始数据 | |||||
*/ | |||||
data: { | |||||
}, | |||||
/** | |||||
* 生命周期函数--监听页面加载 | |||||
*/ | |||||
onLoad(options) { | |||||
}, | |||||
/** | |||||
* 生命周期函数--监听页面初次渲染完成 | |||||
*/ | |||||
onReady() { | |||||
}, | |||||
/** | |||||
* 生命周期函数--监听页面显示 | |||||
*/ | |||||
onShow() { | |||||
}, | |||||
/** | |||||
* 生命周期函数--监听页面隐藏 | |||||
*/ | |||||
onHide() { | |||||
}, | |||||
/** | |||||
* 生命周期函数--监听页面卸载 | |||||
*/ | |||||
onUnload() { | |||||
}, | |||||
/** | |||||
* 页面相关事件处理函数--监听用户下拉动作 | |||||
*/ | |||||
onPullDownRefresh() { | |||||
}, | |||||
/** | |||||
* 页面上拉触底事件的处理函数 | |||||
*/ | |||||
onReachBottom() { | |||||
}, | |||||
/** | |||||
* 用户点击右上角分享 | |||||
*/ | |||||
onShareAppMessage() { | |||||
} | |||||
}) |
@@ -0,0 +1,8 @@ | |||||
{ | |||||
"usingComponents": { | |||||
"navbar": "/components/navbar/navbar" | |||||
}, | |||||
"enablePullDownRefresh": true, | |||||
"navigationBarBackgroundColor": "#F4F5F9", | |||||
"pageOrientation": "auto" | |||||
} |
@@ -0,0 +1,115 @@ | |||||
<!--pages3/userProtocol/userProtocol.wxml--> | |||||
<navbar home back text="用户协议与隐私政策"></navbar> | |||||
<view class="content"> | |||||
<view class="title">网络用户协议</view> | |||||
<view class="paragraph"> | |||||
欢迎使用! | |||||
本小程序所有服务和产品均受以下条款和条件的约束。请仔细阅读本产品的用户协议(以下简称“协议”)并确保您完全理解并同意其中的条款和条件。如果您不同意本协议中的任何内容,您应立即停止使用本产品。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside"> 1. 服务</view> | |||||
本产品提供的服务仅供您个人使用。您不得将任何服务或产品用于商业目的。本产品有权随时更改或中断服务或产品的供应,并且不承担任何责任。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">2. 用户注册信息</view> | |||||
<view> | |||||
<view> | |||||
2.1 用户应该注册真实的个人信息,包括但不限于姓名、地址、联系电话、电子邮件地址等。用户应该及时更新这些信息。 | |||||
</view> | |||||
<view> | |||||
2.2 用户应该保护好自己的账户和密码,避免泄露。并承担您账户下的所有活动的责任。如果您发现未经授权使用您的账户或任何其他安全漏洞,您应立即通知我司。 | |||||
</view> | |||||
<view> | |||||
2.3 如有任何违反本协议的行为,本产品有权随时停止或终止用户的账户。 | |||||
</view> | |||||
</view> | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">3. 用户行为</view> | |||||
<view> | |||||
<view> | |||||
3.1 用户应该遵守法律法规和社会公德,不得在本产品发布任何违法内容。 | |||||
</view> | |||||
<view> | |||||
3.2 用户应该尊重其他用户的权利和利益,不得侵犯他人的知识产权等合法权益。 | |||||
</view> | |||||
<view> | |||||
3.3 用户应该保证自己发布的信息真实、准确、完整、不误导。 | |||||
</view> | |||||
<view> | |||||
3.4 用户不得利用本产品进行任何商业活动或广告宣传行为。 | |||||
</view> | |||||
<view> | |||||
3.5 您同意不会在本产品上从事任何非法、欺诈、骚扰、侵犯隐私、垃圾邮件或其他违法或侵权行为。如果本产品发现您从事这些行为,则有权立即终止您的账户或限制您的访问。 | |||||
</view> | |||||
</view> | |||||
</view> | |||||
<view class="item"> | |||||
<view> | |||||
<view class="titleInside">4. 知识产权</view> | |||||
</view> | |||||
<view> | |||||
4.1 本产品上所有内容(包括但不限于文字、图片、音频、视频等)均为本产品所有。包括但不限于商标、版权和专利。您不得复制、修改、分发或创建派生作品。您同意不会挑战我们的所有权或控制权。 | |||||
</view> | |||||
<view> | |||||
4.2 本产品允许用户发布或提交内容,包括但不限于文字、照片、视频、音频等。您保证对于您发布或提交的内容,您拥有必要的权利和许可,并且这些内容不会侵犯任何第三方的权利。我司有权删除或编辑用户提交的任何内容。 | |||||
</view> | |||||
<view> | |||||
4.3 本产品上的所有内容,包括但不限于文字、图片、音频、视频、图形、商标和标识等,均受版权、商标和其他知识产权法律的保护。未经本网站或相关权利人书面许可,您不得复制、传播、转载、修改、发布、展示或以其他方式使用这些内容。 | |||||
</view> | |||||
</view> | |||||
<!-- <view class="item"> | |||||
<view class="titleInside">5. 付费声明</view> | |||||
<view> | |||||
<view> | |||||
5.1 本产品拥有完全自主定价权,所有价格及相关免费、优惠政策,相关调整时间由我司自行决定,如果您继续使用本产品,则视为您接受修改后的价格政策。 | |||||
</view> | |||||
<view> | |||||
5.2 本产品由于开通即可服务,一经购买不能退款,如果您继续使用本产品,则视为您接受该政策。 | |||||
</view> | |||||
</view> | |||||
</view> --> | |||||
<view class="item"> | |||||
<view class="titleInside">5. 免责声明</view> | |||||
本产品不对任何信息的准确性、完整性、可靠性或适用性作任何明示或暗示的保证。本产品不对由于使用或无法使用本产品而导致的任何损失或损害承担任何责任。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">6. 法律适用</view> | |||||
本协议受中华人民共和国法律的管辖。任何因本协议产生的纠纷,应提交到有管辖权的法院解决。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">7. 协议变更</view> | |||||
本产品有权随时修改本协议的条款和条件。一旦本协议的任何条款和条件发生变化,您必须遵守修改后的协议。如果您继续使用本产品,则视为您接受修改后的协议。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">8. 终止</view> | |||||
本产品有权随时终止本协议,而无需事先通知您。如果您违反本协议中的任何条款和条件,本产品有权立即终止您的账户和访问权限。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">9. 其他</view> | |||||
本协议构成您与本产品之间的完整协议,取代了一切先前的协议和谈判。如果本协议中的任何条款或条件被认为无效或不可执行,则该条款或条件将被视为与本协议的其余部分分离,不影响其有效性和可执行性。本产品未行使或强制执行本协议中规定的任何权利或条款,并不构成对该权利或条款的豁免。 | |||||
</view> | |||||
<view class="item"> | |||||
<view class="titleInside">如果您对这些条款及条件有任何问题,请联系我们。</view> | |||||
</view> | |||||
</view> |
@@ -0,0 +1,25 @@ | |||||
/* pages3/userProtocol/userProtocol.wxss */ | |||||
.content { | |||||
padding: 30rpx; | |||||
padding-top: 200rpx; | |||||
color: #525252; | |||||
} | |||||
.content view { | |||||
margin-bottom: 30rpx; | |||||
} | |||||
.title { | |||||
font-weight: 600; | |||||
font-size: 35rpx; | |||||
text-align: center; | |||||
} | |||||
.paragraph { | |||||
text-indent: 40rpx; | |||||
} | |||||
.item .titleInside { | |||||
font-weight: 600; | |||||
} |
@@ -1,23 +1,30 @@ | |||||
module.exports = { | module.exports = { | ||||
colorFirst:{ | |||||
colorFirst: { | |||||
// 我的 | // 我的 | ||||
"user": { | "user": { | ||||
"banneColor": "linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%)", | "banneColor": "linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%)", | ||||
"levelBg":"linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"view":"#FD832D", | |||||
"backColor":"#cc6633" | |||||
"levelBg": "linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"view": "#FD832D", | |||||
"backColor": "#cc6633" | |||||
}, | |||||
"user2": { | |||||
"banneColor": "linear-gradient(180deg, #26558b 0%, #26558b 100%)", | |||||
"levelBg": "linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"view": "#007cc1", | |||||
"backColor": "#cc6633" | |||||
}, | }, | ||||
//首页 | //首页 | ||||
"main": { | "main": { | ||||
"chengzhangBox":"linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"activeColor":"#FC8B37", | |||||
"qg":"#FD782D", | |||||
"sql":"linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"chengzhangBox": "linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"activeColor": "#FC8B37", | |||||
"qg": "#FD782D", | |||||
"sql": "linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%)", | |||||
"txt": "#2C8DFF", | "txt": "#2C8DFF", | ||||
}, | }, | ||||
}, | }, | ||||
colorSecond:{ | |||||
colorSecond: { | |||||
// 我的 | // 我的 | ||||
"user": { | "user": { | ||||
"banneColor": "linear-gradient(180deg,rgba(50,177,252,1) 0%,rgba(47,108,255,1) 100%)", | "banneColor": "linear-gradient(180deg,rgba(50,177,252,1) 0%,rgba(47,108,255,1) 100%)", | ||||
@@ -30,9 +37,9 @@ module.exports = { | |||||
"activeColor": "#2C8DFF", | "activeColor": "#2C8DFF", | ||||
"qg": "#31A5FC", | "qg": "#31A5FC", | ||||
"sql": "linear-gradient(127deg,rgba(119,192,254,1) 0%,rgba(48,120,255,1) 100%)", | "sql": "linear-gradient(127deg,rgba(119,192,254,1) 0%,rgba(48,120,255,1) 100%)", | ||||
"txt":"#FF1D30", | |||||
"txt": "#FF1D30", | |||||
}, | }, | ||||
} | } | ||||
} | } |