|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <view class="resource" :style="{height:swiper+'px'}">
|
|
|
|
|
|
+ <view class="resource">
|
|
<statusBar :item="navBarData"></statusBar>
|
|
<statusBar :item="navBarData"></statusBar>
|
|
<view class="search">
|
|
<view class="search">
|
|
<uni-search-bar bgColor="#f0f2f5" placeholder="搜索" cancelButton="none" clearButton="none" :focus="true"></uni-search-bar>
|
|
<uni-search-bar bgColor="#f0f2f5" placeholder="搜索" cancelButton="none" clearButton="none" :focus="true"></uni-search-bar>
|
|
@@ -18,7 +18,7 @@
|
|
|
|
|
|
<swiper class="scroll-view-height" :style="{height:swiper+'px'}" @change="swipeIndex" :current="current" :duration="300">
|
|
<swiper class="scroll-view-height" :style="{height:swiper+'px'}" @change="swipeIndex" :current="current" :duration="300">
|
|
<swiper-item>
|
|
<swiper-item>
|
|
- <scroll-view scroll-y="true" :style="{height:swiper-10+'px'}">
|
|
|
|
|
|
+ <scroll-view scroll-y="true" :style="{height:swiper-20+'px'}">
|
|
<view class="contBox">
|
|
<view class="contBox">
|
|
<view class="cont" v-for="i in 10">
|
|
<view class="cont" v-for="i in 10">
|
|
<image src="../../static/yym/Rectangle 1918.png" mode=""></image>
|
|
<image src="../../static/yym/Rectangle 1918.png" mode=""></image>
|
|
@@ -35,7 +35,7 @@
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
|
|
|
<swiper-item>
|
|
<swiper-item>
|
|
- <scroll-view scroll-y="true" :style="{height:swiper-10+'px'}">
|
|
|
|
|
|
+ <scroll-view scroll-y="true" :style="{height:swiper+'px'}">
|
|
<view class="contBox">
|
|
<view class="contBox">
|
|
<view class="cont" v-for="i in 10">
|
|
<view class="cont" v-for="i in 10">
|
|
<image src="../../static/yym/Rectangle 1918.png" mode=""></image>
|
|
<image src="../../static/yym/Rectangle 1918.png" mode=""></image>
|
|
@@ -71,7 +71,6 @@ export default {
|
|
info2:'info2',
|
|
info2:'info2',
|
|
yun:'yun',
|
|
yun:'yun',
|
|
|
|
|
|
- isOK:false, //用户协议是否勾选
|
|
|
|
swiper:0
|
|
swiper:0
|
|
|
|
|
|
|
|
|
|
@@ -113,11 +112,10 @@ export default {
|
|
// console.log(this.navheight);
|
|
// console.log(this.navheight);
|
|
console.log(this.tabBarHeight);
|
|
console.log(this.tabBarHeight);
|
|
if(this.navheight){
|
|
if(this.navheight){
|
|
- this.swiper=this.screenHeight-this.navheight-100
|
|
|
|
|
|
+ this.swiper=this.screenHeight-this.navheight-140
|
|
}else{
|
|
}else{
|
|
this.swiper=this.screenHeight-this.customBar-150
|
|
this.swiper=this.screenHeight-this.customBar-150
|
|
}
|
|
}
|
|
- // log
|
|
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|