Commit ca35f130 authored by ziyu's avatar ziyu

feat: 充值码

parent 93df788d
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment