1
jhzh
2025-07-21 5cfc1cd804cd2b76994821b662e2a06193006379
1
7 files modified
35 ■■■■ changed files
build/utils.js 4 ●●● patch | view | raw | blame | history
build/webpack.prod.conf.js 12 ●●●● patch | view | raw | blame | history
src/page/home/help.vue 4 ●●●● patch | view | raw | blame | history
src/page/home/home.vue 2 ●●● patch | view | raw | blame | history
src/page/home/sharerecordDz.vue 7 ●●●●● patch | view | raw | blame | history
src/page/list/favoriteslist/data.list.vue 4 ●●●● patch | view | raw | blame | history
src/page/newUser/setting.vue 2 ●●● patch | view | raw | blame | history
build/utils.js
@@ -18,13 +18,15 @@
  const cssLoader = {
    loader: 'css-loader',
    options: {
      sourceMap: options.sourceMap
      sourceMap: options.sourceMap,
    }
  }
  const px2remLoader = {
    loader: 'px2rem-loader',
    options: {
      remUnit: 54,
      minimize:true
    }
  }
build/webpack.prod.conf.js
@@ -46,17 +46,17 @@
      filename: utils.assetsPath('css/[name].[contenthash].css'),
      // Setting the following option to `false` will not extract CSS from codesplit chunks.
      // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
      // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
      // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
      // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
      allChunks: true,
    }),
    // Compress extracted CSS. We are using this plugin so that possible
    // duplicated CSS from different components can be deduped.
    new OptimizeCSSPlugin({
      cssProcessorOptions: config.build.productionSourceMap
        ? { safe: true, map: { inline: false } }
        : { safe: true }
    }),
    // new OptimizeCSSPlugin({
    //   cssProcessorOptions: config.build.productionSourceMap
    //     ? { safe: true, map: { inline: false } }
    //     : { safe: true }
    // }),
    // generate dist index.html with correct asset hash for caching.
    // you can customize output by editing /index.html
    // see https://github.com/ampedandwired/html-webpack-plugin
src/page/home/help.vue
@@ -294,7 +294,7 @@
        .then(() => {
          this.toRegister();
        })
        .catch(() => {});
        // .catch(() => {});
    },
    goToSettings() {
      if (this.userInfo.length === 0) {
@@ -646,4 +646,4 @@
    }
  }
}
</style>
</style>
src/page/home/home.vue
@@ -461,7 +461,7 @@
        cancelButtonText: this.$t("hj106")
      })
        .then(async () => {})
        .catch(() => {});
        // .catch(() => {});
    },
    onSelect(e) {
      this.$i18n.locale = e.lang;
src/page/home/sharerecordDz.vue
@@ -75,9 +75,10 @@
                } else {
                    Toast(data.msg)
                }
            }).catch(() => {
            })
            // .catch(() => {
            });
            // });
        },
        async getUserNewGuList() {
            let data = await api.buyStockDzList();
@@ -341,4 +342,4 @@
    }
}
</style>
</style>
src/page/list/favoriteslist/data.list.vue
@@ -216,9 +216,9 @@
          }
          // 认购成功
        })
        .catch(() => {
        // .catch(() => {
          // on cancel
        });
        // });
    },
    fromDatavalue(e) {
      this.fromData.value = e.target.value;
src/page/newUser/setting.vue
@@ -295,7 +295,7 @@
        .then(() => {
          this.toRegister();
        })
        .catch(() => {});
        // .catch(() => {});
    },
    goToSettings() {
      // 每次打开dialog 清空密码数据