更新周边功能
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from "vue"
|
||||
import { ref, watch } from "vue"
|
||||
import { isWeixinPlatform, miniJumpToScene, getMiniPageBtnHack } from "../libs/utils"
|
||||
import ModalTransition from "./ModalTransition.vue";
|
||||
const props = defineProps({
|
||||
@@ -37,7 +37,8 @@ const props = defineProps({
|
||||
default: () => []
|
||||
}
|
||||
})
|
||||
const emit = defineEmits(['address','close'])
|
||||
|
||||
const emit = defineEmits(['address', 'close'])
|
||||
const sceneBtnHtml = ref('')
|
||||
const couponBtnHtml = ref('')
|
||||
sceneBtnHtml.value = getMiniPageBtnHack("/pages/unify/unify?orgId=200282401019674482&targetUrl=%2Fpages%2Fretail%2Forder%2Forder-list%3Ftab%3DAll%26topTab%3D1")
|
||||
@@ -62,8 +63,8 @@ const handleItemBtn = (id, event) => {
|
||||
.prizelist {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 140.740741vw;
|
||||
background-image: url("../assets/images/prizelist-bg.webp");
|
||||
height: 131.759259vw;
|
||||
background-image: url("../assets/images/prizelist-bg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
display: flex;
|
||||
@@ -72,7 +73,7 @@ const handleItemBtn = (id, event) => {
|
||||
|
||||
.prizelist-wrapper {
|
||||
width: 100%;
|
||||
height: 90vw;
|
||||
height: 84vw;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
@@ -87,12 +88,12 @@ const handleItemBtn = (id, event) => {
|
||||
margin-bottom: 4vw;
|
||||
margin-left: 2.5vw;
|
||||
padding-left: 3vw;
|
||||
width: 95.092593vw;
|
||||
height: 19.814815vw;
|
||||
width: 95.833333vw;
|
||||
height: 20.648148vw;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-image: url("../assets/images/prizelist-item-bg.webp");
|
||||
background-image: url("../assets/images/prizelist-item-bg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
@@ -121,10 +122,10 @@ const handleItemBtn = (id, event) => {
|
||||
.prizelist-close {
|
||||
position: absolute;
|
||||
width: 8.148148vw;
|
||||
height: 8.055556vw;
|
||||
height: 8.148148vw;
|
||||
right: 5vw;
|
||||
top: 0;
|
||||
background-image: url("../assets/images/icon-close.webp");
|
||||
top: 15vw;
|
||||
background-image: url("../assets/images/close-btn.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
@@ -134,7 +135,7 @@ const handleItemBtn = (id, event) => {
|
||||
width: 23.981481vw;
|
||||
height: 9.074074vw;
|
||||
background-size: 100% 100%;
|
||||
background-image: url("../assets/images/btn-gotomember.webp");
|
||||
background-image: url("../assets/images/btn-goto.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
@@ -149,7 +150,7 @@ wx-open-launch-weapp,
|
||||
}
|
||||
|
||||
.btn-goto.noaddress {
|
||||
background-image: url("../assets/images/btn-address.webp");
|
||||
background-image: url("../assets/images/btn-address.png");
|
||||
}
|
||||
|
||||
.prizelist-cover.USER_TJGJ {
|
||||
|
||||
Reference in New Issue
Block a user