diff --git a/H5/src/main.js b/H5/src/main.js index bc01369465e620f1e2064ef99911d832637c8fb3..57d00aec350ac22135ab7b784afd145b09f104ee 100644 --- a/H5/src/main.js +++ b/H5/src/main.js @@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css"; import "amfe-flexible"; import "@/plugins/vant-ui.js"; import "@/plugins/echarts-plugins.js"; -import Vconsole from "vconsole"; +// import Vconsole from "vconsole"; import bridgeToAppFun from "@/utils/bridgeToAppFun"; Vue.prototype.$bridgeToAppFun = new bridgeToAppFun(); /*生产环境请注释掉 */ -Vue.prototype.$vConsole = new Vconsole(); +// Vue.prototype.$vConsole = new Vconsole(); Vue.use(MiniRefreshTools); Vue.config.productionTip = false; diff --git a/H5/src/views/airDropPool.vue b/H5/src/views/airDropPool.vue index e8b9e4a6616906368b36137ae8bdba9cf1c701e6..5cd2e5f8e5825b81a1fa7ae4c87e709efb08008b 100644 --- a/H5/src/views/airDropPool.vue +++ b/H5/src/views/airDropPool.vue @@ -21,10 +21,19 @@ <p v-for="(item, index) in userPoolVos" :key="index" - @tap="openUserInfo(item)" + @click="openUserInfo(item)" > 用户{{ item.userId }}è¿›å…¥ç©ºæŠ•æ± </p> + <template v-if="userPoolVos.length > 3 && userPoolVos.length < 15"> + <p + v-for="(item, index) in userPoolVos" + :key="index + 'down'" + @click="openUserInfo(item)" + > + 用户{{ item.userId }}è¿›å…¥ç©ºæŠ•æ± + </p> + </template> </div> </div> </div> @@ -107,11 +116,11 @@ export default { this.canScroll = true; this.animationDuration = _this.userPoolVos.length * 3; } - _this.$nextTick(() => { - if (_this.canScroll) { - _this.scroll(); - } - }); + // _this.$nextTick(() => { + // if (_this.canScroll) { + // _this.scroll(); + // } + // }); } else { _this.$toast(res.msg); } @@ -119,9 +128,9 @@ export default { }, scroll() { // this.timer = setInterval(this.autoScrollLine, 100); - const marquee = document.querySelector(".user-id-list"); - const contents = marquee.innerHTML; - marquee.innerHTML = contents + contents; + // const marquee = document.querySelector(".user-id-list"); + // const contents = marquee.innerHTML; + // marquee.innerHTML = contents + contents; } // autoScrollLine() { // let box = document.getElementById("scroll-box"); @@ -241,7 +250,7 @@ $white: #ffffff; left: 81px; } &::before { - top: 0; + top: -15px; z-index: 1; } &::after { @@ -257,6 +266,12 @@ $white: #ffffff; .user-id-list { display: flex; flex-direction: column; + &:hover { + animation-play-state: paused; + } + p { + pointer-events: auto; + } } .scroll {