Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MiyaFrogFastCashApp
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangjiantao
MiyaFrogFastCashApp
Commits
17f7d883
Commit
17f7d883
authored
Sep 29, 2020
by
pengguangpu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复首页显示bug;
parent
96dc1dcb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
44 deletions
+32
-44
img_ad_default.png
images/img_ad_default.png
+0
-0
home.js
pages/home/home.js
+1
-1
home.wxml
pages/home/home.wxml
+15
-7
home.wxss
pages/home/home.wxss
+16
-36
No files found.
images/img_ad_default.png
0 → 100644
View file @
17f7d883
32.6 KB
pages/home/home.js
View file @
17f7d883
...
@@ -5,7 +5,7 @@ Page({
...
@@ -5,7 +5,7 @@ Page({
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
welcomeUrl
:
"
http://hh-oss-picture.miyapay.com/box/e710f5d9866d4b927eb6dcc1e21d5295
.png"
,
welcomeUrl
:
"
../../images/img_ad_default
.png"
,
miyaLogo
:
'http://hh-oss-picture.miyapay.com/box/8f9a536c1d12437ad5942bbc36aaa365.png'
,
miyaLogo
:
'http://hh-oss-picture.miyapay.com/box/8f9a536c1d12437ad5942bbc36aaa365.png'
,
wechatPay
:
'http://hh-oss-picture.miyapay.com/box/246455ca047365502eb87abbd8592013.png'
,
wechatPay
:
'http://hh-oss-picture.miyapay.com/box/246455ca047365502eb87abbd8592013.png'
,
isShowDialog
:
false
,
isShowDialog
:
false
,
...
...
pages/home/home.wxml
View file @
17f7d883
<!--pages/home.wxml-->
<!--pages/home.wxml-->
<view class="container" style="justify-content:flex-start;" >
<view class="page" style="justify-content:flex-start;" >
<image class="operation-position" style="background-color:black;" src="{{welcomeUrl}}"/>
<!--欢迎页-->
<image class="miya-logo" src="{{miyaLogo}}" bindlongpress="onLogoLongClicked"/>
<view class="ad_welcome" >
<image mode="heightFix" style="width:100%;height:1280rpx;" src="{{welcomeUrl}}"/>
<view class="btn-container" bindtap="goToPay">
<view class="btn-topay"/>
<image class="wechat-pay" src="{{wechatPay}}"/>
</view>
</view>
<!--底部按钮-->
<view class="bottom_operate">
<!--logo-->
<view style="width:358rpx;height:62rpx;dislay:flex;margin-left:auto;margin-right:auto;margin-top:80rpx;">
<image src="{{miyaLogo}}" style="width:100%;height:62rpx;" mode="heightFix" bindlongpress="onLogoLongClicked"/>
</view>
<!--按钮-->
<view style="display:flex;flex-direction:column;align-items:center;width:573rpx;height:114rpx;background-color:black;margin-top:84rpx;border-radius:7rpx;background-color:#FF7700;" bindtap="goToPay">
<image mode="heightFix" style="width:376rpx;height:114rpx;padding:25rpx;" src="{{wechatPay}}" />
</view>
</view>
<mp-dialog title="身份验证" show="{{isShowDialog}}" buttons="{{verifyDialogButtons}}" bindbuttontap="onVerifyDialogClicked">
<mp-dialog title="身份验证" show="{{isShowDialog}}" buttons="{{verifyDialogButtons}}" bindbuttontap="onVerifyDialogClicked">
<view class="verifyDialog">
<view class="verifyDialog">
...
...
pages/home/home.wxss
View file @
17f7d883
/* pages/home.wxss */
/* pages/home.wxss */
.operation-position{
.page{
width: 100%;
height: 64%;
display: flex;
display: flex;
position: relative;
background-color: white;
}
.miya-logo{
width: 358rpx;
height: 62rpx;
margin-top: 80rpx;
}
.btn-container{
width: 100%;
width: 100%;
height: auto;
height: 100%;
margin-top: 83rpx;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: center;
/* border: 1rpx solid red ; */
}
}
.wechat-pay{
.ad_welcome{
height: 66rpx;
display: flex;
width: 269rpx;
flex-direction: column;
position: relative;
width: 100%;
margin: auto auto;
height:100%;
/* border: 1rpx solid red ; */
}
}
.btn-topay{
.bottom_operate{
width: 573rpx;
height: 114rpx;
background-color: #FF7700;
border-radius: 7rpx;
margin-left: 100rpx;
margin-right: 100rpx;
position: absolute;
position: absolute;
}
bottom: 0rpx;
width: 100%;
.verifyDialog{
height: 460rpx;
background-color: white;
/* border: 1rpx solid red ; */
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
width: 100%;
align-items: center;
height:100%;
justify-content: center;
}
}
\ No newline at end of file
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