a1300399510@qq.com 提交于 2023/03/31 -16:00:02
This commit is contained in:
parent
796e50bda4
commit
f1fdcf6bf2
@ -26,4 +26,9 @@ function goTologin() {
|
||||
skipUrl(`https://passport.gter.net/?referer=${url}`, false);
|
||||
}
|
||||
|
||||
export { skipUrl, pageStop, pageMove, goTologin }
|
||||
// 点击复制
|
||||
function copy(value, ismessage) {
|
||||
|
||||
}
|
||||
|
||||
export { skipUrl, pageStop, pageMove, goTologin, copy }
|
@ -78,7 +78,10 @@
|
||||
<div class="bottom-operation-box flex1 flexacenter">
|
||||
<div class="bottom-operation-item flex1 flexcolumn flexcenter" @click="tapLike">
|
||||
<div class="praise_bubble" id="praise_bubble" @click.stop=""
|
||||
:style="{ height: prepareLiskeState ? '' : '.5333rem' }"></div>
|
||||
:style="{ height: prepareLiskeState ? '' : '.5333rem' }">
|
||||
<div class="bubble" v-for="(item, index) in listlist" :key="index"></div>
|
||||
</div>
|
||||
|
||||
<div class="loginBtn" v-if="!islogin" @click.stop="setValue('isloginBtnState', true, 'boolean')">
|
||||
</div>
|
||||
<img class="bottom-operation-icom" :class="{ 'prepareLiskeAnimateState': prepareLiskeAnimateState }"
|
||||
@ -143,6 +146,7 @@ export default {
|
||||
ispostOfferLike: null, // 点击点赞提交状态
|
||||
offerLikesumTimer: 0, // offer点赞累加定时器
|
||||
offerLikesumAnimateTimer: 0, // offer点赞动画定时器
|
||||
listlist: []
|
||||
};
|
||||
},
|
||||
|
||||
@ -168,16 +172,15 @@ export default {
|
||||
// b = 1; // 测试写固定的
|
||||
const bl = Math.floor(Math.random() * 11) + 1; // bl1~bl11
|
||||
let d = document.createElement("div");
|
||||
// let urll = '//offer.gter.net/image/gter/offer/imgdetails'
|
||||
let urll = './img'
|
||||
d.style.backgroundImage = `url('${urll}/bg${b}.png')`
|
||||
d.style.backgroundImage = `url('./img/bg${b}.png')`
|
||||
d.style.backgroundSize = 'contain'
|
||||
d.className = `bubble`;
|
||||
d.style.animation = `bubble_${bl} 1.5s linear 1 forwards, bubble_big_${Math.floor(Math.random() * 3) + 1} 0.8s linear 1 forwards, bubble_y 1.5s linear 1 forwards`
|
||||
// d.style.animation = `bubble_${bl} 1.5s linear 1 forwards, bubble_big_${Math.floor(Math.random() * 3) + 1} 0.8s linear 1 forwards, bubble_y 1.5s linear 1 forwards`
|
||||
|
||||
d.dataset.t = String(Date.now());
|
||||
praiseBubble.appendChild(d);
|
||||
|
||||
// this.$forceUpdate()
|
||||
|
||||
this.stat.like++
|
||||
this.prepareLiskeNum++
|
||||
@ -246,6 +249,10 @@ export default {
|
||||
margin-top: 1.3rem;
|
||||
padding-bottom: 2.8rem;
|
||||
|
||||
.aaa {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.detail-head {
|
||||
color: #7F7F7F;
|
||||
padding: .191rem 0.2933rem 0;
|
||||
@ -578,23 +585,14 @@ export default {
|
||||
background-size: 100%;
|
||||
transform-origin: bottom;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.bubble {
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
left: 0;
|
||||
bottom: 0px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
transform-origin: bottom;
|
||||
}
|
||||
|
||||
@keyframes bubble_11 {
|
||||
25% {
|
||||
margin-left: -10px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user