1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <view class="shopTourDetails-wrap">
- <scroll-view scroll-y class="scroll-con-l">
- 432
- </scroll-view>
- <scroll-view scroll-y class="scroll-con-r" @scrolltolower="onreachBottom">
- 24
- </scroll-view>
- </view>
- </template>
- <script>
- export default{
- data(){
- return{
-
- }
- },
- methods: {
- // scroll-view到底部加载更多
- onreachBottom() {
- // if(this.list.length < this.total){
- // this.pageNo += 1
- // this.pageInit()
- // }else{
- // this.status = "nomore"
- // }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- page {
- height: calc(100vh - 56px);
- }
- .shopTourDetails-wrap{
- height: 100%;
- .scroll-con-l{
- display: inline-block;
- width: 30%;
- height: 100%;
- }
- .scroll-con-r{
- display: inline-block;
- width: 70%;
- height: 100%;
- }
- }
- </style>
|