Commit 9d4c51b3 by zhangxw

登录页提审合规性修改

1 parent 1ed4cd8f
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
</view> </view>
<view class="wx-box"> <view class="wx-box">
<block wx:if="{{!isAgree}}"> <block wx:if="{{!isAgree}}">
<button class="wx-auth-button text-center {{isAgree}}" bindtap="showModal">微信登录</button> <button class="wx-auth-button text-center {{isAgree}}" bindtap="showModal">登录</button>
</block> </block>
<block wx:else> <block wx:else>
<button open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="wx-auth-button text-center">微信登录</button> <button open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="wx-auth-button text-center">登录</button>
</block> </block>
</view> </view>
</block> </block>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<view class="icon"> <view class="icon">
<glsx-image src="/login/{{loginType == 0?'phone':'wx'}}.png"></glsx-image> <glsx-image src="/login/{{loginType == 0?'phone':'wx'}}.png"></glsx-image>
</view> </view>
{{loginType == 0?'手机号':'微信登录'}} {{loginType == 0?'手机号':'登录'}}
</view> </view>
</view> </view>
<view class="tips text-center" bindtap="handleChangeAgree"> <view class="tips text-center" bindtap="handleChangeAgree">
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
<text class="txt-orange" catchtap="handleAgree" data-name="privacy">《隐私协议》</text> <text class="txt-orange" catchtap="handleAgree" data-name="privacy">《隐私协议》</text>
<text class="txt-orange" catchtap="handleAgree" data-name="agreement">《服务使用协议》</text> <text class="txt-orange" catchtap="handleAgree" data-name="agreement">《服务使用协议》</text>
</view> </view>
<view class="tips tips-text text-center">账号仅限特定人群登录并进行登录账号鉴权</view>
</view> </view>
</view> </view>
<glsx-privacy appletName="积分会"></glsx-privacy> <glsx-privacy appletName="积分会"></glsx-privacy>
......
...@@ -88,11 +88,16 @@ page{ ...@@ -88,11 +88,16 @@ page{
.type-box { .type-box {
flex-direction: column; flex-direction: column;
align-items: center;
margin-top: 33rpx; margin-top: 33rpx;
font-size: 24rpx; font-size: 24rpx;
color: #8A8C90; color: #8A8C90;
} }
.type {
text-align: center;
}
.type .icon { .type .icon {
width: 68rpx; width: 68rpx;
height: 68rpx; height: 68rpx;
...@@ -103,12 +108,16 @@ page{ ...@@ -103,12 +108,16 @@ page{
font-size: 24rpx; font-size: 24rpx;
color: #858A94; color: #858A94;
position: fixed; position: fixed;
bottom: 56rpx; bottom: 68rpx;
left: 0; left: 0;
width: 100%; width: 100%;
padding: 20rpx 0; padding: 20rpx 0;
} }
.tips-text {
bottom: 26rpx;
}
.tips .check { .tips .check {
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
......
...@@ -93,9 +93,6 @@ Page({ ...@@ -93,9 +93,6 @@ Page({
wx.p.router.getRouterParams(options).then(params => { wx.p.router.getRouterParams(options).then(params => {
this.setData({loginPageFlag: params?.loginPageFlag}, () => { this.setData({loginPageFlag: params?.loginPageFlag}, () => {
this.getPointsWallet() this.getPointsWallet()
this.getGoodsList()
this.getCategory()
this.getHomeData()
}) })
}).catch(err => { }).catch(err => {
console.error('参数获取失败:', err) console.error('参数获取失败:', err)
...@@ -329,6 +326,9 @@ Page({ ...@@ -329,6 +326,9 @@ Page({
*/ */
onShow: function () { onShow: function () {
this.getWalletData() this.getWalletData()
this.getGoodsList()
this.getCategory()
this.getHomeData()
}, },
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!