hanbaoshan
2020-08-05 7a75b3ecd06ef0ad9b9288530e3eade3c453c1dc
src/pages/desktop/index/components/Tools.vue
@@ -12,10 +12,11 @@
      </div>
    </div>
    <div class="tools-middle">
      <div v-for="dock in this.$store.state.desktop.minDocks" :key="dock.id" class="dock-item-wrap" :class="{'actived':dock.highlight}">
      <div v-for="dock in $store.state.desktop.minDocks" :key="dock.id" class="dock-item-wrap" :class="{'actived':dock.highlight}">
        <a @click="dockClick(dock)">
          <img class="dock-item" :src="dock.src" :alt="dock.alt" />
          <img class="dock-shot" :src="dock.screenshot" :alt="dock.name" />
          <img class="dock-shot" :src="dock.screenshot" v-if="dock.screenshot"/>
        </a>
      </div>
    </div>
@@ -75,6 +76,7 @@
  //     deep: true
  //   }
  // },
  
  methods: {
    notificationCenterClick: function () {
@@ -103,7 +105,8 @@
          id: frame.id,
          src: frame.icon,
          alt: frame.title,
          type: "3"
          type: "3",
          screenshot: ''
        });
      })
    },