排行榜品牌分类与提现滚动BUG

version/0412
shuxiaoquan 8 months ago
parent 0fb20e1701
commit 9cfb506460
  1. 8
      manifest.json
  2. 13
      pages/activity/charts.vue
  3. 11
      pages/news1/wallet.vue
  4. 4
      pages/order/detail.vue

@ -116,14 +116,14 @@
"scope.userLocation" : { "scope.userLocation" : {
"desc" : "获取当前所在城市位置" "desc" : "获取当前所在城市位置"
}, },
"makePhoneCall": { "makePhoneCall" : {
"desc": "用于拨打电话" "desc" : "用于拨打电话"
} }
}, },
"optimization" : { "optimization" : {
"subPackages" : true "subPackages" : true
}, },
"requiredPrivateInfos" : [ "chooseAddress","getLocation" ] "requiredPrivateInfos" : [ "chooseAddress", "getLocation" ]
}, },
"mp-alipay" : { "mp-alipay" : {
"usingComponents" : true "usingComponents" : true

@ -60,12 +60,12 @@
</image> </image>
</view> </view>
<view class="rank_content" v-if="rankList.length>0"> <view class="rank_content" v-if="rankList.length>0">
<view class="rank_box" v-for="(item,index) in rankList" <view class="rank_box" @click="toBack(item)" v-for="(item,index) in rankList"
:style="{ backgroundImage: 'url(' + (item.rankimage!=null?item.rankimage.external_url:'') + ')', }"> :style="{ backgroundImage: 'url(' + (item.rankimage!=null?item.rankimage.external_url:'') + ')', }">
<view class="rank_name"> <view class="rank_name">
{{item.name}} {{item.name}}
</view> </view>
<view class="rank_go" @click="toBack(item.path)"> <view class="rank_go">
<text>GO</text> <text>GO</text>
<u-icon name="arrow-right" color="#fff" size="23"></u-icon> <u-icon name="arrow-right" color="#fff" size="23"></u-icon>
</view> </view>
@ -131,12 +131,15 @@
this.rankList = data.list this.rankList = data.list
} }
}, },
toBack() { toBack(item) {
// let pages = getCurrentPages(); // let pages = getCurrentPages();
// let beforePage = pages[pages.length - 2] // let beforePage = pages[pages.length - 2]
// console.log(this.removeAfter(pages, 'pages/activity/ranking')) // console.log(this.removeAfter(pages, 'pages/activity/ranking'))
uni.redirectTo({ // uni.redirectTo({
url: '/pages/activity/ranking' // url: '/pages/activity/ranking'
// })
uni.navigateTo({
url: '/pages/activity/charts?categoryId=' + item.category_id + '&name=' + item.name
}) })
}, },
removeAfter(arr, value) { removeAfter(arr, value) {

@ -51,7 +51,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="getData"> <view class="getData" :style="{'z-index': OrderType == ''?'1':'3'}">
<view class="order-tab"> <view class="order-tab">
<view class="tab" :class="{'action':OrderType==''}" @click="onOrderTab('')"> <view class="tab" :class="{'action':OrderType==''}" @click="onOrderTab('')">
<text>全部</text> <text>全部</text>
@ -256,10 +256,11 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
page { page {
// min-height: calc(100vh); min-height: calc(100vh);
min-height: 100%; // min-height: 100%;
background: #fff !important; background: #fff !important;
overflow-x: hidden;
overflow-y: scroll;
.wallet { .wallet {
height: 100%; height: 100%;
position: relative; position: relative;
@ -616,6 +617,8 @@
} }
.dataList { .dataList {
position: relative;
z-index: 2;
.empty { .empty {
// margin:0 auto; // margin:0 auto;
// text-align: center; // text-align: center;

@ -175,7 +175,7 @@
{{order.pay_method_text}} {{order.pay_method_text}}
</view> </view>
</view> </view>
<view class="orderTitle"> <!-- <view class="orderTitle">
<view class="total"> <view class="total">
商品快照 商品快照
</view> </view>
@ -185,7 +185,7 @@
<view class="copy"> <view class="copy">
查看 查看
</view> </view>
</view> </view> -->
<view class="orderTitle" v-if="order.delivery_status == DeliveryStatusEnum.DELIVERED.value"> <view class="orderTitle" v-if="order.delivery_status == DeliveryStatusEnum.DELIVERED.value">
<view class="total" v-if="order.delivery[0].delivery_method != DeliveryMethodEnum.UNWANTED.value"> <view class="total" v-if="order.delivery[0].delivery_method != DeliveryMethodEnum.UNWANTED.value">
物流公司 物流公司

Loading…
Cancel
Save