diff --git a/config/index.js b/config/index.js index 7c58c0fa31a3de2d01bd813a01551340190b5831..324e89c4843bfe9d1ba648c2ba415f5daed45483 100644 --- a/config/index.js +++ b/config/index.js @@ -82,4 +82,4 @@ module.exports = { // Set to `true` or `false` to always turn it on or off bundleAnalyzerReport: process.env.npm_config_report } -} \ No newline at end of file +} diff --git a/src/App.vue b/src/App.vue index b0a584bae1c3081551d6efd7830aae0c1650df91..ae349c2d8702fb5cbf04425f6cc2bd2bfc905f3f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,212 +1,261 @@ diff --git a/src/comment/ArticleComment.vue b/src/comment/ArticleComment.vue index 080798d843970d83f0e44afa4efae66cbcedc82d..08c2840eb348556ebea40752667d1eee57937d58 100644 --- a/src/comment/ArticleComment.vue +++ b/src/comment/ArticleComment.vue @@ -45,7 +45,8 @@ export default { return { noneMsg: "还没人评论>_<", msg: "评论区", - baseurl: "http://yongma16.xyz/comment/", + baseurl: "http://114.116.52.53/comment/", + // baseurl: "http://yongma16.xyz/comment/", userImg: "", username: "匿名", contentRes: [], diff --git a/src/components/Article.vue b/src/components/Article.vue index 0ca028ad7381fde9fe2b7798a4d7262a41a9fb62..2dfeb00e0f8f575ed5d8242d74433a32f119c57c 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -1,726 +1,821 @@ /* eslint-disable vue/no-duplicate-attributes */ diff --git a/src/components/Bilicom.vue b/src/components/Bilicom.vue index 0fd7c8018401f55f9e989b1e7e2309920a01d68c..3534c9ac54fbd4dc8fe437102ec25d4ac4ce2aa3 100644 --- a/src/components/Bilicom.vue +++ b/src/components/Bilicom.vue @@ -11,18 +11,16 @@ export default { name: 'Bilicom', data () { return { - baseurl: 'http://yongma16.xyz/article/index/', msg: '内容', md_data: [], - data: ['threejs加载模型'], - mychart: echarts.init(document.getElementById('bilicom')) + data: ['threejs加载模型'] } }, methods: { - echartfunc: function (o) { + echartfunc: function () { // 基于准备好的dom,初始化echarts实例 - var myChart = echarts.init(document.getElementById('bilicom')) - var option = { + const myChart = echarts.init(document.getElementById('bilicom')) + const option = { backgroundColor: 'rgba(0, 0, 0, 0.3)', title: { diff --git a/src/components/Csslearn.vue b/src/components/Csslearn.vue index 51919e25c36a8256ee5fdc9342ee8d3f5bf9ea08..e0fb5c5febacbb580b66a8acea801d6aca2a0f29 100644 --- a/src/components/Csslearn.vue +++ b/src/components/Csslearn.vue @@ -37,7 +37,8 @@ export default { msg: "css练习:", css_length: "", // baseurl: 'http://127.0.0.1:1998', - baseurl: "http://yongma16.xyz", + baseurl: "http://114.116.52.53/", + // baseurl: "http://yongma16.xyz/", css_title: [], css_path: [], css_loc: 0, @@ -89,7 +90,7 @@ export default { let that = this; axios - .get(that.baseurl + "/css/") + .get(that.baseurl + "css/") .then((res) => { console.log("get返回", res); let getdata = res.data; @@ -126,7 +127,7 @@ export default { }; - diff --git a/src/components/Mavoneditor.vue b/src/components/Mavoneditor.vue index 2f05820415a3f5525365a076540255bb8598d0f4..e488d0651353ff7876384d6250850acc7b5bd603 100644 --- a/src/components/Mavoneditor.vue +++ b/src/components/Mavoneditor.vue @@ -1,71 +1,83 @@ diff --git a/src/components/Onlinewebsocket.vue b/src/components/Onlinewebsocket.vue index 32fa2eae1c4fc746a6a9468746cff2d354d380f2..a25e4c733f7400b35de57aeea0c1607e57f71771 100644 --- a/src/components/Onlinewebsocket.vue +++ b/src/components/Onlinewebsocket.vue @@ -1,87 +1,127 @@ diff --git a/src/components/Register.vue b/src/components/Register.vue index 9de376c37ac4f664a0e783594dd595df97de03af..c0d3a1162036530bc276dfdabf956c8f79acd46e 100644 --- a/src/components/Register.vue +++ b/src/components/Register.vue @@ -1,139 +1,172 @@