空轴套管样式
This commit is contained in:
@@ -110,7 +110,7 @@ uni-button:after {
|
|||||||
top: calc(var(--status-bar-height) + 72rpx);
|
top: calc(var(--status-bar-height) + 72rpx);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 20rpx 14rpx 128rpx 14rpx;
|
padding: 0rpx 14rpx 108rpx 14rpx;
|
||||||
background: linear-gradient(to bottom, #ff6400 0%, #fee4d7 30%, #f6f6f6 100%)
|
background: linear-gradient(to bottom, #ff6400 0%, #fee4d7 30%, #f6f6f6 100%)
|
||||||
}
|
}
|
||||||
.zd_wrapper {
|
.zd_wrapper {
|
||||||
@@ -280,7 +280,7 @@ uni-button:after {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 20rpx;
|
padding: 10rpx;
|
||||||
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
|
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
|
||||||
}
|
}
|
||||||
.submit-button {
|
.submit-button {
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
_wh(100%, calc(var(--status-bar-height) + 72rpx))
|
_wh(100%, calc(var(--status-bar-height) + 72rpx))
|
||||||
background: linear-gradient(to bottom, #ff6800 0%, #ff6400 100%)
|
background: linear-gradient(to bottom, #ff6800 0%, #ff6400 100%)
|
||||||
z-index 200
|
z-index 200
|
||||||
padding 0 20rpx
|
padding var(--status-bar-height) 20rpx 0
|
||||||
.page_name
|
.page_name
|
||||||
_font(32rpx, 32rpx, #fff,700,center)
|
_font(32rpx, 32rpx, #fff,700,center)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -82,6 +82,17 @@
|
|||||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.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>
|
<button class="submit-button" @tap="searchList">{{$t('button.search')}}</button>
|
||||||
</view> -->
|
</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">
|
<view class="submit-bar_new">
|
||||||
<button class="submit-more" @tap="btn_active = true">···<br>more</button>
|
<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" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.call')}}</button>
|
||||||
|
|||||||
@@ -94,12 +94,25 @@
|
|||||||
</view>
|
</view>
|
||||||
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
||||||
</view>
|
</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="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': !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" :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>
|
<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>
|
||||||
|
<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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -136,7 +149,8 @@
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
disabled1: false,
|
disabled1: false,
|
||||||
disabled2: false
|
disabled2: false,
|
||||||
|
btn_active: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@@ -229,6 +243,7 @@
|
|||||||
this.disabled1 = true
|
this.disabled1 = true
|
||||||
if (!this.val1 || !this.val2) {
|
if (!this.val1 || !this.val2) {
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
|
this.btn_active = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
@@ -238,6 +253,7 @@
|
|||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
|
this.btn_active = false
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@@ -252,6 +268,7 @@
|
|||||||
this.disabled2 = true
|
this.disabled2 = true
|
||||||
if (!this.val1 || !this.val2) {
|
if (!this.val1 || !this.val2) {
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
|
this.btn_active = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
@@ -261,6 +278,7 @@
|
|||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
|
this.btn_active = false
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
Reference in New Issue
Block a user