lushuncheng před 6 roky
rodič
revize
3785fb68bc

+ 4 - 3
pages/user/_id/_type.vue

@@ -596,15 +596,16 @@
         const {
           width,
           height,
-          video_id
+          video_id,
+          hash_id
         } = item
 
         if (this.$deviceType.app) {
           location.href = `proginn://community/video?id=${video_id}`
         } else if (this.$deviceType.isMobile()) {
-          location.href = `${this.jishuBaseUrl}/video/${video_id}`
+          location.href = `${this.jishuBaseUrl}/video/${hash_id}`
         } else if (Number(width) < Number(height)) { //竖屏 跳转到播放页
-          window.open(`/video/${video_id}`, "_black")
+          window.open(`/video/${hash_id}`, "_black")
         } else {
           this.$message({
             type: 'success',

+ 4 - 3
pages/user/add_video_collect/_cid.vue

@@ -145,14 +145,15 @@
         const {
           width,
           height,
-          video_id
+          video_id,
+          hash_id
         } = item
         if (this.$deviceType.app) {
           location.href = `proginn://community/video?id=${video_id}`
         } else if (this.$deviceType.isMobile()) {
-          location.href = `${this.jishuBaseUrl}/video/${video_id}`
+          location.href = `${this.jishuBaseUrl}/video/${hash_id}`
         } else if (Number(width) < Number(height)) { //竖屏 跳转到播放页
-          window.open(`${this.jishuBaseUrl}/video/${video_id}`, "_black")
+          window.open(`${this.jishuBaseUrl}/video/${hash_id}`, "_black")
         } else {
           this.$message("横屏还对接")
         }

+ 5 - 4
pages/user/collect_article/_id/_type.vue

@@ -551,7 +551,7 @@
        * 点击文章
        */
       clickArt(art, index) {
-        location.href = `/p/${art.id}.html`;
+        location.href = `/p/${art.hash_id}.html`;
       },
       /**
        * 监听滚动
@@ -573,14 +573,15 @@
         const {
           width,
           height,
-          video_id
+          video_id,
+          hash_id
         } = item
         if (this.$deviceType.app) {
           location.href = `proginn://community/video?id=${video_id}`
         } else if (this.$deviceType.isMobile()) {
-          location.href = `${this.jishuBaseUrl}/video/${video_id}`
+          location.href = `${this.jishuBaseUrl}/video/${hash_id}`
         } else if (Number(width) < Number(height)) { //竖屏 跳转到播放页
-          window.open(`${this.jishuBaseUrl}/video/${video_id}`, "_black")
+          window.open(`${this.jishuBaseUrl}/video/${hash_id}`, "_black")
         } else {
           this.$message({
             type: 'success',

+ 2 - 2
pages/user/index/article.vue

@@ -40,7 +40,7 @@
             <div class="flex">
               <div class="justify-between">
                 <div class="article-title">
-                  <a :href="'/p/'+ article.id + '.html'">{{article.title}}</a>
+                  <a :href="'/p/'+ article.hash_id + '.html'">{{article.title}}</a>
                 </div>
                 <div class="article-info align-center">
                   <div class="live-source align-center">
@@ -68,7 +68,7 @@
             <div class="flex">
               <div class="justify-between">
                 <div class="article-title">
-                  <a :href="'/p/'+ article.id + '.html'">{{article.title}}</a>
+                  <a :href="'/p/'+ article.hash_id + '.html'">{{article.title}}</a>
                 </div>
                 <div class="article-info align-center">
                   <div class="live-source align-center">

+ 1 - 1
pages/user/video_collect.vue

@@ -230,7 +230,7 @@
        * 点击文章
        */
       clickArt(art, index) {
-        location.href = `/p/${art.id}.html`;
+        location.href = `/p/${art.hash_id}.html`;
       },
       /**
        * 监听滚动