star7th 7 жил өмнө
parent
commit
d64a04b056

+ 1 - 1
web/index.html

@@ -4,4 +4,4 @@
       "server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
       //"lang" :'en'
       "lang" :'zh-cn'
-  }</script><link href=./static/css/app.c653dea580ee73f37d03fd14bd03157f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.441dac1e7e9622d50c15.js></script><script type=text/javascript src=./static/js/vendor.89634a082eb5b01cb6e2.js></script><script type=text/javascript src=./static/js/app.774555ecb0686c3104ad.js></script></body></html>
+  }</script><link href=./static/css/app.c653dea580ee73f37d03fd14bd03157f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.22d3db7b6d14addfc784.js></script><script type=text/javascript src=./static/js/vendor.ba24f6ccee070864d547.js></script><script type=text/javascript src=./static/js/app.2b846f13596102fad889.js></script></body></html>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
web/static/js/app.2b846f13596102fad889.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
web/static/js/app.774555ecb0686c3104ad.js


+ 1 - 1
web/static/js/manifest.441dac1e7e9622d50c15.js → web/static/js/manifest.22d3db7b6d14addfc784.js

@@ -1 +1 @@
-!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=n(n.s=a[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"89634a082eb5b01cb6e2",1:"774555ecb0686c3104ad"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,a.appendChild(i),c},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
+!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var i,u,f,s=0,l=[];s<t.length;s++)u=t[s],o[u]&&l.push(o[u][0]),o[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(r&&r(t,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=n(n.s=a[s]);return f};var t={},o={2:0};n.e=function(e){function r(){i.onerror=i.onload=null,clearTimeout(u);var n=o[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var c=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=c;var a=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,n.nc&&i.setAttribute("nonce",n.nc),i.src=n.p+"static/js/"+e+"."+{0:"ba24f6ccee070864d547",1:"2b846f13596102fad889"}[e]+".js";var u=setTimeout(r,12e4);return i.onerror=i.onload=r,a.appendChild(i),c},n.m=e,n.c=t,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
web/static/js/vendor.89634a082eb5b01cb6e2.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
web/static/js/vendor.ba24f6ccee070864d547.js


+ 15 - 1
web_src/src/components/common/Editormd.vue

@@ -227,7 +227,21 @@ export default {
 
         });
 
-        $("th").css("width","180px");
+        //获取内容总长度
+        var contentWidth = $("#"+this.id+" p").width() ;
+        contentWidth = contentWidth ? contentWidth : 722;
+        //表格列 的宽度
+        $("#"+this.id+" table").each(function(i){
+          var $v =$(this).get(0) ;//原生dom对象
+          var num = $v.rows.item(0).cells.length ; //表格的列数
+          var colWidth = Math.floor(contentWidth/num) -2 ;
+          if (num <= 5) {
+            $(this).find("th").css("width",colWidth.toString()+"px");
+          }
+          
+        });
+
+        
         //图片点击放大
         $("#"+this.id+" img").click(function(){
           var  img_url = $(this).attr("src");

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно