样式
This commit is contained in:
@@ -76,12 +76,25 @@
|
||||
</view>
|
||||
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<!-- <view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">{{$t('button.empty-shaft-return')}}</button>
|
||||
<button class="submit-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.call')}}</button>
|
||||
<button class="submit-button" @tap="searchList">{{$t('button.search')}}</button>
|
||||
</view> -->
|
||||
<view class="submit-bar_new">
|
||||
<button class="submit-more" @tap="btn_active = true">···<br>more</button>
|
||||
<button class="submit-button_new" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.call')}}</button>
|
||||
<button class="submit-button_new" @tap="searchList">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
<view class="more_btns_wraper" :class="btn_active ? 'popshow' : 'pophide'">
|
||||
<view class="more_btns_items">
|
||||
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">{{$t('button.empty-shaft-return')}}</button>
|
||||
<button class="more-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
|
||||
</view>
|
||||
<view class="more_btns_cancle" @tap="btn_active = false">取消</view>
|
||||
</view>
|
||||
<view v-if="btn_active" class="msg_mask"></view>
|
||||
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
||||
<view class="msg_box">
|
||||
<view class="filter_item">
|
||||
@@ -110,8 +123,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="msg_btns">
|
||||
<button class="submit-button msg_btn" @tap="cancleModal">{{$t('button.cancel')}}</button>
|
||||
<button class="submit-button msg_btn" @tap="modalToSure">{{$t('button.confirm')}}</button>
|
||||
<button class="msg_btn msg_btn_cancle" @tap="cancleModal">{{$t('button.cancel')}}</button>
|
||||
<button class="msg_btn" @tap="modalToSure">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -153,7 +166,8 @@
|
||||
val4: '',
|
||||
val5: '',
|
||||
disabled1: false,
|
||||
disabled2: false
|
||||
disabled2: false,
|
||||
btn_active: false
|
||||
};
|
||||
},
|
||||
created () {
|
||||
@@ -227,6 +241,7 @@
|
||||
},
|
||||
handleSure () {
|
||||
this.active = true
|
||||
this.btn_active = false
|
||||
},
|
||||
cancleModal () {
|
||||
this.active = false
|
||||
@@ -295,6 +310,7 @@
|
||||
title: '点位不能为空',
|
||||
icon: 'none'
|
||||
})
|
||||
this.btn_active = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
@@ -303,6 +319,7 @@
|
||||
this.active = false
|
||||
this.val1 = ''
|
||||
this.pkId = ''
|
||||
this.btn_active = false
|
||||
this.searchList()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -310,6 +327,7 @@
|
||||
})
|
||||
} catch (e) {
|
||||
this.disabled2 = false
|
||||
this.btn_active = false
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
<view class="filter_search" @tap="_conveyPointQuery">{{$t('button.search')}}</view>
|
||||
</view>
|
||||
<view class="msg_btns">
|
||||
<button class="submit-button msg_btn" @tap="cancleModal">{{$t('button.cancel')}}</button>
|
||||
<button class="submit-button msg_btn" :class="{'btn-disabled': !index4}" :disabled="disabled2" @tap="_conveyConfirm">{{$t('button.confirm')}}</button>
|
||||
<button class="msg_btn msg_btn_cancle" @tap="cancleModal">{{$t('button.cancel')}}</button>
|
||||
<button class="msg_btn" :class="{'btn-disabled': !index4}" :disabled="disabled2" @tap="_conveyConfirm">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user