sunran před 3 roky
rodič
revize
4a87d03991

+ 1 - 1
public/index.html

@@ -15,7 +15,7 @@
     <!-- 开启底部安全区适配 -->
     <van-number-keyboard safe-area-inset-bottom />
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title><%= webpackConfig.name %></title>
+    <title><%= htmlWebpackPlugin.options.title %></title>
     <script type="text/javascript" src="https://isdapp.shandong.gov.cn/jmopen/jssdk/index.js"></script>
 </head>
 

+ 1 - 1
src/views/zhulao/main.js

@@ -14,7 +14,7 @@ Vue.config.productionTip = false
 Vue.use(Vant)
 Vue.use(Lazyload)
 Vue.prototype.$echarts = echarts
-document.title = "邹平养老"
+// document.title = "邹平养老"
 new Vue({
     router,
     store,

+ 0 - 1
src/views/zhulao/views/classRoom/index.vue

@@ -47,7 +47,6 @@ export default {
   },
   mounted() {
     this.navheight = this.$refs.nav.$refs.navBar.offsetHeight + 'px'
-    console.log(this.navheight, '22')
   },
   created() {
     this.getColumnList()

+ 5 - 4
src/views/zhulao/views/healthAssessmen/typeDetails/typemain.vue

@@ -956,20 +956,20 @@ export default {
 }
 .qxDiv {
   width: 100%;
-  height: 100px;
+  height: 120px;
   display: flex;
   flex-direction: column;
 }
 
 .qxheadDiv {
   width: 100%;
-  height: 100px;
+  height: 60px;
   display: flex;
   flex-direction: row;
 }
 
 .qxheadnoteDiv {
-  height: 100px;
+  height: 60px;
   background-color: #91bcf5;
   flex: 2;
   display: flex;
@@ -979,12 +979,13 @@ export default {
 }
 
 .qxheadnotebDiv {
-  height: 100px;
+  height: 60px;
   background-color: #91bcf5;
   flex: 3;
   display: flex;
   justify-content: center;
   align-items: center;
+  font-size: 30px;
 }
 .mt {
   margin-top: 101px;

+ 4 - 1
vue.config.js

@@ -25,10 +25,13 @@ function getEntry() {
             var fileList = filepath.split("/");
             var fileName = fileList[fileList.length - 2];
             publicPath = '/' + fileName + '/'
+            console.log(fileName, 'fileName')
             entries[fileName] = {
                 entry: `src/views/${fileName}/main.js`,
                 // 模板来源
-                template: `public/index.html`,
+                template: `publ
+                ic/index.html`,
+                title: fileName == 'zhulao' ? '邹平养老' : '邹平未保客户端',
                 // 在 dist/index.html 的输出
                 filename: `${fileName}.html`,
             };