Explorar el Código

修改问题

zjm
suomingxiang hace 3 meses
padre
commit
93284cb1f1

+ 4
- 47
src/pages/articleDetails/App.js Ver fichero

@@ -8,7 +8,7 @@ import {
8 8
 
9 9
 export default class App {
10 10
     constructor() {
11
-        // let common = new Common(document.querySelector('.main'),2)   //导航菜单高亮,0是首页,后面的按顺序添加
11
+        let common = new Common(document.querySelector('.main'),2)   //导航菜单高亮,0是首页,后面的按顺序添加
12 12
         this.isMobile = isMobile()
13 13
         // this.tabChange()
14 14
         // 图片及视频资源懒加载。防止阻塞js执行
@@ -29,52 +29,9 @@ export default class App {
29 29
             }
30 30
         });
31 31
 
32
-        // vx()
33
-        // function vx(){
34
-        //     wx.config({
35
-        //         debug: false, // 开启调试模式
36
-        //         appId: 'YOUR_APP_ID', // 公众号的唯一标识
37
-        //         timestamp: 176565448486313, // 生成签名的时间戳
38
-        //         nonceStr: 'NONCESTR', // 生成签名的随机串
39
-        //         signature: 'SIGNATURE', // 签名,见附录1
40
-        //         jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'] // 需要使用的 JS 接口列表
41
-        //     });
42
-         
43
-        //     wx.ready(function () {
44
-        //         // 分享到朋友圈
45
-        //         wx.onMenuShareTimeline({
46
-        //             title: '分享标题', // 分享标题
47
-        //             link: 'https://example.com', // 分享链接
48
-        //             imgUrl: 'https://example.com/image.jpg', // 分享图标
49
-        //             success: function () {
50
-        //                 // 用户确认分享后执行的回调函数
51
-        //             },
52
-        //             cancel: function () {
53
-        //                 // 用户取消分享后执行的回调函数
54
-        //             }
55
-        //         });
56
-        //         const shareWx = document.querySelector('.shareWx');
57
-        //         console.log(shareWx)
58
-        //         shareWx.addEventListener('click',function(){
59
-        //             // 分享给朋友
60
-        //             wx.onMenuShareAppMessage({
61
-        //                 title: '分享标题', // 分享标题
62
-        //                 desc: '分享描述', // 分享描述
63
-        //                 type: 'link', // 分享类型,music、video或link,不填默认为link
64
-        //                 success: function () {
65
-        //                     // 用户确认分享后执行的回调函数
66
-                            
67
-        //                 },
68
-        //                 cancel: function () {
69
-        //                     // 用户取消分享后执行的回调函数
70
-        //                 }
71
-        //             });
72
-        //         })
73
-                
74
-        //     });
75
-        // }
76
-        numberOfViews()
77
-        getNums()
32
+
33
+        // numberOfViews()
34
+        // getNums()
78 35
         async function numberOfViews() {
79 36
             try {
80 37
                 const canshu = document.querySelector('.canshu');

+ 1
- 1
src/pages/enterprisePartyBuilding/App.js Ver fichero

@@ -10,7 +10,7 @@ const pageSize = 5;
10 10
 
11 11
 export default class App {
12 12
     constructor() {
13
-        let common = new Common(document.querySelector('.main'),3)   //导航菜单高亮,0是首页,后面的按顺序添加
13
+        let common = new Common(document.querySelector('.main'),2)   //导航菜单高亮,0是首页,后面的按顺序添加
14 14
         this.isMobile = isMobile()
15 15
         let lazyDoms = document.querySelectorAll(".lazy");
16 16
         let Time = null;

+ 3
- 0
src/pages/enterprisePartyBuilding/index.less Ver fichero

@@ -212,6 +212,7 @@
212 212
             margin-right: 20px;
213 213
             cursor: pointer;
214 214
             transition: all 0.2s;
215
+            border-radius: 20px;
215 216
             span{
216 217
                 font-size: 26px;
217 218
                 transform: rotate(-90deg);
@@ -233,6 +234,7 @@
233 234
             margin-left: 20px;
234 235
             cursor: pointer;
235 236
             transition: all 0.2s;
237
+            border-radius: 20px;
236 238
             span{
237 239
                 font-size: 26px;
238 240
                 transform: rotate(90deg);
@@ -256,6 +258,7 @@
256 258
             text-align: center;
257 259
             border: 1px solid #DDE2E6;
258 260
             border-radius: 2px;
261
+            border-radius: 20px;
259 262
             &:hover{
260 263
                 background: #B81C25;
261 264
                 border: 1px solid #B81C25;

Loading…
Cancelar
Guardar