Commit d8dc5dd7 authored by Morson's avatar Morson
parents aaa6d7dc 3f7ff4bd
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "首页", "navigationBarTitleText": "首页",
"navigationStyle": "custom", "navigationStyle": "custom"
"disableScroll": true
} }
}, },
{ {
......
<template> <template>
<view class="content"> <view class="content">
<scroll-view class="scroll-view" scroll-y style="height: 100%; width: 100%" @scrolltolower="reachBottom" <!-- <scroll-view class="scroll-view" scroll-y style="height: 100%; width: 100%" @scrolltolower="reachBottom"
@scroll="handleScroll" refresher-enabled :refresher-triggered="triggered" @refresherrefresh="onRefresh" @scroll="handleScroll" refresher-enabled :refresher-triggered="triggered" @refresherrefresh="onRefresh"
scroll-anchoring @refresherrestore="onRestore" @refresherpulling="triggered = true" :show-scrollbar="false" scroll-anchoring @refresherrestore="onRestore" @refresherpulling="triggered = true" :show-scrollbar="false"
enable-back-to-top> enable-back-to-top> -->
<view style="width: 700rpx; height: 800rpx;">
<!-- <view class="title-view">充电桩自营平台</view> --> <!-- <view class="title-view">充电桩自营平台</view> -->
<u-navbar :is-back="false" background="{background: transparent}" :border-bottom="false" :is-fixed="false"> <u-navbar :is-back="false" background="{background: transparent}" :border-bottom="false"
:is-fixed="false">
<text class="title-view">充电桩自营平台</text> <text class="title-view">充电桩自营平台</text>
</u-navbar> </u-navbar>
<u-swiper :height="240" :list="list" :indicator-pos="indicatorPos" :mode="mode" :interval="3000" <u-swiper :height="240" :list="list" :indicator-pos="indicatorPos" :mode="mode" :interval="3000"
...@@ -26,13 +28,14 @@ ...@@ -26,13 +28,14 @@
</view> </view>
</view> </view>
</view> </view>
<view class="order-view">
<!-- 订单推荐吸顶 --> <!-- 订单推荐吸顶 -->
<u-sticky> <u-sticky>
<view class="sticky"> <view class="sticky">
<text>订单推荐</text> <text>订单推荐</text>
</view> </view>
</u-sticky> </u-sticky>
<view class="order-view">
<!-- 入驻成功之后显示推荐订单列表 --> <!-- 入驻成功之后显示推荐订单列表 -->
<view class="order-list-view"> <view class="order-list-view">
<view v-if="status == 7 && orderList.length > 0" class="order-item-view"> <view v-if="status == 7 && orderList.length > 0" class="order-item-view">
...@@ -57,7 +60,8 @@ ...@@ -57,7 +60,8 @@
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </view>
<!-- </scroll-view> -->
</view> </view>
</template> </template>
...@@ -127,6 +131,8 @@ ...@@ -127,6 +131,8 @@
return { return {
'width': '400rpx', 'width': '400rpx',
'height': '104rpx', 'height': '104rpx',
'font-size': '32rpx',
'font-weight': 'bold'
}; };
}, },
msgStyle() { msgStyle() {
...@@ -227,7 +233,8 @@ ...@@ -227,7 +233,8 @@
padding: 0rpx 30rpx 0 30rpx; padding: 0rpx 30rpx 0 30rpx;
.scroll-view { .scroll-view {
::-webkit-scrollbar {/*隐藏滚轮*/ ::-webkit-scrollbar {
/*隐藏滚轮*/
display: none; display: none;
} }
} }
...@@ -305,8 +312,14 @@ ...@@ -305,8 +312,14 @@
color: #8f8f94; color: #8f8f94;
} }
.order-view { // .sticky-view {
text-align: center; // position: sticky;
// position: -webkit-sticky;
// top: 0rpx;
// width: 100%;
// height: 200rpx;
// background-color: black;
// }
.sticky { .sticky {
background-color: #F4F5F7; background-color: #F4F5F7;
...@@ -319,6 +332,10 @@ ...@@ -319,6 +332,10 @@
padding: 46rpx 0 28rpx 0; padding: 46rpx 0 28rpx 0;
} }
.order-view {
text-align: center;
.order-list-view { .order-list-view {
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 12rpx; border-radius: 12rpx;
...@@ -350,7 +367,7 @@ ...@@ -350,7 +367,7 @@
.tip-other { .tip-other {
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
margin-bottom: 50rpx; margin-bottom: 56rpx;
} }
} }
} }
......
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