|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<view class="detail">
|
|
|
+<<<<<<< HEAD
|
|
|
<!-- 轮播图 -->
|
|
|
<view class="carousel-map">
|
|
|
<u-swiper
|
|
@@ -220,6 +221,21 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+=======
|
|
|
+ <view class="detailItem">
|
|
|
+ <u-swiper
|
|
|
+ :list="list6"
|
|
|
+ :autoplay="false"
|
|
|
+ indicatorStyle="right: 20px"
|
|
|
+ class="swiper"
|
|
|
+ >
|
|
|
+ <view slot="indicator" class="indicator-num">
|
|
|
+ <text class="indicator-num__text"
|
|
|
+ >{{ currentNum + 1 }}/{{ list6.length }}</text
|
|
|
+ >
|
|
|
+ </view>
|
|
|
+ </u-swiper>
|
|
|
+>>>>>>> 5c64821b583febbe84eb9ada69db507c9555ff73
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -228,13 +244,21 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+<<<<<<< HEAD
|
|
|
count: 5,
|
|
|
value: 3,
|
|
|
list3: [
|
|
|
+=======
|
|
|
+ id: null, // 商家id
|
|
|
+ currentNum: 0,
|
|
|
+ list6: [
|
|
|
+ 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
|
|
|
+>>>>>>> 5c64821b583febbe84eb9ada69db507c9555ff73
|
|
|
'https://cdn.uviewui.com/uview/swiper/swiper3.png',
|
|
|
'https://cdn.uviewui.com/uview/swiper/swiper2.png',
|
|
|
'https://cdn.uviewui.com/uview/swiper/swiper1.png',
|
|
|
],
|
|
|
+<<<<<<< HEAD
|
|
|
list1: [
|
|
|
{ name: '全部' },
|
|
|
{ name: '养车' },
|
|
@@ -250,6 +274,20 @@ export default {
|
|
|
click(item) {
|
|
|
console.log('item', item);
|
|
|
},
|
|
|
+=======
|
|
|
+ };
|
|
|
+ },
|
|
|
+ onLoad(option) {
|
|
|
+ if (option.id) this.id = option.id;
|
|
|
+ this.getBusinessInfo(this.id);
|
|
|
+ this.getBusinessComment(this.id);
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 获取商家详情信息
|
|
|
+ getBusinessInfo(id) {},
|
|
|
+ // 获取商家评论信息
|
|
|
+ getBusinessComment(id) {},
|
|
|
+>>>>>>> 5c64821b583febbe84eb9ada69db507c9555ff73
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -260,6 +298,7 @@ export default {
|
|
|
background-color: #efefef;
|
|
|
}
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
// 轮播图
|
|
|
.carousel-map {
|
|
|
background-color: #fff;
|
|
@@ -450,4 +489,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+=======
|
|
|
+ &__text {
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.detailItem {
|
|
|
+ height: 400rpx;
|
|
|
+ background-color: pink;
|
|
|
+ .u-swiper__wrapper__item__wrapper__image.data-v-7b038a67 {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+}
|
|
|
+>>>>>>> 5c64821b583febbe84eb9ada69db507c9555ff73
|
|
|
</style>
|