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