Ver código fonte

Merge branch 'main' of http://git.ycjcjy.com/marketing/miniapp into main

zlisen 3 anos atrás
pai
commit
746f764d7f

+ 2
- 2
src/pages/index/newsDetail/index.jsx Ver arquivo

63
                     <text className='Title'>{data.newsName}</text>
63
                     <text className='Title'>{data.newsName}</text>
64
                     <view>
64
                     <view>
65
                       <text>阅读:{data.pvNum || 0}</text>
65
                       <text>阅读:{data.pvNum || 0}</text>
66
-                      <text>点赞{data.favorNum || 0}</text>
66
+                      {/* <text>点赞{data.favorNum || 0}</text> */}
67
                       <text>收藏{data.saveNum || 0}</text>
67
                       <text>收藏{data.saveNum || 0}</text>
68
                     </view>
68
                     </view>
69
                     <text className='Time'>
69
                     <text className='Time'>
70
                       {`时间:${formatDate(data.createDate, 'yyyy-M-d')} `}
70
                       {`时间:${formatDate(data.createDate, 'yyyy-M-d')} `}
71
                     </text>
71
                     </text>
72
-                    <text className='Share'>分享好友</text>
72
+                    <button open-type='share' className='Share'>分享好友</button>
73
                   </view>
73
                   </view>
74
                 </view>
74
                 </view>
75
 
75
 

+ 4
- 0
src/pages/index/newsDetail/index.scss Ver arquivo

65
                 border-radius: 92px;
65
                 border-radius: 92px;
66
                 margin-top: 30px;
66
                 margin-top: 30px;
67
                 margin-bottom: 20px;
67
                 margin-bottom: 20px;
68
+                border: none;
69
+                &::after {
70
+                  display: none;
71
+                }
68
               }
72
               }
69
             }
73
             }
70
           }
74
           }