Commit 6dc6293b by baihong

add:新增规则弹窗

parent 9ed7bd37
......@@ -67,7 +67,7 @@
<view class="btn">
支付100(真我币),参加活动
</view>
<view class="gz">
<view class="gz" @click="show=true">
<text>规则</text>
<u-icon name="arrow-right" color="#999999" size="18"></u-icon>
</view>
......@@ -106,17 +106,33 @@
</view>
</view>
<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>
</template>
<script>
import pageHeader from '@/components/page-header.vue';
export default {
import pageHeader from '@/components/page-header.vue';
export default {
components: {
pageHeader
},
data() {
return {
show:false,
src: 'https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF',
number: 0,
};
......@@ -145,13 +161,33 @@ export default {
}, 2000); // 滚动不需要停顿则将2000改成动画持续时间
}
}
};
};
</script>
<style lang="scss" scoped>
.app {
.app {
background: #f5f7f9;
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 {
width: 110rpx;
height: 110rpx;
......@@ -159,6 +195,7 @@ export default {
bottom: 65rpx;
right: 22rpx;
}
.list {
width: 690rpx;
background: #FFFFFF;
......@@ -166,6 +203,7 @@ export default {
margin: 20rpx auto 20rpx auto;
padding: 30rpx;
box-sizing: border-box;
.zwb {
font-size: 24rpx;
font-family: OpenSans-Bold, OpenSans;
......@@ -175,6 +213,7 @@ export default {
display: flex;
align-items: center;
}
.msg {
font-size: 24rpx;
font-family: OpenSans;
......@@ -182,10 +221,12 @@ export default {
line-height: 33rpx;
margin: 20rpx 0;
}
.smile {
display: flex;
margin-top: 25rpx;
&-item{
&-item {
display: flex;
align-items: center;
margin-right: 65rpx;
......@@ -194,13 +235,15 @@ export default {
font-weight: 400;
color: #555555;
line-height: 33rpx;
image{
image {
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
}
}
}
p {
font-size: 32rpx;
font-family: OpenSans;
......@@ -209,7 +252,8 @@ export default {
margin-bottom: 30rpx;
}
}
.gz{
.gz {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
......@@ -217,10 +261,12 @@ export default {
line-height: 24rpx;
margin: 0 auto;
text-align: center;
text {
margin-right: 4rpx;
}
}
.btn {
width: 510rpx;
height: 74rpx;
......@@ -236,18 +282,22 @@ export default {
line-height: 40rpx;
margin: 50rpx auto 32rpx auto;
}
.header {
width: 100vw;
height: 435rpx;
background: linear-gradient(136deg, #FFCA16 0%, #FFD64A 100%);
&-main {
padding: 0 40rpx 0 60rpx;
box-sizing: border-box;
display: flex;
margin-top: 47rpx;
justify-content: space-between;
.header-right {
margin-top: 37rpx;
.tag {
padding: 8rpx 14rpx;
font-size: 28rpx;
......@@ -259,13 +309,15 @@ export default {
margin-bottom: 37rpx;
display: flex;
align-items: center;
image{
image {
width: 28rpx;
height: 26rpx;
margin-left: 10rpx;
}
}
}
.header-left {
display: flex;
flex-direction: column;
......@@ -274,7 +326,8 @@ export default {
font-weight: 400;
color: #333333;
line-height: 30rpx;
text:nth-child(1){
text:nth-child(1) {
font-size: 64rpx;
font-family: OpenSans;
color: #000000;
......@@ -284,11 +337,13 @@ export default {
}
}
.nav {
display: flex;
align-items: center;
margin-top: 20rpx;
padding-left: 15rpx;
.title {
margin-left: 250rpx;
font-size: 36rpx;
......@@ -299,6 +354,7 @@ export default {
}
}
}
.pay-box {
width: 690rpx;
box-sizing: border-box;
......@@ -306,6 +362,7 @@ export default {
background: #FFFFFF;
border-radius: 7rpx;
margin: -88rpx auto 0 auto;
.time-box {
display: flex;
font-size: 24rpx;
......@@ -313,16 +370,19 @@ export default {
color: #999999;
line-height: 29rpx;
margin-top: 70rpx;
.time {
display: flex;
flex-direction: column;
min-width: 120rpx;
align-items: center;
}
.line-box {
width: 70rpx;
margin: 0 25rpx;
text{
text {
font-size: 22rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
......@@ -332,6 +392,7 @@ export default {
margin-top: -20rpx;
margin-bottom: 6rpx;
}
.line {
width: 70rpx;
height: 1rpx;
......@@ -339,18 +400,22 @@ export default {
}
}
}
.top {
display: flex;
justify-content:space-between;
justify-content: space-between;
padding: 0 30rpx;
.item {
display: flex;
align-items: center;
image{
image {
width: 62rpx;
height: 44rpx;
}
.text{
.text {
display: flex;
flex-direction: column;
margin-left: 27rpx;
......@@ -362,5 +427,5 @@ export default {
}
}
}
}
}
</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