Commit 17f11cb9 authored by 罗超's avatar 罗超

修改样式

parent 9562d7e8
<template>
<u-popup mode="bottom" border-radius="20" :popup="false" v-model="show" :maskCloseAble="true" length="auto"
:safeAreaInsetBottom="true" @close="popupClose" :z-index="9999" close-icon="cross" :closeable="true">
<view class="coupon">
<scroll-view :scroll-y="true" style="max-height: 70vh;">
<view class="coupon column" style="height: 70vh;">
<view class="title">优惠券</view>
<view class="chosentips">请选择要使用的优惠券</view>
<scroll-view :scroll-y="true" class="col" style="height: 1px;">
<view class="details">
<view class="item" v-for="(x, i) in ts" :key="i" :style="{'margin-bottom':ts.length==i+1?'50px':'10px'}">
<view class="ticket">
......@@ -224,6 +225,7 @@
</script>
<style>
@import url("../../asset/css/flex.css");
.coupon {
max-height: 70vh;
background: #f5f5f5;
......@@ -352,15 +354,10 @@
left: -6px;
}
.pesongBox .btton-box {
.coupon .btton-box {
height: 50px;
display: flex;
padding: 5px 10px;
border-top: 1px solid #f5f5f5;
position: fixed;
bottom: 0;
left: 0;
right: 0;
border-top: 1px solid #f1f2f4;
align-items: center;
background: #fff;
}
......
......@@ -128,7 +128,12 @@
methods:{
setCheckStatusHandle(x){
if(!x.Checked && !this.canChecked && x.year>1) return
x.Checked = !x.Checked
const g = this.guests.find(t=>x.Id==t.Id)
if(g){
g.Checked = !g.Checked
}
//console.log('setCheckStatusHandle',x.Checked)
},
guestChangeHandle(val){
this.guests = val
......
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