提交 e718fff2 authored 作者: matian's avatar matian

updates

上级 b1e7fee3
......@@ -6,9 +6,10 @@ import { useDevice } from '@/composables/useDevice'
import queryString from 'query-string'
import { getOpenId, wxJSPay } from '@/utils/wxpay'
import { createOrder, getOrderList } from '../api'
const router = useRouter()
const { mobile, wechat, alipay } = useDevice()
const user = useUserStore()
defineProps({
const props = defineProps({
shopItem: {
type: Object
}
......@@ -117,6 +118,14 @@ const handlePay = () => {
const checkdChange = (val: string) => {
currentCheck.value = val
}
const handlePrev = () => {
router.push({
path: `/shop/detail/${props.shopItem?.id}`,
query: {
payStatus: orderInfoDetail.value.order_status
}
})
}
</script>
<template>
......@@ -192,11 +201,9 @@ const checkdChange = (val: string) => {
</div>
</div>
<div class="main_con" v-else>
<div class="con_nav">
<div class="con_nav" @click="handlePrev">
<img
src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project_online/fi/prev_mini.png"
alt=""
srcset=""
/>
<div class="nav_title">确认订单</div>
</div>
......
......@@ -87,7 +87,7 @@ const handlePrev = () => {
<div class="course_con">
<img
src="https://img1.baidu.com/it/u=3009731526,373851691&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500"
alt=""
@click="handlePrev"
/>
<div class="course_dec">
<div class="info_title">{{ shopItem?.title }}</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论