This commit is contained in:
xvv 2024-05-28 14:28:36 +08:00
parent f2cf5bffdb
commit e5f79d46d0
2 changed files with 58 additions and 8 deletions

View File

@ -126,6 +126,8 @@
border-radius: 8px;
background: #0864E9;
height: 400px;
box-sizing: border-box;
padding-top: 15px;
}
.title_ {

View File

@ -44,7 +44,7 @@
<view style="width: 100%; height: 500px; "></view>
<view class="bai-kuang">
<view class="kuang-top">
<view class="w-shi">添加备注</view>
<view class="w-shi" @click="show = true">添加备注</view>
<view style="color: #E8E8E8;"> | </view>
<view class="w-shi" @click="gosearchVip()">{{userInfo ? userInfo.mobile : '搜索会员'}}</view>
</view>
@ -60,7 +60,8 @@
<view class="icon-box">
<image src="/static/imgs/smzf.png" v-if="item.value == 'smzf' " @click="scanQrcode()">
</image>
<image src="/static/imgs/skzf.png" v-if="item.value == 'skzf' " @click="swipeCard()"></image>
<image src="/static/imgs/skzf.png" v-if="item.value == 'skzf' " @click="swipeCard()">
</image>
<image src="/static/imgs/hyzf.png" v-if="item.value == 'hyzf' "
@click="scanAppletQrCode()"></image>
<image src="/static/imgs/xjzf.png" v-if="item.value == 'xjzf' " @click="cashPay()">
@ -79,6 +80,16 @@
<view style="width: 100%; height: 25px; "></view>
</view>
<u-popup :show="show" mode="bottom" :round="10" @close="close">
<view class="bottom_box">
<u--textarea v-model="value1" placeholder="请输入内容"></u--textarea>
<view
style="width: 100%; display: flex;align-items: center;justify-content: space-around;margin-top: 20px; ">
<view class="anniuq">确定</view>
<view class="anniux">取消</view>
</view>
</view>
</u-popup>
</view>
</view>
</template>
@ -90,6 +101,8 @@
export default {
data() {
return {
value1: '',
show: false,
userId: "",
userInfo: "",
AmountCollected: "",
@ -215,6 +228,10 @@
headers
},
methods: {
close() {
this.show = false
},
//
getPaymentPreferential() {
if (!this.AmountCollected || !this.userInfo) {
@ -355,7 +372,7 @@
// icon: "success"
// })
uni.navigateTo({
url:"/pagesHome/PaymentResults/PaymentResults"
url: "/pagesHome/PaymentResults/PaymentResults"
})
} else {
uni.showToast({
@ -371,10 +388,10 @@
})
},
//
swipeCard(){
swipeCard() {
uni.showToast({
title:"暂未开发",
icon:"error"
title: "暂未开发",
icon: "error"
})
},
//
@ -446,7 +463,7 @@
// })
uni.navigateTo({
url:"/pagesHome/PaymentResults/PaymentResults"
url: "/pagesHome/PaymentResults/PaymentResults"
})
} else if (res.data.code == 2) {
uni.showToast({
@ -681,4 +698,35 @@
box-sizing: border-box;
padding: 15px;
}
.bottom_box {
width: 100%;
background: #fff;
box-sizing: border-box;
padding: 15px;
border-radius: 10px 10px 0px 0px;
}
.anniuq {
width: 100px;
height: 35px;
background: #0864E9;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 50px;
}
.anniux {
width: 100px;
height: 35px;
background: #FD504E;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 50px;
}
</style>