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,261 +106,326 @@
</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 {
components: {
pageHeader
},
data() {
return {
src: 'https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF',
number: 0,
};
},
computed: {
},
onLoad(option) {
},
methods: {
goSalesInquiry() {
uni.navigateTo({
url: '../salesInquiry/salesInquiry'
});
import pageHeader from '@/components/page-header.vue';
export default {
components: {
pageHeader
},
startMove() {
// eslint-disable-next-line
let timer = setTimeout(() => {
if (this.number === 2) {
this.number = 0;
} else {
this.number += 1;
}
this.startMove();
}, 2000); // 滚动不需要停顿则将2000改成动画持续时间
data() {
return {
show:false,
src: 'https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF',
number: 0,
};
},
computed: {
},
onLoad(option) {
},
methods: {
goSalesInquiry() {
uni.navigateTo({
url: '../salesInquiry/salesInquiry'
});
},
startMove() {
// eslint-disable-next-line
let timer = setTimeout(() => {
if (this.number === 2) {
this.number = 0;
} else {
this.number += 1;
}
this.startMove();
}, 2000); // 滚动不需要停顿则将2000改成动画持续时间
}
}
}
};
};
</script>
<style lang="scss" scoped>
.app {
background: #f5f7f9;
height: 100vh;
.camera {
width: 110rpx;
height: 110rpx;
position: fixed;
bottom: 65rpx;
right: 22rpx;
}
.list {
width: 690rpx;
background: #FFFFFF;
border-radius: 7rpx;
margin: 20rpx auto 20rpx auto;
padding: 30rpx;
box-sizing: border-box;
.zwb {
font-size: 24rpx;
font-family: OpenSans-Bold, OpenSans;
font-weight: bold;
color: #FFC915;
line-height: 33rpx;
display: flex;
align-items: center;
.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;
}
}
.msg {
font-size: 24rpx;
font-family: OpenSans;
color: #333333;
line-height: 33rpx;
margin: 20rpx 0;
.camera {
width: 110rpx;
height: 110rpx;
position: fixed;
bottom: 65rpx;
right: 22rpx;
}
.smile {
display: flex;
margin-top: 25rpx;
&-item{
.list {
width: 690rpx;
background: #FFFFFF;
border-radius: 7rpx;
margin: 20rpx auto 20rpx auto;
padding: 30rpx;
box-sizing: border-box;
.zwb {
font-size: 24rpx;
font-family: OpenSans-Bold, OpenSans;
font-weight: bold;
color: #FFC915;
line-height: 33rpx;
display: flex;
align-items: center;
margin-right: 65rpx;
}
.msg {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #555555;
font-family: OpenSans;
color: #333333;
line-height: 33rpx;
image{
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
}
margin: 20rpx 0;
}
}
p {
font-size: 32rpx;
font-family: OpenSans;
color: #000000;
line-height: 43rpx;
margin-bottom: 30rpx;
}
}
.gz{
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
line-height: 24rpx;
margin: 0 auto;
text-align: center;
text {
margin-right: 4rpx;
}
}
.btn {
width: 510rpx;
height: 74rpx;
background: #FFC915;
border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #000000;
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;
font-family: OpenSans;
color: #000000;
line-height: 34rpx;
border-radius: 4rpx;
border: 1rpx solid #555555;
margin-bottom: 37rpx;
.smile {
display: flex;
margin-top: 25rpx;
&-item {
display: flex;
align-items: center;
image{
width: 28rpx;
height: 26rpx;
margin-left: 10rpx;
margin-right: 65rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #555555;
line-height: 33rpx;
image {
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
}
}
}
.header-left {
display: flex;
flex-direction: column;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
line-height: 30rpx;
text:nth-child(1){
font-size: 64rpx;
font-family: OpenSans;
color: #000000;
line-height: 72rpx;
margin-bottom: 20rpx;
}
}
}
.nav {
display: flex;
align-items: center;
margin-top: 20rpx;
padding-left: 15rpx;
.title {
margin-left: 250rpx;
font-size: 36rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
p {
font-size: 32rpx;
font-family: OpenSans;
color: #000000;
line-height: 50rpx;
line-height: 43rpx;
margin-bottom: 30rpx;
}
}
}
.pay-box {
width: 690rpx;
box-sizing: border-box;
padding: 40rpx 30rpx 40rpx 55rpx;
background: #FFFFFF;
border-radius: 7rpx;
margin: -88rpx auto 0 auto;
.time-box {
display: flex;
.gz {
font-size: 24rpx;
font-family: OpenSans;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
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{
font-size: 22rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFC915;
line-height: 24rpx;
display: block;
margin-top: -20rpx;
margin-bottom: 6rpx;
}
.line {
width: 70rpx;
height: 1rpx;
background-color: #999999;
}
line-height: 24rpx;
margin: 0 auto;
text-align: center;
text {
margin-right: 4rpx;
}
}
.top {
.btn {
width: 510rpx;
height: 74rpx;
background: #FFC915;
border-radius: 8rpx;
display: flex;
justify-content:space-between;
padding: 0 30rpx;
.item {
align-items: center;
justify-content: center;
font-size: 28rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #000000;
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;
align-items: center;
image{
width: 62rpx;
height: 44rpx;
margin-top: 47rpx;
justify-content: space-between;
.header-right {
margin-top: 37rpx;
.tag {
padding: 8rpx 14rpx;
font-size: 28rpx;
font-family: OpenSans;
color: #000000;
line-height: 34rpx;
border-radius: 4rpx;
border: 1rpx solid #555555;
margin-bottom: 37rpx;
display: flex;
align-items: center;
image {
width: 28rpx;
height: 26rpx;
margin-left: 10rpx;
}
}
}
.text{
.header-left {
display: flex;
flex-direction: column;
margin-left: 27rpx;
font-size: 24rpx;
font-family: OpenSans;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
line-height: 30rpx;
text:nth-child(1) {
font-size: 64rpx;
font-family: OpenSans;
color: #000000;
line-height: 72rpx;
margin-bottom: 20rpx;
}
}
}
.nav {
display: flex;
align-items: center;
margin-top: 20rpx;
padding-left: 15rpx;
.title {
margin-left: 250rpx;
font-size: 36rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #000000;
line-height: 50rpx;
}
}
}
.pay-box {
width: 690rpx;
box-sizing: border-box;
padding: 40rpx 30rpx 40rpx 55rpx;
background: #FFFFFF;
border-radius: 7rpx;
margin: -88rpx auto 0 auto;
.time-box {
display: flex;
font-size: 24rpx;
font-family: OpenSans;
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 {
font-size: 22rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFC915;
line-height: 24rpx;
display: block;
margin-top: -20rpx;
margin-bottom: 6rpx;
}
.line {
width: 70rpx;
height: 1rpx;
background-color: #999999;
}
}
}
.top {
display: flex;
justify-content: space-between;
padding: 0 30rpx;
.item {
display: flex;
align-items: center;
image {
width: 62rpx;
height: 44rpx;
}
.text {
display: flex;
flex-direction: column;
margin-left: 27rpx;
font-size: 24rpx;
font-family: OpenSans;
color: #333333;
line-height: 30rpx;
}
}
}
}
}
}
</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