bihuisong 5 månader sedan
förälder
incheckning
b213383244

BIN
zhjq-ui/src/assets/images/index.jpg


BIN
zhjq-ui/src/assets/images/login-background.jpg


BIN
zhjq-ui/src/assets/images/pay.png


+ 0 - 8
zhjq-ui/src/layout/components/Navbar.vue

@@ -10,14 +10,6 @@
       <template v-if="device!=='mobile'">
         <search id="header-search" class="right-menu-item"/>
 
-        <el-tooltip content="源码地址" effect="dark" placement="bottom">
-          <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect"/>
-        </el-tooltip>
-
-        <el-tooltip content="文档地址" effect="dark" placement="bottom">
-          <ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect"/>
-        </el-tooltip>
-
         <screenfull id="screenfull" class="right-menu-item hover-effect"/>
 
         <el-tooltip content="布局大小" effect="dark" placement="bottom">

+ 3 - 62
zhjq-ui/src/views/index.vue

@@ -1,4 +1,7 @@
 <template>
+  <div style="width: 100%;height: 800px">
+    <img alt="dark" src="@/assets/images/index.jpg">
+  </div>
 </template>
 
 <script>
@@ -12,68 +15,6 @@ export default {
 </script>
 
 <style lang="scss" scoped>
-.home {
-  blockquote {
-    padding: 10px 20px;
-    margin: 0 0 20px;
-    font-size: 17.5px;
-    border-left: 5px solid #eee;
-  }
 
-  hr {
-    margin-top: 20px;
-    margin-bottom: 20px;
-    border: 0;
-    border-top: 1px solid #eee;
-  }
-
-  .col-item {
-    margin-bottom: 20px;
-  }
-
-  ul {
-    padding: 0;
-    margin: 0;
-  }
-
-  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
-  font-size: 13px;
-  color: #676a6c;
-  overflow-x: hidden;
-
-  ul {
-    list-style-type: none;
-  }
-
-  h4 {
-    margin-top: 0px;
-  }
-
-  h2 {
-    margin-top: 10px;
-    font-size: 26px;
-    font-weight: 100;
-  }
-
-  p {
-    margin-top: 10px;
-
-    b {
-      font-weight: 700;
-    }
-  }
-
-  .update-log {
-    ol {
-      display: block;
-      list-style-type: decimal;
-      margin-block-start: 1em;
-      margin-block-end: 1em;
-      margin-inline-start: 0;
-      margin-inline-end: 0;
-      padding-inline-start: 40px;
-    }
-  }
-}
 </style>
 

+ 3 - 3
zhjq-ui/src/views/login.vue

@@ -56,7 +56,7 @@
     </el-form>
     <!--  底部  -->
     <div class="el-login-footer">
-      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
+<!--      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>-->
     </div>
   </div>
 </template>
@@ -72,8 +72,8 @@ export default {
     return {
       codeUrl: "",
       loginForm: {
-        username: "admin",
-        password: "admin123",
+        username: "",
+        password: "",
         rememberMe: false,
         code: "",
         uuid: ""

+ 1 - 1
zhjq-ui/src/views/register.vue

@@ -61,7 +61,7 @@
     </el-form>
     <!--  底部  -->
     <div class="el-register-footer">
-      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
+<!--      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>-->
     </div>
   </div>
 </template>

+ 0 - 1
zhjq-ui/src/views/system/voice/details/details.vue

@@ -41,7 +41,6 @@ export default {
   },
   methods: {
     playSound(val) {
-      console.log("val", val);
       if (this.sound) {
         this.sound.play();
       } else {

+ 10 - 3
zhjq-ui/src/views/system/voice/index.vue

@@ -218,16 +218,22 @@ export default {
       },
       localIp: '',
       localPort: '',
+      serverUrl: null
     };
   },
   created() {
     this.getList();
+    this.getConfigKey("server_url").then(response => {
+      this.serverUrl = response.msg;
+      console.log(this.serverUrl);
+    });
   },
   mounted() {
     this.localIp = this.getLocalIp();
     this.localPort = this.getPort()
   },
   methods: {
+
     getNowTime() {
       var now = new Date()
       var year = now.getFullYear() // 得到年份
@@ -256,8 +262,7 @@ export default {
       let params = {
         id: row.id,
         voiceName: row.voiceName,
-        // voiceUrl: that.localIp + ":" + that.localPort + "/details?id=" + row.id,
-        voiceUrl: "/details?id=" + row.id,
+        voiceUrl: this.serverUrl + "/details?id=" + row.id,
       }
       createQrCode(params).then(res => {
         if (res.code == 200) {
@@ -266,7 +271,9 @@ export default {
           that.$modal.msgError("生成失败");
         }
       });
-      this.getList()
+      setTimeout(() => {
+        this.getList()
+      }, 1000);
     },
     /** 查询景点播报列表 */
     getList() {