Reviewed-on: https://git.1000my.com/project-shenyangk11/sy_k11_H_base_daoshi_vue_ts/pulls/32test
|
After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 442 B |
|
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 297 B |
@ -0,0 +1,124 @@ |
|||
<template> |
|||
<transition appear enter-active-class="animate__animated animate__fadeIn" leave-active-class="animate__animated animate__fadeOut"> |
|||
<masker @click="close"> |
|||
<transition appear enter-active-class="animate__animated animate__fadeInUp" leave-active-class="animate__animated animate__zoomOut"> |
|||
<div class="close-nav-wrapper"> |
|||
<img class="icon-close" src="@/assets/images/nav/icon_closeTip.svg" alt="" /> |
|||
<h4 class="icon-tip">{{ $t('shop.icontip') }}</h4> |
|||
<div class="btn-group"> |
|||
<!-- 重播按钮 --> |
|||
<div class="replay-btn" @click="emits('replay')"> |
|||
<h5>{{ $t('shop.replayTip') }}</h5> |
|||
</div> |
|||
<!-- 结束按钮 --> |
|||
<div class="back-btn" @click="emits('back')"> |
|||
<h5>{{ $t('shop.closeTip') }}</h5> |
|||
</div> |
|||
</div> |
|||
<!-- 关闭按钮 --> |
|||
<div class="exit" @click="close"> |
|||
<img src="@/assets/images/shopDetail/close.svg" class="go_bg" alt="" /> |
|||
</div> |
|||
</div> |
|||
</transition> |
|||
</masker> |
|||
</transition> |
|||
</template> |
|||
|
|||
<script setup lang="ts"> |
|||
import masker from '@/base/Masker/Masker.vue' |
|||
const emits = defineEmits(['close', 'replay', 'back']) |
|||
function close() { |
|||
emits('close') |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
:deep(.bscroll-vertical-scrollbar) { |
|||
background: rgb(0 0 0 / 1%); |
|||
border-radius: 4px; |
|||
opacity: 1 !important; |
|||
.bscroll-indicator { |
|||
background: #b7a475 !important; |
|||
border: none !important; |
|||
border-radius: 4px !important; |
|||
box-shadow: 0 8px 20px rgb(0 0 0 / 10%); |
|||
} |
|||
} |
|||
.close-nav-wrapper { |
|||
position: relative; |
|||
z-index: 9003; |
|||
display: inline-block; |
|||
width: 800px; |
|||
height: 880px; |
|||
margin-top: 126px; |
|||
margin-left: 560px; |
|||
background-color: #efeeea; |
|||
background-image: url('@/assets/images/nav/bg_closeTip.svg'); |
|||
border-radius: 16px; |
|||
|
|||
.icon-close { |
|||
position: absolute; |
|||
right: 0; |
|||
left: 0; |
|||
margin: 140px auto 0; |
|||
} |
|||
.icon-tip { |
|||
position: absolute; |
|||
right: 0; |
|||
left: 0; |
|||
margin: 416px auto 0; |
|||
font-size: 48px; |
|||
font-family: 'font_bold'; |
|||
text-align: center; |
|||
color: rgb(0 0 0 / 80%); |
|||
} |
|||
.btn-group { |
|||
position: absolute; |
|||
bottom: 0; |
|||
left: 0; |
|||
display: inline-flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
width: 100%; |
|||
height: 240px; |
|||
padding: 72px 104px; |
|||
background: rgb(255 255 255 / 60%); |
|||
.replay-btn { |
|||
width: 280px; |
|||
height: 96px; |
|||
font-size: 24px; |
|||
font-family: 'font_bold'; |
|||
text-align: center; |
|||
color: #a6976f; |
|||
border: 1px solid #a6976f; |
|||
border-radius: 122px; |
|||
line-height: 96px; |
|||
} |
|||
.back-btn { |
|||
width: 280px; |
|||
height: 96px; |
|||
font-size: 24px; |
|||
font-family: 'font_bold'; |
|||
text-align: center; |
|||
color: #fff; |
|||
background: linear-gradient(230deg, #c4b280 0%, #a89866 100%); |
|||
border-radius: 122px; |
|||
box-shadow: 0 8px 20px 0 rgb(119 106 65 / 31%); |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
line-height: 32px; |
|||
line-height: 96px; |
|||
} |
|||
} |
|||
|
|||
.exit { |
|||
position: absolute; |
|||
top: -50px; |
|||
right: -50px; |
|||
img { |
|||
width: 100px; |
|||
} |
|||
} |
|||
} |
|||
</style> |
|||