zhangzengfei
2020-08-03 006d65361cfc92342f2268d4c5b87666b7bfa73b
app: desktop, 整理images
33个文件已删除
11 文件已重命名
7个文件已修改
405 ■■■■■ 已修改文件
public/images/apple.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/appstore.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/beian.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/blog.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/circle.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/background.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/SmartAI.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/help.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/notice.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/search.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/system.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/header-icon/user.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/message.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/resize.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/safari.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/desktop/weather.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/doc.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/email.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/finder.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/frost.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/gitee.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/github.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/iBooks.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/launchpad.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/logo.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/main.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/maps.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/preview.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp1.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp2.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp3.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp4.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp5.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/sp6.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/split.jpg 补丁 | 查看 | 原始文档 | blame | 历史
public/images/test/video.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/trash.png 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/img/circle.png 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/img/main.jpg 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/img/trash.png 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/App.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Copyright.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/DFrame.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Dock.vue 179 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Launchpad.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/NotificationCenter.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Preference.vue 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/Tools.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/ToolsEntry.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/components/WeatherNotice.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/desktop/index/store/modules/desktop.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/images/apple.png
Binary files differ
public/images/appstore.png
Binary files differ
public/images/beian.png
Binary files differ
public/images/blog.png
Binary files differ
public/images/circle.png
Binary files differ
public/images/desktop/background.png

public/images/desktop/header-icon/SmartAI.png

public/images/desktop/header-icon/help.png

public/images/desktop/header-icon/notice.png

public/images/desktop/header-icon/search.png

public/images/desktop/header-icon/system.png

public/images/desktop/header-icon/user.png

public/images/desktop/message.png

public/images/desktop/resize.png

public/images/desktop/safari.png

public/images/desktop/weather.png

public/images/doc.png
Binary files differ
public/images/email.png
Binary files differ
public/images/finder.png
Binary files differ
public/images/frost.png
Binary files differ
public/images/gitee.png
Binary files differ
public/images/github.png
Binary files differ
public/images/iBooks.png
Binary files differ
public/images/launchpad.png
Binary files differ
public/images/logo.png
Binary files differ
public/images/main.jpg
Binary files differ
public/images/maps.png
Binary files differ
public/images/preview.png
Binary files differ
public/images/sp1.jpg
Binary files differ
public/images/sp2.jpg
Binary files differ
public/images/sp3.jpg
Binary files differ
public/images/sp4.jpg
Binary files differ
public/images/sp5.jpg
Binary files differ
public/images/sp6.jpg
Binary files differ
public/images/split.jpg
Binary files differ
public/images/test/video.png
Binary files differ
public/images/trash.png
Binary files differ
src/pages/desktop/img/circle.png
Binary files differ
src/pages/desktop/img/main.jpg
Binary files differ
src/pages/desktop/img/trash.png
Binary files differ
src/pages/desktop/index/App.vue
@@ -3,7 +3,6 @@
    <tools></tools>
    <desktop></desktop>
    <tools-entry ref="dock_model"></tools-entry>
    <!-- <dock ref="dock_model"></dock> -->
    <notice-tip ref="notice_tip_model"></notice-tip>
    <notification-center></notification-center>
  </div>
@@ -32,54 +31,27 @@
      });
    }
    // setTimeout(function () {
    //   _that.$refs.dock_model.initDockItem();
    // }, 100);
    // axios.get(process.env.VUE_APP_USER_DATA_URL).then(function (res) {
    // });
    let msgResp = require("./mock/messages.json")
    if (msgResp.success) {
      msgResp.data.forEach(function (item) {
        _that.addMessage(item);
      })
    }
    // axios.get(process.env.VUE_APP_MESSAGE_URL).then(function (res) {
    // });
    let weather = require("./mock/weather.json")
    if (weather.success) {
      _that.addWeather(weather.data.data);
    }
    // axios.get(process.env.VUE_APP_WEATHER_URL).then(function (res) {
    // });
    setTimeout(function () {
      _that.addMessage({
        id: 'N1',
        icon: 'images/frost.png',
        tip: '分布式任务调度',
        title: '默认账号',
        body: '账号:frost 密码:frost',
        time: new Date()
      }, true);
    }, 3000);
    setTimeout(function () {
      _that.addMessage({
        id: 'N2',
        icon: 'images/message.png',
        icon: '/images/desktop/message.png',
        tip: '消息',
        title: '官方QQ',
        body: '1106088328',
        title: 'SmartAi',
        body: 'v1.0.0',
        time: new Date()
      }, true);
    }, 6000);
    console.log(this.$store.state.desktop)
    }, 1000);
  },
  methods: {
    addMessage: function (message, ding) {
@@ -112,7 +84,7 @@
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-image: url("../../../assets/img/desktop/desktop.png");
  background-image: url("/images/desktop/background.png");
  background-attachment: fixed;
}
src/pages/desktop/index/components/Copyright.vue
File was deleted
src/pages/desktop/index/components/DFrame.vue
@@ -19,11 +19,15 @@
      </slot>
    </div>
    <div class="d-frame-content">
      <iframe :src="data.url" v-if="data.url"></iframe>
      <div v-html="data.html" v-if="data.html"></div>
      <!-- <span class="d-frame-operation-resize" v-resize></span> -->
      <span class="d-frame-operation-resize" @mousedown="mousedown" @mousemove.prevent="mousemove" @mouseup="mouseup"></span>
      <span
        class="d-frame-operation-resize"
        @mousedown="mousedown"
        @mousemove.prevent="mousemove"
        @mouseup="mouseup"
      ></span>
    </div>
  </div>
</template>
@@ -179,7 +183,8 @@
</script>
<style scoped>
html,body{
html,
body {
  heiht: 100%;
}
.d-frame {
@@ -277,6 +282,6 @@
  height: 15px;
  z-index: 1000;
  cursor: nwse-resize;
  background: url("/images/resize.png") no-repeat;
  background: url("/images/desktop/resize.png") no-repeat;
}
</style>
src/pages/desktop/index/components/Dock.vue
File was deleted
src/pages/desktop/index/components/Launchpad.vue
File was deleted
src/pages/desktop/index/components/NotificationCenter.vue
@@ -18,8 +18,6 @@
        </div>
        <weather-notice></weather-notice>
        <copyright></copyright>
      </div>
      <div class="notification-center-body" v-if="notificationCenterType === 1">
        <message-notice
@@ -42,12 +40,11 @@
import Calender from './Calendar';
import WeatherNotice from './WeatherNotice';
import MessageNotice from './MessageNotice';
import Copyright from './Copyright';
export default {
  name: "NotificationCenter",
  components: {
    WeatherNotice, MessageNotice, Copyright
    WeatherNotice, MessageNotice
  },
  data() {
    return {
@@ -78,7 +75,7 @@
  height: calc(100% - 30px);
  width: 300px;
  background-color: rgba(200, 200, 200, 0.7);
  box-shadow: -1px 1px 2px rgba(0,0,0,.3);
  box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.3);
  z-index: 140;
}
src/pages/desktop/index/components/Preference.vue
File was deleted
src/pages/desktop/index/components/Tools.vue
@@ -5,38 +5,38 @@
        :class="['tools-icon','tools-show-desktop', {clicked:this.$store.state.desktop.preferenceVisiable}]"
        @click="togglePreference()"
      >
        <img class="system" :src="`${publicPath}images/header-icon/system.png`" />
        <img class="system" :src="`${publicPath}images/desktop/header-icon/system.png`" />
        <!-- <span class="fa fa-apple"></span> -->
      </div>
      <div class="tools-icon">
        <!-- <span class="fa fa-safari"></span> -->
        <img class="smart-ai" :src="`${publicPath}images/header-icon/SmartAI.png`" alt />
        <img class="smart-ai" :src="`${publicPath}images/desktop/header-icon/SmartAI.png`" alt />
      </div>
    </div>
    <div class="tools-middle">
      <div v-for="dock in this.$store.state.desktop.minDocks" :key="dock.id" class="dock-item-wrap">
        <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" :alt="dock.name" />
        </a>
      </div>
    </div>
    <div class="tools-right">
      <div class="tools-icon">
        <!-- <span class="fa fa-battery-full"></span> -->
        <img :src="`${publicPath}images/header-icon/search.png`" alt />
        <img :src="`${publicPath}images/desktop/header-icon/search.png`" alt />
      </div>
      <div class="tools-icon">
        <!-- <span class="fa fa-battery-full"></span> -->
        <img :src="`${publicPath}images/header-icon/help.png`" alt />
        <img :src="`${publicPath}images/desktop/header-icon/help.png`" alt />
      </div>
      <div class="tools-icon" @click="notificationCenterClick()">
        <!-- <span class="fa fa-battery-full"></span> -->
        <img :src="`${publicPath}images/header-icon/notice.png`" alt />
        <img :src="`${publicPath}images/desktop/header-icon/notice.png`" alt />
      </div>
      <div class="tools-icon">
        <!-- <span class="fa fa-battery-full"></span> -->
        <img :src="`${publicPath}images/header-icon/user.png`" alt />
        <img :src="`${publicPath}images/desktop/header-icon/user.png`" alt />
      </div>
      <!-- <timer></timer> -->
      <!-- <div class="tools-icon tools-notification-center" @click="notificationCenterClick()">
@@ -145,7 +145,6 @@
.tools .tools-middle {
  float: left;
  position: relative;
}
.tools .tools-middle::before {
  width: 1px;
src/pages/desktop/index/components/ToolsEntry.vue
@@ -2,10 +2,15 @@
  <div class="tools-entry">
    <div class="entry-wrap">
      <div class="app-list clearFix">
          <div class="app" v-for="dock in this.$store.state.desktop.docks" :key="dock.id" @click="dockClick(dock)">
        <div
          class="app"
          v-for="dock in this.$store.state.desktop.docks"
          :key="dock.id"
          @click="dockClick(dock)"
        >
            <div class="wrap">
              <div class="app-icon">
                <img :src="dock.src" :alt="dock.alt">
              <img :src="dock.src" :alt="dock.alt" />
              </div>
              <div class="app-name">{{dock.name}}</div>
            </div> 
@@ -21,26 +26,6 @@
  data(){
    return {
      publicPath: process.env.BASE_URL,
      // applist:[
      //   {src: `/images/app-mid/camera-access.png`, name:'摄像机接入'},
      //   {src: `/images/app-mid/datastack-config.png`, name:'数据栈配置'},
      //   {src: `/images/app-mid/DVR-access.png`, name:'硬盘录像机接入'},
      //   {src: `/images/app-mid/data-push.png`, name:'数据推送'},
      //   {src: `/images/app-mid/GB-config.png`, name:'GB28281配置'},
      //   {src: `/images/app-mid/scene-config.png`, name:'场景配置'},
      //   {src: `/images/app-mid/library.png`, name:'比对库管理'},
      //   {src: `/images/app-mid/poll.png`, name:'轮询管理'},
      //   {src: `/images/app-mid/algorithm-manage.png`, name:'算法管理'},
      //   {src: `/images/app-mid/algorithm-store.png`, name:'算法商城'},
      //   {src: `/images/app-mid/hashrate-manage.png`, name:'算力管理'},
      //   {src: `/images/app-mid/monitor.png`, name:'实时监控-在线播放'},
      //   {src: `/images/app-mid/search.png`, name:'检索-统计查询'},
      //   {src: `/images/app-mid/360.png`, name:'全景视频'},
      //   {src: `/images/app-mid/log-manage.png`, name:'日志管理'},
      //   {src: `/images/app-mid/device.png`, name:'设备管理'},
      //   {src: `/images/app-mid/settings.png`, name:'系统设置'},
      //   {src: `/images/app-mid/vindicate.png`, name:'系统维护'}
      // ]
    }
  },
  methods:{
@@ -114,10 +99,9 @@
          
          &:hover{
            .app-icon{
              background: rgba(0,0,0,.4);
            background: rgba(0, 0, 0, 0.4);
            }
          }
        }
      }
    }
src/pages/desktop/index/components/WeatherNotice.vue
@@ -1,7 +1,7 @@
<template>
  <notice v-if="this.$store.state.desktop.weather">
    <template slot="notice-header-icon">
      <img class="notice-header-icon-img" src="images/weather.png" />
      <img class="notice-header-icon-img" src="/images/desktop/weather.png" />
    </template>
    <template slot="notice-header-title">天气</template>
    <template slot="notice-body">
src/pages/desktop/index/store/modules/desktop.js
@@ -15,7 +15,7 @@
    isShow: true,
    url: '',
    title: 'safari',
    icon: 'images/safari.png',
    icon: '/images/desktop/safari.png',
    order: 0,
    leftOffset: 8,
    topOffset: 8