Browse Source

9月19 前台提交

panhui 7 years ago
parent
commit
0a8bd806cc
41 changed files with 24 additions and 21 deletions
  1. 1 1
      src/main/vue/src/emUI.less
  2. 5 5
      src/main/vue/src/pagesPre/BackPassword.vue
  3. 2 2
      src/main/vue/src/pagesPre/Login.vue
  4. 7 4
      src/main/vue/src/pagesPre/MemberMoney.vue
  5. 1 1
      src/main/vue/src/pagesPre/Product.vue
  6. 1 1
      src/main/vue/src/pagesPre/SetStoreInfo.vue
  7. 1 1
      src/main/vue/src/pagesPre/StoreChat.vue
  8. 1 1
      src/main/vue/src/pagesPre/UserProductCon.vue
  9. 1 1
      src/main/vue/src/routerPre/index.js
  10. 1 1
      src/main/webapp/WEB-INF/html/admin.html
  11. 1 1
      src/main/webapp/WEB-INF/html/index.html
  12. 1 0
      src/main/webapp/static/css/index.6d2c93cc280481c058dd146882ccf627.css
  13. 0 1
      src/main/webapp/static/css/index.89cbf8d7f7908ec8be99781623cda0de.css
  14. 0 0
      src/main/webapp/static/js/127.0b60879fb5c303908a0f.js
  15. 0 0
      src/main/webapp/static/js/127.70a2accd84e9184c0685.js
  16. 0 0
      src/main/webapp/static/js/128.8e1d0c936dda57f16621.js
  17. 0 0
      src/main/webapp/static/js/129.c3dcf42e9de165aef0bb.js
  18. 1 1
      src/main/webapp/static/js/130.fe264b814daf4aaac44d.js
  19. 0 0
      src/main/webapp/static/js/131.295a2ae47f1683476d8f.js
  20. 0 0
      src/main/webapp/static/js/132.d4beaad707f9d67e5153.js
  21. 0 0
      src/main/webapp/static/js/133.b8a69aed30bb2fc3b9da.js
  22. 0 0
      src/main/webapp/static/js/134.aab7f28e4441c9706300.js
  23. 0 0
      src/main/webapp/static/js/135.fa62a2fc7cc3d8e31189.js
  24. 0 0
      src/main/webapp/static/js/136.aacd235dd0982ef366ae.js
  25. 0 0
      src/main/webapp/static/js/137.d6c6ebd1ebc5aa5ae99f.js
  26. 0 0
      src/main/webapp/static/js/138.6778c3555b7343d6b31b.js
  27. 0 0
      src/main/webapp/static/js/139.3e8e42b4e51aa816a2b0.js
  28. 0 0
      src/main/webapp/static/js/140.ea607390c8ca7f7cb2c9.js
  29. 0 0
      src/main/webapp/static/js/141.0a9e96b5af6a593c1cc6.js
  30. 0 0
      src/main/webapp/static/js/17.e47f2379bd7cd296f694.js
  31. 0 0
      src/main/webapp/static/js/21.3e953e69022bc286db16.js
  32. 0 0
      src/main/webapp/static/js/21.fa60a2424bb62cb1b226.js
  33. 0 0
      src/main/webapp/static/js/22.a107dae704c06145fd74.js
  34. 0 0
      src/main/webapp/static/js/22.bb138cb751a65d2bd25e.js
  35. 0 0
      src/main/webapp/static/js/24.1f029fc70296b300b3b6.js
  36. 0 0
      src/main/webapp/static/js/33.bc113e9125083b22bb9d.js
  37. 0 0
      src/main/webapp/static/js/39.451fbd59b2a731b6846a.js
  38. 0 0
      src/main/webapp/static/js/45.16f672cdd79c7adabe7d.js
  39. 0 0
      src/main/webapp/static/js/admin.37d06aefedc8adc9c0ca.js
  40. 0 0
      src/main/webapp/static/js/index.4a2996224c7f6eeae1e8.js
  41. 0 0
      src/main/webapp/static/js/manifest.f5fc001b5bb69f582381.js

+ 1 - 1
src/main/vue/src/emUI.less

@@ -431,7 +431,7 @@ a{
 }
 }
 
 
 
 
-.imgList img{
+.imgList.productInfo img{
     width: 100%;
     width: 100%;
     display: block;
     display: block;
     height: auto!important;
     height: auto!important;

+ 5 - 5
src/main/vue/src/pagesPre/BackPassword.vue

@@ -30,10 +30,10 @@
             <template v-if="nowStep==2">
             <template v-if="nowStep==2">
                 <el-form :model="formData" :rules="rules2" ref="form" label-width="100px" label-position="right" style="max-width: 420px;margin-top:20px;margin:auto">
                 <el-form :model="formData" :rules="rules2" ref="form" label-width="100px" label-position="right" style="max-width: 420px;margin-top:20px;margin:auto">
                     <el-form-item prop="password" label="设置密码">
                     <el-form-item prop="password" label="设置密码">
-                        <el-input type="password" name='psd' placeholder="6-11位的字母或者数字(必须包含数字字母的组合)" v-model="formData.password" maxlength="11"></el-input>
+                        <el-input type="password" name='psd' placeholder="6-20位的字母或者数字(必须包含数字字母的组合)" v-model="formData.password" maxlength="20"></el-input>
                     </el-form-item>
                     </el-form-item>
                     <el-form-item prop="surePassword" label="确认密码">
                     <el-form-item prop="surePassword" label="确认密码">
-                        <el-input type="password" name='surepsd' placeholder="请重复输入密码" v-model="formData.surePassword" maxlength="11"></el-input>
+                        <el-input type="password" name='surepsd' placeholder="请重复输入密码" v-model="formData.surePassword" maxlength="20"></el-input>
                     </el-form-item>
                     </el-form-item>
 
 
                     <el-form-item label="">
                     <el-form-item label="">
@@ -137,12 +137,12 @@ export default {
                     {
                     {
 
 
                         validator: (rule, value, callback) => {
                         validator: (rule, value, callback) => {
-                            if (!value) {
+                              if (!value) {
                                 callback(new Error('请输入密码'));
                                 callback(new Error('请输入密码'));
-                            } else if (/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,11}$/.test(value)) {
+                            } else if (!/^.*(?=.{6,})(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*? ]).*$/.test(value)) {
                                 callback();
                                 callback();
                             } else {
                             } else {
-                                callback(new Error('6-11位的字母或者数字(必须包含数字字母的组合)'));
+                                callback(new Error('6-20位的字母、数字和特殊字符(必须包含数字母、数字和特殊字符)'));
                             }
                             }
                         }, trigger: 'blur'
                         }, trigger: 'blur'
                     }
                     }

+ 2 - 2
src/main/vue/src/pagesPre/Login.vue

@@ -136,7 +136,7 @@ export default {
                         this.loading = false;
                         this.loading = false;
                         if (res.success) {
                         if (res.success) {
                             this.$message.success('登录成功')
                             this.$message.success('登录成功')
-                            if (this.brefName) {
+                            if (this.brefName && this.brefName != 'register' && this.brefName != 'backPassword') {
                                 history.back()
                                 history.back()
                             }
                             }
                             else {
                             else {
@@ -178,7 +178,7 @@ export default {
                         this.loading = false;
                         this.loading = false;
                         if (res.success) {
                         if (res.success) {
                             this.$message.success('登录成功')
                             this.$message.success('登录成功')
-                            if (this.brefName) {
+                            if (this.brefName && this.brefName != 'register' && this.brefName != 'backPassword') {
                                 history.back()
                                 history.back()
                             }
                             }
                             else {
                             else {

+ 7 - 4
src/main/vue/src/pagesPre/MemberMoney.vue

@@ -29,10 +29,13 @@
             </el-table-column>
             </el-table-column>
 
 
             <el-table-column prop="createTime" label="日期" min-width="200" align="center">
             <el-table-column prop="createTime" label="日期" min-width="200" align="center">
+                <template slot-scope="scope">
+                    {{getTime(scope.row.createTime)}}
+                </template>
             </el-table-column>
             </el-table-column>
 
 
-            <el-table-column prop="typeFlag" label="备注" min-width="100" align="center">
-            </el-table-column>
+            <!-- <el-table-column prop="typeFlag" label="备注" min-width="100" align="center">
+            </el-table-column> -->
 
 
         </el-table>
         </el-table>
         <div class="pagination-wrapper" style="padding:20px 0;">
         <div class="pagination-wrapper" style="padding:20px 0;">
@@ -252,7 +255,7 @@ export default {
                 this.$refs.form1.validate((valid) => {
                 this.$refs.form1.validate((valid) => {
                     if (valid) {
                     if (valid) {
                         data.alipay = this.formData.alipay
                         data.alipay = this.formData.alipay
-                        this.submit();
+                        this.submit(data);
                     } else {
                     } else {
                         return false;
                         return false;
                     }
                     }
@@ -264,7 +267,7 @@ export default {
                         data.bankCard = this.formData.bankCard
                         data.bankCard = this.formData.bankCard
                         data.bankName = this.formData.bankName
                         data.bankName = this.formData.bankName
                         data.openName = this.formData.openName
                         data.openName = this.formData.openName
-                        this.submit();
+                        this.submit(data);
                     } else {
                     } else {
                         return false;
                         return false;
                     }
                     }

+ 1 - 1
src/main/vue/src/pagesPre/Product.vue

@@ -92,7 +92,7 @@
         <div class="goodsList">
         <div class="goodsList">
             <el-tabs class="goodsTab" v-model="activeName">
             <el-tabs class="goodsTab" v-model="activeName">
                 <el-tab-pane label="商品详情" name="first">
                 <el-tab-pane label="商品详情" name="first">
-                    <div class="imgList">
+                    <div class="imgList productInfo">
                         <div v-html="shopInfo.productDetail"></div>
                         <div v-html="shopInfo.productDetail"></div>
                         <!-- <img :src="item.image" v-for="item in shopInfo.productImageList" alt=""> -->
                         <!-- <img :src="item.image" v-for="item in shopInfo.productImageList" alt=""> -->
                     </div>
                     </div>

+ 1 - 1
src/main/vue/src/pagesPre/SetStoreInfo.vue

@@ -38,7 +38,7 @@
         </el-form-item> -->
         </el-form-item> -->
 
 
         <el-form-item prop="description" label="店铺简介">
         <el-form-item prop="description" label="店铺简介">
-            <el-input v-model="formData.description" maxlength="30" style="width:320px;" :disabled="'description'==subColumn" placeholder="请输入店铺简介(30字以内)"></el-input>
+            <el-input  type="textarea" :rows="2" v-model="formData.description" maxlength="30" style="width:320px;" :disabled="'description'==subColumn" placeholder="请输入店铺简介(30字以内)"></el-input>
         </el-form-item>
         </el-form-item>
         <el-form-item prop="icon" label="店铺头像">
         <el-form-item prop="icon" label="店铺头像">
             <single-upload-title v-model="formData.icon" :width='200' :height='125' :title="'添加头像'" :disabled="'icon'==subColumn"></single-upload-title>
             <single-upload-title v-model="formData.icon" :width='200' :height='125' :title="'添加头像'" :disabled="'icon'==subColumn"></single-upload-title>

+ 1 - 1
src/main/vue/src/pagesPre/StoreChat.vue

@@ -2,7 +2,7 @@
     <div class="conatiner">
     <div class="conatiner">
         <div class="content" v-if="!Customer">
         <div class="content" v-if="!Customer">
             <div class="title">
             <div class="title">
-                选择登录客服
+                {{customerList.length>0?'选择登录客服':'您还没有设置客服哦!商家中心——账户设置——客服管理可以添加'}}
             </div>
             </div>
             <div class="customerList">
             <div class="customerList">
 
 

+ 1 - 1
src/main/vue/src/pagesPre/UserProductCon.vue

@@ -192,7 +192,7 @@ export default {
     }
     }
 
 
     .nothing {
     .nothing {
-        margin: 136px auto;
+        padding: 136px auto;
 
 
         img {
         img {
             width: 167px;
             width: 167px;

+ 1 - 1
src/main/vue/src/routerPre/index.js

@@ -440,7 +440,7 @@ router.beforeEach((to, from, next) => {
         return;
         return;
     }
     }
 
 
-    if (from.name != 'login' && from.name != 'register' && from.name != 'backPassword') {
+    if (from.name != 'login') {
         store.commit('updateBrefName', from.name)
         store.commit('updateBrefName', from.name)
     }
     }
 
 

+ 1 - 1
src/main/webapp/WEB-INF/html/admin.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.da4f73e09f989b1618ebd295c1c6c122.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.63987a9bddf8511a124d.js></script><script type=text/javascript src=/static/js/vendor.89cb0930756807ab3c59.js></script><script type=text/javascript src=/static/js/admin.b12be61dbedd5d5392f6.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.da4f73e09f989b1618ebd295c1c6c122.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.f5fc001b5bb69f582381.js></script><script type=text/javascript src=/static/js/vendor.89cb0930756807ab3c59.js></script><script type=text/javascript src=/static/js/admin.37d06aefedc8adc9c0ca.js></script></body></html>

+ 1 - 1
src/main/webapp/WEB-INF/html/index.html

@@ -5,7 +5,7 @@
             position: absolute;
             position: absolute;
             top: 0;
             top: 0;
             left: 0;
             left: 0;
-        }</style><link href=/static/css/index.89cbf8d7f7908ec8be99781623cda0de.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.63987a9bddf8511a124d.js></script><script type=text/javascript src=/static/js/vendor.89cb0930756807ab3c59.js></script><script type=text/javascript src=/static/js/index.a4e9186ab709e5158daf.js></script></body><script>var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
+        }</style><link href=/static/css/index.6d2c93cc280481c058dd146882ccf627.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.f5fc001b5bb69f582381.js></script><script type=text/javascript src=/static/js/vendor.89cb0930756807ab3c59.js></script><script type=text/javascript src=/static/js/index.4a2996224c7f6eeae1e8.js></script></body><script>var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
     var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
     var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
     var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
     var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
     var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;
     var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;

File diff suppressed because it is too large
+ 1 - 0
src/main/webapp/static/css/index.6d2c93cc280481c058dd146882ccf627.css


File diff suppressed because it is too large
+ 0 - 1
src/main/webapp/static/css/index.89cbf8d7f7908ec8be99781623cda0de.css


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/127.0b60879fb5c303908a0f.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/127.70a2accd84e9184c0685.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/128.8e1d0c936dda57f16621.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/129.c3dcf42e9de165aef0bb.js


+ 1 - 1
src/main/webapp/static/js/131.e7503017770b9b90edcf.js → src/main/webapp/static/js/130.fe264b814daf4aaac44d.js

@@ -1 +1 @@
-webpackJsonp([131],{V8wA:function(t,e){},izdZ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("NYxO");var i={created:function(){this.getIframeSrc()},data:function(){return{iframeSrc:"/404"}},computed:{height:function(){return window.innerHeight-104+"px"}},methods:{getIframeSrc:function(){this.iframeSrc=this.$route.query.code}},watch:{$route:function(){this.getIframeSrc()}}},n={render:function(){var t=this.$createElement;return(this._self._c||t)("iframe",{staticClass:"iframe",attrs:{src:this.iframeSrc,height:this.height,width:"100%"}})},staticRenderFns:[]};var c=r("VU/8")(i,n,!1,function(t){r("V8wA")},"data-v-6d20da16",null);e.default=c.exports}});
+webpackJsonp([130],{V8wA:function(t,e){},izdZ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("NYxO");var i={created:function(){this.getIframeSrc()},data:function(){return{iframeSrc:"/404"}},computed:{height:function(){return window.innerHeight-104+"px"}},methods:{getIframeSrc:function(){this.iframeSrc=this.$route.query.code}},watch:{$route:function(){this.getIframeSrc()}}},n={render:function(){var t=this.$createElement;return(this._self._c||t)("iframe",{staticClass:"iframe",attrs:{src:this.iframeSrc,height:this.height,width:"100%"}})},staticRenderFns:[]};var c=r("VU/8")(i,n,!1,function(t){r("V8wA")},"data-v-6d20da16",null);e.default=c.exports}});

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/131.295a2ae47f1683476d8f.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/132.d4beaad707f9d67e5153.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/133.b8a69aed30bb2fc3b9da.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/134.aab7f28e4441c9706300.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/135.fa62a2fc7cc3d8e31189.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/136.aacd235dd0982ef366ae.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/137.d6c6ebd1ebc5aa5ae99f.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/138.6778c3555b7343d6b31b.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/139.3e8e42b4e51aa816a2b0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/140.ea607390c8ca7f7cb2c9.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/141.0a9e96b5af6a593c1cc6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/17.e47f2379bd7cd296f694.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/21.3e953e69022bc286db16.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/21.fa60a2424bb62cb1b226.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/22.a107dae704c06145fd74.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/22.bb138cb751a65d2bd25e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/24.1f029fc70296b300b3b6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/33.bc113e9125083b22bb9d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/39.451fbd59b2a731b6846a.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/45.16f672cdd79c7adabe7d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/admin.37d06aefedc8adc9c0ca.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/index.4a2996224c7f6eeae1e8.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/manifest.f5fc001b5bb69f582381.js


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