|
@@ -3,13 +3,13 @@
|
|
|
<view class="footer-left">
|
|
|
<view class="left-item" @click="collect(0)">
|
|
|
<view class="item-img">
|
|
|
- <image src="/static/home/icon_home_detail_shop.png" class="img"></image>
|
|
|
+ <image src="/static/pagesHome/detail_shop.png" class="img"></image>
|
|
|
</view>
|
|
|
<view class="item-text">店铺</view>
|
|
|
</view>
|
|
|
<view class="left-item" @click="collect(1)">
|
|
|
<view class="item-img">
|
|
|
- <image src="/static/home/icon_home_detail_comment.png" class="img"></image>
|
|
|
+ <image src="/static/pagesHome/detail_comment.png" class="img"></image>
|
|
|
</view>
|
|
|
<view class="item-text">咨询</view>
|
|
|
</view>
|
|
@@ -19,8 +19,8 @@
|
|
|
<image
|
|
|
:src="
|
|
|
goods.favorites
|
|
|
- ? require('/static/home/icon_home_detail_heart.png')
|
|
|
- : require('/static/home/icon_home_detail_heart2.png')
|
|
|
+ ? require('/static/pagesHome/detail_heart.png')
|
|
|
+ : require('/static/pagesHome/detail_heart-select.png.png')
|
|
|
"
|
|
|
class="img"
|
|
|
></image>
|
|
@@ -32,7 +32,16 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-export default {};
|
|
|
+export default {
|
|
|
+ methods: {
|
|
|
+ collect(data) {
|
|
|
+ this.$emit('collect', data);
|
|
|
+ },
|
|
|
+ handlerAddCart() {
|
|
|
+ this.$emit('cart');
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|