|
|
|
@ -1,7 +1,13 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="content">
|
|
|
|
<view class="content">
|
|
|
|
<view class="activeTop">
|
|
|
|
<view class="activeTop">
|
|
|
|
|
|
|
|
<view class="searchBox">
|
|
|
|
|
|
|
|
<view class="searchCol">
|
|
|
|
|
|
|
|
<view class="iconfont icon-search1"></view>
|
|
|
|
|
|
|
|
<input type="text" placeholder="请输入关键字" @confirm="toSearch" />
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="iconfont icon-w_location-"></view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<view class="album_swiper">
|
|
|
|
<view class="album_swiper">
|
|
|
|
<swiper :autoplay="autoplay" :interval="interval" :duration="duration" :indicator-dots="true"
|
|
|
|
<swiper :autoplay="autoplay" :interval="interval" :duration="duration" :indicator-dots="true"
|
|
|
|
indicator-active-color="rgba(255,255,255,0.5)" indicator-color="rgba(255,255,255,1)">
|
|
|
|
indicator-active-color="rgba(255,255,255,0.5)" indicator-color="rgba(255,255,255,1)">
|
|
|
|
@ -119,6 +125,12 @@
|
|
|
|
this.loadPage((this.currentPage + 1), '', 6, 1)
|
|
|
|
this.loadPage((this.currentPage + 1), '', 6, 1)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
toSearch(e) {
|
|
|
|
|
|
|
|
console.log(e)
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: "/packages/packageBuy/pages/shopList/shopList?keyword=" + e.detail.value
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
async getNav(code) {
|
|
|
|
async getNav(code) {
|
|
|
|
await weixin.request({
|
|
|
|
await weixin.request({
|
|
|
|
newUrl: true,
|
|
|
|
newUrl: true,
|
|
|
|
@ -267,7 +279,6 @@
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.activeTop {
|
|
|
|
.activeTop {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 342rpx;
|
|
|
|
|
|
|
|
background: linear-gradient(180deg, #FF578A 0%, rgba(255, 87, 138, 0) 100%);
|
|
|
|
background: linear-gradient(180deg, #FF578A 0%, rgba(255, 87, 138, 0) 100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|