1002884655 3 år sedan
förälder
incheckning
92dba4d57c

+ 1
- 1
config/dev.js Visa fil

@@ -3,7 +3,7 @@ module.exports = {
3 3
     NODE_ENV: '"development"'
4 4
   },
5 5
   defineConstants: {
6
-    // HOST: '"https://xlj.newlandsh.com"',
6
+    // HOST: '"https://xlk.njyz.tech"',
7 7
     HOST: '"http://127.0.0.1:8081"',
8 8
     WSS_HOST: '"wss://xlk.njyz.tech"',
9 9
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',

+ 1
- 1
project.config.json Visa fil

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "miniapp",
4 4
 	"description": "",
5
-	"appid": "wxc96058d57e77f373",
5
+	"appid": "wxe44244d1a5ea3364",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 2
- 2
src/pages/index/newsDetail/index.jsx Visa fil

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

+ 4
- 0
src/pages/index/newsDetail/index.scss Visa fil

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