空轴套管样式
This commit is contained in:
@@ -82,6 +82,17 @@
|
||||
<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>
|
||||
|
||||
</view>
|
||||
<view class="more_btns_wraper" :class="btn_active ? 'popshow' : 'pophide'">
|
||||
<view class="more_btns_items">
|
||||
|
||||
</view>
|
||||
<view class="more_btns_cancle" @tap="btn_active = false">取消</view>
|
||||
</view>
|
||||
<view v-if="btn_active" class="msg_mask"></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>
|
||||
|
||||
@@ -94,12 +94,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 || !val2}" :disabled="disabled2" @tap="_casingWearConfirm">{{$t('button.through-shaft-confirm')}}</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled1" @tap="_casingOutConfirm">{{$t('button.pull-shaft-confirm')}}</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val2}" :disabled="disabled" @tap="_casingConfirm">{{$t('button.overlap-shaft-confirm')}}</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': !checkArr.length || !val2}" :disabled="disabled" @tap="_casingConfirm">{{$t('button.overlap-shaft-confirm')}}</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 || !val2}" :disabled="disabled2" @tap="_casingWearConfirm">{{$t('button.through-shaft-confirm')}}</button>
|
||||
<button class="more-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled1" @tap="_casingOutConfirm">{{$t('button.pull-shaft-confirm')}}</button>
|
||||
</view>
|
||||
<view class="more_btns_cancle" @tap="btn_active = false">取消</view>
|
||||
</view>
|
||||
<view v-if="btn_active" class="msg_mask"></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -136,7 +149,8 @@
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
disabled1: false,
|
||||
disabled2: false
|
||||
disabled2: false,
|
||||
btn_active: false
|
||||
};
|
||||
},
|
||||
created () {
|
||||
@@ -229,6 +243,7 @@
|
||||
this.disabled1 = true
|
||||
if (!this.val1 || !this.val2) {
|
||||
this.disabled1 = false
|
||||
this.btn_active = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
@@ -238,6 +253,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val4 = ''
|
||||
this.btn_active = false
|
||||
this.searchList()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -252,6 +268,7 @@
|
||||
this.disabled2 = true
|
||||
if (!this.val1 || !this.val2) {
|
||||
this.disabled2 = false
|
||||
this.btn_active = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
@@ -261,6 +278,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val4 = ''
|
||||
this.btn_active = false
|
||||
this.searchList()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user