| | |
| | | |
| | | <div :style="{ height: (twoNav && twoNav.length > 0) ? '2.3rem' : '2.3rem'}"></div> |
| | | |
| | | <div v-if="!loading" style="min-height: 100vh;" class=" swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-free-mode swiper-container-ios"> |
| | | <div v-if="!loading" style="min-height: 100vh; background: #fbe7e2;" class=" swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-free-mode swiper-container-ios"> |
| | | <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);"> |
| | | <div class="swiper-slide list-section"> |
| | | <div class="listTmp " v-for="(data,key) in lists" :key="key" v-on:click="targetItem(data)"> |
| | |
| | | methods: { |
| | | |
| | | targetItem:function(item){ |
| | | if(this.isUniReady) |
| | | uni.navigateTo({ |
| | | url: '/pages/goods/goodsDetail?id=' + items.goodsid+'&frompage=freebuy' |
| | | }); |
| | | /* if(this.isUniReady) |
| | | { |
| | | uni.postMessage({ |
| | | data: { |
| | |
| | | data:item |
| | | } |
| | | }); |
| | | } |
| | | } */ |
| | | }, |
| | | |
| | | getUrlPar:function(name) |