Commit dd55dc5a by 程默

fix home

parent c51d1a9d
<template> <template>
<div class="domain"> <div class="domain">
<view class="ant-daipinglun">1</view> <!-- <view class="ant-daipinglun">1</view> -->
<!-- <goods-list id="goodsList"></goods-list> --> <!-- <goods-list id="goodsList"></goods-list> -->
<scroll-view @scroll="scrolls" @scrolltolower="scrolltolower" style="height:100vh;" scroll-y="true"> <scroll-view @scroll="scrolls" @scrolltolower="scrolltolower" style="height:100vh;" scroll-y="true">
<div style="position:relative"> <div style="position:relative">
...@@ -18,24 +18,24 @@ ...@@ -18,24 +18,24 @@
<div v-else-if="item.componentCode == 'cube-nav'"> <div v-else-if="item.componentCode == 'cube-nav'">
<cube-nav :datas="item"></cube-nav> <cube-nav :datas="item"></cube-nav>
</div> </div>
</div> <div v-else-if="item.componentCode == 'time-limited-discount'">
<div v-else-if="item.componentCode == 'time-limited-discount'"> <time-limited-discount :datas="item"></time-limited-discount>
<time-limited-discount :datas="item"></time-limited-discount> </div>
</div> <div v-if="item.componentCode == 'links'">
<div v-if="item.componentCode == 'links'"> <links :datas="item"></links>
<links :datas="item"></links> </div>
</div> <div v-if="item.componentCode == 'interval'">
<div v-if="item.componentCode == 'interval'"> <interval :datas="item"></interval>
<interval :datas="item"></interval> </div>
</div> <div v-if="item.componentCode == 'partition'">
<div v-if="item.componentCode == 'partition'"> <partition :datas="item"></partition>
<partition :datas="item"></partition> </div>
</div> <div v-if="item.componentCode == 'shop-popup'">
<div v-if="item.componentCode == 'shop-popup'"> <shop-popup :datas="item"></shop-popup>
<shop-popup :datas="item"></shop-popup> </div>
</div> <div v-if="item.componentCode == 'float-button'">
<div v-if="item.componentCode == 'float-button'"> <float-button :datas="item"></float-button>
<float-button :datas="item"></float-button> </div>
</div> </div>
</div> </div>
<bottomCont></bottomCont> <bottomCont></bottomCont>
...@@ -65,13 +65,9 @@ import links from '@/components/basicTool/link/index.vue' ...@@ -65,13 +65,9 @@ import links from '@/components/basicTool/link/index.vue'
import interval from '@/components/basicTool/interval/index.vue' import interval from '@/components/basicTool/interval/index.vue'
import partition from '@/components/basicTool/partition/index.vue' import partition from '@/components/basicTool/partition/index.vue'
import shopPopup from '@/components/basicTool/shop-popup/index.vue' import shopPopup from '@/components/basicTool/shop-popup/index.vue'
import { setTabBarActive, checkTabbarPage } from "../../utils/mayi.js"; // import { setTabBarActive, checkTabbarPage } from "../../utils/mayi.js";
export default { export default {
components: {
bottomCont,
ThemeDataPlant
},
data() { data() {
return { return {
pageInfo: {}, pageInfo: {},
...@@ -83,6 +79,8 @@ export default { ...@@ -83,6 +79,8 @@ export default {
interval, interval,
partition, partition,
shopPopup, shopPopup,
bottomCont,
ThemeDataPlant
}, },
onShareAppMessage: function(res) { onShareAppMessage: function(res) {
if (res.from === "button") { if (res.from === "button") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment