|
@@ -88,24 +88,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-swipe-item>
|
|
|
- <!-- <van-swipe-item style="overflow: auto">
|
|
|
- <div
|
|
|
- v-if="showSheet == 1"
|
|
|
- style="
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- overflow: hidden;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- >
|
|
|
- <img
|
|
|
- @click="nextPage"
|
|
|
- src="../../../assets/img/next.png"
|
|
|
- class="next"
|
|
|
- />
|
|
|
- <seven />
|
|
|
- </div>
|
|
|
- </van-swipe-item> -->
|
|
|
<van-swipe-item style="overflow: auto; height: 100vh">
|
|
|
<eight
|
|
|
ref="eightRef"
|
|
@@ -215,13 +197,14 @@ const from = reactive({
|
|
|
|
|
|
const showImg = ref(undefined);
|
|
|
const swipe = ref(null);
|
|
|
+const showTitle = ref(false);
|
|
|
let width = window.$originData.orginParames.availWidth * 0.7;
|
|
|
+// const type = 12;
|
|
|
const type = Math.floor(Math.random() * 12 + 1);
|
|
|
let ori = data[type - 1] || {
|
|
|
texts: [],
|
|
|
};
|
|
|
let max = 0;
|
|
|
-const showTitle = ref(false);
|
|
|
for (let i = 0; i < ori.texts.length; i++) {
|
|
|
max < ori.texts[i].length && (max = ori.texts[i].length);
|
|
|
}
|
|
@@ -233,7 +216,7 @@ const url = {
|
|
|
text2: require("@/assets/img/12/" + type + ".text2.png"),
|
|
|
};
|
|
|
const text = reactive({
|
|
|
- ...data[type - 1],
|
|
|
+ ...ori,
|
|
|
width,
|
|
|
});
|
|
|
const emits = defineEmits(["autoAudio"]);
|