Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
广
广州酒家-中秋小程序-20250724
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
广州酒家-中秋小程序-20250724
Commits
8dd43e60
Commit
8dd43e60
authored
Aug 11, 2025
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 授权手机号页面 背景更换
parent
528238df
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
index.js
db_api/index.js
+1
-1
phoneLogin.wxml
pages/phoneLogin/phoneLogin.wxml
+2
-1
phoneLogin.wxss
pages/phoneLogin/phoneLogin.wxss
+11
-6
No files found.
db_api/index.js
View file @
8dd43e60
import
requestFun
from
"./requestFun"
;
// TODO 'test', 'pre', 'prod'
export
const
__env__
=
"
test
"
;
export
const
__env__
=
"
pre
"
;
const
DEFAULT_PROJECT
=
{
// 测试环境
...
...
pages/phoneLogin/phoneLogin.wxml
View file @
8dd43e60
<view>
<view class="phoneLogin">
<view class="logo"></view>
<view class="login_bg">
<view class="content_bg">
<view class="mainbtn" wx:if="{{isAgree}}">
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
</view>
...
...
@@ -16,5 +16,6 @@
</view>
</view>
</view>
<view class="logo"></view>
</view>
</view>
\ No newline at end of file
pages/phoneLogin/phoneLogin.wxss
View file @
8dd43e60
.phoneLogin {
height: 100%;
width: 100;
height: 100vh;
position: relative;
}
.phoneLogin image {
width: 100%;
height: 1528rpx;
display: block;
.logo {
left: 580rpx;
top: 53rpx;
width: 145rpx;
height: 49rpx;
position: fixed;
background: url('https://yun.duiba.com.cn/polaris/logo.662ac2465e47801d623064278bde1cb8103ff8d1.png') no-repeat center top / 100% 100%;
}
.login_bg {
...
...
@@ -15,7 +20,7 @@
top: 50%;
transform: translateY(-50%);
position: absolute;
background: url('https://yun.duiba.com.cn/polaris/
bg.41e7cf5df923d95daf2d3e26db3998af4f67c7b7
.jpg') no-repeat center top / 100% 100%;
background: url('https://yun.duiba.com.cn/polaris/
phone_bg.9bbe18adc861ba4309acc5966befc835a4495bf5
.jpg') no-repeat center top / 100% 100%;
}
.content_bg {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment