xg
This commit is contained in:
parent
7eb241014c
commit
fdb417d04b
@ -9,6 +9,9 @@
|
||||
<i class="icon"></i>
|
||||
<input type="text" name="" id="" class="input" placeholder="搜索" v-model="query.prizeName">
|
||||
</view>
|
||||
<view class="chaxun" @tap="getinfo">
|
||||
查询
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</u-sticky>
|
||||
@ -86,13 +89,6 @@
|
||||
onLoad() {
|
||||
this.info()
|
||||
},
|
||||
watch: {
|
||||
"query.prizeName": {
|
||||
handler(newvalue, oldvalue) {
|
||||
this.info()
|
||||
},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
revokeconfirm() {
|
||||
revokeById(this.revokeitem.approvalId).then(res => {
|
||||
@ -101,7 +97,14 @@
|
||||
title: '撤销成功',
|
||||
type: 'success',
|
||||
})
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
type: 'error',
|
||||
})
|
||||
}
|
||||
this.query.pageNum = 1
|
||||
this.info();
|
||||
})
|
||||
},
|
||||
tabschange(index) {
|
||||
@ -122,6 +125,10 @@
|
||||
return null;
|
||||
}
|
||||
},
|
||||
getinfo() {
|
||||
this.query.pageNum = 1
|
||||
this.info()
|
||||
},
|
||||
info() {
|
||||
approvalList(this.query).then(res => {
|
||||
if (this.query.pageNum == 1) {
|
||||
@ -175,7 +182,6 @@
|
||||
|
||||
.inputs {
|
||||
background-color: #fff;
|
||||
background-color: #ffffff;
|
||||
z-index: 999;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
@ -184,10 +190,23 @@
|
||||
padding: 10rpx 0 0;
|
||||
transform: none;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
|
||||
.chaxun {
|
||||
width: 110rpx;
|
||||
height: 55rpx;
|
||||
line-height: 55rpx;
|
||||
background-color: #26A888;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 5rpx;
|
||||
}
|
||||
|
||||
.inputitem {
|
||||
background: #F6F6F6;
|
||||
width: 100%;
|
||||
width: 80%;
|
||||
height: 60rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
@ -197,8 +216,8 @@
|
||||
position: absolute;
|
||||
height: 60rpx;
|
||||
// top: 8%;
|
||||
left: 13%;
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
width: 65%;
|
||||
font-size: 26rpx;
|
||||
color: #000000;
|
||||
}
|
||||
@ -210,7 +229,7 @@
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
transform: translateY(-33%);
|
||||
left: 3%;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user