购物车,积分,订单详情

This commit is contained in:
2024-03-14 18:23:33 +08:00
parent 0602dc6c72
commit 9dda08a1b1
14 changed files with 602 additions and 7 deletions

View File

@@ -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 = () => {
};