feat(login): 添加隐私政策并优化直播相关功能
- 在登录页面添加隐私政策链接 - 新增隐私政策页面,嵌入隐私政策 HTML 文件 - 优化直播相关功能: - 修复拍卖详情页面按钮点击事件 -优化首页直播状态切换逻辑 - 修复直播侧边按钮点击
This commit is contained in:
parent
911aa9ce1f
commit
44ae64d8da
@ -8,9 +8,11 @@ import {liveStore} from "~/stores/live/index.js";
|
|||||||
const {getAuctionDetail, auctionDetail,getArtworkList} = goodStore();
|
const {getAuctionDetail, auctionDetail,getArtworkList} = goodStore();
|
||||||
const {fullLive} = liveStore()
|
const {fullLive} = liveStore()
|
||||||
const changeLive = () => {
|
const changeLive = () => {
|
||||||
if (auctionDetail.value.isLiving===1){
|
if (!fullLive.value){
|
||||||
fullLive.value = true;
|
if (auctionDetail.value.isLiving===1){
|
||||||
getArtworkList(true)
|
fullLive.value = true;
|
||||||
|
getArtworkList(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ const goPay = () => {
|
|||||||
<!-- 拍品信息 -->
|
<!-- 拍品信息 -->
|
||||||
<van-button
|
<van-button
|
||||||
class="w-60px !h-60px"
|
class="w-60px !h-60px"
|
||||||
@click="openOne"
|
@click.stop="openOne"
|
||||||
style="border: none;border-radius: 0"
|
style="border: none;border-radius: 0"
|
||||||
>
|
>
|
||||||
<div class="text-center flex flex-col justify-center items-center text-#7D7D7F text-12px">
|
<div class="text-center flex flex-col justify-center items-center text-#7D7D7F text-12px">
|
||||||
@ -216,7 +216,7 @@ const goPay = () => {
|
|||||||
<!-- 出价开关 -->
|
<!-- 出价开关 -->
|
||||||
<van-button
|
<van-button
|
||||||
class="w-60px !h-60px"
|
class="w-60px !h-60px"
|
||||||
@click="changeStatus"
|
@click.stop="changeStatus"
|
||||||
style="border-right: none;border-left: none;border-radius: 0;padding: 0"
|
style="border-right: none;border-left: none;border-radius: 0;padding: 0"
|
||||||
>
|
>
|
||||||
<div class="text-center flex flex-col justify-center items-center">
|
<div class="text-center flex flex-col justify-center items-center">
|
||||||
@ -241,7 +241,7 @@ const goPay = () => {
|
|||||||
v-if="paySide"
|
v-if="paySide"
|
||||||
class="w-60px !h-60px"
|
class="w-60px !h-60px"
|
||||||
style="border: none;border-radius: 0"
|
style="border: none;border-radius: 0"
|
||||||
@click="goPay"
|
@click.stop="goPay"
|
||||||
>
|
>
|
||||||
<div class="text-center flex flex-col justify-center items-center text-yellow-600">
|
<div class="text-center flex flex-col justify-center items-center text-yellow-600">
|
||||||
<div class="text-10px">{{auctionData.needPayBuys?.[0]?.leftCurrency}}</div>
|
<div class="text-10px">{{auctionData.needPayBuys?.[0]?.leftCurrency}}</div>
|
||||||
|
@ -170,7 +170,7 @@ const tipOpen = () => {
|
|||||||
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nextPrice}}</div>
|
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nextPrice}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="quoteStatus&&auctionData?.nowAuctionPrice?.nowPrice!=='0'" class="mt-10px mb-10px">
|
<div v-if="quoteStatus&&auctionData?.nowAuctionPrice?.nowPrice!=='0'" class="mt-10px mb-10px">
|
||||||
<van-button @click="goBuy" color="#FFB25F" class="w-344px !h-[40px]">
|
<van-button @click.stop="goBuy" color="#FFB25F" class="w-344px !h-[40px]">
|
||||||
<div>{{
|
<div>{{
|
||||||
`${t('live_room.confirm')} ${auctionData?.nowAuctionPrice?.currency} ${auctionData?.nowAuctionPrice?.nowPrice ?? 0}`
|
`${t('live_room.confirm')} ${auctionData?.nowAuctionPrice?.currency} ${auctionData?.nowAuctionPrice?.nowPrice ?? 0}`
|
||||||
}}
|
}}
|
||||||
|
@ -202,7 +202,9 @@ const goLogin =async () => {
|
|||||||
</van-swipe-item>
|
</van-swipe-item>
|
||||||
</van-swipe>
|
</van-swipe>
|
||||||
<van-number-keyboard v-model="code" :show="showKeyboard" @blur="showKeyboard = false" />
|
<van-number-keyboard v-model="code" :show="showKeyboard" @blur="showKeyboard = false" />
|
||||||
|
<div class="text-center text-14px absolute left-1/2 transform translate-x--1/2 bottom-50px">
|
||||||
|
登录即同意<span class="text-#3454AF " @click="$router.push('/privacyPolicy')">《隐私政策》</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
14
app/pages/privacyPolicy/index.vue
Normal file
14
app/pages/privacyPolicy/index.vue
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
definePageMeta({
|
||||||
|
title:'隐私政策'
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="px-10px py-20px"><iframe class="w-full h-100vh" src="/privacyPolicy.html"></iframe></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
31
public/privacyPolicy.html
Normal file
31
public/privacyPolicy.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user