Bladeren bron

图片更新

panhui 7 jaren geleden
bovenliggende
commit
de07ce16f8
35 gewijzigde bestanden met toevoegingen van 87 en 39 verwijderingen
  1. 3 0
      src/main/vue/src/pagesPre/ChatContent.vue
  2. 3 0
      src/main/vue/src/pagesPre/LogoFoot.vue
  3. 8 0
      src/main/vue/src/pagesPre/LogoHead.vue
  4. 1 1
      src/main/vue/src/pagesPre/Register.vue
  5. 10 2
      src/main/vue/src/pagesPre/Search.vue
  6. 23 9
      src/main/vue/src/pagesPre/Shop.vue
  7. 3 1
      src/main/vue/src/pagesPre/StoreChat.vue
  8. 9 1
      src/main/vue/src/pagesPre/UserSafe.vue
  9. 24 22
      src/main/vue/src/pagesPre/UserShop.vue
  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.25d509a11c6fb3d133d1c240597703c0.css
  13. 0 1
      src/main/webapp/static/css/index.e6432e940b0d09f1626121b772580d03.css
  14. 0 0
      src/main/webapp/static/js/10.0b11dce0d69ec1e0caa3.js
  15. 0 0
      src/main/webapp/static/js/11.aa41a2da3910fa271777.js
  16. 0 0
      src/main/webapp/static/js/14.413774ae1c9fb0273f7e.js
  17. 0 0
      src/main/webapp/static/js/14.eb43abbe1bd7062f9c8a.js
  18. 0 0
      src/main/webapp/static/js/17.3b9275fe4db11d284e85.js
  19. 0 0
      src/main/webapp/static/js/17.a13066ec974259b6ce9f.js
  20. 0 0
      src/main/webapp/static/js/18.a91a2421cc57f220eb19.js
  21. 0 0
      src/main/webapp/static/js/18.e4c243b97e16c37b8b68.js
  22. 0 0
      src/main/webapp/static/js/19.531b3bfc75b269caa7e8.js
  23. 0 0
      src/main/webapp/static/js/20.98c854f9242d1e781937.js
  24. 0 0
      src/main/webapp/static/js/21.8aaac5e07a8c9e6d7f9c.js
  25. 0 0
      src/main/webapp/static/js/21.dfd21de35452ebd40dff.js
  26. 0 0
      src/main/webapp/static/js/27.bc9a17a1b0cc2abf9182.js
  27. 0 0
      src/main/webapp/static/js/27.c388fb124a1a7d9aafac.js
  28. 0 0
      src/main/webapp/static/js/28.69b8c6e90a8f64311120.js
  29. 0 0
      src/main/webapp/static/js/28.a27c945ca76a374f852f.js
  30. 0 0
      src/main/webapp/static/js/32.c0763af896ed4bef561d.js
  31. 0 0
      src/main/webapp/static/js/33.8fa39da0de1290dea87b.js
  32. 0 0
      src/main/webapp/static/js/34.b3ff8156cfaa94d40114.js
  33. 0 0
      src/main/webapp/static/js/35.a4f3563855e75edd16c6.js
  34. 0 0
      src/main/webapp/static/js/index.b346cb207392f75cd89e.js
  35. 0 0
      src/main/webapp/static/js/manifest.01ae1664c9c2c87cf19c.js

+ 3 - 0
src/main/vue/src/pagesPre/ChatContent.vue

@@ -302,6 +302,9 @@ export default {
 
 
         },
         },
         send() {
         send() {
+            if(!this.textarea3){
+                return
+            }
 
 
 
 
             var customer = ''
             var customer = ''

+ 3 - 0
src/main/vue/src/pagesPre/LogoFoot.vue

@@ -4,6 +4,9 @@
             <div class="Foot">
             <div class="Foot">
                 <div class="foot-top">
                 <div class="foot-top">
                     <ul class='short-enter'>
                     <ul class='short-enter'>
+                         <li>
+                            <router-link :to='{name:"index"}'>首页</router-link>
+                        </li>
                         <li v-for="(item,index) in serviceType">
                         <li v-for="(item,index) in serviceType">
                             <router-link :to='{name:"business",query:{id:(index+1)}}' class="service-val">{{item.shortName}}</router-link>
                             <router-link :to='{name:"business",query:{id:(index+1)}}' class="service-val">{{item.shortName}}</router-link>
                         </li>
                         </li>

+ 8 - 0
src/main/vue/src/pagesPre/LogoHead.vue

@@ -29,6 +29,10 @@ export default {
         if (this.$route.name == 'login') {
         if (this.$route.name == 'login') {
             this.isLogin = true
             this.isLogin = true
             this.title = ''
             this.title = ''
+        } else if (this.$route.query.title) {
+            this.isLogin = false
+            this.title = this.$route.query.title
+            document.title = this.$route.query.title
         }
         }
         else {
         else {
             this.isLogin = false
             this.isLogin = false
@@ -40,6 +44,10 @@ export default {
             if (this.$route.name == 'login') {
             if (this.$route.name == 'login') {
                 this.isLogin = true
                 this.isLogin = true
                 this.title = ''
                 this.title = ''
+            } else if (this.$route.query.title) {
+                this.isLogin = false
+                this.title = this.$route.query.title
+                document.title = this.$route.query.title
             }
             }
             else {
             else {
                 this.isLogin = false
                 this.isLogin = false

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

@@ -343,7 +343,7 @@ export default {
                         companyName: this.formData1.companyName,
                         companyName: this.formData1.companyName,
                         companyType: this.formData1.companyType,
                         companyType: this.formData1.companyType,
                         contactPhone: this.formData1.contactPhone,
                         contactPhone: this.formData1.contactPhone,
-                        companyType: 'Y'
+                        companyFlag: 'Y'
 
 
                     }
                     }
                 }).then(res => {
                 }).then(res => {

+ 10 - 2
src/main/vue/src/pagesPre/Search.vue

@@ -8,7 +8,7 @@
 
 
         <div class="content">
         <div class="content">
             <div class="content-left">
             <div class="content-left">
-                <div class="goodsList" v-if="goodsList.length>0">
+                <div class="goodsList" v-if="!isNothing">
                     <goods-large :info='item' v-for="item in goodsList" style="margin:0 0 20px;"></goods-large>
                     <goods-large :info='item' v-for="item in goodsList" style="margin:0 0 20px;"></goods-large>
                 </div>
                 </div>
                 <div v-else class="nothing">
                 <div v-else class="nothing">
@@ -75,7 +75,8 @@ export default {
             creditOrder: '',
             creditOrder: '',
             responseOrder: '',
             responseOrder: '',
             reworkOrder: '',
             reworkOrder: '',
-            searchKey: ''
+            searchKey: '',
+            isNothing:false
         }
         }
     },
     },
     computed: {
     computed: {
@@ -198,6 +199,7 @@ export default {
             })
             })
             this.flag = true
             this.flag = true
             this.currentPage = 0
             this.currentPage = 0
+            this.isNothing=false
             this.getInfo()
             this.getInfo()
         },
         },
         getInfo() {
         getInfo() {
@@ -233,6 +235,12 @@ export default {
                     if (res.data.page.currentPage < res.data.page.totalPage) {
                     if (res.data.page.currentPage < res.data.page.totalPage) {
                         this.flag = true
                         this.flag = true
                     }
                     }
+                    if(this.goodsList.length==0){
+                        this.isNothing=true
+                    }
+                    else{
+                        this.isNothing=false
+                    }
                 }
                 }
             }).catch(e => {
             }).catch(e => {
                 console.log(e)
                 console.log(e)

+ 23 - 9
src/main/vue/src/pagesPre/Shop.vue

@@ -44,7 +44,8 @@
                 </div>
                 </div>
             </div>
             </div>
 
 
-            <img src="../assetsPre/levelA.png" alt="" class="level">
+            <!-- <img src="../assetsPre/levelA.png" alt="" class="level"> -->
+            <div class="level" :style="{backgroundImage:'url('+require('../assetsPre/startLogo.png')+')'}">{{shopInfo.credit}}</div>
         </div>
         </div>
 
 
         <div class="goodsList" id='goodsList'>
         <div class="goodsList" id='goodsList'>
@@ -136,11 +137,11 @@ export default {
             str += this.shopInfo.storeName + ',' + this.$route.name + '_;'
             str += this.shopInfo.storeName + ',' + this.$route.name + '_;'
             return str
             return str
         },
         },
-        storeFlag(){
-            var result=false
-            if(this.userInfo){
-                if(this.userInfo.storeFlag=='N'){
-                    result=true
+        storeFlag() {
+            var result = false
+            if (this.userInfo) {
+                if (this.userInfo.storeFlag == 'N') {
+                    result = true
                 }
                 }
             }
             }
             return result
             return result
@@ -299,6 +300,7 @@ export default {
                     onShelf: 'Y',
                     onShelf: 'Y',
                     useFlag: 'Y',
                     useFlag: 'Y',
                     currentPage: this.orderCurrent,
                     currentPage: this.orderCurrent,
+                    pageNumber: 8
                 }
                 }
             }).then(res => {
             }).then(res => {
                 if (res.success) {
                 if (res.success) {
@@ -318,6 +320,7 @@ export default {
                     onShelf: 'Y',
                     onShelf: 'Y',
                     useFlag: 'Y',
                     useFlag: 'Y',
                     currentPage: this.productCurrent,
                     currentPage: this.productCurrent,
+                    pageNumber: 8
                 }
                 }
             }).then(res => {
             }).then(res => {
                 if (res.success) {
                 if (res.success) {
@@ -349,8 +352,8 @@ export default {
             })
             })
 
 
         },
         },
-        chat(){
-            this.$emit("startChat",this.$route.query.id)
+        chat() {
+            this.$emit("startChat", this.$route.query.id)
         }
         }
     },
     },
     components: {
     components: {
@@ -382,8 +385,19 @@ export default {
     .level {
     .level {
         display: inline-block;
         display: inline-block;
         vertical-align: top;
         vertical-align: top;
-        width: 58.5px;
+        // width: 58.5px;
+        // height: 30px;
+        width: 50px;
         height: 30px;
         height: 30px;
+
+        background-position: center center;
+        background-size: cover;
+        color: #fff;
+        font-size: 18px;
+        font-weight: bold;
+        line-height: 30px;
+        padding-right: 8.5px;
+        text-align: right;
     }
     }
 
 
     .goodsImg {
     .goodsImg {

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

@@ -283,7 +283,9 @@ export default {
 
 
         },
         },
         send() {
         send() {
-
+            if (!this.textarea3) {
+                return
+            }
             this.$IM.sendMessage({
             this.$IM.sendMessage({
                 target: this.myStoreInfo.id,
                 target: this.myStoreInfo.id,
                 content: {
                 content: {

+ 9 - 1
src/main/vue/src/pagesPre/UserSafe.vue

@@ -25,7 +25,7 @@
                     <td>账户密码</td>
                     <td>账户密码</td>
                     <td>********</td>
                     <td>********</td>
                     <td>
                     <td>
-                        <el-button type="text">修改</el-button>
+                        <el-button type="text" @click="goNext('backPassword')">修改</el-button>
                     </td>
                     </td>
                 </tr>
                 </tr>
             </table>
             </table>
@@ -205,6 +205,14 @@ export default {
                     this.$message.warning('失败')
                     this.$message.warning('失败')
                 }
                 }
             });
             });
+        },
+        goNext(str){
+            this.$router.push({
+                name:'backPassword',
+                query:{
+                    title:'修改密码'
+                }
+            })
         }
         }
 
 
     },
     },

+ 24 - 22
src/main/vue/src/pagesPre/UserShop.vue

@@ -11,13 +11,14 @@
                     </div>
                     </div>
                 </div>
                 </div>
             </div>
             </div>
-            <router-link :to="{name:'userSet',query:{activeName:'second'}}" class="top-item" style="width:15%">
-                账户余额
-            </router-link>
-            <router-link :to="{name:'shopOrder'}" class="top-item" style="width:15%">
+            <div class="top-item" style="width:15%">
+                <div>账户余额</div>
+                <div style="color:rgb(253, 149, 1);font-size:16px;margin-top:3px;font-weight:bold;">{{userInfo.moneyCoin}}</div>
+            </div>
+            <router-link :to="{name:'shopOrder'}" class="top-item" style="width:15%;line-height:45px;">
                 店铺订单
                 店铺订单
             </router-link>
             </router-link>
-            <div class="top-item" style="width:38%">
+            <div class="top-item" style="width:38%;line-height:45px;">
                 存储空间
                 存储空间
                 <div class="line">
                 <div class="line">
                     <div class="use" :style="{width:useWidth+'%'}">
                     <div class="use" :style="{width:useWidth+'%'}">
@@ -52,21 +53,21 @@ export default {
     data() {
     data() {
         return {
         return {
             orderList: [],
             orderList: [],
-            isUseSize:0
+            isUseSize: 0
         }
         }
     },
     },
     computed: {
     computed: {
         ...mapState(['userInfo', 'myStoreInfo']),
         ...mapState(['userInfo', 'myStoreInfo']),
-        canUse(){
-            var num=this.myStoreInfo.memorySpace/1024
-            num=num-parseFloat(this.isUseSize)
+        canUse() {
+            var num = this.myStoreInfo.memorySpace / 1024
+            num = num - parseFloat(this.isUseSize)
 
 
             return num.toFixed(0)
             return num.toFixed(0)
         },
         },
-        useWidth(){
-            var num=0
-            num=parseFloat(this.isUseSize)/parseFloat(this.myStoreInfo.memorySpace/1024)
-            return (num*100).toFixed(0)
+        useWidth() {
+            var num = 0
+            num = parseFloat(this.isUseSize) / parseFloat(this.myStoreInfo.memorySpace / 1024)
+            return (num * 100).toFixed(0)
         }
         }
     },
     },
     mounted() {
     mounted() {
@@ -91,11 +92,11 @@ export default {
         this.$http.get({
         this.$http.get({
             url: '/orderImage/getMemorySize',
             url: '/orderImage/getMemorySize',
             data: {
             data: {
-              storeId: this.userInfo.storeInfo.id
+                storeId: this.userInfo.storeInfo.id
             }
             }
         }).then(res => {
         }).then(res => {
             if (res.success) {
             if (res.success) {
-                this.isUseSize=(res.data.totalSize/1024).toFixed(2)
+                this.isUseSize = (res.data.totalSize / 1024).toFixed(2)
             }
             }
         }).catch(e => {
         }).catch(e => {
             console.log(e)
             console.log(e)
@@ -108,15 +109,15 @@ export default {
             this.$http.get({
             this.$http.get({
                 url: '/userOrder/getOne',
                 url: '/userOrder/getOne',
                 data: {
                 data: {
-                    id:id
+                    id: id
                 }
                 }
             }).then(res => {
             }).then(res => {
                 if (res.success) {
                 if (res.success) {
-                   this.orderList.forEach((item,index)=>{
-                       if(item.id==id){
-                           this.$set(this.orderList,index,res.data)
-                       }
-                   })
+                    this.orderList.forEach((item, index) => {
+                        if (item.id == id) {
+                            this.$set(this.orderList, index, res.data)
+                        }
+                    })
                 }
                 }
             }).catch(e => {
             }).catch(e => {
                 console.log(e)
                 console.log(e)
@@ -207,6 +208,7 @@ export default {
             text-align: left;
             text-align: left;
             margin: 0 10px;
             margin: 0 10px;
             position: relative;
             position: relative;
+            line-height: 16px;
 
 
             .use {
             .use {
                 width: 180px;
                 width: 180px;
@@ -219,7 +221,7 @@ export default {
                     color: #fff;
                     color: #fff;
                     float: left;
                     float: left;
                     margin-left: 10px;
                     margin-left: 10px;
-                    text-shadow: #666 0.1em 0.1em 0.2em
+                    text-shadow: #666 0.1em 0.1em 0.2em;
                 }
                 }
             }
             }
             span {
             span {

+ 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.c7222d3cf676be5f0988.js></script><script type=text/javascript src=/static/js/vendor.dca531f3c9de411dd825.js></script><script type=text/javascript src=/static/js/admin.3725b6b904015686c98e.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.01ae1664c9c2c87cf19c.js></script><script type=text/javascript src=/static/js/vendor.dca531f3c9de411dd825.js></script><script type=text/javascript src=/static/js/admin.3725b6b904015686c98e.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.e6432e940b0d09f1626121b772580d03.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.c7222d3cf676be5f0988.js></script><script type=text/javascript src=/static/js/vendor.dca531f3c9de411dd825.js></script><script type=text/javascript src=/static/js/index.8a78afcdbecba53ffa04.js></script></body><script>var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
+        }</style><link href=/static/css/index.25d509a11c6fb3d133d1c240597703c0.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.01ae1664c9c2c87cf19c.js></script><script type=text/javascript src=/static/js/vendor.dca531f3c9de411dd825.js></script><script type=text/javascript src=/static/js/index.b346cb207392f75cd89e.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.25d509a11c6fb3d133d1c240597703c0.css


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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