代码提交
This commit is contained in:
71
pages/submitOrder/index.data.js
Normal file
71
pages/submitOrder/index.data.js
Normal file
@ -0,0 +1,71 @@
|
||||
/**
|
||||
* @name: index.data
|
||||
* @author: kahu4
|
||||
* @date: 2023-11-07 18:16
|
||||
* @description:index.data
|
||||
* @update: 2023-11-07 18:16
|
||||
* */
|
||||
import wechatIcon from '@/static/icon/pay/weixin.png'
|
||||
import aliIcon from '@/static/icon/pay/zhifubao.png'
|
||||
import { PayType } from "@/utils/paymentUtils";
|
||||
|
||||
export const addressTabs = [
|
||||
{
|
||||
label: '配送到家',
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
label: '门店自取',
|
||||
value: 1
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
export const discountsPriceRows = [
|
||||
{
|
||||
label: '优惠',
|
||||
field: 'couponPrice',
|
||||
prefix: '-¥'
|
||||
},
|
||||
{
|
||||
label: '运费',
|
||||
field: 'storePostage',
|
||||
prefix: '+¥'
|
||||
}
|
||||
]
|
||||
|
||||
export const payRows = [
|
||||
{
|
||||
label: '微信支付',
|
||||
eLabel: 'Wechat Pay',
|
||||
icon: wechatIcon,
|
||||
type: PayType["0"],
|
||||
disabled: false
|
||||
|
||||
},
|
||||
{
|
||||
label: '支付宝支付',
|
||||
eLabel: 'ALi Pay',
|
||||
icon: aliIcon,
|
||||
type: PayType["2"],
|
||||
disabled: true
|
||||
}
|
||||
]
|
||||
|
||||
export const priceRows = [
|
||||
{
|
||||
label: '商品总价',
|
||||
field: 'costPrice',
|
||||
prefix: '¥'
|
||||
},
|
||||
{
|
||||
label: '优惠',
|
||||
field: 'couponPrice',
|
||||
prefix: '-¥'
|
||||
},
|
||||
{
|
||||
label: '运费',
|
||||
field: 'storePostage',
|
||||
prefix: '¥'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user