bayi 2 years ago
parent
commit
fea86da120
4 changed files with 6 additions and 5 deletions
  1. 0 1
      components/comment/index.js
  2. 2 2
      mixins/video.js
  3. 3 2
      pages/reading/index.less
  4. 1 0
      pages/reading/index.wxss

+ 0 - 1
components/comment/index.js

@@ -41,7 +41,6 @@ Component({
   },
   methods: {
     async open(author, columnId, type = 'comment', onceId) {
-      console.log(columnId, type, onceId);
       // 背景遮罩层
       var animation = wx.createAnimation({
         duration: 300,

+ 2 - 2
mixins/video.js

@@ -87,13 +87,13 @@ module.exports = Behavior({
     openComment({
       target
     }) {
-      this.selectComponent('#comment').open(target.dataset.uid,target.dataset.id)
+      this.selectComponent('#comment').open(target.dataset.uid, target.dataset.id)
     },
     // 打开设置类型的评论组件
     openTypeComment({
       target
     }) {
-      this.selectComponent('#comment').open(target.dataset.uid,target.dataset.id, target.dataset.type, target.dataset.onceId)
+      this.selectComponent('#comment').open(wx.getStorageSync('uid'), target.dataset.id, target.dataset.type, target.dataset.onceId)
     },
     // 分享
     creatShare(video) {

+ 3 - 2
pages/reading/index.less

@@ -30,6 +30,7 @@
         z-index: 1;
         border: 6rpx solid white;
         border-radius: 50%;
+        background-color: #e4e1e1;
       }
 
     }
@@ -82,7 +83,7 @@
     width: 100%;
     height: 422rpx;
 
-  /*   .mask {
+    /*   .mask {
       position: absolute;
       width: 100%;
       height: 100%;
@@ -91,7 +92,7 @@
       background-color: rgba(0, 0, 0, 0.5);
     }
  */
-   /*  .audioBg {
+    /*  .audioBg {
       width: 100%;
       height: 100%;
       filter: blur(12px);

+ 1 - 0
pages/reading/index.wxss

@@ -30,6 +30,7 @@
   z-index: 1;
   border: 6rpx solid white;
   border-radius: 50%;
+  background-color: #e4e1e1;
 }
 .readingBox .videoBox {
   position: relative;