yuxingxing 2 rokov pred
rodič
commit
2422f58463
2 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 5 0
      api/home.js
  2. 2 0
      components/payment/index.vue

+ 5 - 0
api/home.js

@@ -106,3 +106,8 @@ export function postUserOrderRefund(data) {
 export function postBeforeCheck(data) {
 	return request.post("v1/re/order/beforeCheck",data);
 }
+
+// 立即购买下单前置校验
+export function postOrderSubmit(data) {
+	return request.post("v1/re/order/submit",data);
+}

+ 2 - 0
components/payment/index.vue

@@ -4,6 +4,7 @@
 			<view class="title acea-row row-center-wrapper">
 				{{$t(`选择付款方式`)}}<text class="iconfont icon-guanbi" @click='close'></text>
 			</view>
+			<u-alert title="积分赠送方式"  type = "warning" :description = "description"></u-alert>
 			<view class="item acea-row row-between-wrapper" v-for="(item,index) in payMode" :key="index"
 				v-if='item.payStatus' @click="payType(item.number || 0 , item.value,index)">
 				<view class="left acea-row row-between-wrapper">
@@ -63,6 +64,7 @@
 		mixins: [colors],
 		data() {
 			return {
+				description: '下单后,需要确认收货完成订单,才能收到积分.',
 				formContent: '',
 				active: 0,
 				paytype: '',