Преглед на файлове

协议页面样式修改

DESKTOP-SVI9JE1\muzen преди 2 години
родител
ревизия
8ec75d6aaa
променени са 1 файла, в които са добавени 6 реда и са изтрити 8 реда
  1. 6 8
      src/pages/agreement/index.vue

+ 6 - 8
src/pages/agreement/index.vue

@@ -1,7 +1,6 @@
 <template>
   <view class='app-container'>
-    <rich-text :nodes="form.content" />
-    <!-- <u-parse id="content" ref="content" :content="form.content" :endHandler="get" /> -->
+    <uv-parse :content="form.content" @linktap="linktap" />
   </view>
 </template>
 
@@ -27,17 +26,16 @@ export default {
         }
       })
     },
-    // get(e) {
-    //   if (e.attr.class === 'ql-audio') {
-    //     e.attr.src = 'https://music-play.oss-cn-shenzhen.aliyuncs.com/backOss/file/a7e2c01610f64b49881556767f90ca63.mp3'
-    //   }
-    // }
+    // 点击链接
+    linktap(e) {
+      window.location.href = e.href
+    }
   }
 }
 </script>
 
 <style lang="scss" scoped>
-p {
+.app-container{
   white-space: pre-wrap;
 }
 </style>