安全区域
This commit is contained in:
parent
039890b3cb
commit
5d507c2515
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="">
|
<view class="">
|
||||||
<!-- <view class="cloud_entrepot" :style="{'min-height': winHeight + 'px'}">
|
<!-- <view class="cloud_entrepot" :style="{'min-height': winHeight + 'px'}">
|
||||||
<view class="head-wrapper"></view>
|
<view class="head-wrapper"></view>
|
||||||
<view class="town-title">{{town}}里海云仓</view>
|
<view class="town-title">{{town}}里海云仓</view>
|
||||||
<view class="body-wrapper">
|
<view class="body-wrapper">
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='goBack'></u--image>
|
height="50.82rpx" @click='goBack'></u--image>
|
||||||
<view class="head_tit">
|
<view class="head_tit">
|
||||||
通滩镇里海云仓
|
{{town}}里海云仓
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="head_r" @click="showPop=true">
|
<view class="head_r" @click="showPop=true">
|
||||||
@ -108,8 +108,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="goods_list" v-if="goodsList.length>0">
|
<view class="goods_list" v-if="goodsList.length>0">
|
||||||
<!-- <view style="background-color: white;height: 100rpx;" v-if="!showtit">
|
|
||||||
</view> -->
|
|
||||||
<view class="empty" v-if='showLoading'>
|
<view class="empty" v-if='showLoading'>
|
||||||
<u-loading-icon v-if='showLoading' text="加载中" textSize="18"></u-loading-icon>
|
<u-loading-icon v-if='showLoading' text="加载中" textSize="18"></u-loading-icon>
|
||||||
</view>
|
</view>
|
||||||
@ -149,7 +147,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="height: 100rpx;">
|
<view style="height: 100rpx;">
|
||||||
|
<u-loadmore :status="status" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -162,7 +160,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="card">
|
<view class="card" :style="`bottom:${appInfo.bottom}px`">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<view class="" style="position: relative;">
|
<view class="" style="position: relative;">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
||||||
@ -259,6 +257,7 @@
|
|||||||
data() {
|
data() {
|
||||||
let src = 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13';
|
let src = 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13';
|
||||||
return {
|
return {
|
||||||
|
appInfo: {},
|
||||||
pocls: "",
|
pocls: "",
|
||||||
type: "",
|
type: "",
|
||||||
act_swiper: "",
|
act_swiper: "",
|
||||||
@ -279,6 +278,7 @@
|
|||||||
cartList: [],
|
cartList: [],
|
||||||
activeClass: 'activeClass',
|
activeClass: 'activeClass',
|
||||||
headtop: "",
|
headtop: "",
|
||||||
|
page_num: 1,
|
||||||
actList: [{
|
actList: [{
|
||||||
tit: '综合',
|
tit: '综合',
|
||||||
act: "",
|
act: "",
|
||||||
@ -292,14 +292,9 @@
|
|||||||
act: "",
|
act: "",
|
||||||
screen: "price_asc"
|
screen: "price_asc"
|
||||||
}],
|
}],
|
||||||
list3: [
|
status: "loadmore",
|
||||||
'/static/images/LHYC/BG.png',
|
flag: false,
|
||||||
'/static/images/LHYC/WYLVYC.png',
|
|
||||||
'/static/images/LHYC/NFCPYC.png',
|
|
||||||
'/static/images/LHYC/BG.png',
|
|
||||||
'/static/images/LHYC/NFCPYC.png',
|
|
||||||
'/static/images/LHYC/NFCPYC.png',
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
@ -307,15 +302,31 @@
|
|||||||
uni.getSystemInfo({
|
uni.getSystemInfo({
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
this.winHeight = res.windowHeight
|
this.winHeight = res.windowHeight
|
||||||
|
this.appInfo = res.safeAreaInsets
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
this.street_code = e.street
|
this.street_code = e.street
|
||||||
this.town = e.town
|
this.town = e.town
|
||||||
this.getCloundShop()
|
this.getCloundShop()
|
||||||
},
|
},
|
||||||
onShow() {
|
// 分页
|
||||||
|
// onReachBottom() {
|
||||||
|
// if (this.flag) return
|
||||||
|
// this.status = "loading"
|
||||||
|
// this.page_num += 1
|
||||||
|
// this.flag = true
|
||||||
|
// this.getList().then(res => {
|
||||||
|
// return
|
||||||
|
// this.goodsList = this.goodsList.concat(res.data.data)
|
||||||
|
// this.flag = false
|
||||||
|
// if (!res.data.data.length) {
|
||||||
|
// this.status = "nomore"
|
||||||
|
// this.flag = true
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// },
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
let that = this
|
let that = this
|
||||||
this.showtit = !Boolean(e.scrollTop)
|
this.showtit = !Boolean(e.scrollTop)
|
||||||
@ -323,6 +334,7 @@
|
|||||||
.in(this)
|
.in(this)
|
||||||
.select('.content')
|
.select('.content')
|
||||||
.boundingClientRect(rect => {
|
.boundingClientRect(rect => {
|
||||||
|
console.log(rect)
|
||||||
if (rect.top <= this.headtop) {
|
if (rect.top <= this.headtop) {
|
||||||
this.pocls = 'fixed'
|
this.pocls = 'fixed'
|
||||||
this.act_swiper = 'act_swiper'
|
this.act_swiper = 'act_swiper'
|
||||||
@ -419,7 +431,9 @@
|
|||||||
street_code: this.street_code,
|
street_code: this.street_code,
|
||||||
category_id: this.cloudList[this.current].category_id,
|
category_id: this.cloudList[this.current].category_id,
|
||||||
order: this.type,
|
order: this.type,
|
||||||
keyword: this.keyword
|
keyword: this.keyword,
|
||||||
|
// page_num: this.page_num
|
||||||
|
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.goodsList = res.data.list
|
this.goodsList = res.data.list
|
||||||
this.showLoading = false
|
this.showLoading = false
|
||||||
@ -727,7 +741,7 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
// bottom: 0;
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
height: 101.64rpx;
|
height: 101.64rpx;
|
||||||
border-radius: 50.82rpx;
|
border-radius: 50.82rpx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user