Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d4c51b3
authored
Sep 09, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登录页提审合规性修改
1 parent
1ed4cd8f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
pages/Login/Login.wxml
pages/Login/Login.wxss
pages/tab/index/index.js
pages/Login/Login.wxml
View file @
9d4c51b
...
@@ -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>
...
...
pages/Login/Login.wxss
View file @
9d4c51b
...
@@ -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:
56
rpx;
bottom:
68
rpx;
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;
...
...
pages/tab/index/index.js
View file @
9d4c51b
...
@@ -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
()
},
},
/**
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment