瀏覽代碼

feat(workPage): 添加 hevue-img-preview 组件支持

在 workPage 主文件中引入 hevue-img-preview 组件并注册为 Vue 插件,以支持图片预览功能
SanHQin 1 周之前
父節點
當前提交
236ff7a58f

+ 1 - 1
dist/index.html

@@ -37,7 +37,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.9c0d6b3cf461ec195bba07969a77d238.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.714ff2bfc93f2f096b79.js></script><script type=text/javascript src=./static/js/app.59b44d3215155d420247.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.9c0d6b3cf461ec195bba07969a77d238.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.714ff2bfc93f2f096b79.js></script><script type=text/javascript src=./static/js/app.1fff3d53db31e83189f9.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/workPage.1e79f4fe3497f405d7f13e1d184eb66b.css.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/workPage.502104cdf68fb2f365109812cf489a4b.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/workPage.502104cdf68fb2f365109812cf489a4b.css.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.1fff3d53db31e83189f9.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.1fff3d53db31e83189f9.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/manifest.23ea04dc469b57e2b4f8.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/workPage.a90d89f9be35d671990a.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/workPage.a90d89f9be35d671990a.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/workPage.b45e595068e2e4c71217.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/workPage.b45e595068e2e4c71217.js.map


+ 1 - 1
dist/workPage.html

@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.1e79f4fe3497f405d7f13e1d184eb66b.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7b2c55096449c94cc8fd.js></script><script type=text/javascript src=./static/js/workPage.a90d89f9be35d671990a.js></script></body></html><script>function stopSafari() {
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.502104cdf68fb2f365109812cf489a4b.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7b2c55096449c94cc8fd.js></script><script type=text/javascript src=./static/js/workPage.b45e595068e2e4c71217.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

+ 4 - 1
src/workPage/main.js

@@ -7,7 +7,7 @@ import store from '../config/config'
 // 只引入 workPage 需要的 Element UI 组件
 import { Loading, Input, Button, Dialog } from 'element-ui'
 import 'element-ui/lib/theme-chalk/index.css'
-
+import hevueImgPreview from '../components/tools/hevue-img-preview'
 import { myMessage } from '../components/tools/message'
 import ajax from '../common/axios.config'
 import VueCookies from 'vue-cookies'
@@ -22,6 +22,9 @@ Vue.use(Input)
 Vue.use(Button)
 Vue.use(Dialog)
 Vue.use(VueCookies)
+Vue.use(hevueImgPreview)
+
+
 
 Vue.config.productionTip = false
 Vue.prototype.$store = store

部分文件因文件數量過多而無法顯示