|
@@ -4,7 +4,7 @@
|
|
|
<view class="box defaultBgc">
|
|
|
<scroll-view class="scrollBox" scroll-y="true" @scrolltolower="loadingMore" style="position:relative;">
|
|
|
<view>
|
|
|
- <SwiperAd :list="swiperAdList"></SwiperAd>
|
|
|
+ <SwiperAd :list="swiperAdList" :strType="false" @click="handleToDetails"></SwiperAd>
|
|
|
<!-- 五宫格菜单 -->
|
|
|
<view class="white-bgc ss-p-t-10">
|
|
|
<uni-grid :column="5" @change="handleGrid" :showBorder="false">
|
|
@@ -94,9 +94,10 @@ onLoad(() => {
|
|
|
const inputDialog = ref()
|
|
|
const more = ref('more')
|
|
|
const swiperAdList = [
|
|
|
- 'https://minio.menduner.com/dev/menduner/banner/IHG.gif',
|
|
|
- 'https://minio.menduner.com/dev/menduner/banner/Marriott.jpg',
|
|
|
- 'https://minio.menduner.com/dev/menduner/banner/UrCove.jpg'
|
|
|
+ { src: 'https://minio.menduner.com/dev/menduner/banner/IHG.gif', id: '577540545828753408' },
|
|
|
+ { src: 'https://minio.menduner.com/dev/menduner/banner/Marriott.jpg', id: '734173233779183616' },
|
|
|
+ { src: 'https://minio.menduner.com/dev/menduner/banner/UrCove.jpg', id: '277182701256183808' },
|
|
|
+ { src: 'https://minio.menduner.com/dev/menduner/miniProgram/Grand-Mercure.jpg', id: '120281807903133696' }
|
|
|
]
|
|
|
const filterList = ref([
|
|
|
{ label: '城市', dictType: 'areaTreeDataExtend', key: 'areaIds', map: { text: 'name', value: 'id' } },
|
|
@@ -115,12 +116,22 @@ const gridList = [
|
|
|
{ label: '联系我们', icon: '/static/img/contact.png', path: '' }
|
|
|
]
|
|
|
|
|
|
+// 跳转企业详情
|
|
|
+const handleToDetails = ({ id }) => {
|
|
|
+ if (!id) return
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pagesB/companyDetail/index?id=${id}`
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
const handleGrid = (e) => {
|
|
|
// uni.showToast({
|
|
|
// icon: 'none',
|
|
|
// title: '请前往网页版门墩儿查看'
|
|
|
// })
|
|
|
// inputDialog.value.open()
|
|
|
+
|
|
|
+ // wx79f9c2db3c3a35e3
|
|
|
}
|
|
|
|
|
|
//
|