购物车,积分,订单详情
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
<text class='card-view-title'>运费</text>
|
||||
<text class='card-view-value'>¥8</text>
|
||||
</view>
|
||||
<view class='c-flex-row'>
|
||||
<view class='c-flex-row' @click.stop='showCouponDialog'>
|
||||
<text class='card-view-title'>优惠券
|
||||
<text style='font-size: 22rpx;color: #F32B2B;'>已选最大优惠</text>
|
||||
</text>
|
||||
@@ -95,12 +95,15 @@
|
||||
</view>
|
||||
</view>
|
||||
<payment-dialog ref='paymentDialogRef' @change='args => paymentType=args' />
|
||||
<coupon-dialog ref='couponDialogRef' />
|
||||
</template>
|
||||
|
||||
<script lang='ts' setup>
|
||||
import { assetsUrl } from '@/utils/assets';
|
||||
import PaymentDialog from '../components/payment-dialog.vue';
|
||||
import CouponDialog from '@/pages/mall/subs/components/coupon-dialog.vue';
|
||||
|
||||
const couponDialogRef = ref();
|
||||
const paymentDialogRef = ref();
|
||||
const paymentType = ref(0);
|
||||
const tabIndex = ref(0);
|
||||
@@ -110,6 +113,10 @@ const changePayment = () => {
|
||||
paymentDialogRef.value.show();
|
||||
};
|
||||
|
||||
const showCouponDialog = () => {
|
||||
couponDialogRef.value.show();
|
||||
};
|
||||
|
||||
const payment = () => {
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user