Commit 6dc6293b by baihong

add:新增规则弹窗

parent 9ed7bd37
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<view class="btn"> <view class="btn">
支付100(真我币),参加活动 支付100(真我币),参加活动
</view> </view>
<view class="gz"> <view class="gz" @click="show=true">
<text>规则</text> <text>规则</text>
<u-icon name="arrow-right" color="#999999" size="18"></u-icon> <u-icon name="arrow-right" color="#999999" size="18"></u-icon>
</view> </view>
...@@ -106,17 +106,33 @@ ...@@ -106,17 +106,33 @@
</view> </view>
</view> </view>
<image class="camera" src="../../static/imgs/ic_health_client@2x.png" mode=""></image> <image class="camera" src="../../static/imgs/ic_health_client@2x.png" mode=""></image>
<u-popup :closeable='true' v-model="show" mode="center" width="673rpx" height="648rpx">
<view class="popup">
<view class="title">
规则
</view>
<view class="text">
1.办理入住手续所获硬币受活动影响,以页面显示的具体点数为准。
2.每7天入住一次循环。如果连续中断,将从第一天开始重新计算。
3.不定期推出签到礼品活动。礼品数量有限,先到先得。
5.办理入住手续所获硬币受活动影响,以页面显示的具体点数为准。
6.每7天入住一次循环。如果连续中断,将从第一天开始重新计算。
7.不定期推出签到礼品活动。礼品数量有限,先到先得。
</view>
</view>
</u-popup>
</view> </view>
</template> </template>
<script> <script>
import pageHeader from '@/components/page-header.vue'; import pageHeader from '@/components/page-header.vue';
export default { export default {
components: { components: {
pageHeader pageHeader
}, },
data() { data() {
return { return {
show:false,
src: 'https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF', src: 'https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF',
number: 0, number: 0,
}; };
...@@ -145,13 +161,33 @@ export default { ...@@ -145,13 +161,33 @@ export default {
}, 2000); // 滚动不需要停顿则将2000改成动画持续时间 }, 2000); // 滚动不需要停顿则将2000改成动画持续时间
} }
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app { .app {
background: #f5f7f9; background: #f5f7f9;
height: 100vh; height: 100vh;
.popup {
//padding: 31rpx 45rpx;
.title{
padding: 30rpx 35rpx;
border-bottom: 1rpx solid #DCDCDC;
font-size: 28rpx;
font-family: OpenSans-Bold, OpenSans;
font-weight: bold;
color: #333333;
line-height: 38rpx;
margin-bottom: 33rpx;
}
.text{
padding: 0 40rpx;
font-size: 24rpx;
font-family: OpenSans;
color: #333333;
line-height: 36rpx;
}
}
.camera { .camera {
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
...@@ -159,6 +195,7 @@ export default { ...@@ -159,6 +195,7 @@ export default {
bottom: 65rpx; bottom: 65rpx;
right: 22rpx; right: 22rpx;
} }
.list { .list {
width: 690rpx; width: 690rpx;
background: #FFFFFF; background: #FFFFFF;
...@@ -166,6 +203,7 @@ export default { ...@@ -166,6 +203,7 @@ export default {
margin: 20rpx auto 20rpx auto; margin: 20rpx auto 20rpx auto;
padding: 30rpx; padding: 30rpx;
box-sizing: border-box; box-sizing: border-box;
.zwb { .zwb {
font-size: 24rpx; font-size: 24rpx;
font-family: OpenSans-Bold, OpenSans; font-family: OpenSans-Bold, OpenSans;
...@@ -175,6 +213,7 @@ export default { ...@@ -175,6 +213,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.msg { .msg {
font-size: 24rpx; font-size: 24rpx;
font-family: OpenSans; font-family: OpenSans;
...@@ -182,10 +221,12 @@ export default { ...@@ -182,10 +221,12 @@ export default {
line-height: 33rpx; line-height: 33rpx;
margin: 20rpx 0; margin: 20rpx 0;
} }
.smile { .smile {
display: flex; display: flex;
margin-top: 25rpx; margin-top: 25rpx;
&-item{
&-item {
display: flex; display: flex;
align-items: center; align-items: center;
margin-right: 65rpx; margin-right: 65rpx;
...@@ -194,13 +235,15 @@ export default { ...@@ -194,13 +235,15 @@ export default {
font-weight: 400; font-weight: 400;
color: #555555; color: #555555;
line-height: 33rpx; line-height: 33rpx;
image{
image {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
margin-right: 10rpx; margin-right: 10rpx;
} }
} }
} }
p { p {
font-size: 32rpx; font-size: 32rpx;
font-family: OpenSans; font-family: OpenSans;
...@@ -209,7 +252,8 @@ export default { ...@@ -209,7 +252,8 @@ export default {
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
} }
.gz{
.gz {
font-size: 24rpx; font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
...@@ -217,10 +261,12 @@ export default { ...@@ -217,10 +261,12 @@ export default {
line-height: 24rpx; line-height: 24rpx;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
text { text {
margin-right: 4rpx; margin-right: 4rpx;
} }
} }
.btn { .btn {
width: 510rpx; width: 510rpx;
height: 74rpx; height: 74rpx;
...@@ -236,18 +282,22 @@ export default { ...@@ -236,18 +282,22 @@ export default {
line-height: 40rpx; line-height: 40rpx;
margin: 50rpx auto 32rpx auto; margin: 50rpx auto 32rpx auto;
} }
.header { .header {
width: 100vw; width: 100vw;
height: 435rpx; height: 435rpx;
background: linear-gradient(136deg, #FFCA16 0%, #FFD64A 100%); background: linear-gradient(136deg, #FFCA16 0%, #FFD64A 100%);
&-main { &-main {
padding: 0 40rpx 0 60rpx; padding: 0 40rpx 0 60rpx;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
margin-top: 47rpx; margin-top: 47rpx;
justify-content: space-between; justify-content: space-between;
.header-right { .header-right {
margin-top: 37rpx; margin-top: 37rpx;
.tag { .tag {
padding: 8rpx 14rpx; padding: 8rpx 14rpx;
font-size: 28rpx; font-size: 28rpx;
...@@ -259,13 +309,15 @@ export default { ...@@ -259,13 +309,15 @@ export default {
margin-bottom: 37rpx; margin-bottom: 37rpx;
display: flex; display: flex;
align-items: center; align-items: center;
image{
image {
width: 28rpx; width: 28rpx;
height: 26rpx; height: 26rpx;
margin-left: 10rpx; margin-left: 10rpx;
} }
} }
} }
.header-left { .header-left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -274,7 +326,8 @@ export default { ...@@ -274,7 +326,8 @@ export default {
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 30rpx; line-height: 30rpx;
text:nth-child(1){
text:nth-child(1) {
font-size: 64rpx; font-size: 64rpx;
font-family: OpenSans; font-family: OpenSans;
color: #000000; color: #000000;
...@@ -284,11 +337,13 @@ export default { ...@@ -284,11 +337,13 @@ export default {
} }
} }
.nav { .nav {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 20rpx; margin-top: 20rpx;
padding-left: 15rpx; padding-left: 15rpx;
.title { .title {
margin-left: 250rpx; margin-left: 250rpx;
font-size: 36rpx; font-size: 36rpx;
...@@ -299,6 +354,7 @@ export default { ...@@ -299,6 +354,7 @@ export default {
} }
} }
} }
.pay-box { .pay-box {
width: 690rpx; width: 690rpx;
box-sizing: border-box; box-sizing: border-box;
...@@ -306,6 +362,7 @@ export default { ...@@ -306,6 +362,7 @@ export default {
background: #FFFFFF; background: #FFFFFF;
border-radius: 7rpx; border-radius: 7rpx;
margin: -88rpx auto 0 auto; margin: -88rpx auto 0 auto;
.time-box { .time-box {
display: flex; display: flex;
font-size: 24rpx; font-size: 24rpx;
...@@ -313,16 +370,19 @@ export default { ...@@ -313,16 +370,19 @@ export default {
color: #999999; color: #999999;
line-height: 29rpx; line-height: 29rpx;
margin-top: 70rpx; margin-top: 70rpx;
.time { .time {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: 120rpx; min-width: 120rpx;
align-items: center; align-items: center;
} }
.line-box { .line-box {
width: 70rpx; width: 70rpx;
margin: 0 25rpx; margin: 0 25rpx;
text{
text {
font-size: 22rpx; font-size: 22rpx;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
...@@ -332,6 +392,7 @@ export default { ...@@ -332,6 +392,7 @@ export default {
margin-top: -20rpx; margin-top: -20rpx;
margin-bottom: 6rpx; margin-bottom: 6rpx;
} }
.line { .line {
width: 70rpx; width: 70rpx;
height: 1rpx; height: 1rpx;
...@@ -339,18 +400,22 @@ export default { ...@@ -339,18 +400,22 @@ export default {
} }
} }
} }
.top { .top {
display: flex; display: flex;
justify-content:space-between; justify-content: space-between;
padding: 0 30rpx; padding: 0 30rpx;
.item { .item {
display: flex; display: flex;
align-items: center; align-items: center;
image{
image {
width: 62rpx; width: 62rpx;
height: 44rpx; height: 44rpx;
} }
.text{
.text {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 27rpx; margin-left: 27rpx;
...@@ -362,5 +427,5 @@ export default { ...@@ -362,5 +427,5 @@ export default {
} }
} }
} }
} }
</style> </style>
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