pos 端
This commit is contained in:
parent
f2cf5bffdb
commit
e5f79d46d0
@ -126,6 +126,8 @@
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #0864E9;
|
background: #0864E9;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title_ {
|
.title_ {
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<view style="width: 100%; height: 500px; "></view>
|
<view style="width: 100%; height: 500px; "></view>
|
||||||
<view class="bai-kuang">
|
<view class="bai-kuang">
|
||||||
<view class="kuang-top">
|
<view class="kuang-top">
|
||||||
<view class="w-shi">添加备注</view>
|
<view class="w-shi" @click="show = true">添加备注</view>
|
||||||
<view style="color: #E8E8E8;"> | </view>
|
<view style="color: #E8E8E8;"> | </view>
|
||||||
<view class="w-shi" @click="gosearchVip()">{{userInfo ? userInfo.mobile : '搜索会员'}}</view>
|
<view class="w-shi" @click="gosearchVip()">{{userInfo ? userInfo.mobile : '搜索会员'}}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -60,7 +60,8 @@
|
|||||||
<view class="icon-box">
|
<view class="icon-box">
|
||||||
<image src="/static/imgs/smzf.png" v-if="item.value == 'smzf' " @click="scanQrcode()">
|
<image src="/static/imgs/smzf.png" v-if="item.value == 'smzf' " @click="scanQrcode()">
|
||||||
</image>
|
</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' "
|
<image src="/static/imgs/hyzf.png" v-if="item.value == 'hyzf' "
|
||||||
@click="scanAppletQrCode()"></image>
|
@click="scanAppletQrCode()"></image>
|
||||||
<image src="/static/imgs/xjzf.png" v-if="item.value == 'xjzf' " @click="cashPay()">
|
<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 style="width: 100%; height: 25px; "></view>
|
||||||
|
|
||||||
</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>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -90,6 +101,8 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
value1: '',
|
||||||
|
show: false,
|
||||||
userId: "",
|
userId: "",
|
||||||
userInfo: "",
|
userInfo: "",
|
||||||
AmountCollected: "",
|
AmountCollected: "",
|
||||||
@ -215,6 +228,10 @@
|
|||||||
headers
|
headers
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
close() {
|
||||||
|
this.show = false
|
||||||
|
},
|
||||||
|
|
||||||
// 获取优惠信息
|
// 获取优惠信息
|
||||||
getPaymentPreferential() {
|
getPaymentPreferential() {
|
||||||
if (!this.AmountCollected || !this.userInfo) {
|
if (!this.AmountCollected || !this.userInfo) {
|
||||||
@ -355,7 +372,7 @@
|
|||||||
// icon: "success"
|
// icon: "success"
|
||||||
// })
|
// })
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:"/pagesHome/PaymentResults/PaymentResults"
|
url: "/pagesHome/PaymentResults/PaymentResults"
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@ -371,10 +388,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 刷卡支付
|
// 刷卡支付
|
||||||
swipeCard(){
|
swipeCard() {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:"暂未开发",
|
title: "暂未开发",
|
||||||
icon:"error"
|
icon: "error"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 现金支付
|
// 现金支付
|
||||||
@ -446,7 +463,7 @@
|
|||||||
// })
|
// })
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:"/pagesHome/PaymentResults/PaymentResults"
|
url: "/pagesHome/PaymentResults/PaymentResults"
|
||||||
})
|
})
|
||||||
} else if (res.data.code == 2) {
|
} else if (res.data.code == 2) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@ -681,4 +698,35 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 15px;
|
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>
|
</style>
|
Loading…
Reference in New Issue
Block a user