Merge pull request 'lj' (#56) from lj into master
Reviewed-on: http://git.feashow.cn/odjbin/city-store-transfer/pulls/56
This commit is contained in:
@@ -54,12 +54,12 @@
|
|||||||
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
||||||
title: '琴行铺面转让',
|
title: '琴行铺面转让',
|
||||||
promotionNum: 23,
|
promotionNum: 23,
|
||||||
price: 6000,
|
price: 5000,
|
||||||
date: '2023-11-02',
|
date: '2023-11-02',
|
||||||
pos: '锦江区',
|
pos: '锦江区',
|
||||||
exactPos: '锦江区-汇源南路366号',
|
exactPos: '锦江区-汇源南路366号',
|
||||||
sqr: 100,
|
sqr: 100,
|
||||||
zrfText: "转让费:20万",
|
zrfText: "转让费:20000万",
|
||||||
category: '餐饮美食',
|
category: '餐饮美食',
|
||||||
uname: "张先生",
|
uname: "张先生",
|
||||||
phoneNum: 13348946108,
|
phoneNum: 13348946108,
|
||||||
@@ -68,13 +68,13 @@
|
|||||||
shopid: 2,
|
shopid: 2,
|
||||||
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
||||||
title: '琴行铺面转让',
|
title: '琴行铺面转让',
|
||||||
promotionNum: 28,
|
promotionNum: 23,
|
||||||
price: 5000,
|
price: 5000,
|
||||||
date: '2023-11-02',
|
date: '2023-11-02',
|
||||||
pos: '锦江区',
|
pos: '锦江区',
|
||||||
exactPos: '锦江区-汇源南路366号',
|
exactPos: '锦江区-汇源南路366号',
|
||||||
sqr: 200,
|
sqr: 200,
|
||||||
zrfText: "转让费:30万",
|
zrfText: "转让费:20000万",
|
||||||
category: '餐饮美食',
|
category: '餐饮美食',
|
||||||
uname: "王先生",
|
uname: "王先生",
|
||||||
phoneNum: 13348946108,
|
phoneNum: 13348946108,
|
||||||
|
|||||||
@@ -30,13 +30,13 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="rent-and-date">
|
<view class="rent-and-date">
|
||||||
<text>租金:{{shopInfo.price}}元/月</text>
|
<text>租金:{{shopInfo.price}}元/月</text>
|
||||||
<text v-if="showStyle==0">发布日期:{{shopInfo.date}}</text>
|
<text v-if="showStyle == 0">发布日期:{{shopInfo.date}}</text>
|
||||||
<text v-else="showStyle==1 ">{{shopInfo.zrfText}}</text>
|
<text v-if="showStyle == 1">{{shopInfo.zrfText}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="cart-and-date bottom-common" v-if="showStyle==1">
|
<view class="cart-and-date bottom-common" v-if="showStyle == 1 || showStyle == 2">
|
||||||
<view>
|
<view>
|
||||||
<view>
|
<view>
|
||||||
<u-image src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image>
|
<u-image src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="sub-detail u-flex">
|
<view class="sub-detail u-flex">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
{{title}}
|
{{shopInfo.title}}
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<u-grid :col="3">
|
<u-grid :col="3">
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
list: {
|
swiperlist: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default () {
|
default () {
|
||||||
return [
|
return [
|
||||||
@@ -83,8 +83,15 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
shopInfo: {
|
||||||
},
|
type: Object,
|
||||||
|
default () {
|
||||||
|
return {
|
||||||
|
title: "石锅饭铺面转让石锅饭铺面转让石锅饭铺面转",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
shopInfo:{
|
shopInfo:{
|
||||||
@@ -132,8 +139,6 @@
|
|||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
}
|
}
|
||||||
.swiper {
|
|
||||||
}
|
|
||||||
.title{
|
.title{
|
||||||
padding: 20rpx;
|
padding: 20rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<DropDown></DropDown>
|
<DropDown></DropDown>
|
||||||
</view>
|
</view>
|
||||||
<view class="marginLR10">
|
<view class="marginLR10">
|
||||||
<ShowShopList :showStyle="1"/>
|
<ShowShopList :showStyle="2"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<DropDown></DropDown>
|
<DropDown></DropDown>
|
||||||
</view>
|
</view>
|
||||||
<view class="marginLR10">
|
<view class="marginLR10">
|
||||||
<ShowShopList :showStyle="1"/>
|
<ShowShopList :showStyle="2"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
import HomeNoticeBar from "./HomeMainContent/HomeNoticeBar.vue"
|
import HomeNoticeBar from "./HomeMainContent/HomeNoticeBar.vue"
|
||||||
import HomeNavCard from "./HomeMainContent/HomeNavCard.vue"
|
import HomeNavCard from "./HomeMainContent/HomeNavCard.vue"
|
||||||
import Statistics from "./HomeMainContent/Statistics.vue"
|
import Statistics from "./HomeMainContent/Statistics.vue"
|
||||||
|
|
||||||
import QQMapWX from "@/utils/qqmap-wx-jssdk.min.js"
|
import QQMapWX from "@/utils/qqmap-wx-jssdk.min.js"
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -49,6 +50,7 @@
|
|||||||
this.getNotice()
|
this.getNotice()
|
||||||
this.getStat()
|
this.getStat()
|
||||||
this.open()
|
this.open()
|
||||||
|
this.getClassList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getBanner() {
|
getBanner() {
|
||||||
@@ -64,6 +66,10 @@
|
|||||||
getStat() {
|
getStat() {
|
||||||
this.$api.getStat().then(res => {
|
this.$api.getStat().then(res => {
|
||||||
this.statNum = res.data.data
|
this.statNum = res.data.data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getClassList() {
|
||||||
|
this.$api.getClassList().then(res => {
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,12 +9,11 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<ShowShopList v-if="listId == 0" class="list" :isEdit="true" :showStyle="1"></ShowShopList>
|
<ShowShopList v-if="listId == 0" class="list" :isEdit="true" :showStyle="1"></ShowShopList>
|
||||||
<SearchShopList v-if="listId == 1" class="list" :is-edit="true" :showStyle="1"></SearchShopList>
|
<SearchShopList v-if="listId == 1" class="list" :is-edit="true" :showStyle="1"></SearchShopList>
|
||||||
<ShowShopList v-if="listId == 2" class="list" :is-edit="true" :showStyle="1"></ShowShopList>
|
<ShowShopList v-if="listId == 2" class="list" :is-edit="true" :showStyle="2"></ShowShopList>
|
||||||
<ShowShopList v-if="listId == 3" class="list" :is-edit="true" :showStyle="1"></ShowShopList>
|
<ShowShopList v-if="listId == 3" class="list" :is-edit="true" :showStyle="2"></ShowShopList>
|
||||||
<ShowShopList v-if="listId == 4" class="list" :showStyle="1"></ShowShopList>
|
<ShowShopList v-if="listId == 4" class="list" :showStyle="0"></ShowShopList>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -204,6 +204,7 @@ const apiService = {
|
|||||||
resolve(service.get(url))
|
resolve(service.get(url))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//获取首页分析数据
|
||||||
getStat() {
|
getStat() {
|
||||||
const url = `/home/stat`
|
const url = `/home/stat`
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -223,6 +224,13 @@ const apiService = {
|
|||||||
return new Promise((resolve,reject) => {
|
return new Promise((resolve,reject) => {
|
||||||
resolve(service.get(url))
|
resolve(service.get(url))
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
//获取行业和业态
|
||||||
|
getClassList(pid){
|
||||||
|
const url = `/home/classlist/?pid=${pid}`
|
||||||
|
return new Promise((resolve,reject) => {
|
||||||
|
resolve(service.post(url))
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export {
|
export {
|
||||||
|
|||||||
Reference in New Issue
Block a user