|
@@ -2,7 +2,7 @@
|
|
|
<template>
|
|
|
<div class="home" @click="showSwitch = false">
|
|
|
<!-- <input type="file" @change="readFile" accept=".xlsx" /> -->
|
|
|
- <div class="title"></div>
|
|
|
+ <div class="title"><img src="@/assets/img/home_title.svg" alt="" /></div>
|
|
|
<template v-if="currentData">
|
|
|
<div class="swiper-dom swiper-container" v-if="currentData.list[0] && currentData.list[0].length">
|
|
|
<div class="swiper-wrapper">
|
|
@@ -367,19 +367,6 @@ const goMore = () => {
|
|
|
};
|
|
|
onMounted(() => {
|
|
|
loadJosnData();
|
|
|
-
|
|
|
- window.addEventListener(
|
|
|
- "popstate",
|
|
|
- function (e) {
|
|
|
- self.location.reload();
|
|
|
- },
|
|
|
- false
|
|
|
- );
|
|
|
- var state = {
|
|
|
- title: "",
|
|
|
- url: "#",
|
|
|
- };
|
|
|
- window.history.replaceState(state, "", "#");
|
|
|
});
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
@@ -400,10 +387,14 @@ onMounted(() => {
|
|
|
.title {
|
|
|
text-align: center;
|
|
|
margin: 0.8rem auto 1.4667rem;
|
|
|
- width: 8.2133rem;
|
|
|
- height: 2.0667rem;
|
|
|
- background: url("@/assets/img/home_title.svg") no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
+ width: 70%;
|
|
|
+ // height: 3.6rem;
|
|
|
+ // background: url("@/assets/img/home_title.svg") no-repeat;
|
|
|
+ // background-size: 100% 100%;
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.item-box {
|
|
@@ -429,7 +420,7 @@ onMounted(() => {
|
|
|
font-size: 0.32rem;
|
|
|
height: 100%;
|
|
|
text-align: center;
|
|
|
- line-height: .3733rem;
|
|
|
+ line-height: 0.3733rem;
|
|
|
}
|
|
|
}
|
|
|
.bottom-controls {
|