Browse Source

2023-11-22

cmy 1 year ago
parent
commit
c61c59fbb1

+ 2 - 2
.env.dev

@@ -2,6 +2,6 @@
 NODE_ENV=development
 VUE_APP_ENV='dev'
 # 页面 title
-VUE_APP_TITLE=CRMEB
+VUE_APP_TITLE=君子堂
 # 接口请求地址
-VUE_APP_API_URL='https://test.pro.wuht.net/cashierapi'
+VUE_APP_API_URL='https://wx.junhailan.com/cashierapi'

+ 1 - 1
.env.production

@@ -3,6 +3,6 @@ NODE_ENV=production
 VUE_APP_ENV='production'
 
 # 页面 title
-VUE_APP_TITLE=CRMEB
+VUE_APP_TITLE=君子堂
 # 接口请求地址
 VUE_APP_API_URL=''

File diff suppressed because it is too large
+ 397 - 165
package-lock.json


+ 2 - 2
package.json

@@ -3,8 +3,8 @@
   "version": "2.0.0",
   "private": true,
   "scripts": {
-    "serve": "vue-cli-service serve --open  --mode=dev",
-    "dev": "npm run serve --mode=dev",
+    "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open  --mode=dev",
+    "dev": "vue-cli-service serve --open  --mode=dev",
     "build": "vue-cli-service build --mode=production"
   },
   "dependencies": {

+ 1 - 1
public/index.html

@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
     <link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
     <!--<script type="text/javascript" src="core.js"></script>-->
-    <title>CRMEB</title>
+    <title>君子堂</title>
 </head>
 <body>
 <noscript>

BIN
src/assets/images/kfbg.jpg


BIN
src/assets/images/logo-dark.png


BIN
src/assets/images/logo-small.png


BIN
src/assets/images/logo.png


BIN
src/assets/images/logos.png


BIN
src/assets/images/m_logo.png


+ 1 - 1
src/components/copyright/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <GlobalFooter class="i-copyright" :links="links" :copyright="copyright" />
+    <!-- <GlobalFooter class="i-copyright" :links="links" :copyright="copyright" /> -->
 </template>
 <script>
     export default {

+ 1 - 1
src/pages/account/login/index.vue

@@ -20,7 +20,7 @@
       <div class="change-login-type" @click="changeLoginType">切换登录方式</div>
     </div>
     <div class="index_from" v-if="loginType == 'paw'">
-      <div class="title">CRMEB收银台-登录</div>
+      <div class="title">君子堂收银台-登录</div>
       <Form ref="formInline" :model="formInline" :rules="ruleInline">
         <FormItem prop="username">
           <Input

+ 1 - 1
src/router/routes.js

@@ -21,7 +21,7 @@ import Setting from '@/setting';
 const frameIn = [{
 	path: '/',
 	meta: {
-		title: 'CRMEB'
+		title: '君子堂'
 	},
 	redirect: {
 		name: 'login'

+ 1 - 1
src/setting.js

@@ -36,7 +36,7 @@ const Setting = {
      * */
     roterPre,
     // 网页标题的后缀
-    titleSuffix: util.cookies.get('pageTitle') || 'CRMEB',
+    titleSuffix: util.cookies.get('pageTitle') || '君子堂',
     // 路由模式,可选值为 history 或 hash
     routerMode: setting.isAPP ? 'hash' : 'history',
     // 页面切换时,是否显示模拟的进度条

+ 1 - 1
src/utils/modalForm.js

@@ -52,7 +52,7 @@ export default function (formRequestPromise, { width = '700' } = { width: '700'
                         return h('div', [
                             h('a', {
                                 attrs: {
-                                    href: 'http://www.crmeb.com'
+                                    // href: 'http://www.crmeb.com'
                                 }
                             }, data.info)
                         ])

+ 7 - 1
vue.config.js

@@ -16,7 +16,13 @@ module.exports = {
     runtimeCompiler: true,
     productionSourceMap: false,
     devServer: {
-        publicPath: Setting.publicPath
+        publicPath: Setting.publicPath,
+		"proxy" : {
+		    "/cashierapi" : {
+		        "target" : "https://wx.junhailan.com", //请求的目标域名
+		        "changeOrigin" : true
+		    }
+		}
     },
     css: {
         loaderOptions: {

Some files were not shown because too many files changed in this diff