Browse Source

fix: 评论问题修改 (#2030)

* fix: popover

* fix: 代码回退

* feat: 文档修改

* feat: 修改Imagepreview

* feat: imagepreview文案修改

* feat: noticebar文案修改

* fix: noticebar小程序不能运行问题修改

* feat: 组件文档修改picker

* docs: 文案修改

* docs: countdown

* feat: image

* docs: 文本修改

* fix: imagepreview

* docs: 单位修改

* docs: 文档修噶

* docs: actionsheet文档修改

* docs: 文档修改

* fix: drag使用公共函数

* docs: 文案更新

* feat: 文档修改

* feat: 文案修改

* feat: picker文案修改

* feat: picker

* feat: 文案修改

* fix: 多余Props删除

* feat: 文档修改

* feat: docs修改

* fix: picker修改

* feat: comment修改

* feat: 文案修改

* feat: 评论修改

* feat: 评论修改
yangxiaolu1993 3 years ago
parent
commit
727d1bce5a
2 changed files with 8 additions and 7 deletions
  1. 6 6
      src/packages/__VUE/comment/index.scss
  2. 2 1
      src/packages/__VUE/tour/index.taro.vue

+ 6 - 6
src/packages/__VUE/comment/index.scss

@@ -213,9 +213,9 @@
       display: flex;
       align-items: center;
       justify-content: center;
-      width: 105px;
-      height: 105px;
-      line-height: 105px;
+      width: 100%;
+      height: 90px;
+      line-height: 90px;
       background: rgba(0, 0, 0, 0.5);
       font-size: 12px;
       color: rgba(255, 255, 255, 1);
@@ -226,14 +226,14 @@
     flex-wrap: wrap;
     justify-content: space-between;
     overflow: hidden;
-    width: 331px;
+    width: 100%;
     margin: 10px auto 15px;
 
     .nut-comment-images__item {
       margin: 8px 8px 0 0;
 
-      width: 105px;
-      height: 105px;
+      width: calc(34% - 8px);
+      height: 90px;
 
       img {
         width: 100%;

+ 2 - 1
src/packages/__VUE/tour/index.taro.vue

@@ -222,7 +222,8 @@ export default create({
       props.steps.forEach(async (item, i) => {
         let rect;
         if (Taro.getEnv() === 'WEB') {
-          rect = await useRect(document.querySelector(`#${item.target}`));
+          const el = document.querySelector(`#${item.target}`) as Element;
+          rect = await useRect(el);
         } else {
           rect = await useTaroRect(item.target, Taro);
         }