|
@@ -2,11 +2,15 @@
|
|
<view class="mask-model" v-show="showMask">
|
|
<view class="mask-model" v-show="showMask">
|
|
<view class="mask" @click="hide"></view>
|
|
<view class="mask" @click="hide"></view>
|
|
<view class="model-count">
|
|
<view class="model-count">
|
|
- <view class="amen-tit">提示信息</view>
|
|
|
|
|
|
+ <view class="amen-tit">{{ !typeShow ? '下拉提示' : '提示信息'}}</view>
|
|
<view class="count" :style="{'color':titleColoe}">{{maskTitle}}</view>
|
|
<view class="count" :style="{'color':titleColoe}">{{maskTitle}}</view>
|
|
- <button form-type="submit" class="switchBtn" >切换航班</button>
|
|
|
|
- <button form-type="submit" class="switchBtn" >强制装载</button>
|
|
|
|
- <button form-type="submit" class="eleBtn" @click="hide">取消</button>
|
|
|
|
|
|
+ <button form-type="submit" class="switchBtn" v-if="typeShow">切换{{tabname}}</button>
|
|
|
|
+ <button form-type="submit" class="switchBtn" v-if="typeShow">强制装载</button>
|
|
|
|
+ <button form-type="submit" class="eleBtn" @click="hide" v-if="typeShow">取消</button>
|
|
|
|
+ <view class="bot" v-if="!typeShow">
|
|
|
|
+ <button form-type="submit" class="eleBtns" @click="hide">取消</button>
|
|
|
|
+ <button form-type="submit" class="switchBtndel" >确定</button>
|
|
|
|
+ </view>
|
|
<!-- <view class="btm-box">
|
|
<!-- <view class="btm-box">
|
|
<view v-show="btnType==1" class="btn cancel" @click="hide" :style="{'color':cancelColor}">取消</view>
|
|
<view v-show="btnType==1" class="btn cancel" @click="hide" :style="{'color':cancelColor}">取消</view>
|
|
<view class="btn confirm" @click="confirm" :style="{'color':confirmColor}">确定</view>
|
|
<view class="btn confirm" @click="confirm" :style="{'color':confirmColor}">确定</view>
|
|
@@ -36,6 +40,13 @@
|
|
btnType:{//1显示取消按钮
|
|
btnType:{//1显示取消按钮
|
|
type: String,
|
|
type: String,
|
|
default:'1'
|
|
default:'1'
|
|
|
|
+ },
|
|
|
|
+ tabname:{//名称
|
|
|
|
+ type: String,
|
|
|
|
+ default:'1'
|
|
|
|
+ },
|
|
|
|
+ typeShow: {
|
|
|
|
+ type: Boolean,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
@@ -77,13 +88,21 @@
|
|
top: 0;
|
|
top: 0;
|
|
z-index: 999;
|
|
z-index: 999;
|
|
}
|
|
}
|
|
|
|
+ .bot{
|
|
|
|
+ width: 100%;
|
|
|
|
+ /* padding: 0 .55rem 0 .55rem; */
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-top: 1.25rem;
|
|
|
|
+ }
|
|
.mask-model .mask{
|
|
.mask-model .mask{
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.65);
|
|
background: rgba(0,0,0,0.65);
|
|
}
|
|
}
|
|
.switchBtn{
|
|
.switchBtn{
|
|
- width: 11.5rem;
|
|
|
|
|
|
+ width: 12rem;
|
|
height: 2.125rem;
|
|
height: 2.125rem;
|
|
background: linear-gradient(179.11deg, rgba(51,161,165,1.00) 1.866%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%);
|
|
background: linear-gradient(179.11deg, rgba(51,161,165,1.00) 1.866%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%);
|
|
border-radius:
|
|
border-radius:
|
|
@@ -97,8 +116,37 @@
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
+ .switchBtndel{
|
|
|
|
+ width: 5rem;
|
|
|
|
+ height: 2rem;
|
|
|
|
+ background: linear-gradient(179.11deg, rgba(51,161,165,1.00) 1.866%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%,rgba(59,111,142,1.00) 137.144%);
|
|
|
|
+ border-radius:
|
|
|
|
+ 4px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
|
+ font-family: Noto Sans SC;
|
|
|
|
+ font-size: 15px;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ }
|
|
|
|
+ .eleBtns{
|
|
|
|
+ width: 5rem;
|
|
|
|
+ height: 2rem;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ background: rgb(243, 253, 255);
|
|
|
|
+ border: 1px solid rgb(172, 218, 230);
|
|
|
|
+ border-radius:
|
|
|
|
+ 4px;
|
|
|
|
+ color: rgb(59, 150, 159);
|
|
|
|
+ font-family: Noto Sans SC;
|
|
|
|
+ font-size: 15px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ }
|
|
.eleBtn{
|
|
.eleBtn{
|
|
- width: 11.5rem;
|
|
|
|
|
|
+ width: 12rem;
|
|
height: 2.125rem;
|
|
height: 2.125rem;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -121,7 +169,7 @@
|
|
top: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%,-50%);
|
|
transform: translate(-50%,-50%);
|
|
z-index: 9;
|
|
z-index: 9;
|
|
- min-height: 360rpx;
|
|
|
|
|
|
+ min-height: 9.375rem;
|
|
padding: 1.5rem 0 1.5rem 0;
|
|
padding: 1.5rem 0 1.5rem 0;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
@@ -136,7 +184,7 @@
|
|
.count{
|
|
.count{
|
|
/* text-align: center; */
|
|
/* text-align: center; */
|
|
/* padding:30rpx; */
|
|
/* padding:30rpx; */
|
|
- padding: .625rem 1.5625rem 1.875rem 1.5625rem;
|
|
|
|
|
|
+ padding: .625rem .875rem 1.875rem .875rem;
|
|
color: rgb(106, 113, 125);
|
|
color: rgb(106, 113, 125);
|
|
font-family: Noto Sans SC;
|
|
font-family: Noto Sans SC;
|
|
font-size: 14px;
|
|
font-size: 14px;
|