|
@@ -1,627 +0,0 @@
|
|
|
-<template>
|
|
|
- <div>
|
|
|
- <div>
|
|
|
- <!-- 主菜单界面 -->
|
|
|
- <div
|
|
|
- class="syno-sds-appview syno-sds-appview-animate"
|
|
|
- style="width: 100%; height: 100%"
|
|
|
- :style="{ display: display }"
|
|
|
- >
|
|
|
- <div class="syno-sds-appview-container">
|
|
|
- <div class="search-field" style="width: 278px">
|
|
|
- <input
|
|
|
- type="text"
|
|
|
- size="16"
|
|
|
- placeholder="搜索"
|
|
|
- class="search-field-input"
|
|
|
- @click.stop="searchInputFocus"
|
|
|
- />
|
|
|
- <button
|
|
|
- type="button"
|
|
|
- class="search-field-clear-btn"
|
|
|
- style="display: none"
|
|
|
- ></button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="sds-shortcut-wrapper">
|
|
|
- <div class="shortcut-zone" style="width: 13%"></div>
|
|
|
- <div class="shortcut-zone right-zone" style="width: 13%"></div>
|
|
|
- </div>
|
|
|
- <div class="sds-app-panel">
|
|
|
- <div
|
|
|
- class="v-ps ps ps--active-y"
|
|
|
- v-if="desktopAppViewDetail.detailMessageList"
|
|
|
- >
|
|
|
- <div class="app-layout-wrapper" style="width: 74%; height: 100%">
|
|
|
- <div
|
|
|
- class="sds-desktop-layout search-layout"
|
|
|
- style="display: none"
|
|
|
- ></div>
|
|
|
- <div class="sds-desktop-layout">
|
|
|
- <li
|
|
|
- class="launch-icon app-item-icon"
|
|
|
- v-for="detailMessage in desktopAppViewDetail.detailMessageList"
|
|
|
- :key="detailMessage.id"
|
|
|
- @click.stop="
|
|
|
- clickAppViewItem(detailMessage.id)
|
|
|
- "
|
|
|
- >
|
|
|
- <div
|
|
|
- class="image"
|
|
|
- :style="{
|
|
|
- backgroundImage: `url(${detailMessage.titleImgUrl})`,
|
|
|
- }"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="sds-application-notify-badge-num"
|
|
|
- style="opacity: 0"
|
|
|
- ></div>
|
|
|
- </div>
|
|
|
- <div class="text">{{ detailMessage.title }}</div>
|
|
|
- </li>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="sds-desktop-no-result" v-else>找不到符合的项目。</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <AppViewItem
|
|
|
- :defaultZIndex="defaultZIndex"
|
|
|
- :detailMessageList="desktopAppViewDetail.detailMessageList"
|
|
|
- ></AppViewItem>
|
|
|
- </div>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-import AppViewItem from "./AppViewItem";
|
|
|
-export default {
|
|
|
- props: ["defaultZIndex","appViewData"],
|
|
|
- data() {
|
|
|
- return {
|
|
|
- desktopAppViewDetail: {
|
|
|
- detailMessageList: [
|
|
|
- // {
|
|
|
- // id: 0,
|
|
|
- // width: "1150px",
|
|
|
- // height: "calc(100vh - 120px)",
|
|
|
- // minHeight: "520px",
|
|
|
- // title: "控制中心",
|
|
|
- // spacialCls: "controlCenter",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/index/controlCenter.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 1,
|
|
|
- // width: "1010px",
|
|
|
- // height: "calc(100vh - 220px)",
|
|
|
- // minHeight: "420px",
|
|
|
- // title: "DSM 说明",
|
|
|
- // spacialCls: "question",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/index/question.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 2,
|
|
|
- // width: "1254px",
|
|
|
- // height: "calc(100vh - 80px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "套件中心",
|
|
|
- // spacialCls: "tjCenter",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/index/tjCenter.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 3,
|
|
|
- // width: "1230px",
|
|
|
- // height: "calc(100vh - 200px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "资源监控",
|
|
|
- // spacialCls: "resourceMonitor",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/resourceMonitor.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 4,
|
|
|
- // width: "1220px",
|
|
|
- // height: "calc(100vh - 210px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "存储管理器",
|
|
|
- // spacialCls: "storageManager",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/storageManager.png",
|
|
|
-
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 5,
|
|
|
- // width: "1210px",
|
|
|
- // height: "calc(100vh - 190px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "logCenter",
|
|
|
- // spacialCls: "controlCenter",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/logCenter.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 6,
|
|
|
- // width: "1200px",
|
|
|
- // height: "calc(100vh - 180px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "安全顾问",
|
|
|
- // spacialCls: "securityScan",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/securityScan.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 7,
|
|
|
- // width: "1190px",
|
|
|
- // height: "calc(100vh - 170px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "技术支持中心",
|
|
|
- // spacialCls: "supportCenter",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/supportCenter.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 8,
|
|
|
- // width: "1170px",
|
|
|
- // height: "calc(100vh - 160px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Storage Manager",
|
|
|
- // spacialCls: "storageManager",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/storageManager.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 9,
|
|
|
- // width: "1160px",
|
|
|
- // height: "calc(100vh - 150px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology MailPlus Server",
|
|
|
- // spacialCls: "mailPlusServer",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/mailPlusServer.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 10,
|
|
|
- // width: "1150px",
|
|
|
- // height: "calc(100vh - 140px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Chat 管理控制台",
|
|
|
- // spacialCls: "chatAdminpng",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/chatAdminpng.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 11,
|
|
|
- // width: "1140px",
|
|
|
- // height: "calc(100vh - 130px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Chat",
|
|
|
- // spacialCls: "chat",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/chat.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 12,
|
|
|
- // width: "1010px",
|
|
|
- // height: "calc(100vh - 200px)",
|
|
|
- // minHeight: "440px",
|
|
|
- // title: "File Station",
|
|
|
- // spacialCls: "file",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/index/file.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 13,
|
|
|
- // width: "1120px",
|
|
|
- // height: "calc(100vh - 110px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Hyper Backup",
|
|
|
- // spacialCls: "hyperBackup",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/hyperBackup.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 14,
|
|
|
- // width: "1110px",
|
|
|
- // height: "calc(100vh - 100px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Advanced Media Extensions",
|
|
|
- // spacialCls: "aME",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/aME.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 15,
|
|
|
- // width: "1100px",
|
|
|
- // height: "calc(100vh - 90px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Calendar",
|
|
|
- // spacialCls: "synologyCalendar",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/synologyCalendar.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 16,
|
|
|
- // width: "1090px",
|
|
|
- // height: "calc(100vh - 80px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Contacts",
|
|
|
- // spacialCls: "contacts",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/contacts.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 17,
|
|
|
- // width: "1070px",
|
|
|
- // height: "calc(100vh - 70px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Universal Search",
|
|
|
- // spacialCls: "universalSearch",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/universalSearch.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 18,
|
|
|
- // width: "1060px",
|
|
|
- // height: "calc(100vh - 60px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Photos",
|
|
|
- // spacialCls: "photos",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/photos.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 19,
|
|
|
- // width: "1260px",
|
|
|
- // height: "calc(100vh - 210px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Audio Station",
|
|
|
- // spacialCls: "audioStation",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/audioStation.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 20,
|
|
|
- // width: "1050px",
|
|
|
- // height: "calc(100vh - 30px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Drive 管理控制台",
|
|
|
- // spacialCls: "driveAdminConsole",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/driveAdminConsole.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 21,
|
|
|
- // width: "1060px",
|
|
|
- // height: "calc(100vh - 60px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Download Station",
|
|
|
- // spacialCls: "downloadStation",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/downloadStation.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 22,
|
|
|
- // width: "1240px",
|
|
|
- // height: "calc(100vh - 170px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Drive",
|
|
|
- // spacialCls: "synologyDrive",
|
|
|
- // display: "none",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/synologyDrive.png",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 23,
|
|
|
- // width: "1130px",
|
|
|
- // height: "calc(100vh - 50px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology MailPlus",
|
|
|
- // spacialCls: "mailPlus",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/mailPlus.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 24,
|
|
|
- // width: "1050px",
|
|
|
- // height: "calc(100vh - 90px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "媒体服务器",
|
|
|
- // spacialCls: "mediaServer",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/mediaServer.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 25,
|
|
|
- // width: "1120px",
|
|
|
- // height: "calc(100vh - 100px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Note Station",
|
|
|
- // spacialCls: "noteStation",
|
|
|
- // display: "none",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/noteStation.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 26,
|
|
|
- // width: "1130px",
|
|
|
- // height: "calc(100vh - 80px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "OAuth Service",
|
|
|
- // spacialCls: "authenticator",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/authenticator.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 27,
|
|
|
- // width: "1070px",
|
|
|
- // height: "calc(100vh - 180px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "PDF 查看器",
|
|
|
- // spacialCls: "documentViewer",
|
|
|
- // display: "none",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/documentViewer.png",
|
|
|
- // zIndex: "9050",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 28,
|
|
|
- // width: "1030px",
|
|
|
- // height: "calc(100vh - 200px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Synology Drive ShareSync",
|
|
|
- // spacialCls: "package",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl: "../../../../public/image/DesktopAppView/package.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 29,
|
|
|
- // width: "1110px",
|
|
|
- // height: "calc(100vh - 110px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "Video Station",
|
|
|
- // spacialCls: "videoStation",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/videoStation.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: 30,
|
|
|
- // width: "1120px",
|
|
|
- // height: "calc(100vh - 120px)",
|
|
|
- // minHeight: "560px",
|
|
|
- // title: "文本编辑器",
|
|
|
- // spacialCls: "textEditor",
|
|
|
- // cls: "deactive-win",
|
|
|
- // titleImgUrl:
|
|
|
- // "../../../../public/image/DesktopAppView/textEditor.png",
|
|
|
- // display: "none",
|
|
|
- // zIndex: 9050,
|
|
|
- // iconRestore: "none",
|
|
|
- // iconMaximize: "block",
|
|
|
- // },
|
|
|
- ],
|
|
|
- },
|
|
|
- display: "none",
|
|
|
- };
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- this.$bus.on("showAppView", this.showAppView);
|
|
|
- console.log(this.appViewData)
|
|
|
- this.desktopAppViewDetail.detailMessageList = this.appViewData
|
|
|
- console.log(this.desktopAppViewDetail.detailMessageList)
|
|
|
- },
|
|
|
- methods: {
|
|
|
- // 显示appView页面
|
|
|
- showAppView() {
|
|
|
- this.display = "block";
|
|
|
- this.$bus.emit("appViewIsOpen", true);
|
|
|
- window.addEventListener("click", this.WindowClick, false);
|
|
|
- this.$bus.emit("hiddenDialogWindow");
|
|
|
- },
|
|
|
- // 搜索框聚焦
|
|
|
- searchInputFocus(e) {
|
|
|
- if (
|
|
|
- !e.srcElement.parentElement.className.includes("search-field-focused")
|
|
|
- ) {
|
|
|
- }
|
|
|
- },
|
|
|
- // 点击页面关闭本页面
|
|
|
- WindowClick() {
|
|
|
- this.display = "none";
|
|
|
- this.$bus.emit("appViewIsOpen", false);
|
|
|
- window.removeEventListener("click", this.WindowClick, false);
|
|
|
- this.$bus.emit("showDialogWindow");
|
|
|
- },
|
|
|
- // 点击appViewItem
|
|
|
- clickAppViewItem(id) {
|
|
|
- console.log(id)
|
|
|
- this.$bus.emit("clickAppViewItem", id);
|
|
|
- this.WindowClick()
|
|
|
- },
|
|
|
- },
|
|
|
- watch:{
|
|
|
- appViewData(){
|
|
|
- this.desktopAppViewDetail.detailMessageList = this.appViewData
|
|
|
- console.log(appViewData)
|
|
|
- }
|
|
|
- },
|
|
|
- components: {
|
|
|
- AppViewItem,
|
|
|
- },
|
|
|
- name: "DesktopAppView",
|
|
|
-};
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="css" scoped>
|
|
|
-.sds-desktop-layout {
|
|
|
- display: grid;
|
|
|
- flex-direction: row;
|
|
|
- justify-content: space-between;
|
|
|
- grid-template-columns: repeat(auto-fill, 172px);
|
|
|
- overflow: -moz-scrollbars-none;
|
|
|
-}
|
|
|
-.app-layout-wrapper::-webkit-scrollbar {
|
|
|
- width: 0 !important;
|
|
|
-}
|
|
|
-
|
|
|
-.app-layout-wrapper {
|
|
|
- overflow: scroll;
|
|
|
-}
|
|
|
-
|
|
|
-.syno-sds-appview .sds-app-panel .sds-desktop-layout {
|
|
|
- justify-content: space-around;
|
|
|
-}
|
|
|
-
|
|
|
-.syno-sds-appview .sds-app-panel .sds-desktop-layout .app-item-icon {
|
|
|
- align-self: flex-start;
|
|
|
-}
|
|
|
-
|
|
|
-.search-field input::-webkit-input-placeholder {
|
|
|
- color: rgb(102 111 122);
|
|
|
-}
|
|
|
-
|
|
|
-.search-field input:-moz-placeholder {
|
|
|
- color: rgb(102 111 122);
|
|
|
-}
|
|
|
-
|
|
|
-.search-field input:-ms-input-placeholder {
|
|
|
- color: rgb(102 111 122);
|
|
|
-}
|
|
|
-</style>
|