1.扫码支付

master
sws 2023-10-31 19:54:39 +08:00
parent c452195aea
commit edaf65a314
2 changed files with 13 additions and 16 deletions

View File

@ -24,7 +24,7 @@
</view>
<view class="bg-white border-radius-main padding-main spacing-mb">
<view class="text-size fw-b spacing-mb">支付方式</view>
<view class="flex-col jc-sa">
<view class="flex-col jc-sa" :class="data.payment_list.length>2">
<view v-for="(item, index) in is_more ? data.payment_list : data.payment_list.slice(0, 2)" :key="index" class="flex-row jc-sb align-c padding-vertical-sm" @tap="change_event(index, item.id)">
<div class="flex-1 flex-width flex-row align-c">
<image v-if="item.logo" :src="item.logo" mode="widthFix" class="circle img-pay margin-right-main" />

View File

@ -56,10 +56,10 @@
name: "uniPopupDialog",
mixins: [popup],
emits:['confirm','close'],
props: {
inputType:{
type: String,
default: 'text'
props: {
inputType:{
type: String,
default: 'text'
},
value: {
type: [String, Number],
@ -88,14 +88,14 @@
beforeClose: {
type: Boolean,
default: false
},
cancelText:{
type: String,
default: ''
},
confirmText:{
type: String,
default: ''
},
cancelText:{
type: String,
default: ''
},
confirmText:{
type: String,
default: ''
}
},
data() {
@ -143,9 +143,6 @@
this.dialogType = this.type
}
},
mounted() {
this.focus = true
},
methods: {
/**
* 点击确认按钮