{
@click="goPay"
>
-
RMB
-
5,000
+
{{auctionData?.nowAuctionPrice?.currency}}
+
{{auctionData?.nowAuctionPrice?.successPrice}}
{{ $t('art_detail_page.button') }}
@@ -207,5 +248,6 @@ const goPay = () => {
cursor: move;
user-select: none;
touch-action: none;
+ transition: left 0.3s ease;
}
\ No newline at end of file
diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue
index b6e193a..d57ff6e 100644
--- a/app/pages/liveRoom/index.client.vue
+++ b/app/pages/liveRoom/index.client.vue
@@ -1,10 +1,11 @@
+
+
+
+
+

+
+
{{payStatus===0?'支付全部':'支付部分'}}
+
{{auctionData?.nowAuctionPrice?.currency}} {{auctionData?.nowAuctionPrice?.successPrice}}
+
+
+
+
{{payStatus===1?'支付全部':'支付部分'}}
+
+
+ 确认支付
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/pages/payment/result/index.vue b/app/pages/payment/result/index.vue
new file mode 100644
index 0000000..7515569
--- /dev/null
+++ b/app/pages/payment/result/index.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+

+
{{$t('payment.text2')}}!
+
RMB5,000
+
+
+
+
+
\ No newline at end of file
diff --git a/app/pages/signature/panel/index.vue b/app/pages/signature/panel/index.vue
index acbc9ab..aaec0dd 100644
--- a/app/pages/signature/panel/index.vue
+++ b/app/pages/signature/panel/index.vue
@@ -61,7 +61,7 @@ const confirm = async () => {
signImgFileData: imgUrl.value
})
if (res.status===0){
-
+ router.push('/payment')
}
}
const goBack = () => {
diff --git a/app/static/images/5554@2x1.png b/app/static/images/5554@2x1.png
new file mode 100644
index 0000000..a65267c
Binary files /dev/null and b/app/static/images/5554@2x1.png differ
diff --git a/app/static/images/z6022@2x.png b/app/static/images/z6022@2x.png
new file mode 100644
index 0000000..0d5a2f4
Binary files /dev/null and b/app/static/images/z6022@2x.png differ
diff --git a/app/stores/live/index.js b/app/stores/live/index.js
index 7d327f1..68614cc 100644
--- a/app/stores/live/index.js
+++ b/app/stores/live/index.js
@@ -1,4 +1,4 @@
-import { createGlobalState } from '@vueuse/core'
+import {createGlobalState, useLocalStorage} from '@vueuse/core'
import {ref} from "vue";
import {goodStore} from "@/stores/goods/index.js";
import {authStore} from "@/stores/auth/index.js";
@@ -17,7 +17,7 @@ export const liveStore = createGlobalState(() => {
const cleanup = ref(null)
const show1=ref(false)
const playerId=ref('J_prismPlayer')
- const auctionData=ref({})
+ const auctionData=useLocalStorage('auctionData',{})
const socket=ref(null)
const config = useRuntimeConfig()
const pullLink=ref('')
@@ -198,6 +198,7 @@ export const liveStore = createGlobalState(() => {
ws.onMessage((data) => {
auctionData.value = data.data
+ console.log(' auctionData.value', auctionData.value)
const { wsType, tip } = data.data || {}
switch (wsType) {
diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json
index 758a8f2..3eb0fe1 100644
--- a/i18n/locales/zh-CN.json
+++ b/i18n/locales/zh-CN.json
@@ -146,5 +146,10 @@
"title": "请填写个人相关信息",
"text":"文本",
"next": "下一步"
+ },
+ "payment": {
+ "text1": "支付",
+ "text2":"付款成功",
+ "next": "下一步"
}
}
\ No newline at end of file