css
This commit is contained in:
@@ -24,19 +24,15 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<view class="dot_item">
|
||||
<view class="p1">起始点</view>
|
||||
<view class="p2">{{sObj.device_name}}</view>
|
||||
</view>
|
||||
<view class="dot_item">
|
||||
<view class="p1">目标点</view>
|
||||
<view class="p2">{{nObj.device_name}}</view>
|
||||
</view>
|
||||
<view class="btn_block">
|
||||
<button class="submit-button" :class="{'btn-disabled': JSON.stringify(sObj) === '{}' && JSON.stringify(nObj) === '{}'}" @click="cancle">清空</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': JSON.stringify(sObj) === '{}' || JSON.stringify(nObj) === '{}'}" :disabled="disabled1" @click="toSure">确认</button>
|
||||
</view>
|
||||
<view class="zd-row filter_bar">
|
||||
<view class="zd-col-4 p1">起始点</view>
|
||||
<view class="zd-col-8 p2">{{sObj.device_name}}</view>
|
||||
<view class="zd-col-4 p1">目标点</view>
|
||||
<view class="zd-col-8 p2">{{nObj.device_name}}</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': JSON.stringify(sObj) === '{}' && JSON.stringify(nObj) === '{}'}" @click="cancle">清空</button>
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': JSON.stringify(sObj) === '{}' || JSON.stringify(nObj) === '{}'}" :disabled="disabled1" @click="toSure">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -156,12 +152,7 @@
|
||||
.zd_wrapper
|
||||
padding 0 7rpx
|
||||
.zd_content
|
||||
padding-bottom 152rpx
|
||||
.locate_block
|
||||
width 100%
|
||||
.locate_name
|
||||
position relative
|
||||
_wh(100%,48rpx)
|
||||
padding-bottom 196rpx
|
||||
.open_icon
|
||||
position absolute
|
||||
right 0
|
||||
@@ -199,33 +190,12 @@
|
||||
_fj(center)
|
||||
overflow hidden
|
||||
_font(28rpx,28rpx,#303133,500, center)
|
||||
.submit-bar
|
||||
justify-content space-between
|
||||
padding 10rpx
|
||||
.dot_item
|
||||
width 35%
|
||||
background-color #e5e5e5
|
||||
_fj(center,,column)
|
||||
.p1
|
||||
_wh(100%, 52rpx)
|
||||
_font(30rpx,52rpx,,,center)
|
||||
border-bottom 1rpx solid #fff
|
||||
overflow hidden
|
||||
_font(30rpx,80rpx,#855d15,700,center)
|
||||
.p2
|
||||
_wh(100%, 80rpx)
|
||||
_fj(center)
|
||||
padding 0 5rpx
|
||||
_font(30rpx,40rpx,,,center)
|
||||
overflow hidden
|
||||
word-break break-all
|
||||
.btn_block
|
||||
_fj(,,column)
|
||||
align-content: flex-end
|
||||
.submit-button
|
||||
line-height 56rpx
|
||||
margin 0
|
||||
&:nth-child(1)
|
||||
margin-bottom 10rpx
|
||||
_font(30rpx,55rpx,#fff,,center)
|
||||
background: linear-gradient(46deg, #ef8900, #eb6600);
|
||||
border-radius: 24rpx;
|
||||
.state-wrap
|
||||
_wh(100%, 60rpx)
|
||||
margin-bottom 10rpx
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
.zd_wrapper
|
||||
padding 0 7rpx
|
||||
.zd_content
|
||||
padding-bottom 152rpx
|
||||
padding-bottom 15rpx
|
||||
.locate_block
|
||||
width 100%
|
||||
.locate_name
|
||||
@@ -204,40 +204,6 @@
|
||||
_fj(center)
|
||||
overflow hidden
|
||||
_font(28rpx,28rpx,#303133,500, center)
|
||||
.title_2
|
||||
_wh(100%, 40%)
|
||||
_fj(center)
|
||||
overflow hidden
|
||||
_font(24rpx,24rpx,#303133,500, center)
|
||||
opacity .69
|
||||
white-space: nowrap
|
||||
.submit-bar
|
||||
justify-content space-between
|
||||
padding 10rpx
|
||||
.dot_item
|
||||
width 35%
|
||||
background-color #e5e5e5
|
||||
_fj(center,,column)
|
||||
.p1
|
||||
_wh(100%, 52rpx)
|
||||
_font(30rpx,52rpx,,,center)
|
||||
border-bottom 1rpx solid #fff
|
||||
overflow hidden
|
||||
.p2
|
||||
_wh(100%, 80rpx)
|
||||
_fj(center)
|
||||
padding 0 5rpx
|
||||
_font(30rpx,40rpx,,,center)
|
||||
overflow hidden
|
||||
word-break break-all
|
||||
.btn_block
|
||||
_fj(,,column)
|
||||
align-content: flex-end
|
||||
.submit-button
|
||||
line-height 56rpx
|
||||
margin 0
|
||||
&:nth-child(1)
|
||||
margin-bottom 10rpx
|
||||
.state-wrap
|
||||
_wh(100%, 60rpx)
|
||||
margin-bottom 10rpx
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled1" @tap="toSure1('1')">重新生成</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled2" @tap="toSure2('2')">强制完成</button>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled1" @tap="toSure1('1')">重新生成</button>
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled2" @tap="toSure2('2')">强制完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled1" @tap="toSure1('1')">指令撤销</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled2" @tap="toSure2('2')">重新下发</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled3" @tap="toSure3('3')">强制完成</button>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !pkId}" :disabled="disabled1" @tap="toSure1('1')">指令撤销</button>
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !pkId}" :disabled="disabled2" @tap="toSure2('2')">重新下发</button>
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !pkId}" :disabled="disabled3" @tap="toSure3('3')">强制完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user