no message

cyl/master-0804
jscyl13849007907 4 months ago
parent 40391355b6
commit 9707084e4e

@ -32,14 +32,14 @@
.doc-left{
width: 43px;
height: 2px;
border: 1px solid;
border-top: 1px solid;
border-image: linear-gradient(270deg, rgba(255,255,255,0.20), #cccccc) 1 1;
transform: rotate(180deg);
}
.doc-right{
width: 43px;
height: 2px;
border: 1px solid;
border-top: 1px solid;
border-image: linear-gradient(270deg, rgba(255,255,255,0.20), #cccccc) 1 1;
}
}

@ -22,7 +22,7 @@
v-for="(item, index) in list"
:key="index"
:style="{
width: 'calc(100% / ' + num + ')',
width: 'calc(100% / ' + num +' - 1rpx)',
}"
@click="handleClick(item, index)"
class=""

@ -795,7 +795,7 @@ export default {
background-color: #ededed;
.m-info {
width: calc(100% - 40rpx);
width: calc(100% - 52px);
margin: 0 auto;
margin-bottom: 20rpx;

@ -494,14 +494,14 @@ export default {
.doc-left {
width: 43px;
height: 2px;
border: 1px solid;
border-top: 1px solid;
border-image: linear-gradient(270deg, rgba(255, 255, 255, 0.2), #cccccc) 1 1;
transform: rotate(180deg);
}
.doc-right {
width: 43px;
height: 2px;
border: 1px solid;
border-top: 1px solid;
border-image: linear-gradient(270deg, rgba(255, 255, 255, 0.2), #cccccc) 1 1;
}
}

@ -339,8 +339,8 @@ export default {
this.moveY = e.touches[0].pageY;
const moveDistance = this.moveY - this.startY;
// moveDistance > 0
if (moveDistance > 0) {
// moveDistance > 0
if (moveDistance > 0 && moveDistance < 200) { //
const query = uni.createSelectorQuery().in(this);
query.select('.scroll-container').boundingClientRect(data => {
if (data) {
@ -348,10 +348,8 @@ export default {
//
if (scrollTop <= 0) {
// 使
// divisor80
const scaleValue = Math.min(moveDistance / 40, 1); //
this.backgroundScale = scaleValue;
this.mtScroll = scaleValue;
this.backgroundScale = Math.min(moveDistance * 0.05, 10); //
this.mtScroll = Math.min(moveDistance * 0.05, 10);
}
}
}).exec();

Loading…
Cancel
Save