Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mini-program-wepy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mini-program-wepy
Commits
ca35f130
Commit
ca35f130
authored
Jun 15, 2020
by
ziyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 充值码
parent
93df788d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
index.wpy
src/pages/index.wpy
+17
-2
No files found.
src/pages/index.wpy
View file @
ca35f130
...
@@ -95,12 +95,20 @@
...
@@ -95,12 +95,20 @@
.corn-cont {
.corn-cont {
width:550rpx;
width:550rpx;
height:474rpx;
height:474rpx;
background: url("https://activitystatic.xyqb.com/cornback.png") no-repeat;
position: relative;
background-size: 100%;
.imgs {
width:100%;
height:100%;
position: absolute;
top:0;left:0;
z-index:0;
}
.corn-title {
.corn-title {
font-size: 34rpx;
font-size: 34rpx;
text-align: center;
text-align: center;
padding-top:50rpx;
padding-top:50rpx;
position: relative;
z-index:2;
}
}
.corn-input{
.corn-input{
width:300rpx;
width:300rpx;
...
@@ -112,6 +120,8 @@
...
@@ -112,6 +120,8 @@
font-size: 32rpx;
font-size: 32rpx;
border-radius:35rpx;
border-radius:35rpx;
padding:0 30rpx;
padding:0 30rpx;
position: relative;
z-index: 2;
}
}
.error-text {
.error-text {
color:@redcolor;
color:@redcolor;
...
@@ -119,6 +129,8 @@
...
@@ -119,6 +129,8 @@
width:360rpx;
width:360rpx;
margin:0 auto;
margin:0 auto;
padding:13rpx 0;
padding:13rpx 0;
position: relative;
z-index: 2;
&.hidden {
&.hidden {
visibility: hidden;
visibility: hidden;
}
}
...
@@ -128,6 +140,8 @@
...
@@ -128,6 +140,8 @@
height:80rpx;
height:80rpx;
margin:0 auto;
margin:0 auto;
display: block;
display: block;
position: relative;
z-index: 2;
}
}
.corn-button {
.corn-button {
width:280rpx;
width:280rpx;
...
@@ -173,6 +187,7 @@
...
@@ -173,6 +187,7 @@
<van-notify id="van-notify"/>
<van-notify id="van-notify"/>
<van-popup show="{{ cornModal }}" bind:close="cornModalClose" custom-style="background-color:transparent">
<van-popup show="{{ cornModal }}" bind:close="cornModalClose" custom-style="background-color:transparent">
<view class="corn-cont">
<view class="corn-cont">
<image src="/static/images/cornback.png" class="imgs"></image>
<view class="corn-title">请输入充值码</view>
<view class="corn-title">请输入充值码</view>
<view><input type="text" class="corn-input" v-model="cornCode"></view>
<view><input type="text" class="corn-input" v-model="cornCode"></view>
<view class="error-text {{!cornTextShow?'hidden':''}}">{{ cornText }}</view>
<view class="error-text {{!cornTextShow?'hidden':''}}">{{ cornText }}</view>
...
...
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