panhui 3 years ago
parent
commit
9be67b4fdf
5 changed files with 7 additions and 6 deletions
  1. 2 2
      public/index.html
  2. 1 0
      src/store/index.js
  3. 1 1
      src/views/Mine.vue
  4. 1 1
      src/views/Store.vue
  5. 2 2
      src/views/account/About.vue

+ 2 - 2
public/index.html

@@ -3,7 +3,7 @@
     <head>
         <meta charset="utf-8" />
         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
-        <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
+        <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico" /> -->
         <meta
             name="viewport"
             content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, viewport-fit=cover"
@@ -20,7 +20,7 @@
         <% if (htmlWebpackPlugin.options.app) { %>
         <script src="cordova.js"></script>
         <% } %>
-        <title><%= htmlWebpackPlugin.options.title %></title>
+        <title></title>
         <style>
             @font-face {
                 font-family: 'font_family'; /* Project id 2852142 */

+ 1 - 0
src/store/index.js

@@ -97,6 +97,7 @@ export default createStore({
             return http.http.get('/company/get/' + companyId).then(res => {
                 context.commit('setTheme', res.theme);
                 context.commit('setCompanyInfo', res);
+                document.title = res.name;
             });
         },
         getUserInfo(context, refresh) {

+ 1 - 1
src/views/Mine.vue

@@ -301,7 +301,7 @@ export default {
     background-color: #272b2e;
     padding-top: 0 !important;
     position: relative;
-    min-height: 100vh;
+    min-height: var(--app-height);
 }
 
 .top {

+ 1 - 1
src/views/Store.vue

@@ -670,7 +670,7 @@ export default {
 
 .discover {
     background-color: #0f0f0f;
-    min-height: 100vh;
+    min-height: var(--app-height);
     min-height: var(--app-height);
     box-sizing: border-box;
 }

+ 2 - 2
src/views/account/About.vue

@@ -2,7 +2,7 @@
     <div class="page">
         <div class="title">关于我们</div>
         <van-cell-group :border="false">
-            <van-cell title="平台简介" is-link :to="{ path: '/' + $route.params.companyId + '/introduction' }" />
+            <!-- <van-cell title="平台简介" is-link :to="{ path: '/' + $route.params.companyId + '/introduction' }" /> -->
             <van-cell title="了解更多" is-link :to="{ path: '/' + $route.params.companyId + '/question' }" />
             <van-cell
                 title="用户协议"
@@ -15,7 +15,7 @@
                 }"
             />
             <van-cell title="隐私政策" is-link :to="{ path: '/' + $route.params.companyId + '/agreement' }" />
-            <van-cell title="商务合作" @click="show = true" is-link />
+            <!-- <van-cell title="商务合作" @click="show = true" is-link /> -->
         </van-cell-group>
 
         <div class="tips">【华储艺术品中心(深圳)有限公司】</div>