Commit b7168536 authored by 潘永坪's avatar 潘永坪

样式处理

parent 7cba3bcd
<!-- 修改这个页面时,需要同步更新combiChoose页面的代码 -->
<template>
<view class="wrap">
<scroll-view @scroll="scrollFull" style="height: 100%;" :scroll-into-view="toViewFull" scroll-y >
<scroll-view @scroll="scrollFull" style="height: 100%;" :scroll-into-view="toViewFull" scroll-y>
<view class="banner">
<u-swiper :list="imgList" @change="e => currentNum = e.current" indicatorStyle="right: 20px;bottom:25px" height="400" circular>
<view slot="indicator" class="indicator-num">
......@@ -546,12 +546,7 @@ export default {
this.middleHeight=this.scrollHeight
//加个延时,防止第一次点击时元素样式还未更新,导致不滑动到对应元素
this.$nextTick(()=>{
//this.$nextTick解决苹果手机
//settimeout解决安卓手机
setTimeout(()=>{
this.toViewRight='merchant'+index
this.$forceUpdate()
},100)
this.toViewRight='merchant'+index
})
},
//---展示明细弹窗
......
......@@ -153,6 +153,8 @@ export default {
color: #000000;
font-size: 28rpx;
width: 100%;
max-height: 90%;
overflow-y: auto;
}
.box>view{
margin-top: 16rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment