邓洁 : 修改细节
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<view class="input-and-swiper-root">
|
<view class="input-and-swiper-root">
|
||||||
<view class="search-box" v-if="type!=='0'">
|
<view class="search-box" v-if="type!=='0'">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="请输入店铺名称进行搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
prefixIconStyle="font-size: 24px;color: #909399;" border="true">
|
prefixIconStyle="font-size: 24px;color: #909399;" border="true" @change="changeInput">
|
||||||
<template slot="suffix">
|
<template slot="suffix">
|
||||||
<view style="display: flex;align-items: center;">
|
<view style="display: flex;align-items: center;">
|
||||||
<u-icon name="map-fill" color="#329866" size="22"></u-icon>
|
<u-icon name="map-fill" color="#329866" size="22"></u-icon>
|
||||||
@@ -53,6 +53,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
changeInput(e){
|
||||||
|
this.$emit('getQueryInfo',e)
|
||||||
|
},
|
||||||
open() {
|
open() {
|
||||||
if (!uni.getStorageSync('city') && !uni.getStorageSync('district')) {
|
if (!uni.getStorageSync('city') && !uni.getStorageSync('district')) {
|
||||||
uni.getSystemInfo({
|
uni.getSystemInfo({
|
||||||
|
|||||||
@@ -5,22 +5,22 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="list-container" @click="enterDetail()">
|
<view class="list-container" @click="enterDetail()">
|
||||||
<view class="text-area">
|
<view class="text-area">
|
||||||
<u-text style="font-weight: 500;" :text="shopInfo.tt" :lines="2" ></u-text>
|
<u-text style="font-weight: 500;" :text="shopInfo.tt" :lines="2"></u-text>
|
||||||
|
|
||||||
<view class="style2" v-if="showStyle === 1">
|
<view class="style2" v-if="showStyle === 1">
|
||||||
<view class="rent-and-cost">
|
<view class="rent-and-cost">
|
||||||
<text>租金:{{shopInfo.zujin}}元/月</text>
|
<text>租金:{{shopInfo.zujin}}元/月</text>
|
||||||
<text v-if="showStyle==1">预计投资:{{shopInfo.zhuanrangfei}}</text>
|
<text v-if="showStyle==1">预计投资:{{shopInfo.zhuanrangfei}}万</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cart-and-pos">
|
<view class="cart-and-pos">
|
||||||
<view>
|
<view style="width: 131rpx;margin-right: 68rpx;">
|
||||||
<view>
|
<view style="margin-right: 4px;">
|
||||||
<u-image src="/static/shoplist/sy_icon_lbhy.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbhy.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text>{{shopInfo.trade1}}</text>
|
<text>{{shopInfo.trade1}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view style="width: 131rpx;">
|
||||||
<view>
|
<view style="margin-right: 4px;">
|
||||||
<u-image src="/static/shoplist/sy_icon_lbhdw.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbhdw.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text>{{shopInfo.area1}}</text>
|
<text>{{shopInfo.area1}}</text>
|
||||||
@@ -28,16 +28,18 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="style3" v-if="showStyle === 2">
|
<view class="style3" v-if="showStyle === 2">
|
||||||
<view class="cjsj">成交时间:{{$u.timeFormat(shopInfo.deal_time,'yyyy-mm-dd')}}</view>
|
<view class="cjsj">
|
||||||
|
<text>成交时间:{{$u.timeFormat(shopInfo.deal_time,'yyyy-mm-dd')}}</text>
|
||||||
|
</view>
|
||||||
<view class="cart-and-pos">
|
<view class="cart-and-pos">
|
||||||
<view>
|
<view style="width: 131rpx;margin-right: 68rpx;">
|
||||||
<view>
|
<view style="margin-right: 4px;">
|
||||||
<u-image src="/static/cjal/al_icon_flh.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/cjal/al_icon_flh.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text :class="{style3: showStyle === 2}">{{shopInfo.trade1}}</text>
|
<text :class="{style3: showStyle === 2}">{{shopInfo.trade1}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view style="width: 131rpx;">
|
||||||
<view>
|
<view style="margin-right: 4px;">
|
||||||
<u-image src="/static/cjal/al_icon_dwh.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/cjal/al_icon_dwh.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text :class="{style3: showStyle === 2}">{{shopInfo.area1}}</text>
|
<text :class="{style3: showStyle === 2}">{{shopInfo.area1}}</text>
|
||||||
@@ -46,21 +48,21 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="sqr-and-lx" :class="{pb0: showStyle === 2}">
|
<view class="sqr-and-lx" :class="{pb0: showStyle === 2}">
|
||||||
<view>
|
<view style="width: 131rpx;margin-right: 68rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image v-if="showStyle === 2" src="/static/cjal/al_icon_pm.png" width="12px" height="15px"></u-image>
|
<u-image v-if="showStyle === 2" src="/static/cjal/al_icon_pm.png" width="12px" height="15px"></u-image>
|
||||||
<u-image v-else src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image>
|
<u-image v-else src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text :class="{style3: showStyle === 2}">{{shopInfo.mianji}}m2</text>
|
<text :class="{style3: showStyle === 2}">{{shopInfo.mianji}}m²</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view style="width: 131rpx;margin-right: 64rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image v-if="showStyle === 2" src="/static/cjal/al_icon_mch.png" width="12px" height="15px"></u-image>
|
<u-image v-if=" showStyle===2" src="/static/cjal/al_icon_mch.png" width="12px" height="15px"></u-image>
|
||||||
<u-image v-else src="/static/shoplist/sy_icon_lbxm.png" width="12px" height="15px"></u-image>
|
<u-image v-else src="/static/shoplist/sy_icon_lbxm.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text :class="{style3: showStyle === 2}">{{shopInfo.lianxiren}}</text>
|
<text :class="{style3: showStyle === 2}">{{shopInfo.lianxiren}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="flex:2">
|
<view style="width: 190rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image v-if="showStyle === 2" src="/static/cjal/al_icon_sjh.png" width="12px" height="15px"></u-image>
|
<u-image v-if="showStyle === 2" src="/static/cjal/al_icon_sjh.png" width="12px" height="15px"></u-image>
|
||||||
<u-image v-else src="/static/shoplist/sy_icon_lblxr.png" width="12px" height="15px"></u-image>
|
<u-image v-else src="/static/shoplist/sy_icon_lblxr.png" width="12px" height="15px"></u-image>
|
||||||
@@ -70,19 +72,19 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="cart-and-date" v-if="showStyle === 0">
|
<view class="cart-and-date" v-if="showStyle === 0">
|
||||||
<view>
|
<view style="width: 131rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image src="/static/shoplist/sy_icon_lbhy.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbhy.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text>{{shopInfo.trade1}}</text>
|
<text>{{shopInfo.trade1}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view style="width: 131rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image src="/static/shoplist/sy_icon_lbhdw.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbhdw.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<text>{{shopInfo.area1}}</text>
|
<text>{{shopInfo.area1}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="flex:2">
|
<view style="width: 290rpx;">
|
||||||
<view>
|
<view>
|
||||||
<u-image src="/static/shoplist/sy_icon_lbrq.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbrq.png" width="12px" height="15px"></u-image>
|
||||||
</view>
|
</view>
|
||||||
@@ -164,7 +166,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.style3 {
|
.style3 {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -183,11 +184,16 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 30rpx;
|
top: 30rpx;
|
||||||
right: 13rpx;
|
right: 13rpx;
|
||||||
|
z-index: 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cjsj {
|
.cjsj {
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
margin-bottom: 12rpx;
|
margin-bottom: 12rpx;
|
||||||
|
|
||||||
|
>text {
|
||||||
|
font-size: 24rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-border {
|
.list-border {
|
||||||
@@ -235,12 +241,11 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
>text {
|
>text {
|
||||||
font-size: 14px;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
@@ -260,6 +265,7 @@
|
|||||||
.rent-and-cost {
|
.rent-and-cost {
|
||||||
text {
|
text {
|
||||||
margin-right: 26rpx;
|
margin-right: 26rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
@@ -283,18 +289,21 @@
|
|||||||
text {
|
text {
|
||||||
color: #CC3333;
|
color: #CC3333;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sqr-and-lx {
|
.sqr-and-lx {
|
||||||
justify-content: space-between;
|
display: flex;
|
||||||
|
// justify-content: space-between;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
color: #359867;
|
color: #359867;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.style3 {
|
.style3 {
|
||||||
@@ -302,11 +311,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
flex: 1;
|
// flex: 1;
|
||||||
display: flex;
|
// display: flex;
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
margin-right: 4px;
|
// margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -321,7 +330,7 @@
|
|||||||
text {
|
text {
|
||||||
color: #CC3333;
|
color: #CC3333;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
margin-right: 48rpx;
|
// margin-right: 48rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,9 +13,10 @@
|
|||||||
<view class="grid-textup">{{shopInfo.zujin}}元/月</view>
|
<view class="grid-textup">{{shopInfo.zujin}}元/月</view>
|
||||||
<view class="grid-text">租金</view>
|
<view class="grid-text">租金</view>
|
||||||
</u-grid-item>
|
</u-grid-item>
|
||||||
<u-grid-item>
|
<u-grid-item v-if="type==1||type==2">
|
||||||
<view class="grid-textup">{{shopInfo.zhuanrangfei}}万元</view>
|
<view class="grid-textup">{{shopInfo.zhuanrangfei}}万元</view>
|
||||||
<view class="grid-text">转让费</view>
|
<view v-if="search" class="grid-text">转让费</view>
|
||||||
|
<view v-else class="grid-text">预计投资</view>
|
||||||
</u-grid-item>
|
</u-grid-item>
|
||||||
<u-grid-item>
|
<u-grid-item>
|
||||||
<view class="grid-textup">{{shopInfo.mianji}}m²</view>
|
<view class="grid-textup">{{shopInfo.mianji}}m²</view>
|
||||||
@@ -80,11 +81,13 @@
|
|||||||
return {
|
return {
|
||||||
shopInfo: {},
|
shopInfo: {},
|
||||||
showM: false,
|
showM: false,
|
||||||
search: true
|
search: true,
|
||||||
|
type: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
console.log('detail', options);
|
console.log('detail', options);
|
||||||
|
this.type = options.type
|
||||||
if (options.search == "1") {
|
if (options.search == "1") {
|
||||||
this.search = false
|
this.search = false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<view class="search-box">
|
<view class="search-box">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
prefixIconStyle="font-size: 24px;color: #909399;" border="true">
|
prefixIconStyle="font-size: 24px;color: #909399;" border="true" @change="getInput">
|
||||||
</u-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -70,6 +70,22 @@
|
|||||||
this.getShopList()
|
this.getShopList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 3,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.shopListLength = res.data.data.length
|
||||||
|
this.shopInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<view class="search-box">
|
<view class="search-box">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
prefixIconStyle="font-size: 24px;color: #909399;" border="true">
|
prefixIconStyle="font-size: 24px;color: #909399;" border="true" @change="getInput">
|
||||||
</u-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -70,6 +70,22 @@
|
|||||||
this.getShopList()
|
this.getShopList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 4,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.shopListLength = res.data.data.length
|
||||||
|
this.shopInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<view class="search-box">
|
<view class="search-box">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
prefixIconStyle="font-size: 24px;color: #909399;" border="true">
|
prefixIconStyle="font-size: 24px;color: #909399;" border="true" @change="getInput">
|
||||||
</u-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -69,6 +69,22 @@
|
|||||||
this.getShopList()
|
this.getShopList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 2,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.searchListLength = res.data.data.length
|
||||||
|
this.searchInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
<view class="bug-fix"></view>
|
<view class="bug-fix"></view>
|
||||||
<view class="search-box">
|
<view class="search-box">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="请输入店铺名称进行搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
prefixIconStyle="font-size: 24px;color: #909399;" border="true">
|
prefixIconStyle="font-size: 24px;color: #909399;" border="true" @change="getInput">
|
||||||
</u-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -69,6 +69,22 @@
|
|||||||
this.getShopList()
|
this.getShopList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 1,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.shopListLength = res.data.data.length
|
||||||
|
this.shopInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="root">
|
<view class="root">
|
||||||
<InputAndSwiper></InputAndSwiper>
|
<InputAndSwiper @getQueryInfo="getInput"></InputAndSwiper>
|
||||||
|
|
||||||
<view>
|
<view>
|
||||||
<view class="dropdown-bug">
|
<view class="dropdown-bug">
|
||||||
@@ -63,6 +63,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 2,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.searchListLength = res.data.data.length
|
||||||
|
this.searchInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="root">
|
<view class="root">
|
||||||
<InputAndSwiper></InputAndSwiper>
|
<InputAndSwiper @getQueryInfo="getInput"></InputAndSwiper>
|
||||||
|
|
||||||
<view>
|
<view>
|
||||||
<view class="dropdown-bug">
|
<view class="dropdown-bug">
|
||||||
@@ -63,6 +63,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getInput(val){
|
||||||
|
console.log('搜索值',val);
|
||||||
|
if(this.pageNum!==1){
|
||||||
|
this.pageNum=1
|
||||||
|
}
|
||||||
|
const q = this.$u.queryParams({
|
||||||
|
type: 1,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNum: this.pageNum,
|
||||||
|
kw:val
|
||||||
|
})
|
||||||
|
this.$api.getShopList(q).then(res => {
|
||||||
|
this.shopListLength = res.data.data.length
|
||||||
|
this.shopInfoList = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
getShopList(q, type) {
|
getShopList(q, type) {
|
||||||
let query = {}
|
let query = {}
|
||||||
if (type == "refresh") {
|
if (type == "refresh") {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user