Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
* 'main' of http://192.168.1.42/developOne/harmonyPool: fix |> 删除无用代码 ref |> 图文详情页H5本地模版替换 人民号主题卡 分割线 间距 人民号-我的关注横划卡 去掉阴影 增加边框 人民号冷启动推荐卡 头像描边 文字居中 间距 字号
Showing
40 changed files
with
2797 additions
and
1710 deletions
| @@ -117,6 +117,8 @@ export class BridgeWebViewControl extends webview.WebviewController { | @@ -117,6 +117,8 @@ export class BridgeWebViewControl extends webview.WebviewController { | ||
| 117 | // messageJson = messageJson.replace("%7B", encodeURIComponent("%7B")); | 117 | // messageJson = messageJson.replace("%7B", encodeURIComponent("%7B")); |
| 118 | // messageJson = messageJson.replace("%7D", encodeURIComponent("%7D")); | 118 | // messageJson = messageJson.replace("%7D", encodeURIComponent("%7D")); |
| 119 | // messageJson = messageJson.replace("%22", encodeURIComponent("%22")); | 119 | // messageJson = messageJson.replace("%22", encodeURIComponent("%22")); |
| 120 | + // messageJson = messageJson.replace("/\n/g", "\\n").replace("/\r/g", "\\r").replace("/\f/g", "\\f").replace("/\"/g", "\\\"").replace("/\'/g", "\\\'").replace("/\u2028/g", "\\u2028").replace("/\u2029/g", "\\u2029"); | ||
| 121 | + | ||
| 120 | 122 | ||
| 121 | let javascriptCommand: string = StringUtils.formatStringForJS(BridgeUtil.JS_HANDLE_MESSAGE_FROM_JAVA, messageJson); | 123 | let javascriptCommand: string = StringUtils.formatStringForJS(BridgeUtil.JS_HANDLE_MESSAGE_FROM_JAVA, messageJson); |
| 122 | this.runJavaScript(javascriptCommand).then((res)=>{ | 124 | this.runJavaScript(javascriptCommand).then((res)=>{ |
| @@ -80,6 +80,7 @@ export struct ImageAndTextWebComponent { | @@ -80,6 +80,7 @@ export struct ImageAndTextWebComponent { | ||
| 80 | h5ReceiveDataJsonBean.netError = '0' | 80 | h5ReceiveDataJsonBean.netError = '0' |
| 81 | let response: ResponseBean = {} as ResponseBean | 81 | let response: ResponseBean = {} as ResponseBean |
| 82 | response.data = this.contentDetailData | 82 | response.data = this.contentDetailData |
| 83 | + // Logger.debug('ImageAndTextWebComponent', 'newsContent111111:',this.contentDetailData[0].newsContent); | ||
| 83 | response.code = 200 | 84 | response.code = 200 |
| 84 | response.success = true | 85 | response.success = true |
| 85 | h5ReceiveDataJsonBean.responseMap = response | 86 | h5ReceiveDataJsonBean.responseMap = response |
| @@ -118,10 +119,10 @@ export struct ImageAndTextWebComponent { | @@ -118,10 +119,10 @@ export struct ImageAndTextWebComponent { | ||
| 118 | } | 119 | } |
| 119 | 120 | ||
| 120 | private sendContentData2H5(h5ReceiveAppData: H5ReceiveDetailBean) { | 121 | private sendContentData2H5(h5ReceiveAppData: H5ReceiveDetailBean) { |
| 121 | - Logger.debug('ImageAndTextWebComponent', 'jsCall_receiveAppData',JSON.stringify(h5ReceiveAppData)); | ||
| 122 | - this.webviewControl.callHandle(NativeCallH5Type.jsCall_receiveAppData, | ||
| 123 | - JSON.stringify(h5ReceiveAppData), (data: string) => { | ||
| 124 | - Logger.debug('ImageAndTextWebComponent', "from js data = " + data); | ||
| 125 | - }) | 122 | + let jsonString = JSON.stringify(h5ReceiveAppData); |
| 123 | + Logger.debug('ImageAndTextWebComponent', 'jsCall_receiveAppData',jsonString); | ||
| 124 | + this.webviewControl.callHandle(NativeCallH5Type.jsCall_receiveAppData, jsonString, (data: string) => { | ||
| 125 | + Logger.debug('ImageAndTextWebComponent', "from js data = " + data); | ||
| 126 | + }) | ||
| 126 | } | 127 | } |
| 127 | } | 128 | } |
| @@ -47,7 +47,7 @@ export struct ZhSingleColumn04 { | @@ -47,7 +47,7 @@ export struct ZhSingleColumn04 { | ||
| 47 | .padding({ | 47 | .padding({ |
| 48 | left: 10, | 48 | left: 10, |
| 49 | right: 10, | 49 | right: 10, |
| 50 | - top: $r('app.float.card_comp_pagePadding_tb'), | 50 | + top: 14, |
| 51 | bottom: $r('app.float.card_comp_pagePadding_tb') | 51 | bottom: $r('app.float.card_comp_pagePadding_tb') |
| 52 | }) | 52 | }) |
| 53 | .backgroundColor(0xffffff) | 53 | .backgroundColor(0xffffff) |
| @@ -82,7 +82,7 @@ export struct ZhSingleColumn04 { | @@ -82,7 +82,7 @@ export struct ZhSingleColumn04 { | ||
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | .width(CommonConstants.FULL_WIDTH) | 84 | .width(CommonConstants.FULL_WIDTH) |
| 85 | - .height(32) | 85 | + .height(40) |
| 86 | .margin({ bottom: 8 }) | 86 | .margin({ bottom: 8 }) |
| 87 | .backgroundImage($r('app.media.rmh_theme_bg')) | 87 | .backgroundImage($r('app.media.rmh_theme_bg')) |
| 88 | .backgroundImageSize({ width: CommonConstants.FULL_WIDTH, height: CommonConstants.FULL_WIDTH }) | 88 | .backgroundImageSize({ width: CommonConstants.FULL_WIDTH, height: CommonConstants.FULL_WIDTH }) |
| @@ -15,6 +15,11 @@ export struct PeopleShipRecommendHeadComponent { | @@ -15,6 +15,11 @@ export struct PeopleShipRecommendHeadComponent { | ||
| 15 | .height('44vp') | 15 | .height('44vp') |
| 16 | .borderRadius('22vp') | 16 | .borderRadius('22vp') |
| 17 | .objectFit(ImageFit.Cover) | 17 | .objectFit(ImageFit.Cover) |
| 18 | + .border({ | ||
| 19 | + width: 0.5, | ||
| 20 | + color: '#0D000000', // 5% 透明度的黑色 | ||
| 21 | + style: BorderStyle.Solid | ||
| 22 | + }) | ||
| 18 | 23 | ||
| 19 | Image( this.isSelectedRmhInfo() ? $r('app.media.rmh_selected') : $r('app.media.rmh_unselected') ) | 24 | Image( this.isSelectedRmhInfo() ? $r('app.media.rmh_selected') : $r('app.media.rmh_unselected') ) |
| 20 | .width('18vp') | 25 | .width('18vp') |
| @@ -46,14 +51,18 @@ export struct PeopleShipRecommendHeadComponent { | @@ -46,14 +51,18 @@ export struct PeopleShipRecommendHeadComponent { | ||
| 46 | .alignItems(VerticalAlign.Center) | 51 | .alignItems(VerticalAlign.Center) |
| 47 | .justifyContent(FlexAlign.Center) | 52 | .justifyContent(FlexAlign.Center) |
| 48 | 53 | ||
| 54 | + Row() { | ||
| 55 | + Text(this.rmhInfo.introduction) | ||
| 56 | + .fontColor($r('app.color.color_B0B0B0')) | ||
| 57 | + .fontSize(12) | ||
| 58 | + .margin({ top: 4, bottom: 14 }) | ||
| 59 | + .textOverflow({overflow: TextOverflow.Ellipsis}) | ||
| 60 | + .maxLines(2) | ||
| 61 | + .height(34) | ||
| 62 | + .lineHeight(17) | ||
| 63 | + .textAlign(TextAlign.Center) | ||
| 64 | + } | ||
| 49 | 65 | ||
| 50 | - Text(this.rmhInfo.introduction) | ||
| 51 | - .fontColor($r('app.color.color_B0B0B0')) | ||
| 52 | - .fontSize($r('app.float.vp_11')) | ||
| 53 | - .margin({ top: 6, bottom: 14 }) | ||
| 54 | - .textOverflow({overflow: TextOverflow.Ellipsis}) | ||
| 55 | - .maxLines(2) | ||
| 56 | - .height(34) | ||
| 57 | } | 66 | } |
| 58 | .width('100%') | 67 | .width('100%') |
| 59 | .height('110vp') | 68 | .height('110vp') |
| 1 | @Component | 1 | @Component |
| 2 | +//人民号-我的关注横划卡-头像 | ||
| 2 | export struct PeopleShipHomePageHeadComponent { | 3 | export struct PeopleShipHomePageHeadComponent { |
| 3 | @State diameter: number = 30 | 4 | @State diameter: number = 30 |
| 4 | @State iconDiameter: number = 10 | 5 | @State iconDiameter: number = 10 |
| @@ -13,10 +14,15 @@ export struct PeopleShipHomePageHeadComponent { | @@ -13,10 +14,15 @@ export struct PeopleShipHomePageHeadComponent { | ||
| 13 | .width(this.diameter) | 14 | .width(this.diameter) |
| 14 | .height(this.diameter) | 15 | .height(this.diameter) |
| 15 | .borderRadius(this.diameter/2) | 16 | .borderRadius(this.diameter/2) |
| 16 | - .borderWidth('0.5vp') | ||
| 17 | - .borderStyle(BorderStyle.Solid) | ||
| 18 | - .shadow({radius: 10, color: '#222226bd'}) | ||
| 19 | - .borderColor(Color.White) | 17 | + // .borderWidth('0.5vp') |
| 18 | + .border({ | ||
| 19 | + width: 0.5, | ||
| 20 | + color: '#0D000000', // 5% 透明度的黑色 | ||
| 21 | + style: BorderStyle.Solid | ||
| 22 | + }) | ||
| 23 | + // .borderStyle(BorderStyle.Solid) | ||
| 24 | + // .shadow({radius: 10, color: '#222226bd'}) | ||
| 25 | + // .borderColor(Color.White) | ||
| 20 | .objectFit(ImageFit.Cover) | 26 | .objectFit(ImageFit.Cover) |
| 21 | .backgroundColor(Color.White) | 27 | .backgroundColor(Color.White) |
| 22 | if(this.authIcon.length > 0 ) { | 28 | if(this.authIcon.length > 0 ) { |
| 1 | +html[data-size="small"] .gx-mobile .short-title { | ||
| 2 | + font-size: 0.40048592rem !important; | ||
| 3 | + line-height: 0.61407842rem !important; | ||
| 4 | +} | ||
| 5 | +html[data-size="small"] .gx-mobile .title { | ||
| 6 | + font-size: 0.64077748rem !important; | ||
| 7 | + line-height: 0.96116622rem !important; | ||
| 8 | +} | ||
| 9 | +html[data-size="small"] .gx-mobile .down-title-box .down-title { | ||
| 10 | + font-size: 0.40048592rem !important; | ||
| 11 | + line-height: 0.61407842rem !important; | ||
| 12 | +} | ||
| 13 | +html[data-size="small"] .gx-mobile .head-link-block { | ||
| 14 | + font-size: 0.32038874rem !important; | ||
| 15 | + line-height: 0.48058311rem !important; | ||
| 16 | +} | ||
| 17 | +html[data-size="small"] .gx-mobile .new-intro-box { | ||
| 18 | + font-size: 0.32038874rem !important; | ||
| 19 | + line-height: 0.48058311rem !important; | ||
| 20 | +} | ||
| 21 | +html[data-size="small"] .gx-mobile #newsContent { | ||
| 22 | + font-size: 0.42718498rem !important; | ||
| 23 | + line-height: 0.74757372rem !important; | ||
| 24 | +} | ||
| 25 | +html[data-size="small"] .gx-mobile #newsContent .bjh-image-caption, | ||
| 26 | +html[data-size="small"] .gx-mobile #newsContent .rmrb-caption-img, | ||
| 27 | +html[data-size="small"] .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 28 | + font-size: 0.32038874rem !important; | ||
| 29 | + line-height: 0.45388405rem !important; | ||
| 30 | +} | ||
| 31 | +html[data-size="small"] .statement { | ||
| 32 | + font-size: 0.32038874rem !important; | ||
| 33 | + line-height: 0.45388405rem !important; | ||
| 34 | +} | ||
| 35 | +html[data-size="small"] .editor-charge { | ||
| 36 | + font-size: 0.32038874rem !important; | ||
| 37 | + line-height: 0.45388405rem !important; | ||
| 38 | +} | ||
| 39 | +html[data-size="small"] .vote .vote-title { | ||
| 40 | + font-size: 0.37378686rem !important; | ||
| 41 | + line-height: 0.56068029rem !important; | ||
| 42 | +} | ||
| 43 | +html[data-size="small"] .timeline .timeline_title { | ||
| 44 | + font-size: 0.42718498rem !important; | ||
| 45 | + line-height: 0.58737935rem !important; | ||
| 46 | +} | ||
| 47 | +html[data-size="small"] .timeline .timeLine_list_item_title { | ||
| 48 | + font-size: 0.32038874rem !important; | ||
| 49 | + line-height: 0.42718498rem !important; | ||
| 50 | +} | ||
| 51 | +html[data-size="small"] .timeline .timeLine_list_item_content { | ||
| 52 | + font-size: 0.42718498rem !important; | ||
| 53 | + line-height: 0.58737935rem !important; | ||
| 54 | +} | ||
| 55 | +html[data-size="small"] .timeline .timeLine_list_item_line { | ||
| 56 | + top: 0.10666667rem !important; | ||
| 57 | +} | ||
| 58 | +html[data-size="small"] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 59 | + top: 0.48rem !important; | ||
| 60 | + height: calc(100% - 0.3rem) !important; | ||
| 61 | +} | ||
| 62 | +html[data-size="large"] .gx-mobile .short-title { | ||
| 63 | + font-size: 0.50728217rem !important; | ||
| 64 | + line-height: 0.77427278rem !important; | ||
| 65 | +} | ||
| 66 | +html[data-size="large"] .gx-mobile .title { | ||
| 67 | + font-size: 0.74757372rem !important; | ||
| 68 | + line-height: 1.12136058rem !important; | ||
| 69 | +} | ||
| 70 | +html[data-size="large"] .gx-mobile .down-title-box .down-title { | ||
| 71 | + font-size: 0.50728217rem !important; | ||
| 72 | + line-height: 0.77427278rem !important; | ||
| 73 | +} | ||
| 74 | +html[data-size="large"] .gx-mobile .head-link-block { | ||
| 75 | + font-size: 0.42718498rem !important; | ||
| 76 | + line-height: 0.64077748rem !important; | ||
| 77 | +} | ||
| 78 | +html[data-size="large"] .gx-mobile .new-intro-box { | ||
| 79 | + font-size: 0.42718498rem !important; | ||
| 80 | + line-height: 0.64077748rem !important; | ||
| 81 | +} | ||
| 82 | +html[data-size="large"] .gx-mobile #newsContent { | ||
| 83 | + font-size: 0.53398123rem !important; | ||
| 84 | + line-height: 0.93446715rem !important; | ||
| 85 | +} | ||
| 86 | +html[data-size="large"] .gx-mobile #newsContent .bjh-image-caption, | ||
| 87 | +html[data-size="large"] .gx-mobile #newsContent .rmrb-caption-img, | ||
| 88 | +html[data-size="large"] .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 89 | + font-size: 0.37378686rem !important; | ||
| 90 | + line-height: 0.56068029rem !important; | ||
| 91 | +} | ||
| 92 | +html[data-size="large"] .statement { | ||
| 93 | + font-size: 0.37378686rem !important; | ||
| 94 | + line-height: 0.53398123rem !important; | ||
| 95 | +} | ||
| 96 | +html[data-size="large"] .editor-charge { | ||
| 97 | + font-size: 0.37378686rem !important; | ||
| 98 | + line-height: 0.53398123rem !important; | ||
| 99 | +} | ||
| 100 | +html[data-size="large"] .vote .vote-title { | ||
| 101 | + font-size: 0.48058311rem !important; | ||
| 102 | + line-height: 0.72087466rem !important; | ||
| 103 | +} | ||
| 104 | +html[data-size="large"] .timeline .timeline_title { | ||
| 105 | + font-size: 0.53398123rem !important; | ||
| 106 | + line-height: 0.64077748rem !important; | ||
| 107 | +} | ||
| 108 | +html[data-size="large"] .timeline .timeLine_list_item_title { | ||
| 109 | + font-size: 0.37378686rem !important; | ||
| 110 | + line-height: 0.42718498rem !important; | ||
| 111 | +} | ||
| 112 | +html[data-size="large"] .timeline .timeLine_list_item_content { | ||
| 113 | + font-size: 0.53398123rem !important; | ||
| 114 | + line-height: 0.74757372rem !important; | ||
| 115 | +} | ||
| 116 | +html[data-size="large"] .timeline .timeLine_list_item_line { | ||
| 117 | + top: 0.16rem !important; | ||
| 118 | +} | ||
| 119 | +html[data-size="large"] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 120 | + top: 0.42666667rem !important; | ||
| 121 | + height: calc(100% - 0.32rem) !important; | ||
| 122 | +} | ||
| 123 | +html[data-size="Large"] .gx-mobile .short-title { | ||
| 124 | + font-size: 0.61407842rem !important; | ||
| 125 | + line-height: 0.93446715rem !important; | ||
| 126 | +} | ||
| 127 | +html[data-size="Large"] .gx-mobile .title { | ||
| 128 | + font-size: 0.85436997rem !important; | ||
| 129 | + line-height: 1.28155495rem !important; | ||
| 130 | +} | ||
| 131 | +html[data-size="Large"] .gx-mobile .down-title-box .down-title { | ||
| 132 | + font-size: 0.61407842rem !important; | ||
| 133 | + line-height: 0.93446715rem !important; | ||
| 134 | +} | ||
| 135 | +html[data-size="Large"] .gx-mobile .head-link-block { | ||
| 136 | + font-size: 0.53398123rem !important; | ||
| 137 | + line-height: 0.80097185rem !important; | ||
| 138 | +} | ||
| 139 | +html[data-size="Large"] .gx-mobile .new-intro-box { | ||
| 140 | + font-size: 0.53398123rem !important; | ||
| 141 | + line-height: 0.80097185rem !important; | ||
| 142 | +} | ||
| 143 | +html[data-size="Large"] .gx-mobile #newsContent { | ||
| 144 | + font-size: 0.64077748rem !important; | ||
| 145 | + line-height: 1.12136058rem !important; | ||
| 146 | +} | ||
| 147 | +html[data-size="Large"] .gx-mobile #newsContent .bjh-image-caption, | ||
| 148 | +html[data-size="Large"] .gx-mobile #newsContent .rmrb-caption-img, | ||
| 149 | +html[data-size="Large"] .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 150 | + font-size: 0.48058311rem !important; | ||
| 151 | + line-height: 0.72087466rem !important; | ||
| 152 | +} | ||
| 153 | +html[data-size="Large"] .statement { | ||
| 154 | + font-size: 0.48058311rem !important; | ||
| 155 | + line-height: 0.72087466rem !important; | ||
| 156 | +} | ||
| 157 | +html[data-size="Large"] .editor-charge { | ||
| 158 | + font-size: 0.48058311rem !important; | ||
| 159 | + line-height: 0.72087466rem !important; | ||
| 160 | +} | ||
| 161 | +html[data-size="Large"] .vote .vote-title { | ||
| 162 | + font-size: 0.58737935rem !important; | ||
| 163 | + line-height: 0.88106903rem !important; | ||
| 164 | +} | ||
| 165 | +html[data-size="Large"] .timeline .timeline_title { | ||
| 166 | + font-size: 0.64077748rem !important; | ||
| 167 | + line-height: 0.90776809rem !important; | ||
| 168 | +} | ||
| 169 | +html[data-size="Large"] .timeline .timeLine_list_item_title { | ||
| 170 | + font-size: 0.53398123rem !important; | ||
| 171 | + line-height: 0.74757372rem !important; | ||
| 172 | +} | ||
| 173 | +html[data-size="Large"] .timeline .timeLine_list_item_content { | ||
| 174 | + font-size: 0.64077748rem !important; | ||
| 175 | + line-height: 0.82767091rem !important; | ||
| 176 | +} | ||
| 177 | +html[data-size="Large"] .timeline .timeLine_list_item_line { | ||
| 178 | + top: 0.32rem !important; | ||
| 179 | +} | ||
| 180 | +html[data-size="Large"] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 181 | + top: 0.64rem !important; | ||
| 182 | + height: calc(100% - 0.32rem) !important; | ||
| 183 | +} | ||
| 184 | +/*# sourceMappingURL=fontSize.css.map */ |
| 1 | +{"version":3,"sources":["fontSize.less"],"names":[],"mappings":"AAAA,IAAI,mBAEF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAJJ,IAAI,mBAOF,WAAW;EACT,wBAAA;EACA,0BAAA;;AATJ,IAAI,mBAYF,WAAW,gBAAgB;EACzB,wBAAA;EACA,0BAAA;;AAdJ,IAAI,mBAiBF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAnBJ,IAAI,mBAsBF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAxBJ,IAAI,mBA2BF,WAAW;EACT,wBAAA;EACA,0BAAA;;AA7BJ,IAAI,mBAgCF,WAAW,aAAa;AAhC1B,IAAI,mBAgC0C,WAA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3DJ,IAAI,mBA8DF,UAAU;EACR,wBAAA;EACA,0BAAA;;AAhEJ,IAAI,mBAkEF,UAAU;EACR,YAAA;;AAnEJ,IAAI,mBAqEF,UAAU,eAAe,oBAAmB,YAAa;EACvD,kBAAA;EACA,QAAQ,oBAAR;;AAGJ,IAAI,mBAEF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAJJ,IAAI,mBAOF,WAAW;EACT,wBAAA;EACA,0BAAA;;AATJ,IAAI,mBAYF,WAAW,gBAAgB;EACzB,wBAAA;EACA,0BAAA;;AAdJ,IAAI,mBAiBF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAnBJ,IAAI,mBAsBF,WAAW;EACT,wBAAA;EACA,0BAAA;;AAxBJ,IAAI,mBA2BF,WAAW;EACT,wBAAA;EACA,0BAAA;;AA7BJ,IAAI,mBAgCF,WAAW,aAAa;AAhC1B,IAAI,mBAgC0C,WAAW,aAAa;AAhCtE,IAAI,mBAgCqF,WAAW,aAAa;EAC7G,wBAAA;EACA,0BAAA;;AAlCJ,IAAI,mBAqCF;EACE,wBAAA;EACA,0BAAA;;AAvCJ,IAAI,mBA0CF;EACE,wBAAA;EACA,0BAAA;;AA5CJ,IAAI,mBA+CF,MAAM;EACJ,wBAAA;EACA,0BAAA;;AAjDJ,IAAI,mBAoDF,UAAU;EACR,wBAAA;EACA,0BAAA;;AAtDJ,IAAI,mBAyDF,UAAU;EACR,wBAAA;EACA,0BAAA;;AA3DJ,IAAI,mBA8DF,UAAU;EACR,wBAAA;EACA,0BAAA;;AAhEJ,IAAI,mBAkEF,UAAU;EACR,YAAA;;AAnEJ,IAAI,mBAqEF,UAAU,eAAe,oBAAmB,YAAa;EACvD,YAAA;EACA,QAAQ,oBAAR","file":"fontSize.css"} |
| 1 | +html[data-size="small"] { | ||
| 2 | + // 肩标题 | ||
| 3 | + .gx-mobile .short-title { | ||
| 4 | + font-size: (15 / 37.4545rem) !important; | ||
| 5 | + line-height: (23 / 37.4545rem) !important; | ||
| 6 | + } | ||
| 7 | + // 标题 | ||
| 8 | + .gx-mobile .title { | ||
| 9 | + font-size: (24 / 37.4545rem) !important; | ||
| 10 | + line-height: (36 / 37.4545rem) !important; | ||
| 11 | + } | ||
| 12 | + // 副标题 | ||
| 13 | + .gx-mobile .down-title-box .down-title { | ||
| 14 | + font-size: (15 / 37.4545rem) !important; | ||
| 15 | + line-height: (23 / 37.4545rem) !important; | ||
| 16 | + } | ||
| 17 | + // 篇头跳转 | ||
| 18 | + .gx-mobile .head-link-block { | ||
| 19 | + font-size: (12 / 37.4545rem) !important; | ||
| 20 | + line-height: (18 / 37.4545rem) !important; | ||
| 21 | + } | ||
| 22 | + // 导读 | ||
| 23 | + .gx-mobile .new-intro-box { | ||
| 24 | + font-size: (12 / 37.4545rem) !important; | ||
| 25 | + line-height: (18 / 37.4545rem) !important; | ||
| 26 | + } | ||
| 27 | + // 正文 | ||
| 28 | + .gx-mobile #newsContent { | ||
| 29 | + font-size: (16 / 37.4545rem) !important; | ||
| 30 | + line-height: (28 / 37.4545rem) !important; | ||
| 31 | + } | ||
| 32 | + // 图注 | ||
| 33 | + .gx-mobile #newsContent .bjh-image-caption, .gx-mobile #newsContent .rmrb-caption-img, .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 34 | + font-size: (12 / 37.4545rem) !important; | ||
| 35 | + line-height: (17 / 37.4545rem) !important; | ||
| 36 | + } | ||
| 37 | + // 特别声明 | ||
| 38 | + .statement { | ||
| 39 | + font-size: (12 / 37.4545rem) !important; | ||
| 40 | + line-height: (17 / 37.4545rem) !important; | ||
| 41 | + } | ||
| 42 | + // 责任 | ||
| 43 | + .editor-charge { | ||
| 44 | + font-size: (12 / 37.4545rem) !important; | ||
| 45 | + line-height: (17 / 37.4545rem) !important; | ||
| 46 | + } | ||
| 47 | + // 投票标题 | ||
| 48 | + .vote .vote-title { | ||
| 49 | + font-size: (14 / 37.4545rem) !important; | ||
| 50 | + line-height: (21 / 37.4545rem) !important; | ||
| 51 | + } | ||
| 52 | + // 专题标题 | ||
| 53 | + .timeline .timeline_title { | ||
| 54 | + font-size: (16 / 37.4545rem) !important; | ||
| 55 | + line-height: (22 / 37.4545rem) !important; | ||
| 56 | + } | ||
| 57 | + // 专题内容时间 | ||
| 58 | + .timeline .timeLine_list_item_title { | ||
| 59 | + font-size: (12 / 37.4545rem) !important; | ||
| 60 | + line-height: (16 / 37.4545rem) !important; | ||
| 61 | + } | ||
| 62 | + // 专题内容标题 | ||
| 63 | + .timeline .timeLine_list_item_content { | ||
| 64 | + font-size: (16 / 37.4545rem) !important; | ||
| 65 | + line-height: (22 / 37.4545rem) !important; | ||
| 66 | + } | ||
| 67 | + .timeline .timeLine_list_item_line { | ||
| 68 | + top: (4 / 37.5rem) !important; | ||
| 69 | + } | ||
| 70 | + .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 71 | + top: (18 / 37.5rem) !important; | ||
| 72 | + height: calc(100% - 0.3rem) !important; | ||
| 73 | + } | ||
| 74 | +} | ||
| 75 | +html[data-size="large"] { | ||
| 76 | + // 肩标题 | ||
| 77 | + .gx-mobile .short-title { | ||
| 78 | + font-size: (19 / 37.4545rem) !important; | ||
| 79 | + line-height: (29 / 37.4545rem) !important; | ||
| 80 | + } | ||
| 81 | + // 标题 | ||
| 82 | + .gx-mobile .title { | ||
| 83 | + font-size: (28 / 37.4545rem) !important; | ||
| 84 | + line-height: (42 / 37.4545rem) !important; | ||
| 85 | + } | ||
| 86 | + // 副标题 | ||
| 87 | + .gx-mobile .down-title-box .down-title { | ||
| 88 | + font-size: (19 / 37.4545rem) !important; | ||
| 89 | + line-height: (29 / 37.4545rem) !important; | ||
| 90 | + } | ||
| 91 | + // 篇头跳转 | ||
| 92 | + .gx-mobile .head-link-block { | ||
| 93 | + font-size: (16 / 37.4545rem) !important; | ||
| 94 | + line-height: (24 / 37.4545rem) !important; | ||
| 95 | + } | ||
| 96 | + // 导读 | ||
| 97 | + .gx-mobile .new-intro-box { | ||
| 98 | + font-size: (16 / 37.4545rem) !important; | ||
| 99 | + line-height: (24 / 37.4545rem) !important; | ||
| 100 | + } | ||
| 101 | + // 正文 | ||
| 102 | + .gx-mobile #newsContent { | ||
| 103 | + font-size: (20 / 37.4545rem) !important; | ||
| 104 | + line-height: (35 / 37.4545rem) !important; | ||
| 105 | + } | ||
| 106 | + // 图注 | ||
| 107 | + .gx-mobile #newsContent .bjh-image-caption, .gx-mobile #newsContent .rmrb-caption-img, .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 108 | + font-size: (14 / 37.4545rem) !important; | ||
| 109 | + line-height: (21 / 37.4545rem) !important; | ||
| 110 | + } | ||
| 111 | + // 特别声明 | ||
| 112 | + .statement { | ||
| 113 | + font-size: (14 / 37.4545rem) !important; | ||
| 114 | + line-height: (20 / 37.4545rem) !important; | ||
| 115 | + } | ||
| 116 | + // 责任 | ||
| 117 | + .editor-charge { | ||
| 118 | + font-size: (14 / 37.4545rem) !important; | ||
| 119 | + line-height: (20 / 37.4545rem) !important; | ||
| 120 | + } | ||
| 121 | + // 投票标题 | ||
| 122 | + .vote .vote-title { | ||
| 123 | + font-size: (18 / 37.4545rem) !important; | ||
| 124 | + line-height: (27 / 37.4545rem) !important; | ||
| 125 | + } | ||
| 126 | + // 专题标题 | ||
| 127 | + .timeline .timeline_title { | ||
| 128 | + font-size: (20 / 37.4545rem) !important; | ||
| 129 | + line-height: (24 / 37.4545rem) !important; | ||
| 130 | + } | ||
| 131 | + // 专题内容时间 | ||
| 132 | + .timeline .timeLine_list_item_title { | ||
| 133 | + font-size: (14 / 37.4545rem) !important; | ||
| 134 | + line-height: (16 / 37.4545rem) !important; | ||
| 135 | + } | ||
| 136 | + // 专题内容标题 | ||
| 137 | + .timeline .timeLine_list_item_content { | ||
| 138 | + font-size: (20 / 37.4545rem) !important; | ||
| 139 | + line-height: (28 / 37.4545rem) !important; | ||
| 140 | + } | ||
| 141 | + .timeline .timeLine_list_item_line { | ||
| 142 | + top: (6 / 37.5rem) !important; | ||
| 143 | + } | ||
| 144 | + .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 145 | + top: (16 / 37.5rem) !important; | ||
| 146 | + height: calc(100% - 0.32rem) !important; | ||
| 147 | + } | ||
| 148 | +} | ||
| 149 | +html[data-size="Large"] { | ||
| 150 | + // 肩标题 | ||
| 151 | + .gx-mobile .short-title { | ||
| 152 | + font-size: (23 / 37.4545rem) !important; | ||
| 153 | + line-height: (35 / 37.4545rem) !important; | ||
| 154 | + } | ||
| 155 | + // 标题 | ||
| 156 | + .gx-mobile .title { | ||
| 157 | + font-size: (32 / 37.4545rem) !important; | ||
| 158 | + line-height: (48 / 37.4545rem) !important; | ||
| 159 | + } | ||
| 160 | + // 副标题 | ||
| 161 | + .gx-mobile .down-title-box .down-title { | ||
| 162 | + font-size: (23 / 37.4545rem) !important; | ||
| 163 | + line-height: (35 / 37.4545rem) !important; | ||
| 164 | + } | ||
| 165 | + // 篇头跳转 | ||
| 166 | + .gx-mobile .head-link-block { | ||
| 167 | + font-size: (20 / 37.4545rem) !important; | ||
| 168 | + line-height: (30 / 37.4545rem) !important; | ||
| 169 | + } | ||
| 170 | + // 导读 | ||
| 171 | + .gx-mobile .new-intro-box { | ||
| 172 | + font-size: (20 / 37.4545rem) !important; | ||
| 173 | + line-height: (30 / 37.4545rem) !important; | ||
| 174 | + } | ||
| 175 | + // 正文 | ||
| 176 | + .gx-mobile #newsContent { | ||
| 177 | + font-size: (24 / 37.4545rem) !important; | ||
| 178 | + line-height: (42 / 37.4545rem) !important; | ||
| 179 | + } | ||
| 180 | + // 图注 | ||
| 181 | + .gx-mobile #newsContent .bjh-image-caption, .gx-mobile #newsContent .rmrb-caption-img, .gx-mobile #newsContent .rmrb-caption-img2 { | ||
| 182 | + font-size: (18 / 37.4545rem) !important; | ||
| 183 | + line-height: (27 / 37.4545rem) !important; | ||
| 184 | + } | ||
| 185 | + // 特别声明 | ||
| 186 | + .statement { | ||
| 187 | + font-size: (18 / 37.4545rem) !important; | ||
| 188 | + line-height: (27 / 37.4545rem) !important; | ||
| 189 | + } | ||
| 190 | + // 责任 | ||
| 191 | + .editor-charge { | ||
| 192 | + font-size: (18 / 37.4545rem) !important; | ||
| 193 | + line-height: (27 / 37.4545rem) !important; | ||
| 194 | + } | ||
| 195 | + // 投票标题 | ||
| 196 | + .vote .vote-title { | ||
| 197 | + font-size: (22 / 37.4545rem) !important; | ||
| 198 | + line-height: (33 / 37.4545rem) !important; | ||
| 199 | + } | ||
| 200 | + // 专题标题 | ||
| 201 | + .timeline .timeline_title { | ||
| 202 | + font-size: (24 / 37.4545rem) !important; | ||
| 203 | + line-height: (34 / 37.4545rem) !important; | ||
| 204 | + } | ||
| 205 | + // 专题内容时间 | ||
| 206 | + .timeline .timeLine_list_item_title { | ||
| 207 | + font-size: (20 / 37.4545rem) !important; | ||
| 208 | + line-height: (28 / 37.4545rem) !important; | ||
| 209 | + } | ||
| 210 | + // 专题内容标题 | ||
| 211 | + .timeline .timeLine_list_item_content { | ||
| 212 | + font-size: (24 / 37.4545rem) !important; | ||
| 213 | + line-height: (31 / 37.4545rem) !important; | ||
| 214 | + } | ||
| 215 | + .timeline .timeLine_list_item_line { | ||
| 216 | + top: (12 / 37.5rem) !important; | ||
| 217 | + } | ||
| 218 | + .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line { | ||
| 219 | + top: (24 / 37.5rem) !important; | ||
| 220 | + height: calc(100% - 0.32rem) !important; | ||
| 221 | + } | ||
| 222 | +} |
| @@ -418,6 +418,9 @@ html[dark-mode="true"] body .ant-skeleton.ant-skeleton-active .ant-skeleton-inpu | @@ -418,6 +418,9 @@ html[dark-mode="true"] body .ant-skeleton.ant-skeleton-active .ant-skeleton-inpu | ||
| 418 | background-size: 400% 100%; | 418 | background-size: 400% 100%; |
| 419 | animation: ant-skeleton-loading 1.4s ease infinite; | 419 | animation: ant-skeleton-loading 1.4s ease infinite; |
| 420 | } | 420 | } |
| 421 | +html[dark-mode="true"] body .gx-mobile .time.pageView > .article-source-icon { | ||
| 422 | + background-image: url('../image/dark/sourceIocnNew.svg'); | ||
| 423 | +} | ||
| 421 | html[dark-mode="true"] body .error-block .error-block-description-title { | 424 | html[dark-mode="true"] body .error-block .error-block-description-title { |
| 422 | color: #666; | 425 | color: #666; |
| 423 | } | 426 | } |
| @@ -430,7 +433,7 @@ html[dark-mode="true"] body .gx-mobile .short-title { | @@ -430,7 +433,7 @@ html[dark-mode="true"] body .gx-mobile .short-title { | ||
| 430 | html[dark-mode="true"] body .gx-mobile .head-link-block { | 433 | html[dark-mode="true"] body .gx-mobile .head-link-block { |
| 431 | background: #1D1D1D; | 434 | background: #1D1D1D; |
| 432 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 435 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 433 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 436 | + box-shadow: none; |
| 434 | color: #ddd; | 437 | color: #ddd; |
| 435 | } | 438 | } |
| 436 | html[dark-mode="true"] body .gx-mobile .down-title-box .down-title { | 439 | html[dark-mode="true"] body .gx-mobile .down-title-box .down-title { |
| @@ -447,6 +450,10 @@ html[dark-mode="true"] body .gx-mobile .rmcard .cdescrip .cdescrip_text { | @@ -447,6 +450,10 @@ html[dark-mode="true"] body .gx-mobile .rmcard .cdescrip .cdescrip_text { | ||
| 447 | color: #555; | 450 | color: #555; |
| 448 | } | 451 | } |
| 449 | html[dark-mode="true"] body .gx-mobile .rmcard .clook { | 452 | html[dark-mode="true"] body .gx-mobile .rmcard .clook { |
| 453 | + background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), #ED2800; | ||
| 454 | + color: #fff; | ||
| 455 | +} | ||
| 456 | +html[dark-mode="true"] body .gx-mobile .rmcard .isclook { | ||
| 450 | background: #262626; | 457 | background: #262626; |
| 451 | color: #CCCCCC; | 458 | color: #CCCCCC; |
| 452 | } | 459 | } |
| @@ -498,11 +505,11 @@ html[dark-mode="true"] body #newsContent section[data-title='分割线-3'] > div | @@ -498,11 +505,11 @@ html[dark-mode="true"] body #newsContent section[data-title='分割线-3'] > div | ||
| 498 | } | 505 | } |
| 499 | html[dark-mode="true"] body #newsContent .en-scroll-text { | 506 | html[dark-mode="true"] body #newsContent .en-scroll-text { |
| 500 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 507 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 501 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 508 | + box-shadow: none; |
| 502 | } | 509 | } |
| 503 | html[dark-mode="true"] body #newsContent .preview-audio-player-cover { | 510 | html[dark-mode="true"] body #newsContent .preview-audio-player-cover { |
| 504 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 511 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 505 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 512 | + box-shadow: none; |
| 506 | } | 513 | } |
| 507 | html[dark-mode="true"] body #newsContent .preview-audio-player-cover .right .audio-title { | 514 | html[dark-mode="true"] body #newsContent .preview-audio-player-cover .right .audio-title { |
| 508 | color: #DDDDDD; | 515 | color: #DDDDDD; |
| @@ -514,16 +521,13 @@ html[dark-mode="true"] body .gx-mobile #newsContent .preview-image-block.loading | @@ -514,16 +521,13 @@ html[dark-mode="true"] body .gx-mobile #newsContent .preview-image-block.loading | ||
| 514 | html[dark-mode="true"] body .gx-mobile #newsContent .preview-image-block.error { | 521 | html[dark-mode="true"] body .gx-mobile #newsContent .preview-image-block.error { |
| 515 | background: #333333; | 522 | background: #333333; |
| 516 | } | 523 | } |
| 517 | -html[dark-mode="true"] body .gx-mobile #newsContent .preview-video .player-layer-state .player-state-icon { | ||
| 518 | - background: rgba(255, 255, 255, 0.5); | ||
| 519 | -} | ||
| 520 | html[dark-mode="true"] body #newsContent .preview-link-card-mobile { | 524 | html[dark-mode="true"] body #newsContent .preview-link-card-mobile { |
| 521 | background: #262626; | 525 | background: #262626; |
| 522 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 526 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 523 | } | 527 | } |
| 524 | html[dark-mode="true"] body #newsContent .preview-audio-player { | 528 | html[dark-mode="true"] body #newsContent .preview-audio-player { |
| 525 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 529 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 526 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 530 | + box-shadow: none; |
| 527 | } | 531 | } |
| 528 | html[dark-mode="true"] body #newsContent .preview-audio-player .right .audio-time { | 532 | html[dark-mode="true"] body #newsContent .preview-audio-player .right .audio-time { |
| 529 | color: #555555; | 533 | color: #555555; |
| @@ -601,9 +605,10 @@ html[dark-mode="true"] body .share-box-last::before { | @@ -601,9 +605,10 @@ html[dark-mode="true"] body .share-box-last::before { | ||
| 601 | html[dark-mode="true"] body .share .share-content span { | 605 | html[dark-mode="true"] body .share .share-content span { |
| 602 | color: #aaa; | 606 | color: #aaa; |
| 603 | } | 607 | } |
| 604 | -html[data-size="Large"] #newsContent { | ||
| 605 | - font-size: 0.50666667rem; | ||
| 606 | - line-height: 0.888rem; | 608 | +html[dark-mode="true"] body .timeline-line, |
| 609 | +html[dark-mode="true"] body .vote-line, | ||
| 610 | +html[dark-mode="true"] body .timeline .timeLine_list_item_line { | ||
| 611 | + background: #333; | ||
| 607 | } | 612 | } |
| 608 | .anticon-spin { | 613 | .anticon-spin { |
| 609 | animation: loadingCircle 1s infinite linear; | 614 | animation: loadingCircle 1s infinite linear; |
| 1 | -{"version":3,"sources":["global.less"],"names":[],"mappings":";AACA;AAAM;AAAK;AAAO;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAM;AAAO;AAAQ;AAAO;AAAQ;AAAU;AAAG;AAAG;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AvQN,IAAI,kBACF,KAyQE;AA1QJ,IAAI,kBACF,KAyQkB;AA1QpB,IAAI,kBACF,KAyQ8B,UAAU;EACpC,gBAAA;;AAKN;EACE,2CAAA;;AAGF;EACE,kBAAA;;AADF,aAGE;EACE,kBAAA;EACA,SAAA;EACA,QAAA;EACA,WAAW,qBAAX;EACA,eAAe,qBAAf;EACA,gBAAgB,qBAAhB;EACA,mBAAmB,qBAAnB;EACA,cAAc,qBAAd;EACA,4BAAA;EACA,6BAAA;EACA,gCAAA;EACA,2BAAA;;AAfJ,aAkBE;AAlBF,aAkBmB;AAlBnB,aAkBwC;AAlBxC,aAkB0D;AAlB1D,aAkB8E;AAlB9E,aAkBqG;AAlBrG,aAkB8H;AAlB9H,aAkBqJ;AAlBrJ,aAkB0K;AAlB1K,aAkBiM;AAlBjM,aAkB8N;EAC1N,wBAAA;;AAIJ;EACE;IACE,UAAA;;EAGF;IACE,UAAA;;;AAIJ;EACE;IACE,mBAAmB,cAAnB;IACA,WAAW,cAAX;;;AAIJ;EACE;IACE,mBAAmB,cAAnB;IACA,WAAW,cAAX;;;AAIJ;EACE;IACE,mBAAmB,cAAnB;IACA,WAAW,cAAX","file":"global.css"} |
| @@ -421,6 +421,10 @@ html[dark-mode="true"] { | @@ -421,6 +421,10 @@ html[dark-mode="true"] { | ||
| 421 | animation: ant-skeleton-loading 1.4s ease infinite; | 421 | animation: ant-skeleton-loading 1.4s ease infinite; |
| 422 | } | 422 | } |
| 423 | 423 | ||
| 424 | + .gx-mobile .time.pageView>.article-source-icon { | ||
| 425 | + background-image: url('../image/dark/sourceIocnNew.svg'); | ||
| 426 | + } | ||
| 427 | + | ||
| 424 | .error-block .error-block-description-title { | 428 | .error-block .error-block-description-title { |
| 425 | color: #666; | 429 | color: #666; |
| 426 | } | 430 | } |
| @@ -436,7 +440,7 @@ html[dark-mode="true"] { | @@ -436,7 +440,7 @@ html[dark-mode="true"] { | ||
| 436 | .gx-mobile .head-link-block { | 440 | .gx-mobile .head-link-block { |
| 437 | background: #1D1D1D; | 441 | background: #1D1D1D; |
| 438 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 442 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 439 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 443 | + box-shadow: none; |
| 440 | color: #ddd; | 444 | color: #ddd; |
| 441 | } | 445 | } |
| 442 | 446 | ||
| @@ -458,6 +462,11 @@ html[dark-mode="true"] { | @@ -458,6 +462,11 @@ html[dark-mode="true"] { | ||
| 458 | } | 462 | } |
| 459 | 463 | ||
| 460 | .gx-mobile .rmcard .clook { | 464 | .gx-mobile .rmcard .clook { |
| 465 | + background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), #ED2800; | ||
| 466 | + color: #fff; | ||
| 467 | + } | ||
| 468 | + | ||
| 469 | + .gx-mobile .rmcard .isclook { | ||
| 461 | background: #262626; | 470 | background: #262626; |
| 462 | color: #CCCCCC; | 471 | color: #CCCCCC; |
| 463 | } | 472 | } |
| @@ -507,8 +516,6 @@ html[dark-mode="true"] { | @@ -507,8 +516,6 @@ html[dark-mode="true"] { | ||
| 507 | } | 516 | } |
| 508 | 517 | ||
| 509 | #newsContent section[data-title='作者头像框'] { | 518 | #newsContent section[data-title='作者头像框'] { |
| 510 | - //box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | ||
| 511 | - //border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | ||
| 512 | 519 | ||
| 513 | & > div { | 520 | & > div { |
| 514 | background: #262626 !important; | 521 | background: #262626 !important; |
| @@ -547,12 +554,12 @@ html[dark-mode="true"] { | @@ -547,12 +554,12 @@ html[dark-mode="true"] { | ||
| 547 | 554 | ||
| 548 | #newsContent .en-scroll-text { | 555 | #newsContent .en-scroll-text { |
| 549 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 556 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 550 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 557 | + box-shadow: none; |
| 551 | } | 558 | } |
| 552 | 559 | ||
| 553 | #newsContent .preview-audio-player-cover { | 560 | #newsContent .preview-audio-player-cover { |
| 554 | border: (1 / 37.5rem) solid rgba(255, 255, 255, 0.05); | 561 | border: (1 / 37.5rem) solid rgba(255, 255, 255, 0.05); |
| 555 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 562 | + box-shadow: none; |
| 556 | } | 563 | } |
| 557 | 564 | ||
| 558 | #newsContent .preview-audio-player-cover .right .audio-title { | 565 | #newsContent .preview-audio-player-cover .right .audio-title { |
| @@ -568,7 +575,7 @@ html[dark-mode="true"] { | @@ -568,7 +575,7 @@ html[dark-mode="true"] { | ||
| 568 | } | 575 | } |
| 569 | 576 | ||
| 570 | .gx-mobile #newsContent .preview-video .player-layer-state .player-state-icon { | 577 | .gx-mobile #newsContent .preview-video .player-layer-state .player-state-icon { |
| 571 | - background: rgba(255, 255, 255, 0.5); | 578 | + //background: rgba(255, 255, 255, 0.5); |
| 572 | } | 579 | } |
| 573 | 580 | ||
| 574 | #newsContent .preview-link-card-mobile { | 581 | #newsContent .preview-link-card-mobile { |
| @@ -578,7 +585,7 @@ html[dark-mode="true"] { | @@ -578,7 +585,7 @@ html[dark-mode="true"] { | ||
| 578 | 585 | ||
| 579 | #newsContent .preview-audio-player { | 586 | #newsContent .preview-audio-player { |
| 580 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); | 587 | border: 0.02666667rem solid rgba(255, 255, 255, 0.05); |
| 581 | - box-shadow: 0px 0.05333333rem 0.21333333rem 0px rgba(255, 255, 255, 0.05); | 588 | + box-shadow: none; |
| 582 | } | 589 | } |
| 583 | 590 | ||
| 584 | #newsContent .preview-audio-player .right .audio-time { | 591 | #newsContent .preview-audio-player .right .audio-time { |
| @@ -660,13 +667,10 @@ html[dark-mode="true"] { | @@ -660,13 +667,10 @@ html[dark-mode="true"] { | ||
| 660 | .share .share-content span { | 667 | .share .share-content span { |
| 661 | color: #aaa; | 668 | color: #aaa; |
| 662 | } | 669 | } |
| 663 | - } | ||
| 664 | -} | ||
| 665 | - | ||
| 666 | -html[data-size="Large"] { | ||
| 667 | - #newsContent { | ||
| 668 | - font-size: ((19) / 37.5rem); | ||
| 669 | - line-height: ((18 * 1.85) / 37.5rem); | 670 | + |
| 671 | + .timeline-line, .vote-line, .timeline .timeLine_list_item_line { | ||
| 672 | + background: #333; | ||
| 673 | + } | ||
| 670 | } | 674 | } |
| 671 | } | 675 | } |
| 672 | 676 |
| @@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
| 46 | color: #666666ff; | 46 | color: #666666ff; |
| 47 | font-size: 0.45333333rem; | 47 | font-size: 0.45333333rem; |
| 48 | line-height: 0.69333333rem; | 48 | line-height: 0.69333333rem; |
| 49 | - margin-bottom: 0.37333333rem; | 49 | + margin-bottom: 0.16rem; |
| 50 | font-weight: 400; | 50 | font-weight: 400; |
| 51 | word-break: break-all; | 51 | word-break: break-all; |
| 52 | white-space: pre-wrap; | 52 | white-space: pre-wrap; |
| @@ -58,11 +58,11 @@ | @@ -58,11 +58,11 @@ | ||
| 58 | background: #666666ff; | 58 | background: #666666ff; |
| 59 | } | 59 | } |
| 60 | .gx-mobile .title { | 60 | .gx-mobile .title { |
| 61 | - font-size: 0.6941756rem; | 61 | + font-size: 0.69333333rem; |
| 62 | line-height: 1.04rem; | 62 | line-height: 1.04rem; |
| 63 | font-weight: bold; | 63 | font-weight: bold; |
| 64 | color: #222; | 64 | color: #222; |
| 65 | - margin-bottom: 0.21333333rem; | 65 | + margin-bottom: 0.16rem; |
| 66 | word-break: break-all; | 66 | word-break: break-all; |
| 67 | white-space: pre-wrap; | 67 | white-space: pre-wrap; |
| 68 | } | 68 | } |
| @@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
| 80 | .gx-mobile .down-title-box { | 80 | .gx-mobile .down-title-box { |
| 81 | display: flex; | 81 | display: flex; |
| 82 | align-items: center; | 82 | align-items: center; |
| 83 | - margin-top: 0.10666667rem; | 83 | + margin-top: 0.05333333rem; |
| 84 | margin-bottom: 0.21333333rem; | 84 | margin-bottom: 0.21333333rem; |
| 85 | } | 85 | } |
| 86 | .gx-mobile .down-title-box .down-title { | 86 | .gx-mobile .down-title-box .down-title { |
| @@ -99,49 +99,36 @@ | @@ -99,49 +99,36 @@ | ||
| 99 | background: #999999ff; | 99 | background: #999999ff; |
| 100 | } | 100 | } |
| 101 | .gx-mobile .time.pageView { | 101 | .gx-mobile .time.pageView { |
| 102 | + position: relative; | ||
| 102 | font-size: 0.37333333rem; | 103 | font-size: 0.37333333rem; |
| 103 | line-height: 0.53333333rem; | 104 | line-height: 0.53333333rem; |
| 104 | letter-spacing: 0; | 105 | letter-spacing: 0; |
| 105 | color: #b0b0b0ff; | 106 | color: #b0b0b0ff; |
| 106 | } | 107 | } |
| 107 | -.gx-mobile .time.pageView::before, | ||
| 108 | -.gx-mobile .time.pageView::after { | ||
| 109 | - display: table; | ||
| 110 | - content: ''; | ||
| 111 | -} | ||
| 112 | -.gx-mobile .time.pageView::after { | ||
| 113 | - height: 0; | ||
| 114 | - clear: both; | ||
| 115 | - font-size: 0; | ||
| 116 | - visibility: hidden; | ||
| 117 | -} | ||
| 118 | .gx-mobile .time.pageView.hidden-extra { | 108 | .gx-mobile .time.pageView.hidden-extra { |
| 119 | display: none !important; | 109 | display: none !important; |
| 120 | margin-top: 0 !important; | 110 | margin-top: 0 !important; |
| 121 | } | 111 | } |
| 122 | .gx-mobile .time.pageView .article-source { | 112 | .gx-mobile .time.pageView .article-source { |
| 123 | - float: left; | 113 | + text-indent: 0.18666667rem; |
| 124 | letter-spacing: 0; | 114 | letter-spacing: 0; |
| 125 | - display: inline-flex; | 115 | + word-break: break-all; |
| 126 | } | 116 | } |
| 127 | .gx-mobile .time.pageView .browseCntStr { | 117 | .gx-mobile .time.pageView .browseCntStr { |
| 128 | - float: left; | ||
| 129 | - display: inline-block; | ||
| 130 | - height: 0.53333333rem; | 118 | + margin-left: 0.21333333rem; |
| 131 | } | 119 | } |
| 132 | .gx-mobile .time.pageView .author-item { | 120 | .gx-mobile .time.pageView .author-item { |
| 133 | - float: left; | ||
| 134 | - display: inline-flex; | ||
| 135 | - letter-spacing: 0; | ||
| 136 | margin-right: 0.21333333rem; | 121 | margin-right: 0.21333333rem; |
| 137 | } | 122 | } |
| 123 | +.gx-mobile .time.pageView .author-item:first-child { | ||
| 124 | + margin-left: 0.21333333rem; | ||
| 125 | +} | ||
| 138 | .gx-mobile .time.pageView > .article-source-icon { | 126 | .gx-mobile .time.pageView > .article-source-icon { |
| 139 | - float: left; | ||
| 140 | - display: flex; | 127 | + position: absolute; |
| 128 | + left: 0; | ||
| 129 | + top: 0.09066667rem; | ||
| 141 | width: 0.08rem; | 130 | width: 0.08rem; |
| 142 | height: 0.37333333rem; | 131 | height: 0.37333333rem; |
| 143 | - margin-top: 0.08533333rem; | ||
| 144 | - margin-right: 0.10666667rem; | ||
| 145 | background-image: url('../image/sourceIocnNew.svg'); | 132 | background-image: url('../image/sourceIocnNew.svg'); |
| 146 | background-size: 100%; | 133 | background-size: 100%; |
| 147 | background-repeat: no-repeat; | 134 | background-repeat: no-repeat; |
| @@ -214,10 +201,7 @@ | @@ -214,10 +201,7 @@ | ||
| 214 | width: 14px; | 201 | width: 14px; |
| 215 | height: 14px; | 202 | height: 14px; |
| 216 | border-radius: 50%; | 203 | border-radius: 50%; |
| 217 | -/* background: #F29900;*/ | ||
| 218 | -/* border: 0.02666667rem solid #FFFFFF;*/ | ||
| 219 | } | 204 | } |
| 220 | - | ||
| 221 | .gx-mobile .rmcard .rmcard-image { | 205 | .gx-mobile .rmcard .rmcard-image { |
| 222 | display: block; | 206 | display: block; |
| 223 | float: left; | 207 | float: left; |
| @@ -270,33 +254,34 @@ | @@ -270,33 +254,34 @@ | ||
| 270 | float: right; | 254 | float: right; |
| 271 | } | 255 | } |
| 272 | .gx-mobile .rmcard .clook { | 256 | .gx-mobile .rmcard .clook { |
| 257 | + display: flex; | ||
| 258 | + align-items: center; | ||
| 259 | + justify-content: center; | ||
| 273 | margin-top: 0.17333333rem; | 260 | margin-top: 0.17333333rem; |
| 274 | width: 1.44rem; | 261 | width: 1.44rem; |
| 275 | height: 0.64rem; | 262 | height: 0.64rem; |
| 276 | border-radius: 0.08rem; | 263 | border-radius: 0.08rem; |
| 277 | background-color: #ED2800; | 264 | background-color: #ED2800; |
| 278 | text-align: center; | 265 | text-align: center; |
| 279 | - line-height: 0.64rem; | ||
| 280 | - color: #ffffffff; | 266 | + color: #fff; |
| 281 | font-size: 0.32rem; | 267 | font-size: 0.32rem; |
| 268 | + line-height: 0.64rem; | ||
| 282 | font-weight: bold; | 269 | font-weight: bold; |
| 283 | } | 270 | } |
| 284 | .gx-mobile .rmcard .clook img { | 271 | .gx-mobile .rmcard .clook img { |
| 285 | width: 0.32rem; | 272 | width: 0.32rem; |
| 286 | height: 0.32rem; | 273 | height: 0.32rem; |
| 287 | - top: -0.02666667rem; | ||
| 288 | position: relative; | 274 | position: relative; |
| 289 | vertical-align: middle; | 275 | vertical-align: middle; |
| 290 | -} | ||
| 291 | -.gx-mobile .rmcard .clook img.add-clook-icon { | ||
| 292 | - top: -0.02666667rem; | 276 | + margin-right: 0.05333333rem; |
| 293 | } | 277 | } |
| 294 | .gx-mobile .rmcard .clook .add-clook-text { | 278 | .gx-mobile .rmcard .clook .add-clook-text { |
| 295 | top: 0.01333333rem; | 279 | top: 0.01333333rem; |
| 296 | position: relative; | 280 | position: relative; |
| 281 | + line-height: 0.48rem; | ||
| 297 | } | 282 | } |
| 298 | .gx-mobile .rmcard .isclook { | 283 | .gx-mobile .rmcard .isclook { |
| 299 | - margin-top: 0.13333333rem; | 284 | + margin-top: 0.17333333rem; |
| 300 | width: 1.44rem; | 285 | width: 1.44rem; |
| 301 | height: 0.64rem; | 286 | height: 0.64rem; |
| 302 | border-radius: 0.08rem; | 287 | border-radius: 0.08rem; |
| @@ -372,6 +357,9 @@ | @@ -372,6 +357,9 @@ | ||
| 372 | .gx-mobile #newsContent li + .preview-image-block { | 357 | .gx-mobile #newsContent li + .preview-image-block { |
| 373 | margin-top: 0 !important; | 358 | margin-top: 0 !important; |
| 374 | } | 359 | } |
| 360 | +.gx-mobile #newsContent ul { | ||
| 361 | + margin-bottom: 0.42666667rem !important; | ||
| 362 | +} | ||
| 375 | .gx-mobile #newsContent ul:last-child { | 363 | .gx-mobile #newsContent ul:last-child { |
| 376 | margin-bottom: 0 !important; | 364 | margin-bottom: 0 !important; |
| 377 | } | 365 | } |
| @@ -408,8 +396,8 @@ | @@ -408,8 +396,8 @@ | ||
| 408 | } | 396 | } |
| 409 | .gx-mobile #newsContent P { | 397 | .gx-mobile #newsContent P { |
| 410 | max-width: 100%; | 398 | max-width: 100%; |
| 411 | - padding: 0 !important; | ||
| 412 | - margin-bottom: 0.42666667rem; | 399 | + padding: 0; |
| 400 | + margin-bottom: 0.42666667rem !important; | ||
| 413 | box-sizing: border-box; | 401 | box-sizing: border-box; |
| 414 | word-break: break-all; | 402 | word-break: break-all; |
| 415 | } | 403 | } |
| @@ -430,7 +418,7 @@ | @@ -430,7 +418,7 @@ | ||
| 430 | } | 418 | } |
| 431 | .gx-mobile #newsContent > h1 { | 419 | .gx-mobile #newsContent > h1 { |
| 432 | max-width: 100%; | 420 | max-width: 100%; |
| 433 | - padding: 0 !important; | 421 | + padding: 0; |
| 434 | margin-bottom: 0.42666667rem; | 422 | margin-bottom: 0.42666667rem; |
| 435 | } | 423 | } |
| 436 | .gx-mobile #newsContent > h1:last-child { | 424 | .gx-mobile #newsContent > h1:last-child { |
| @@ -441,7 +429,7 @@ | @@ -441,7 +429,7 @@ | ||
| 441 | } | 429 | } |
| 442 | .gx-mobile #newsContent > h2 { | 430 | .gx-mobile #newsContent > h2 { |
| 443 | max-width: 100%; | 431 | max-width: 100%; |
| 444 | - padding: 0 !important; | 432 | + padding: 0; |
| 445 | margin-bottom: 0.42666667rem; | 433 | margin-bottom: 0.42666667rem; |
| 446 | } | 434 | } |
| 447 | .gx-mobile #newsContent > h2:last-child { | 435 | .gx-mobile #newsContent > h2:last-child { |
| @@ -452,7 +440,7 @@ | @@ -452,7 +440,7 @@ | ||
| 452 | } | 440 | } |
| 453 | .gx-mobile #newsContent > h3 { | 441 | .gx-mobile #newsContent > h3 { |
| 454 | max-width: 100%; | 442 | max-width: 100%; |
| 455 | - padding: 0 !important; | 443 | + padding: 0; |
| 456 | margin-bottom: 0.42666667rem; | 444 | margin-bottom: 0.42666667rem; |
| 457 | } | 445 | } |
| 458 | .gx-mobile #newsContent > h3:last-child { | 446 | .gx-mobile #newsContent > h3:last-child { |
| @@ -463,7 +451,7 @@ | @@ -463,7 +451,7 @@ | ||
| 463 | } | 451 | } |
| 464 | .gx-mobile #newsContent > h4 { | 452 | .gx-mobile #newsContent > h4 { |
| 465 | max-width: 100%; | 453 | max-width: 100%; |
| 466 | - padding: 0 !important; | 454 | + padding: 0; |
| 467 | margin-bottom: 0.42666667rem; | 455 | margin-bottom: 0.42666667rem; |
| 468 | } | 456 | } |
| 469 | .gx-mobile #newsContent > h4:last-child { | 457 | .gx-mobile #newsContent > h4:last-child { |
| @@ -474,7 +462,7 @@ | @@ -474,7 +462,7 @@ | ||
| 474 | } | 462 | } |
| 475 | .gx-mobile #newsContent > h5 { | 463 | .gx-mobile #newsContent > h5 { |
| 476 | max-width: 100%; | 464 | max-width: 100%; |
| 477 | - padding: 0 !important; | 465 | + padding: 0; |
| 478 | margin-bottom: 0.42666667rem; | 466 | margin-bottom: 0.42666667rem; |
| 479 | } | 467 | } |
| 480 | .gx-mobile #newsContent > h5:last-child { | 468 | .gx-mobile #newsContent > h5:last-child { |
| @@ -485,7 +473,7 @@ | @@ -485,7 +473,7 @@ | ||
| 485 | } | 473 | } |
| 486 | .gx-mobile #newsContent > h6 { | 474 | .gx-mobile #newsContent > h6 { |
| 487 | max-width: 100%; | 475 | max-width: 100%; |
| 488 | - padding: 0 !important; | 476 | + padding: 0; |
| 489 | margin-bottom: 0.42666667rem; | 477 | margin-bottom: 0.42666667rem; |
| 490 | } | 478 | } |
| 491 | .gx-mobile #newsContent > h6:last-child { | 479 | .gx-mobile #newsContent > h6:last-child { |
| @@ -495,20 +483,22 @@ | @@ -495,20 +483,22 @@ | ||
| 495 | margin-top: 0 !important; | 483 | margin-top: 0 !important; |
| 496 | } | 484 | } |
| 497 | .gx-mobile #newsContent section { | 485 | .gx-mobile #newsContent section { |
| 486 | + width: 100%; | ||
| 498 | max-width: 100%; | 487 | max-width: 100%; |
| 499 | - padding: 0 !important; | ||
| 500 | - margin-bottom: 0.42666667rem !important; | ||
| 501 | -} | ||
| 502 | -.gx-mobile #newsContent section:empty { | ||
| 503 | - display: none !important; | 488 | + padding: 0; |
| 489 | + margin-bottom: 0.42666667rem; | ||
| 504 | } | 490 | } |
| 505 | .gx-mobile #newsContent section:last-child { | 491 | .gx-mobile #newsContent section:last-child { |
| 506 | - margin-bottom: 0 !important; | 492 | + margin-bottom: 0; |
| 507 | } | 493 | } |
| 508 | .gx-mobile #newsContent section + .preview-image-block { | 494 | .gx-mobile #newsContent section + .preview-image-block { |
| 509 | margin-top: 0 !important; | 495 | margin-top: 0 !important; |
| 510 | } | 496 | } |
| 511 | .gx-mobile #newsContent section > section:last-child { | 497 | .gx-mobile #newsContent section > section:last-child { |
| 498 | + margin-bottom: 0; | ||
| 499 | +} | ||
| 500 | +.gx-mobile #newsContent section > section > .preview-image-block:last-child { | ||
| 501 | + margin-top: 0 !important; | ||
| 512 | margin-bottom: 0 !important; | 502 | margin-bottom: 0 !important; |
| 513 | } | 503 | } |
| 514 | .gx-mobile #newsContent section > section + .preview-image-block { | 504 | .gx-mobile #newsContent section > section + .preview-image-block { |
| @@ -530,15 +520,19 @@ | @@ -530,15 +520,19 @@ | ||
| 530 | margin-top: 0 !important; | 520 | margin-top: 0 !important; |
| 531 | } | 521 | } |
| 532 | .gx-mobile #newsContent section[data-title='分割线-5'] { | 522 | .gx-mobile #newsContent section[data-title='分割线-5'] { |
| 533 | - margin-top: 1.18666667rem !important; | ||
| 534 | - margin-bottom: 1.18666667rem !important; | 523 | + margin-top: 1.02666667rem !important; |
| 524 | + margin-bottom: 1.02666667rem !important; | ||
| 535 | } | 525 | } |
| 536 | .gx-mobile #newsContent section[data-title='分割线-5'] img { | 526 | .gx-mobile #newsContent section[data-title='分割线-5'] img { |
| 537 | display: inline; | 527 | display: inline; |
| 538 | } | 528 | } |
| 539 | -.gx-mobile #newsContent .img-no-margin .preview-image-block.success { | 529 | +.gx-mobile #newsContent .img-no-margin > div:nth-last-of-type(2) + div.rmrb-caption-img { |
| 530 | + margin-top: 0.26666667rem !important; | ||
| 531 | +} | ||
| 532 | +.gx-mobile #newsContent .img-no-margin .preview-image-block { | ||
| 540 | margin-top: 0 !important; | 533 | margin-top: 0 !important; |
| 541 | margin-bottom: 0 !important; | 534 | margin-bottom: 0 !important; |
| 535 | + border-radius: 0 !important; | ||
| 542 | } | 536 | } |
| 543 | .gx-mobile #newsContent section[data-title='基础饼图'] { | 537 | .gx-mobile #newsContent section[data-title='基础饼图'] { |
| 544 | display: none; | 538 | display: none; |
| @@ -580,6 +574,9 @@ | @@ -580,6 +574,9 @@ | ||
| 580 | .gx-mobile #newsContent section[data-title='图片点亮'] > div { | 574 | .gx-mobile #newsContent section[data-title='图片点亮'] > div { |
| 581 | max-width: 100% !important; | 575 | max-width: 100% !important; |
| 582 | } | 576 | } |
| 577 | +.gx-mobile #newsContent section[data-title='分割线-2'] #content { | ||
| 578 | + font-size: 14px; | ||
| 579 | +} | ||
| 583 | .gx-mobile #newsContent section[data-title='分割线-3'] { | 580 | .gx-mobile #newsContent section[data-title='分割线-3'] { |
| 584 | margin-top: 0.77333333rem !important; | 581 | margin-top: 0.77333333rem !important; |
| 585 | margin-bottom: 0.77333333rem !important; | 582 | margin-bottom: 0.77333333rem !important; |
| @@ -623,8 +620,8 @@ | @@ -623,8 +620,8 @@ | ||
| 623 | .gx-mobile #newsContent .rmrb-caption-img2 { | 620 | .gx-mobile #newsContent .rmrb-caption-img2 { |
| 624 | position: relative; | 621 | position: relative; |
| 625 | margin-top: -0.16rem !important; | 622 | margin-top: -0.16rem !important; |
| 626 | - line-height: 0.42666667rem !important; | ||
| 627 | - font-size: 0.33333333rem !important; | 623 | + line-height: 0.816rem; |
| 624 | + font-size: 0.48rem !important; | ||
| 628 | font-weight: normal !important; | 625 | font-weight: normal !important; |
| 629 | color: #B0B0B0 !important; | 626 | color: #B0B0B0 !important; |
| 630 | box-sizing: border-box !important; | 627 | box-sizing: border-box !important; |
| @@ -665,7 +662,7 @@ | @@ -665,7 +662,7 @@ | ||
| 665 | .gx-mobile #newsContent .bjh-image-caption section, | 662 | .gx-mobile #newsContent .bjh-image-caption section, |
| 666 | .gx-mobile #newsContent .rmrb-caption-img2 section { | 663 | .gx-mobile #newsContent .rmrb-caption-img2 section { |
| 667 | line-height: 0.42666667rem !important; | 664 | line-height: 0.42666667rem !important; |
| 668 | - font-size: 0.33333333rem !important; | 665 | + font-size: 0.48rem !important; |
| 669 | font-weight: normal !important; | 666 | font-weight: normal !important; |
| 670 | color: #B0B0B0 !important; | 667 | color: #B0B0B0 !important; |
| 671 | } | 668 | } |
| @@ -1142,12 +1139,16 @@ | @@ -1142,12 +1139,16 @@ | ||
| 1142 | .gx-mobile #newsContent .preview-image-block.error img.preview-image-error { | 1139 | .gx-mobile #newsContent .preview-image-block.error img.preview-image-error { |
| 1143 | display: block !important; | 1140 | display: block !important; |
| 1144 | } | 1141 | } |
| 1142 | +.gx-mobile #newsContent .preview-image-block.success { | ||
| 1143 | + height: auto !important; | ||
| 1144 | +} | ||
| 1145 | .gx-mobile #newsContent .preview-image-block.success img.preview-image-placehold, | 1145 | .gx-mobile #newsContent .preview-image-block.success img.preview-image-placehold, |
| 1146 | .gx-mobile #newsContent .preview-image-block.success .img.preview-image-error { | 1146 | .gx-mobile #newsContent .preview-image-block.success .img.preview-image-error { |
| 1147 | display: none !important; | 1147 | display: none !important; |
| 1148 | } | 1148 | } |
| 1149 | .gx-mobile #newsContent .preview-image-block.success img.image-player { | 1149 | .gx-mobile #newsContent .preview-image-block.success img.image-player { |
| 1150 | display: block !important; | 1150 | display: block !important; |
| 1151 | + height: auto; | ||
| 1151 | } | 1152 | } |
| 1152 | .gx-mobile #newsContent .preview-image-block.minHeight { | 1153 | .gx-mobile #newsContent .preview-image-block.minHeight { |
| 1153 | min-height: 5.06666667rem; | 1154 | min-height: 5.06666667rem; |
| @@ -1346,9 +1347,10 @@ | @@ -1346,9 +1347,10 @@ | ||
| 1346 | } | 1347 | } |
| 1347 | .editor-charge { | 1348 | .editor-charge { |
| 1348 | color: #b0b0b0ff; | 1349 | color: #b0b0b0ff; |
| 1349 | - font-size: 12px; | 1350 | + font-size: 0.32rem; |
| 1351 | + line-height: 0.45333333rem; | ||
| 1350 | font-weight: 400; | 1352 | font-weight: 400; |
| 1351 | - margin-top: 0.42667rem; | 1353 | + margin-top: 0.42666667rem; |
| 1352 | } | 1354 | } |
| 1353 | #voteHiddenBlock { | 1355 | #voteHiddenBlock { |
| 1354 | position: fixed; | 1356 | position: fixed; |
| @@ -1371,7 +1373,7 @@ | @@ -1371,7 +1373,7 @@ | ||
| 1371 | } | 1373 | } |
| 1372 | .vote { | 1374 | .vote { |
| 1373 | position: relative; | 1375 | position: relative; |
| 1374 | - margin-top: 0.53333333rem; | 1376 | + margin-top: 0.42666667rem; |
| 1375 | padding: 0.42666667rem 0.37333333rem; | 1377 | padding: 0.42666667rem 0.37333333rem; |
| 1376 | background: #F9F9F9; | 1378 | background: #F9F9F9; |
| 1377 | border-radius: 0.10666667rem; | 1379 | border-radius: 0.10666667rem; |
| @@ -1444,6 +1446,7 @@ | @@ -1444,6 +1446,7 @@ | ||
| 1444 | background: linear-gradient(270deg, #486FFF 0%, #5A88FF 100%); | 1446 | background: linear-gradient(270deg, #486FFF 0%, #5A88FF 100%); |
| 1445 | border-top-left-radius: 0.08rem; | 1447 | border-top-left-radius: 0.08rem; |
| 1446 | border-bottom-left-radius: 0.08rem; | 1448 | border-bottom-left-radius: 0.08rem; |
| 1449 | + padding-right: 0.53333333rem; | ||
| 1447 | } | 1450 | } |
| 1448 | .vote .btns1 .s1.active { | 1451 | .vote .btns1 .s1.active { |
| 1449 | top: 0; | 1452 | top: 0; |
| @@ -1454,6 +1457,7 @@ | @@ -1454,6 +1457,7 @@ | ||
| 1454 | background: linear-gradient(270deg, #63D4FF 0%, #50BDE7 100%); | 1457 | background: linear-gradient(270deg, #63D4FF 0%, #50BDE7 100%); |
| 1455 | border-top-right-radius: 0.08rem; | 1458 | border-top-right-radius: 0.08rem; |
| 1456 | border-bottom-right-radius: 0.08rem; | 1459 | border-bottom-right-radius: 0.08rem; |
| 1460 | + padding-left: 0.53333333rem; | ||
| 1457 | } | 1461 | } |
| 1458 | .vote .btns1 .s2.active { | 1462 | .vote .btns1 .s2.active { |
| 1459 | top: 0; | 1463 | top: 0; |
| @@ -1683,17 +1687,14 @@ | @@ -1683,17 +1687,14 @@ | ||
| 1683 | margin-bottom: 0.8rem; | 1687 | margin-bottom: 0.8rem; |
| 1684 | } | 1688 | } |
| 1685 | .timeline-line { | 1689 | .timeline-line { |
| 1686 | - margin-top: 0.53333333rem; | 1690 | + margin-top: 0.64rem; |
| 1687 | width: 100%; | 1691 | width: 100%; |
| 1688 | height: 0.01333333rem; | 1692 | height: 0.01333333rem; |
| 1689 | background: #EDEDED; | 1693 | background: #EDEDED; |
| 1690 | } | 1694 | } |
| 1691 | -.timeline { | ||
| 1692 | - margin-bottom: 0.90666667rem; | ||
| 1693 | -} | ||
| 1694 | .timeline .timeline_title { | 1695 | .timeline .timeline_title { |
| 1695 | - margin-top: 0.42666667rem; | ||
| 1696 | - margin-bottom: 0.16rem; | 1696 | + margin-top: 0.37333333rem; |
| 1697 | + margin-bottom: 0.10666667rem; | ||
| 1697 | font-size: 0.48rem; | 1698 | font-size: 0.48rem; |
| 1698 | line-height: 0.66666667rem; | 1699 | line-height: 0.66666667rem; |
| 1699 | font-weight: bold; | 1700 | font-weight: bold; |
| @@ -1711,7 +1712,7 @@ | @@ -1711,7 +1712,7 @@ | ||
| 1711 | } | 1712 | } |
| 1712 | .timeline .timeLine_list .timeLine_list_item { | 1713 | .timeline .timeLine_list .timeLine_list_item { |
| 1713 | position: relative; | 1714 | position: relative; |
| 1714 | - padding-bottom: 0.48rem; | 1715 | + padding-bottom: 0.53333333rem; |
| 1715 | } | 1716 | } |
| 1716 | .timeline .timeLine_list .timeLine_list_item:first-child { | 1717 | .timeline .timeLine_list .timeLine_list_item:first-child { |
| 1717 | padding-top: 0.21333333rem; | 1718 | padding-top: 0.21333333rem; |
| @@ -1721,7 +1722,7 @@ | @@ -1721,7 +1722,7 @@ | ||
| 1721 | height: calc(100% - 0.4rem); | 1722 | height: calc(100% - 0.4rem); |
| 1722 | } | 1723 | } |
| 1723 | .timeline .timeLine_list .timeLine_list_item:last-child { | 1724 | .timeline .timeLine_list .timeLine_list_item:last-child { |
| 1724 | - padding-bottom: 0.26666667rem; | 1725 | + padding-bottom: 0.48rem; |
| 1725 | } | 1726 | } |
| 1726 | .timeline .timeLine_list .timeLine_list_item:last-child .timeLine_list_item_line { | 1727 | .timeline .timeLine_list .timeLine_list_item:last-child .timeLine_list_item_line { |
| 1727 | height: 0.13333333rem; | 1728 | height: 0.13333333rem; |
| @@ -1737,15 +1738,15 @@ | @@ -1737,15 +1738,15 @@ | ||
| 1737 | } | 1738 | } |
| 1738 | .timeline .timeLine_list_item_title { | 1739 | .timeline .timeLine_list_item_title { |
| 1739 | position: relative; | 1740 | position: relative; |
| 1740 | - margin-bottom: 0.21333333rem; | 1741 | + margin-bottom: 0.10666667rem; |
| 1741 | font-size: 0.37333333rem; | 1742 | font-size: 0.37333333rem; |
| 1742 | font-weight: bold; | 1743 | font-weight: bold; |
| 1743 | - line-height: 0.42666667rem; | 1744 | + line-height: 0.53333333rem; |
| 1744 | color: #222222; | 1745 | color: #222222; |
| 1745 | } | 1746 | } |
| 1746 | .timeline .timeLine_list_item_title .timeLine_list_item_title_icon { | 1747 | .timeline .timeLine_list_item_title .timeLine_list_item_title_icon { |
| 1747 | position: absolute; | 1748 | position: absolute; |
| 1748 | - top: 50%; | 1749 | + top: calc(50%); |
| 1749 | transform: translateY(-50%); | 1750 | transform: translateY(-50%); |
| 1750 | left: -0.45333333rem; | 1751 | left: -0.45333333rem; |
| 1751 | z-index: 10; | 1752 | z-index: 10; |
| @@ -1763,15 +1764,16 @@ | @@ -1763,15 +1764,16 @@ | ||
| 1763 | height: 1.06666667rem; | 1764 | height: 1.06666667rem; |
| 1764 | border-radius: 0.08rem; | 1765 | border-radius: 0.08rem; |
| 1765 | background: #F5F5F5; | 1766 | background: #F5F5F5; |
| 1766 | - font-size: 0.37333333rem; | ||
| 1767 | line-height: 1.06666667rem; | 1767 | line-height: 1.06666667rem; |
| 1768 | color: #222; | 1768 | color: #222; |
| 1769 | } | 1769 | } |
| 1770 | +.timeline .timeline_more span { | ||
| 1771 | + font-size: 0.37333333rem; | ||
| 1772 | + line-height: 0.53333333rem; | ||
| 1773 | +} | ||
| 1770 | .timeline .timeline_more img { | 1774 | .timeline .timeline_more img { |
| 1771 | width: 0.42666667rem; | 1775 | width: 0.42666667rem; |
| 1772 | height: 0.42666667rem; | 1776 | height: 0.42666667rem; |
| 1773 | - top: -0.008rem; | ||
| 1774 | - position: relative; | ||
| 1775 | } | 1777 | } |
| 1776 | .hidden { | 1778 | .hidden { |
| 1777 | display: none; | 1779 | display: none; |
| @@ -1965,6 +1967,8 @@ | @@ -1965,6 +1967,8 @@ | ||
| 1965 | margin: unset !important; | 1967 | margin: unset !important; |
| 1966 | } | 1968 | } |
| 1967 | #newsContent .preview-audio-player-cover .right .audio-extra .audio-extral-iocn .audio-bg img:first-child { | 1969 | #newsContent .preview-audio-player-cover .right .audio-extra .audio-extral-iocn .audio-bg img:first-child { |
| 1970 | + flex: 1; | ||
| 1971 | + margin-right: 0.58666667rem !important; | ||
| 1968 | height: 0.32rem; | 1972 | height: 0.32rem; |
| 1969 | } | 1973 | } |
| 1970 | #newsContent .preview-audio-player-cover .right .audio-extra .audio-extral-iocn .audio-bg img.audio-play-icon, | 1974 | #newsContent .preview-audio-player-cover .right .audio-extra .audio-extral-iocn .audio-bg img.audio-play-icon, |
| @@ -2063,7 +2067,7 @@ | @@ -2063,7 +2067,7 @@ | ||
| 2063 | word-break: break-all; | 2067 | word-break: break-all; |
| 2064 | } | 2068 | } |
| 2065 | .share { | 2069 | .share { |
| 2066 | - margin-top: 0.64rem; | 2070 | + margin-top: 0.77333333rem; |
| 2067 | height: 0.96rem; | 2071 | height: 0.96rem; |
| 2068 | } | 2072 | } |
| 2069 | .share .share-wrapper + .share-wrapper { | 2073 | .share .share-wrapper + .share-wrapper { |
| @@ -2183,18 +2187,6 @@ | @@ -2183,18 +2187,6 @@ | ||
| 2183 | width: 33.3%; | 2187 | width: 33.3%; |
| 2184 | position: relative; | 2188 | position: relative; |
| 2185 | } | 2189 | } |
| 2186 | -.share-box-last:before { | ||
| 2187 | - content: ''; | ||
| 2188 | - position: absolute; | ||
| 2189 | - right: 0; | ||
| 2190 | - top: 0; | ||
| 2191 | - width: calc(100% - 0.42666667rem); | ||
| 2192 | - height: 0.90666667rem; | ||
| 2193 | - border: 1px solid #EDEDED; | ||
| 2194 | - border-left: 0; | ||
| 2195 | - border-top-right-radius: 0.08rem; | ||
| 2196 | - border-bottom-right-radius: 0.08rem; | ||
| 2197 | -} | ||
| 2198 | .sharePointRight { | 2190 | .sharePointRight { |
| 2199 | position: absolute; | 2191 | position: absolute; |
| 2200 | right: 0; | 2192 | right: 0; |
| @@ -2317,7 +2309,8 @@ | @@ -2317,7 +2309,8 @@ | ||
| 2317 | word-break: break-all; | 2309 | word-break: break-all; |
| 2318 | } | 2310 | } |
| 2319 | #newsContent .en-text-1 { | 2311 | #newsContent .en-text-1 { |
| 2320 | - padding: 0.42666667rem 0.32rem 0.42666667rem 0.29333333rem; | 2312 | + position: relative; |
| 2313 | + padding: 0.64rem 0.32rem 0.42666667rem 0.26666667rem; | ||
| 2321 | border-left: 0.05866667rem solid #ED2800; | 2314 | border-left: 0.05866667rem solid #ED2800; |
| 2322 | background: #faf3f4; | 2315 | background: #faf3f4; |
| 2323 | margin-bottom: 0.42666667rem; | 2316 | margin-bottom: 0.42666667rem; |
| @@ -2325,20 +2318,19 @@ | @@ -2325,20 +2318,19 @@ | ||
| 2325 | #newsContent .en-text-1 + .preview-image-block { | 2318 | #newsContent .en-text-1 + .preview-image-block { |
| 2326 | margin-top: 0 !important; | 2319 | margin-top: 0 !important; |
| 2327 | } | 2320 | } |
| 2321 | +#newsContent .en-text-1 img { | ||
| 2322 | + position: absolute; | ||
| 2323 | + top: 0.16rem; | ||
| 2324 | + left: 0.26666667rem; | ||
| 2325 | + width: 0.64rem; | ||
| 2326 | + margin: 0 !important; | ||
| 2327 | +} | ||
| 2328 | #newsContent .en-text-1-title { | 2328 | #newsContent .en-text-1-title { |
| 2329 | - position: relative; | ||
| 2330 | - font-size: 0.4rem; | ||
| 2331 | - line-height: 0.53333333rem; | 2329 | + line-height: 0.816rem; |
| 2330 | + font-size: 0.48rem; | ||
| 2332 | color: #222; | 2331 | color: #222; |
| 2333 | word-break: break-all; | 2332 | word-break: break-all; |
| 2334 | } | 2333 | } |
| 2335 | -#newsContent .en-text-1-title img { | ||
| 2336 | - position: absolute; | ||
| 2337 | - left: 0; | ||
| 2338 | - top: -0.10666667rem; | ||
| 2339 | - width: 0.64rem; | ||
| 2340 | - height: 0.37333333rem; | ||
| 2341 | -} | ||
| 2342 | #newsContent .en-text-2 { | 2334 | #newsContent .en-text-2 { |
| 2343 | padding: 0.08rem; | 2335 | padding: 0.08rem; |
| 2344 | border: 0.08rem solid #ED2800; | 2336 | border: 0.08rem solid #ED2800; |
| @@ -2348,16 +2340,17 @@ | @@ -2348,16 +2340,17 @@ | ||
| 2348 | margin-top: 0 !important; | 2340 | margin-top: 0 !important; |
| 2349 | } | 2341 | } |
| 2350 | #newsContent .en-text-2-title { | 2342 | #newsContent .en-text-2-title { |
| 2351 | - padding: 0.32rem; | 2343 | + padding: 0.29333333rem; |
| 2352 | border: 0.02666667rem solid #ED2800; | 2344 | border: 0.02666667rem solid #ED2800; |
| 2353 | - font-size: 0.4rem; | ||
| 2354 | - line-height: 0.53333333rem; | 2345 | + word-break: break-all; |
| 2346 | + line-height: 0.816rem; | ||
| 2347 | + font-size: 0.48rem; | ||
| 2355 | color: #222; | 2348 | color: #222; |
| 2356 | } | 2349 | } |
| 2357 | #newsContent .en-text-3 { | 2350 | #newsContent .en-text-3 { |
| 2358 | position: relative; | 2351 | position: relative; |
| 2359 | border: 0.02666667rem solid #ED2800; | 2352 | border: 0.02666667rem solid #ED2800; |
| 2360 | - padding: 0.42666667rem 0.32rem 0.32rem 0.32rem; | 2353 | + padding: 0.45333333rem 0.29333333rem 0.29333333rem 0.29333333rem; |
| 2361 | margin-bottom: 0.42666667rem; | 2354 | margin-bottom: 0.42666667rem; |
| 2362 | } | 2355 | } |
| 2363 | #newsContent .en-text-3 + .preview-image-block { | 2356 | #newsContent .en-text-3 + .preview-image-block { |
| @@ -2369,13 +2362,13 @@ | @@ -2369,13 +2362,13 @@ | ||
| 2369 | gap: 0.16rem; | 2362 | gap: 0.16rem; |
| 2370 | position: absolute; | 2363 | position: absolute; |
| 2371 | left: 0.53333333rem; | 2364 | left: 0.53333333rem; |
| 2372 | - top: -0.24rem; | ||
| 2373 | - height: 0.48rem; | 2365 | + top: -0.4rem; |
| 2374 | background: #fff; | 2366 | background: #fff; |
| 2375 | - padding-right: 0.16rem; | ||
| 2376 | - font-size: 0.37333333rem; | ||
| 2377 | - line-height: 0.48rem; | 2367 | + padding-right: 0.08rem; |
| 2368 | + line-height: 0.816rem; | ||
| 2369 | + font-size: 0.48rem; | ||
| 2378 | color: #ED2800; | 2370 | color: #ED2800; |
| 2371 | + font-weight: bold; | ||
| 2379 | } | 2372 | } |
| 2380 | #newsContent .en-text-3 .en-text-3-title .en-text-3-point { | 2373 | #newsContent .en-text-3 .en-text-3-title .en-text-3-point { |
| 2381 | width: 0.13333333rem; | 2374 | width: 0.13333333rem; |
| @@ -2383,9 +2376,10 @@ | @@ -2383,9 +2376,10 @@ | ||
| 2383 | background: #ED2800; | 2376 | background: #ED2800; |
| 2384 | } | 2377 | } |
| 2385 | #newsContent .en-text-3 .en-text-3-content { | 2378 | #newsContent .en-text-3 .en-text-3-content { |
| 2386 | - font-size: 0.4rem; | ||
| 2387 | - line-height: 0.53333333rem; | 2379 | + line-height: 0.816rem; |
| 2380 | + font-size: 0.48rem; | ||
| 2388 | color: #222; | 2381 | color: #222; |
| 2382 | + word-break: break-all; | ||
| 2389 | } | 2383 | } |
| 2390 | #newsContent .en-text-4 { | 2384 | #newsContent .en-text-4 { |
| 2391 | display: flex; | 2385 | display: flex; |
| @@ -2402,17 +2396,21 @@ | @@ -2402,17 +2396,21 @@ | ||
| 2402 | align-items: center; | 2396 | align-items: center; |
| 2403 | justify-content: center; | 2397 | justify-content: center; |
| 2404 | color: #fff; | 2398 | color: #fff; |
| 2405 | - padding: 0.29333333rem 0.64rem; | 2399 | + padding: 0.21333333rem 0.42666667rem; |
| 2406 | background-repeat: no-repeat; | 2400 | background-repeat: no-repeat; |
| 2407 | background-size: 100%; | 2401 | background-size: 100%; |
| 2408 | font-size: 0.48rem; | 2402 | font-size: 0.48rem; |
| 2409 | - line-height: 0.58666667rem; | 2403 | + line-height: 0.816rem; |
| 2404 | +} | ||
| 2405 | +#newsContent .en-text-4 .en-text-4-block .en-text-4-title { | ||
| 2406 | + word-break: break-all; | ||
| 2407 | + font-weight: bold; | ||
| 2410 | } | 2408 | } |
| 2411 | #newsContent .en-text-4 .en-text-4-end { | 2409 | #newsContent .en-text-4 .en-text-4-end { |
| 2412 | position: absolute; | 2410 | position: absolute; |
| 2413 | bottom: 0; | 2411 | bottom: 0; |
| 2414 | right: 0; | 2412 | right: 0; |
| 2415 | - border: 0.05333333rem solid #fff; | 2413 | + border: 0.05866667rem solid #fff; |
| 2416 | border-right: 0; | 2414 | border-right: 0; |
| 2417 | border-bottom: 0; | 2415 | border-bottom: 0; |
| 2418 | background: #ED2800; | 2416 | background: #ED2800; |
| @@ -2429,43 +2427,42 @@ | @@ -2429,43 +2427,42 @@ | ||
| 2429 | } | 2427 | } |
| 2430 | #newsContent .en-text-5-block { | 2428 | #newsContent .en-text-5-block { |
| 2431 | display: flex; | 2429 | display: flex; |
| 2432 | - align-items: center; | ||
| 2433 | - height: 1.17333333rem; | ||
| 2434 | } | 2430 | } |
| 2435 | #newsContent .en-text-5-num { | 2431 | #newsContent .en-text-5-num { |
| 2436 | display: flex; | 2432 | display: flex; |
| 2437 | align-items: center; | 2433 | align-items: center; |
| 2438 | justify-content: center; | 2434 | justify-content: center; |
| 2439 | width: 1.17333333rem; | 2435 | width: 1.17333333rem; |
| 2440 | - height: 1.17333333rem; | 2436 | + padding: 0.29333333rem; |
| 2441 | background: #ED2800; | 2437 | background: #ED2800; |
| 2442 | color: #fff; | 2438 | color: #fff; |
| 2443 | font-weight: bold; | 2439 | font-weight: bold; |
| 2444 | font-size: 0.48rem; | 2440 | font-size: 0.48rem; |
| 2445 | - line-height: 0.58666667rem; | 2441 | + line-height: 0.816rem; |
| 2446 | color: #FFFFFF; | 2442 | color: #FFFFFF; |
| 2443 | + flex-shrink: 0; | ||
| 2444 | + word-break: break-all; | ||
| 2447 | } | 2445 | } |
| 2448 | #newsContent .en-text-5-title { | 2446 | #newsContent .en-text-5-title { |
| 2449 | display: flex; | 2447 | display: flex; |
| 2450 | align-items: center; | 2448 | align-items: center; |
| 2451 | justify-content: center; | 2449 | justify-content: center; |
| 2452 | - padding: 0 0.64rem 0 0.42666667rem; | ||
| 2453 | - height: 1.17333333rem; | 2450 | + padding: 0.21333333rem 0.42666667rem; |
| 2454 | background: #f4e8e9; | 2451 | background: #f4e8e9; |
| 2455 | font-weight: bold; | 2452 | font-weight: bold; |
| 2456 | font-size: 0.48rem; | 2453 | font-size: 0.48rem; |
| 2457 | line-height: 0.58666667rem; | 2454 | line-height: 0.58666667rem; |
| 2458 | color: #ED2800; | 2455 | color: #ED2800; |
| 2456 | + word-break: break-all; | ||
| 2459 | } | 2457 | } |
| 2460 | .statement { | 2458 | .statement { |
| 2461 | - margin-top: 0.53333333rem; | 2459 | + margin-top: 0.42666667rem; |
| 2462 | font-size: 0.32rem; | 2460 | font-size: 0.32rem; |
| 2463 | line-height: 0.37333333rem; | 2461 | line-height: 0.37333333rem; |
| 2464 | color: #CCCCCC; | 2462 | color: #CCCCCC; |
| 2465 | } | 2463 | } |
| 2466 | .active-wrapper { | 2464 | .active-wrapper { |
| 2467 | - margin-top: 0.53333333rem; | ||
| 2468 | - margin-bottom: 0.77333333rem; | 2465 | + margin-top: 0.42666667rem; |
| 2469 | height: 1.28rem; | 2466 | height: 1.28rem; |
| 2470 | padding-left: 0.10666667rem; | 2467 | padding-left: 0.10666667rem; |
| 2471 | padding-right: 0.10666667rem; | 2468 | padding-right: 0.10666667rem; |
| 1 | -{"version":3,"sources":["index.less"],"names":[],"mappings":";AAkCA;EACE,eAAA;EACA,OAAA;EACA,MAAA;EACA,WAAA;EACA,kBAAA;EACA,UAAA;;AAGF;EACE,eAAA;EACA,OAAA;EACA,MAAA;EACA,WAAA;EACA,WAAA;EACA,kBAAA;EACA,UAAA;;AAGF;EACE,8BAAA;;AAGF,qBAAqB;EACnB,aAAA;;AAGF;EACE,gCAAA;;AAEA,UAAC,aACC,aACE;AAFJ,UAAC,aACC,aACK;AAFP,UAAC,aACC,aACS;AAFX,UAAC,aACC,aACa;AAFf,UAAC,aACC,aACiB;AAFnB,UAAC,aACC,aACqB;AAFvB,UAAC,aACC,aACyB;AAF3B,UAAC,aACC,aAC6B;AAF/B,UAAC,aACC,aACiC;AAFnC,UAAC,aACC,aACoC;AAFtC,UAAC,aACC,aAC6C;AAF/C,UAAC,aACC,aACkD;A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qBAAA;EACA,kBAAA;EACA,qBAAA;EACA,cAAA;EACA,uBAAA;EACA,gBAAA;;AAzCN,eA6CE;EACE,YAAA;EACA,oBAAA;EACA,qBAAA;EACA,2BAAA;EACA,mBAAA;;AAIJ;EACE,kBAAA;EACA,2BAAA;;AAGF;EACE;IACE,WAAA;;;AAIJ;EACE,qBAAA;EACA,aAAA;EACA,kBAAA;EACA,qBAAA;EACA,mBAAA;EACA,kBAAA;EACA,sBAAA;EACA,6BAAA;EACA,uCAAA;EACA,eAAA;EACA,qBAAqB,oCAArB;EACA,iBAAA;EACA,0BAAA;EACA,uBAAA;EACA,0BAAA;EACA,wBAAA;EACA,qBAAA;EACA,6BAAA;EACA,sBAAA;EACA,oDAAA;EACA,WAAA;EACA,yBAAA","file":"index.css"} | ||
| 1 | +{"version":3,"sources":["index.less"],"names":[],"mappings":";AAsCA;EACE,eAAA;EACA,OAAA;EACA,MAAA;EACA,WAAA;EACA,kBAAA;EACA,UAAA;;AAGF;EACE,eAAA;EACA,OAAA;EACA,MAAA;EACA,WAAA;EACA,WAAA;EACA,kBAAA;EACA,UAAA;;AAGF;EACE,8BAAA;;AAGF,qBAAqB;EACnB,aAAA;;AAGF;EACE,gCAAA;;AAEA,UAAC,aACC,aACE;AAFJ,UAAC,aACC,aACK;AAFP,UAAC,aACC,aACS;AAFX,UAAC,aACC,aACa;AAFf,UAAC,aACC,aACiB;AAFnB,UAAC,aACC,aACqB;AAFvB,UAAC,aACC,aACyB;AAF3B,UAAC,aACC,aAC6B;AAF/B,UAAC,aACC,aACiC;AAFnC,UAAC,aACC,aACoC;AAFtC,UAAC,aACC,aAC6C;AAF/C,UAAC,aACC,aACkD;AAFpD,UAAC,aACC,aACwD;AAF1D,UAAC,aACC,aAC4D;AAF9D,UAAC,aACC,aACkE;EAC9D,yBAAA;;AANR,UAWE;EACE,gBAAA;EACA,wBAAA;EACA,0BAAA;EACA,sBAAA;EACA,gBAAA;EACA,qBAAA;EACA,qBAAA;;AAlBJ,UA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EACA,mBAAA;;AAIJ;EACE,kBAAA;EACA,2BAAA;;AAGF;EACE;IACE,WAAA;;;AAIJ;EACE,qBAAA;EACA,aAAA;EACA,kBAAA;EACA,qBAAA;EACA,mBAAA;EACA,kBAAA;EACA,sBAAA;EACA,6BAAA;EACA,uCAAA;EACA,eAAA;EACA,qBAAqB,oCAArB;EACA,iBAAA;EACA,0BAAA;EACA,uBAAA;EACA,0BAAA;EACA,wBAAA;EACA,qBAAA;EACA,6BAAA;EACA,sBAAA;EACA,oDAAA;EACA,WAAA;EACA,yBAAA","file":"index.css"} |
| @@ -31,6 +31,10 @@ | @@ -31,6 +31,10 @@ | ||
| 31 | @result: (@value / 37.5rem); | 31 | @result: (@value / 37.5rem); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | +.calcRem(@value) { | ||
| 35 | + @calc-result: calc((@value / 37.5) * var(--appFontSize) * 1rem); | ||
| 36 | +} | ||
| 37 | + | ||
| 34 | /*# sourceMappingURL=./index.css.map */ | 38 | /*# sourceMappingURL=./index.css.map */ |
| 35 | #hidden { | 39 | #hidden { |
| 36 | position: fixed; | 40 | position: fixed; |
| @@ -74,7 +78,7 @@ | @@ -74,7 +78,7 @@ | ||
| 74 | color: @color_1; | 78 | color: @color_1; |
| 75 | font-size: (17 / 37.5rem); | 79 | font-size: (17 / 37.5rem); |
| 76 | line-height: (26 / 37.5rem); | 80 | line-height: (26 / 37.5rem); |
| 77 | - margin-bottom: (14 / 37.5rem); | 81 | + margin-bottom: (6 / 37.5rem); |
| 78 | font-weight: 400; | 82 | font-weight: 400; |
| 79 | word-break: break-all; | 83 | word-break: break-all; |
| 80 | white-space: pre-wrap; | 84 | white-space: pre-wrap; |
| @@ -88,11 +92,12 @@ | @@ -88,11 +92,12 @@ | ||
| 88 | } | 92 | } |
| 89 | 93 | ||
| 90 | .title { | 94 | .title { |
| 91 | - font-size: (26 / 37.4545rem); | 95 | + font-size: (26 / 37.5rem); |
| 96 | + //font-size: .calcRem(26)[@calc-result]; | ||
| 92 | line-height: (39 / 37.5rem); | 97 | line-height: (39 / 37.5rem); |
| 93 | font-weight: bold; | 98 | font-weight: bold; |
| 94 | color: #222; | 99 | color: #222; |
| 95 | - margin-bottom: (8 / 37.5rem); | 100 | + margin-bottom: (6 / 37.5rem); |
| 96 | word-break: break-all; | 101 | word-break: break-all; |
| 97 | white-space: pre-wrap; | 102 | white-space: pre-wrap; |
| 98 | 103 | ||
| @@ -113,7 +118,7 @@ | @@ -113,7 +118,7 @@ | ||
| 113 | .down-title-box { | 118 | .down-title-box { |
| 114 | display: flex; | 119 | display: flex; |
| 115 | align-items: center; | 120 | align-items: center; |
| 116 | - margin-top: (4 / 37.5rem); | 121 | + margin-top: (2 / 37.5rem); |
| 117 | margin-bottom: (8 / 37.5rem); | 122 | margin-bottom: (8 / 37.5rem); |
| 118 | 123 | ||
| 119 | .down-title { | 124 | .down-title { |
| @@ -135,25 +140,23 @@ | @@ -135,25 +140,23 @@ | ||
| 135 | } | 140 | } |
| 136 | 141 | ||
| 137 | .time.pageView { | 142 | .time.pageView { |
| 138 | - //display: flex; | ||
| 139 | - //flex-wrap: wrap; | ||
| 140 | - //align-items: center; | 143 | + position: relative; |
| 141 | font-size: (14 / 37.5rem); | 144 | font-size: (14 / 37.5rem); |
| 142 | line-height: (20 / 37.5rem); | 145 | line-height: (20 / 37.5rem); |
| 143 | letter-spacing: 0; | 146 | letter-spacing: 0; |
| 144 | color: @color_5; | 147 | color: @color_5; |
| 145 | 148 | ||
| 146 | - &::before, | ||
| 147 | - &::after { | ||
| 148 | - display: table; | ||
| 149 | - content: ''; | ||
| 150 | - } | ||
| 151 | - &::after { | ||
| 152 | - height: 0; | ||
| 153 | - clear: both; | ||
| 154 | - font-size: 0; | ||
| 155 | - visibility: hidden; | ||
| 156 | - } | 149 | + //&::before, |
| 150 | + //&::after { | ||
| 151 | + // display: table; | ||
| 152 | + // content: ''; | ||
| 153 | + //} | ||
| 154 | + //&::after { | ||
| 155 | + // height: 0; | ||
| 156 | + // clear: both; | ||
| 157 | + // font-size: 0; | ||
| 158 | + // visibility: hidden; | ||
| 159 | + //} | ||
| 157 | 160 | ||
| 158 | &.hidden-extra { | 161 | &.hidden-extra { |
| 159 | display: none !important; | 162 | display: none !important; |
| @@ -161,31 +164,30 @@ | @@ -161,31 +164,30 @@ | ||
| 161 | } | 164 | } |
| 162 | 165 | ||
| 163 | .article-source { | 166 | .article-source { |
| 164 | - float: left; | 167 | + text-indent: (7 / 37.5rem); |
| 165 | letter-spacing: 0; | 168 | letter-spacing: 0; |
| 166 | - display: inline-flex; | 169 | + word-break: break-all; |
| 167 | } | 170 | } |
| 168 | 171 | ||
| 169 | .browseCntStr { | 172 | .browseCntStr { |
| 170 | - float: left; | ||
| 171 | - display: inline-block; | ||
| 172 | - height: (20 / 37.5rem); | 173 | + margin-left: (8 / 37.5rem); |
| 173 | } | 174 | } |
| 174 | 175 | ||
| 175 | .author-item { | 176 | .author-item { |
| 176 | - float: left; | ||
| 177 | - display: inline-flex; | ||
| 178 | - letter-spacing: 0; | ||
| 179 | margin-right: (8 / 37.5rem); | 177 | margin-right: (8 / 37.5rem); |
| 178 | + | ||
| 179 | + &:first-child { | ||
| 180 | + margin-left: (8 / 37.5rem); | ||
| 181 | + } | ||
| 180 | } | 182 | } |
| 181 | 183 | ||
| 182 | > .article-source-icon { | 184 | > .article-source-icon { |
| 183 | - float: left; | ||
| 184 | - display: flex; | 185 | + position: absolute; |
| 186 | + left: 0; | ||
| 187 | + top: (3.4 / 37.5rem); | ||
| 185 | width: (3 / 37.5rem); | 188 | width: (3 / 37.5rem); |
| 186 | height: (14 / 37.5rem); | 189 | height: (14 / 37.5rem); |
| 187 | - margin-top: (3.2 / 37.5rem); | ||
| 188 | - margin-right: (4 / 37.5rem); | 190 | + //margin-right: (4 / 37.5rem); |
| 189 | background-image: url('../image/sourceIocnNew.svg'); | 191 | background-image: url('../image/sourceIocnNew.svg'); |
| 190 | background-size: 100%; | 192 | background-size: 100%; |
| 191 | background-repeat: no-repeat; | 193 | background-repeat: no-repeat; |
| @@ -267,8 +269,6 @@ | @@ -267,8 +269,6 @@ | ||
| 267 | width: 14px; | 269 | width: 14px; |
| 268 | height: 14px; | 270 | height: 14px; |
| 269 | border-radius: 50%; | 271 | border-radius: 50%; |
| 270 | - background: #F29900; | ||
| 271 | - border: (1 / 37.5rem) solid #FFFFFF; | ||
| 272 | } | 272 | } |
| 273 | 273 | ||
| 274 | .rmcard-image { | 274 | .rmcard-image { |
| @@ -334,37 +334,42 @@ | @@ -334,37 +334,42 @@ | ||
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | .clook { | 336 | .clook { |
| 337 | + display: flex; | ||
| 338 | + align-items: center; | ||
| 339 | + justify-content: center; | ||
| 337 | margin-top: (6.5 / 37.5rem); | 340 | margin-top: (6.5 / 37.5rem); |
| 338 | width: (54 / 37.5rem); | 341 | width: (54 / 37.5rem); |
| 339 | height: (24 / 37.5rem); | 342 | height: (24 / 37.5rem); |
| 340 | border-radius: (3 / 37.5rem); | 343 | border-radius: (3 / 37.5rem); |
| 341 | background-color: #ED2800; | 344 | background-color: #ED2800; |
| 342 | text-align: center; | 345 | text-align: center; |
| 343 | - line-height: 0.64rem; | ||
| 344 | - color: @color_6; | ||
| 345 | - font-size: 0.32rem; | 346 | + color: #fff; |
| 347 | + font-size: (12 / 37.5rem); | ||
| 348 | + line-height: (24 / 37.5rem); | ||
| 346 | font-weight: bold; | 349 | font-weight: bold; |
| 347 | 350 | ||
| 348 | img { | 351 | img { |
| 349 | width: (12 / 37.5rem); | 352 | width: (12 / 37.5rem); |
| 350 | height: (12 / 37.5rem); | 353 | height: (12 / 37.5rem); |
| 351 | - top: (-1 / 37.5rem); | 354 | + //top: (-1 / 37.5rem); |
| 352 | position: relative; | 355 | position: relative; |
| 353 | vertical-align: middle; | 356 | vertical-align: middle; |
| 357 | + margin-right: (2 / 37.5rem); | ||
| 354 | 358 | ||
| 355 | &.add-clook-icon { | 359 | &.add-clook-icon { |
| 356 | - top: (-1 / 37.5rem); | 360 | + //top: (-1 / 37.5rem); |
| 357 | } | 361 | } |
| 358 | } | 362 | } |
| 359 | 363 | ||
| 360 | .add-clook-text { | 364 | .add-clook-text { |
| 361 | top: (0.5 / 37.5rem); | 365 | top: (0.5 / 37.5rem); |
| 362 | position: relative; | 366 | position: relative; |
| 367 | + line-height: (18 / 37.5rem); | ||
| 363 | } | 368 | } |
| 364 | } | 369 | } |
| 365 | 370 | ||
| 366 | .isclook { | 371 | .isclook { |
| 367 | - margin-top: (5 / 37.5rem); | 372 | + margin-top: (6.5 / 37.5rem); |
| 368 | width: (54 / 37.5rem); | 373 | width: (54 / 37.5rem); |
| 369 | height: (24 / 37.5rem); | 374 | height: (24 / 37.5rem); |
| 370 | border-radius: (3 / 37.5rem); | 375 | border-radius: (3 / 37.5rem); |
| @@ -456,6 +461,8 @@ | @@ -456,6 +461,8 @@ | ||
| 456 | } | 461 | } |
| 457 | 462 | ||
| 458 | ul { | 463 | ul { |
| 464 | + margin-bottom: (16 / 37.5rem) !important; | ||
| 465 | + | ||
| 459 | &:last-child { | 466 | &:last-child { |
| 460 | margin-bottom: 0 !important; | 467 | margin-bottom: 0 !important; |
| 461 | } | 468 | } |
| @@ -501,8 +508,8 @@ | @@ -501,8 +508,8 @@ | ||
| 501 | 508 | ||
| 502 | P { | 509 | P { |
| 503 | max-width: 100%; | 510 | max-width: 100%; |
| 504 | - padding: 0 !important; | ||
| 505 | - margin-bottom: (16 / 37.5rem); | 511 | + padding: 0; |
| 512 | + margin-bottom: (16 / 37.5rem) !important; | ||
| 506 | box-sizing: border-box; | 513 | box-sizing: border-box; |
| 507 | word-break: break-all; | 514 | word-break: break-all; |
| 508 | 515 | ||
| @@ -531,7 +538,7 @@ | @@ -531,7 +538,7 @@ | ||
| 531 | 538 | ||
| 532 | & > h1 { | 539 | & > h1 { |
| 533 | max-width: 100%; | 540 | max-width: 100%; |
| 534 | - padding: 0 !important; | 541 | + padding: 0; |
| 535 | margin-bottom: (16 / 37.5rem); | 542 | margin-bottom: (16 / 37.5rem); |
| 536 | 543 | ||
| 537 | &:last-child { | 544 | &:last-child { |
| @@ -545,7 +552,7 @@ | @@ -545,7 +552,7 @@ | ||
| 545 | 552 | ||
| 546 | & > h2 { | 553 | & > h2 { |
| 547 | max-width: 100%; | 554 | max-width: 100%; |
| 548 | - padding: 0 !important; | 555 | + padding: 0; |
| 549 | margin-bottom: (16 / 37.5rem); | 556 | margin-bottom: (16 / 37.5rem); |
| 550 | 557 | ||
| 551 | &:last-child { | 558 | &:last-child { |
| @@ -559,7 +566,7 @@ | @@ -559,7 +566,7 @@ | ||
| 559 | 566 | ||
| 560 | & > h3 { | 567 | & > h3 { |
| 561 | max-width: 100%; | 568 | max-width: 100%; |
| 562 | - padding: 0 !important; | 569 | + padding: 0; |
| 563 | margin-bottom: (16 / 37.5rem); | 570 | margin-bottom: (16 / 37.5rem); |
| 564 | 571 | ||
| 565 | &:last-child { | 572 | &:last-child { |
| @@ -573,7 +580,7 @@ | @@ -573,7 +580,7 @@ | ||
| 573 | 580 | ||
| 574 | & > h4 { | 581 | & > h4 { |
| 575 | max-width: 100%; | 582 | max-width: 100%; |
| 576 | - padding: 0 !important; | 583 | + padding: 0; |
| 577 | margin-bottom: (16 / 37.5rem); | 584 | margin-bottom: (16 / 37.5rem); |
| 578 | 585 | ||
| 579 | &:last-child { | 586 | &:last-child { |
| @@ -587,7 +594,7 @@ | @@ -587,7 +594,7 @@ | ||
| 587 | 594 | ||
| 588 | & > h5 { | 595 | & > h5 { |
| 589 | max-width: 100%; | 596 | max-width: 100%; |
| 590 | - padding: 0 !important; | 597 | + padding: 0; |
| 591 | margin-bottom: (16 / 37.5rem); | 598 | margin-bottom: (16 / 37.5rem); |
| 592 | 599 | ||
| 593 | &:last-child { | 600 | &:last-child { |
| @@ -601,7 +608,7 @@ | @@ -601,7 +608,7 @@ | ||
| 601 | 608 | ||
| 602 | & > h6 { | 609 | & > h6 { |
| 603 | max-width: 100%; | 610 | max-width: 100%; |
| 604 | - padding: 0 !important; | 611 | + padding: 0; |
| 605 | margin-bottom: (16 / 37.5rem); | 612 | margin-bottom: (16 / 37.5rem); |
| 606 | 613 | ||
| 607 | &:last-child { | 614 | &:last-child { |
| @@ -614,16 +621,13 @@ | @@ -614,16 +621,13 @@ | ||
| 614 | } | 621 | } |
| 615 | 622 | ||
| 616 | section { | 623 | section { |
| 624 | + width: 100%; | ||
| 617 | max-width: 100%; | 625 | max-width: 100%; |
| 618 | - padding: 0 !important; | ||
| 619 | - margin-bottom: (16 / 37.5rem) !important; | ||
| 620 | - | ||
| 621 | - &:empty { | ||
| 622 | - display: none !important; | ||
| 623 | - } | 626 | + padding: 0; |
| 627 | + margin-bottom: (16 / 37.5rem); | ||
| 624 | 628 | ||
| 625 | &:last-child { | 629 | &:last-child { |
| 626 | - margin-bottom: 0 !important; | 630 | + margin-bottom: 0; |
| 627 | } | 631 | } |
| 628 | 632 | ||
| 629 | & + .preview-image-block { | 633 | & + .preview-image-block { |
| @@ -632,7 +636,14 @@ | @@ -632,7 +636,14 @@ | ||
| 632 | 636 | ||
| 633 | & > section { | 637 | & > section { |
| 634 | &:last-child { | 638 | &:last-child { |
| 635 | - margin-bottom: 0 !important; | 639 | + margin-bottom: 0; |
| 640 | + } | ||
| 641 | + | ||
| 642 | + & > .preview-image-block { | ||
| 643 | + &:last-child { | ||
| 644 | + margin-top: 0 !important; | ||
| 645 | + margin-bottom: 0 !important; | ||
| 646 | + } | ||
| 636 | } | 647 | } |
| 637 | 648 | ||
| 638 | & + .preview-image-block { | 649 | & + .preview-image-block { |
| @@ -664,8 +675,8 @@ | @@ -664,8 +675,8 @@ | ||
| 664 | } | 675 | } |
| 665 | 676 | ||
| 666 | section[data-title='分割线-5'] { | 677 | section[data-title='分割线-5'] { |
| 667 | - margin-top: ((22 + 22.5) / 37.5rem) !important; | ||
| 668 | - margin-bottom: ((22 + 22.5) / 37.5rem) !important; | 678 | + margin-top: ((16 + 22.5) / 37.5rem) !important; |
| 679 | + margin-bottom: ((16 + 22.5) / 37.5rem) !important; | ||
| 669 | 680 | ||
| 670 | img { | 681 | img { |
| 671 | display: inline; | 682 | display: inline; |
| @@ -673,9 +684,16 @@ | @@ -673,9 +684,16 @@ | ||
| 673 | } | 684 | } |
| 674 | 685 | ||
| 675 | .img-no-margin { | 686 | .img-no-margin { |
| 676 | - .preview-image-block.success { | 687 | + & > div:nth-last-of-type(2) { |
| 688 | + & + div.rmrb-caption-img { | ||
| 689 | + margin-top: (10 / 37.5rem) !important; | ||
| 690 | + } | ||
| 691 | + } | ||
| 692 | + | ||
| 693 | + .preview-image-block { | ||
| 677 | margin-top: 0 !important; | 694 | margin-top: 0 !important; |
| 678 | margin-bottom: 0 !important; | 695 | margin-bottom: 0 !important; |
| 696 | + border-radius: 0 !important; | ||
| 679 | } | 697 | } |
| 680 | } | 698 | } |
| 681 | 699 | ||
| @@ -732,6 +750,12 @@ | @@ -732,6 +750,12 @@ | ||
| 732 | max-width: 100% !important; | 750 | max-width: 100% !important; |
| 733 | } | 751 | } |
| 734 | 752 | ||
| 753 | + section[data-title='分割线-2'] { | ||
| 754 | + #content { | ||
| 755 | + font-size: (14px); | ||
| 756 | + } | ||
| 757 | + } | ||
| 758 | + | ||
| 735 | section[data-title='分割线-3'] { | 759 | section[data-title='分割线-3'] { |
| 736 | margin-top: 0.77333333rem !important; | 760 | margin-top: 0.77333333rem !important; |
| 737 | margin-bottom: ((13 / 2 + 22.5) / 37.5rem) !important; | 761 | margin-bottom: ((13 / 2 + 22.5) / 37.5rem) !important; |
| @@ -784,8 +808,8 @@ | @@ -784,8 +808,8 @@ | ||
| 784 | .rmrb-caption-img, .bjh-image-caption, .rmrb-caption-img2 { | 808 | .rmrb-caption-img, .bjh-image-caption, .rmrb-caption-img2 { |
| 785 | position: relative; | 809 | position: relative; |
| 786 | margin-top: -(6 / 37.5rem) !important; | 810 | margin-top: -(6 / 37.5rem) !important; |
| 787 | - line-height: (16 / 37.5rem) !important; | ||
| 788 | - font-size: (12.5 / 37.5rem) !important; | 811 | + line-height: ((18 * 1.7) / 37.5rem); |
| 812 | + font-size: (18 / 37.5rem) !important; | ||
| 789 | font-weight: normal !important; | 813 | font-weight: normal !important; |
| 790 | color: #B0B0B0 !important; | 814 | color: #B0B0B0 !important; |
| 791 | box-sizing: border-box !important; | 815 | box-sizing: border-box !important; |
| @@ -794,7 +818,7 @@ | @@ -794,7 +818,7 @@ | ||
| 794 | 818 | ||
| 795 | span, p, div, i, h1, h2, h3, h4, h5, h6, section { | 819 | span, p, div, i, h1, h2, h3, h4, h5, h6, section { |
| 796 | line-height: (16 / 37.5rem) !important; | 820 | line-height: (16 / 37.5rem) !important; |
| 797 | - font-size: (12.5 / 37.5rem) !important; | 821 | + font-size: (18 / 37.5rem) !important; |
| 798 | font-weight: normal !important; | 822 | font-weight: normal !important; |
| 799 | color: #B0B0B0 !important; | 823 | color: #B0B0B0 !important; |
| 800 | } | 824 | } |
| @@ -1340,6 +1364,7 @@ | @@ -1340,6 +1364,7 @@ | ||
| 1340 | } | 1364 | } |
| 1341 | 1365 | ||
| 1342 | &.success { | 1366 | &.success { |
| 1367 | + height: auto !important; | ||
| 1343 | 1368 | ||
| 1344 | img.preview-image-placehold, .img.preview-image-error { | 1369 | img.preview-image-placehold, .img.preview-image-error { |
| 1345 | display: none !important; | 1370 | display: none !important; |
| @@ -1347,6 +1372,7 @@ | @@ -1347,6 +1372,7 @@ | ||
| 1347 | 1372 | ||
| 1348 | img.image-player { | 1373 | img.image-player { |
| 1349 | display: block !important; | 1374 | display: block !important; |
| 1375 | + height: auto; | ||
| 1350 | } | 1376 | } |
| 1351 | } | 1377 | } |
| 1352 | 1378 | ||
| @@ -1591,9 +1617,10 @@ | @@ -1591,9 +1617,10 @@ | ||
| 1591 | 1617 | ||
| 1592 | .editor-charge { | 1618 | .editor-charge { |
| 1593 | color: @color_5; | 1619 | color: @color_5; |
| 1594 | - font-size: 12px; | 1620 | + font-size: (12 / 37.5rem); |
| 1621 | + line-height: (17 / 37.5rem); | ||
| 1595 | font-weight: 400; | 1622 | font-weight: 400; |
| 1596 | - margin-top: 0.42667rem; | 1623 | + margin-top: (16 / 37.5rem); |
| 1597 | } | 1624 | } |
| 1598 | 1625 | ||
| 1599 | #voteHiddenBlock { | 1626 | #voteHiddenBlock { |
| @@ -1620,7 +1647,7 @@ | @@ -1620,7 +1647,7 @@ | ||
| 1620 | 1647 | ||
| 1621 | .vote { | 1648 | .vote { |
| 1622 | position: relative; | 1649 | position: relative; |
| 1623 | - margin-top: (20 / 37.5rem); | 1650 | + margin-top: (16 / 37.5rem); |
| 1624 | padding: (16 / 37.5rem) (14 / 37.5rem); | 1651 | padding: (16 / 37.5rem) (14 / 37.5rem); |
| 1625 | background: #F9F9F9; | 1652 | background: #F9F9F9; |
| 1626 | border-radius: (4 / 37.5rem); | 1653 | border-radius: (4 / 37.5rem); |
| @@ -1701,6 +1728,7 @@ | @@ -1701,6 +1728,7 @@ | ||
| 1701 | background: linear-gradient(270deg, #486FFF 0%, #5A88FF 100%); | 1728 | background: linear-gradient(270deg, #486FFF 0%, #5A88FF 100%); |
| 1702 | border-top-left-radius: (3 / 37.5rem); | 1729 | border-top-left-radius: (3 / 37.5rem); |
| 1703 | border-bottom-left-radius: (3 / 37.5rem); | 1730 | border-bottom-left-radius: (3 / 37.5rem); |
| 1731 | + padding-right: (20 / 37.5rem); | ||
| 1704 | 1732 | ||
| 1705 | &.active { | 1733 | &.active { |
| 1706 | top: 0; | 1734 | top: 0; |
| @@ -1713,6 +1741,7 @@ | @@ -1713,6 +1741,7 @@ | ||
| 1713 | background: linear-gradient(270deg, #63D4FF 0%, #50BDE7 100%); | 1741 | background: linear-gradient(270deg, #63D4FF 0%, #50BDE7 100%); |
| 1714 | border-top-right-radius: (3 / 37.5rem); | 1742 | border-top-right-radius: (3 / 37.5rem); |
| 1715 | border-bottom-right-radius: (3 / 37.5rem); | 1743 | border-bottom-right-radius: (3 / 37.5rem); |
| 1744 | + padding-left: (20 / 37.5rem); | ||
| 1716 | 1745 | ||
| 1717 | &.active { | 1746 | &.active { |
| 1718 | top: 0; | 1747 | top: 0; |
| @@ -1997,18 +2026,16 @@ | @@ -1997,18 +2026,16 @@ | ||
| 1997 | } | 2026 | } |
| 1998 | 2027 | ||
| 1999 | .timeline-line { | 2028 | .timeline-line { |
| 2000 | - margin-top: (20 / 37.5rem); | 2029 | + margin-top: (24 / 37.5rem); |
| 2001 | width: 100%; | 2030 | width: 100%; |
| 2002 | height: (0.5 / 37.5rem); | 2031 | height: (0.5 / 37.5rem); |
| 2003 | background: #EDEDED; | 2032 | background: #EDEDED; |
| 2004 | } | 2033 | } |
| 2005 | 2034 | ||
| 2006 | .timeline { | 2035 | .timeline { |
| 2007 | - margin-bottom: (34 / 37.5rem); | ||
| 2008 | - | ||
| 2009 | .timeline_title { | 2036 | .timeline_title { |
| 2010 | - margin-top: (16 / 37.5rem); | ||
| 2011 | - margin-bottom: (6 / 37.5rem); | 2037 | + margin-top: (14 / 37.5rem); |
| 2038 | + margin-bottom: (4 / 37.5rem); | ||
| 2012 | font-size: (18 / 37.5rem); | 2039 | font-size: (18 / 37.5rem); |
| 2013 | line-height: (25 / 37.5rem); | 2040 | line-height: (25 / 37.5rem); |
| 2014 | font-weight: bold; | 2041 | font-weight: bold; |
| @@ -2027,7 +2054,7 @@ | @@ -2027,7 +2054,7 @@ | ||
| 2027 | 2054 | ||
| 2028 | .timeLine_list_item { | 2055 | .timeLine_list_item { |
| 2029 | position: relative; | 2056 | position: relative; |
| 2030 | - padding-bottom: (18 / 37.5rem); | 2057 | + padding-bottom: (20 / 37.5rem); |
| 2031 | 2058 | ||
| 2032 | &:first-child { | 2059 | &:first-child { |
| 2033 | padding-top: (8 / 37.5rem); | 2060 | padding-top: (8 / 37.5rem); |
| @@ -2039,7 +2066,7 @@ | @@ -2039,7 +2066,7 @@ | ||
| 2039 | } | 2066 | } |
| 2040 | 2067 | ||
| 2041 | &:last-child { | 2068 | &:last-child { |
| 2042 | - padding-bottom: (10 / 37.5rem); | 2069 | + padding-bottom: (18 / 37.5rem); |
| 2043 | 2070 | ||
| 2044 | .timeLine_list_item_line { | 2071 | .timeLine_list_item_line { |
| 2045 | height: (5 / 37.5rem); | 2072 | height: (5 / 37.5rem); |
| @@ -2060,15 +2087,15 @@ | @@ -2060,15 +2087,15 @@ | ||
| 2060 | 2087 | ||
| 2061 | .timeLine_list_item_title { | 2088 | .timeLine_list_item_title { |
| 2062 | position: relative; | 2089 | position: relative; |
| 2063 | - margin-bottom: (8 / 37.5rem); | 2090 | + margin-bottom: (4 / 37.5rem); |
| 2064 | font-size: (14 / 37.5rem); | 2091 | font-size: (14 / 37.5rem); |
| 2065 | font-weight: bold; | 2092 | font-weight: bold; |
| 2066 | - line-height: (16 / 37.5rem); | 2093 | + line-height: (20 / 37.5rem); |
| 2067 | color: #222222; | 2094 | color: #222222; |
| 2068 | 2095 | ||
| 2069 | .timeLine_list_item_title_icon { | 2096 | .timeLine_list_item_title_icon { |
| 2070 | position: absolute; | 2097 | position: absolute; |
| 2071 | - top: 50%; | 2098 | + top: calc(50%); |
| 2072 | transform: translateY(-50%); | 2099 | transform: translateY(-50%); |
| 2073 | left: (-17 / 37.5rem); | 2100 | left: (-17 / 37.5rem); |
| 2074 | z-index: 10; | 2101 | z-index: 10; |
| @@ -2089,16 +2116,17 @@ | @@ -2089,16 +2116,17 @@ | ||
| 2089 | height: (40 / 37.5rem); | 2116 | height: (40 / 37.5rem); |
| 2090 | border-radius: (3 / 37.5rem); | 2117 | border-radius: (3 / 37.5rem); |
| 2091 | background: #F5F5F5; | 2118 | background: #F5F5F5; |
| 2092 | - | ||
| 2093 | - font-size: (14 / 37.5rem); | ||
| 2094 | line-height: (40 / 37.5rem); | 2119 | line-height: (40 / 37.5rem); |
| 2095 | color: #222; | 2120 | color: #222; |
| 2096 | 2121 | ||
| 2122 | + span { | ||
| 2123 | + font-size: (14 / 37.5rem); | ||
| 2124 | + line-height: (20 / 37.5rem); | ||
| 2125 | + } | ||
| 2126 | + | ||
| 2097 | img { | 2127 | img { |
| 2098 | width: (16 / 37.5rem); | 2128 | width: (16 / 37.5rem); |
| 2099 | height: (16 / 37.5rem); | 2129 | height: (16 / 37.5rem); |
| 2100 | - top: (-0.3 / 37.5rem); | ||
| 2101 | - position: relative; | ||
| 2102 | } | 2130 | } |
| 2103 | } | 2131 | } |
| 2104 | } | 2132 | } |
| @@ -2326,6 +2354,8 @@ | @@ -2326,6 +2354,8 @@ | ||
| 2326 | margin: unset !important; | 2354 | margin: unset !important; |
| 2327 | 2355 | ||
| 2328 | &:first-child { | 2356 | &:first-child { |
| 2357 | + flex: 1; | ||
| 2358 | + margin-right: (22 / 37.5rem) !important; | ||
| 2329 | height: 0.32rem; | 2359 | height: 0.32rem; |
| 2330 | } | 2360 | } |
| 2331 | 2361 | ||
| @@ -2445,7 +2475,7 @@ | @@ -2445,7 +2475,7 @@ | ||
| 2445 | } | 2475 | } |
| 2446 | 2476 | ||
| 2447 | .share { | 2477 | .share { |
| 2448 | - margin-top: (24 / 37.5rem); | 2478 | + margin-top: (29 / 37.5rem); |
| 2449 | height: (36 / 37.5rem); | 2479 | height: (36 / 37.5rem); |
| 2450 | 2480 | ||
| 2451 | .share-wrapper + .share-wrapper { | 2481 | .share-wrapper + .share-wrapper { |
| @@ -2598,18 +2628,6 @@ | @@ -2598,18 +2628,6 @@ | ||
| 2598 | box-sizing: border-box; | 2628 | box-sizing: border-box; |
| 2599 | width: 33.3%; | 2629 | width: 33.3%; |
| 2600 | position: relative; | 2630 | position: relative; |
| 2601 | - | ||
| 2602 | - &:before { | ||
| 2603 | - //content: ''; | ||
| 2604 | - //position: absolute; | ||
| 2605 | - //left: (16 / 37.5rem); | ||
| 2606 | - //top: 0; | ||
| 2607 | - //width: calc(100% - (0.8533333333333334rem)); | ||
| 2608 | - //height: (34 / 37.5rem); | ||
| 2609 | - //border: 1px solid #EDEDED; | ||
| 2610 | - //border-left: 0; | ||
| 2611 | - //border-right: 0; | ||
| 2612 | - } | ||
| 2613 | } | 2631 | } |
| 2614 | 2632 | ||
| 2615 | .share-box-last { | 2633 | .share-box-last { |
| @@ -2617,19 +2635,6 @@ | @@ -2617,19 +2635,6 @@ | ||
| 2617 | box-sizing: border-box; | 2635 | box-sizing: border-box; |
| 2618 | width: 33.3%; | 2636 | width: 33.3%; |
| 2619 | position: relative; | 2637 | position: relative; |
| 2620 | - | ||
| 2621 | - &:before { | ||
| 2622 | - content: ''; | ||
| 2623 | - position: absolute; | ||
| 2624 | - right: 0; | ||
| 2625 | - top: 0; | ||
| 2626 | - width: calc(100% - 0.4266666666666667rem); | ||
| 2627 | - height: (34 / 37.5rem); | ||
| 2628 | - border: 1px solid #EDEDED; | ||
| 2629 | - border-left: 0; | ||
| 2630 | - border-top-right-radius: (3 / 37.5rem); | ||
| 2631 | - border-bottom-right-radius: (3 / 37.5rem); | ||
| 2632 | - } | ||
| 2633 | } | 2638 | } |
| 2634 | 2639 | ||
| 2635 | .sharePointRight { | 2640 | .sharePointRight { |
| @@ -2778,7 +2783,8 @@ | @@ -2778,7 +2783,8 @@ | ||
| 2778 | } | 2783 | } |
| 2779 | 2784 | ||
| 2780 | #newsContent .en-text-1 { | 2785 | #newsContent .en-text-1 { |
| 2781 | - padding: (16 / 37.5rem) (12 / 37.5rem) (16 / 37.5rem) (11 / 37.5rem); | 2786 | + position: relative; |
| 2787 | + padding: (24 / 37.5rem) (12 / 37.5rem) (16 / 37.5rem) (10 / 37.5rem); | ||
| 2782 | border-left: (2.2 / 37.5rem) solid #ED2800; | 2788 | border-left: (2.2 / 37.5rem) solid #ED2800; |
| 2783 | background: #faf3f4; | 2789 | background: #faf3f4; |
| 2784 | margin-bottom: (16 / 37.5rem); | 2790 | margin-bottom: (16 / 37.5rem); |
| @@ -2786,24 +2792,23 @@ | @@ -2786,24 +2792,23 @@ | ||
| 2786 | & + .preview-image-block { | 2792 | & + .preview-image-block { |
| 2787 | margin-top: 0 !important; | 2793 | margin-top: 0 !important; |
| 2788 | } | 2794 | } |
| 2795 | + | ||
| 2796 | + img { | ||
| 2797 | + position: absolute; | ||
| 2798 | + top: (6 / 37.5rem); | ||
| 2799 | + left: (10 / 37.5rem); | ||
| 2800 | + width: (24 / 37.5rem); | ||
| 2801 | + margin: 0 !important; | ||
| 2802 | + } | ||
| 2789 | } | 2803 | } |
| 2790 | 2804 | ||
| 2791 | #newsContent .en-text-1-title { | 2805 | #newsContent .en-text-1-title { |
| 2792 | - position: relative; | ||
| 2793 | - font-size: (15 / 37.5rem); | ||
| 2794 | - line-height: (20 / 37.5rem); | 2806 | + line-height: ((18 * 1.7) / 37.5rem); |
| 2807 | + font-size: (18 / 37.5rem); | ||
| 2795 | color: #222; | 2808 | color: #222; |
| 2796 | word-break: break-all; | 2809 | word-break: break-all; |
| 2797 | } | 2810 | } |
| 2798 | 2811 | ||
| 2799 | -#newsContent .en-text-1-title img { | ||
| 2800 | - position: absolute; | ||
| 2801 | - left: 0; | ||
| 2802 | - top: .rem(-4)[@result]; | ||
| 2803 | - width: (24 / 37.5rem); | ||
| 2804 | - height: (14 / 37.5rem); | ||
| 2805 | -} | ||
| 2806 | - | ||
| 2807 | #newsContent .en-text-2 { | 2812 | #newsContent .en-text-2 { |
| 2808 | padding: .rem(3)[@result]; | 2813 | padding: .rem(3)[@result]; |
| 2809 | border: (3 / 37.5rem) solid #ED2800; | 2814 | border: (3 / 37.5rem) solid #ED2800; |
| @@ -2815,18 +2820,18 @@ | @@ -2815,18 +2820,18 @@ | ||
| 2815 | } | 2820 | } |
| 2816 | 2821 | ||
| 2817 | #newsContent .en-text-2-title { | 2822 | #newsContent .en-text-2-title { |
| 2818 | - padding: .rem(12)[@result]; | 2823 | + padding: .rem(11)[@result]; |
| 2819 | border: (1 / 37.5rem) solid #ED2800; | 2824 | border: (1 / 37.5rem) solid #ED2800; |
| 2820 | - | ||
| 2821 | - font-size: (15 / 37.5rem); | ||
| 2822 | - line-height: (20 / 37.5rem); | 2825 | + word-break: break-all; |
| 2826 | + line-height: ((18 * 1.7) / 37.5rem); | ||
| 2827 | + font-size: (18 / 37.5rem); | ||
| 2823 | color: #222; | 2828 | color: #222; |
| 2824 | } | 2829 | } |
| 2825 | 2830 | ||
| 2826 | #newsContent .en-text-3 { | 2831 | #newsContent .en-text-3 { |
| 2827 | position: relative; | 2832 | position: relative; |
| 2828 | border: (1 / 37.5rem) solid #ED2800; | 2833 | border: (1 / 37.5rem) solid #ED2800; |
| 2829 | - padding: (16 / 37.5rem) (12 / 37.5rem) (12 / 37.5rem) (12 / 37.5rem); | 2834 | + padding: (17 / 37.5rem) (11 / 37.5rem) (11 / 37.5rem) (11 / 37.5rem); |
| 2830 | margin-bottom: (16 / 37.5rem); | 2835 | margin-bottom: (16 / 37.5rem); |
| 2831 | 2836 | ||
| 2832 | & + .preview-image-block { | 2837 | & + .preview-image-block { |
| @@ -2840,14 +2845,13 @@ | @@ -2840,14 +2845,13 @@ | ||
| 2840 | gap: (6 / 37.5rem); | 2845 | gap: (6 / 37.5rem); |
| 2841 | position: absolute; | 2846 | position: absolute; |
| 2842 | left: (20 / 37.5rem); | 2847 | left: (20 / 37.5rem); |
| 2843 | - top: -(9 / 37.5rem); | ||
| 2844 | - height: (18 / 37.5rem); | 2848 | + top: -(15 / 37.5rem); |
| 2845 | background: #fff; | 2849 | background: #fff; |
| 2846 | - padding-right: (6 / 37.5rem); | ||
| 2847 | - | ||
| 2848 | - font-size: (14 / 37.5rem); | ||
| 2849 | - line-height: (18 / 37.5rem); | 2850 | + padding-right: (3 / 37.5rem); |
| 2851 | + line-height: ((18 * 1.7) / 37.5rem); | ||
| 2852 | + font-size: (18 / 37.5rem); | ||
| 2850 | color: #ED2800; | 2853 | color: #ED2800; |
| 2854 | + font-weight: bold; | ||
| 2851 | } | 2855 | } |
| 2852 | 2856 | ||
| 2853 | #newsContent .en-text-3 .en-text-3-title .en-text-3-point { | 2857 | #newsContent .en-text-3 .en-text-3-title .en-text-3-point { |
| @@ -2857,9 +2861,10 @@ | @@ -2857,9 +2861,10 @@ | ||
| 2857 | } | 2861 | } |
| 2858 | 2862 | ||
| 2859 | #newsContent .en-text-3 .en-text-3-content { | 2863 | #newsContent .en-text-3 .en-text-3-content { |
| 2860 | - font-size: (15 / 37.5rem); | ||
| 2861 | - line-height: (20 / 37.5rem); | 2864 | + line-height: ((18 * 1.7) / 37.5rem); |
| 2865 | + font-size: (18 / 37.5rem); | ||
| 2862 | color: #222; | 2866 | color: #222; |
| 2867 | + word-break: break-all; | ||
| 2863 | } | 2868 | } |
| 2864 | 2869 | ||
| 2865 | #newsContent .en-text-4 { | 2870 | #newsContent .en-text-4 { |
| @@ -2879,18 +2884,23 @@ | @@ -2879,18 +2884,23 @@ | ||
| 2879 | align-items: center; | 2884 | align-items: center; |
| 2880 | justify-content: center; | 2885 | justify-content: center; |
| 2881 | color: #fff; | 2886 | color: #fff; |
| 2882 | - padding: (11 / 37.5rem) (24 / 37.5rem); | 2887 | + padding: (8 / 37.5rem) (16 / 37.5rem); |
| 2883 | background-repeat: no-repeat; | 2888 | background-repeat: no-repeat; |
| 2884 | background-size: 100%; | 2889 | background-size: 100%; |
| 2885 | font-size: (18 / 37.5rem); | 2890 | font-size: (18 / 37.5rem); |
| 2886 | - line-height: (22 / 37.5rem); | 2891 | + line-height: ((18 * 1.7) / 37.5rem); |
| 2892 | +} | ||
| 2893 | + | ||
| 2894 | +#newsContent .en-text-4 .en-text-4-block .en-text-4-title { | ||
| 2895 | + word-break: break-all; | ||
| 2896 | + font-weight: bold; | ||
| 2887 | } | 2897 | } |
| 2888 | 2898 | ||
| 2889 | #newsContent .en-text-4 .en-text-4-end { | 2899 | #newsContent .en-text-4 .en-text-4-end { |
| 2890 | position: absolute; | 2900 | position: absolute; |
| 2891 | bottom: 0; | 2901 | bottom: 0; |
| 2892 | right: 0; | 2902 | right: 0; |
| 2893 | - border: (2 / 37.5rem) solid #fff; | 2903 | + border: (2.2 / 37.5rem) solid #fff; |
| 2894 | border-right: 0; | 2904 | border-right: 0; |
| 2895 | border-bottom: 0; | 2905 | border-bottom: 0; |
| 2896 | background: #ED2800; | 2906 | background: #ED2800; |
| @@ -2910,8 +2920,6 @@ | @@ -2910,8 +2920,6 @@ | ||
| 2910 | 2920 | ||
| 2911 | #newsContent .en-text-5-block { | 2921 | #newsContent .en-text-5-block { |
| 2912 | display: flex; | 2922 | display: flex; |
| 2913 | - align-items: center; | ||
| 2914 | - height: (44 / 37.5rem); | ||
| 2915 | } | 2923 | } |
| 2916 | 2924 | ||
| 2917 | #newsContent .en-text-5-num { | 2925 | #newsContent .en-text-5-num { |
| @@ -2919,38 +2927,39 @@ | @@ -2919,38 +2927,39 @@ | ||
| 2919 | align-items: center; | 2927 | align-items: center; |
| 2920 | justify-content: center; | 2928 | justify-content: center; |
| 2921 | width: (44 / 37.5rem); | 2929 | width: (44 / 37.5rem); |
| 2922 | - height: (44 / 37.5rem); | 2930 | + padding: (11 / 37.5rem); |
| 2923 | background: #ED2800; | 2931 | background: #ED2800; |
| 2924 | color: #fff; | 2932 | color: #fff; |
| 2925 | font-weight: bold; | 2933 | font-weight: bold; |
| 2926 | font-size: (18 / 37.5rem); | 2934 | font-size: (18 / 37.5rem); |
| 2927 | - line-height: (22 / 37.5rem); | 2935 | + line-height: ((18 * 1.7) / 37.5rem); |
| 2928 | color: #FFFFFF; | 2936 | color: #FFFFFF; |
| 2937 | + flex-shrink: 0; | ||
| 2938 | + word-break: break-all; | ||
| 2929 | } | 2939 | } |
| 2930 | 2940 | ||
| 2931 | #newsContent .en-text-5-title { | 2941 | #newsContent .en-text-5-title { |
| 2932 | display: flex; | 2942 | display: flex; |
| 2933 | align-items: center; | 2943 | align-items: center; |
| 2934 | justify-content: center; | 2944 | justify-content: center; |
| 2935 | - padding: 0 (24 / 37.5rem) 0 (16 / 37.5rem); | ||
| 2936 | - height: (44 / 37.5rem); | 2945 | + padding: (8 / 37.5rem) (16 / 37.5rem); |
| 2937 | background: #f4e8e9; | 2946 | background: #f4e8e9; |
| 2938 | font-weight: bold; | 2947 | font-weight: bold; |
| 2939 | font-size: (18 / 37.5rem); | 2948 | font-size: (18 / 37.5rem); |
| 2940 | line-height: (22 / 37.5rem); | 2949 | line-height: (22 / 37.5rem); |
| 2941 | color: #ED2800; | 2950 | color: #ED2800; |
| 2951 | + word-break: break-all; | ||
| 2942 | } | 2952 | } |
| 2943 | 2953 | ||
| 2944 | .statement { | 2954 | .statement { |
| 2945 | - margin-top: (20 / 37.5rem); | 2955 | + margin-top: (16 / 37.5rem); |
| 2946 | font-size: (12 / 37.5rem); | 2956 | font-size: (12 / 37.5rem); |
| 2947 | line-height: (14 / 37.5rem); | 2957 | line-height: (14 / 37.5rem); |
| 2948 | color: #CCCCCC; | 2958 | color: #CCCCCC; |
| 2949 | } | 2959 | } |
| 2950 | 2960 | ||
| 2951 | .active-wrapper { | 2961 | .active-wrapper { |
| 2952 | - margin-top: (20 / 37.5rem); | ||
| 2953 | - margin-bottom: (29 / 37.5rem); | 2962 | + margin-top: (16 / 37.5rem); |
| 2954 | height: (48 / 37.5rem); | 2963 | height: (48 / 37.5rem); |
| 2955 | padding-left: (4 / 37.5rem); | 2964 | padding-left: (4 / 37.5rem); |
| 2956 | padding-right: (4 / 37.5rem); | 2965 | padding-right: (4 / 37.5rem); |
| 1 | +html[data-size=small] .gx-mobile .short-title{font-size:.40048592rem!important;line-height:.61407842rem!important}html[data-size=small] .gx-mobile .title{font-size:.64077748rem!important;line-height:.96116622rem!important}html[data-size=small] .gx-mobile .down-title-box .down-title{font-size:.40048592rem!important;line-height:.61407842rem!important}html[data-size=small] .gx-mobile .head-link-block,html[data-size=small] .gx-mobile .new-intro-box{font-size:.32038874rem!important;line-height:.48058311rem!important}html[data-size=small] .gx-mobile #newsContent{font-size:.42718498rem!important;line-height:.74757372rem!important}html[data-size=small] .editor-charge,html[data-size=small] .gx-mobile #newsContent .bjh-image-caption,html[data-size=small] .gx-mobile #newsContent .rmrb-caption-img,html[data-size=small] .gx-mobile #newsContent .rmrb-caption-img2,html[data-size=small] .statement{font-size:.32038874rem!important;line-height:.45388405rem!important}html[data-size=small] .vote .vote-title{font-size:.37378686rem!important;line-height:.56068029rem!important}html[data-size=small] .timeline .timeline_title{font-size:.42718498rem!important;line-height:.58737935rem!important}html[data-size=small] .timeline .timeLine_list_item_title{font-size:.32038874rem!important;line-height:.42718498rem!important}html[data-size=small] .timeline .timeLine_list_item_content{font-size:.42718498rem!important;line-height:.58737935rem!important}html[data-size=small] .timeline .timeLine_list_item_line{top:.10666667rem!important}html[data-size=small] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line{height:calc(100% - .3rem)!important;top:.48rem!important}html[data-size=large] .gx-mobile .short-title{font-size:.50728217rem!important;line-height:.77427278rem!important}html[data-size=large] .gx-mobile .title{font-size:.74757372rem!important;line-height:1.12136058rem!important}html[data-size=large] .gx-mobile .down-title-box .down-title{font-size:.50728217rem!important;line-height:.77427278rem!important}html[data-size=large] .gx-mobile .head-link-block,html[data-size=large] .gx-mobile .new-intro-box{font-size:.42718498rem!important;line-height:.64077748rem!important}html[data-size=large] .gx-mobile #newsContent{font-size:.53398123rem!important;line-height:.93446715rem!important}html[data-size=large] .gx-mobile #newsContent .bjh-image-caption,html[data-size=large] .gx-mobile #newsContent .rmrb-caption-img,html[data-size=large] .gx-mobile #newsContent .rmrb-caption-img2{font-size:.37378686rem!important;line-height:.56068029rem!important}html[data-size=large] .editor-charge,html[data-size=large] .statement{font-size:.37378686rem!important;line-height:.53398123rem!important}html[data-size=large] .vote .vote-title{font-size:.48058311rem!important;line-height:.72087466rem!important}html[data-size=large] .timeline .timeline_title{font-size:.53398123rem!important;line-height:.64077748rem!important}html[data-size=large] .timeline .timeLine_list_item_title{font-size:.37378686rem!important;line-height:.42718498rem!important}html[data-size=large] .timeline .timeLine_list_item_content{font-size:.53398123rem!important;line-height:.74757372rem!important}html[data-size=large] .timeline .timeLine_list_item_line{top:.16rem!important}html[data-size=large] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line{height:calc(100% - .32rem)!important;top:.42666667rem!important}html[data-size=Large] .gx-mobile .short-title{font-size:.61407842rem!important;line-height:.93446715rem!important}html[data-size=Large] .gx-mobile .title{font-size:.85436997rem!important;line-height:1.28155495rem!important}html[data-size=Large] .gx-mobile .down-title-box .down-title{font-size:.61407842rem!important;line-height:.93446715rem!important}html[data-size=Large] .gx-mobile .head-link-block,html[data-size=Large] .gx-mobile .new-intro-box{font-size:.53398123rem!important;line-height:.80097185rem!important}html[data-size=Large] .gx-mobile #newsContent{font-size:.64077748rem!important;line-height:1.12136058rem!important}html[data-size=Large] .editor-charge,html[data-size=Large] .gx-mobile #newsContent .bjh-image-caption,html[data-size=Large] .gx-mobile #newsContent .rmrb-caption-img,html[data-size=Large] .gx-mobile #newsContent .rmrb-caption-img2,html[data-size=Large] .statement{font-size:.48058311rem!important;line-height:.72087466rem!important}html[data-size=Large] .vote .vote-title{font-size:.58737935rem!important;line-height:.88106903rem!important}html[data-size=Large] .timeline .timeline_title{font-size:.64077748rem!important;line-height:.90776809rem!important}html[data-size=Large] .timeline .timeLine_list_item_title{font-size:.53398123rem!important;line-height:.74757372rem!important}html[data-size=Large] .timeline .timeLine_list_item_content{font-size:.64077748rem!important;line-height:.82767091rem!important}html[data-size=Large] .timeline .timeLine_list_item_line{top:.32rem!important}html[data-size=Large] .timeline .timeLine_list .timeLine_list_item:first-child .timeLine_list_item_line{height:calc(100% - .32rem)!important;top:.64rem!important} | ||
| 2 | +/*# sourceMappingURL=prodFontSize.css.map */ |
| 1 | -article,aside,body,button,dd,details,div,dl,dt,em,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,i,img,input,label,li,menu,nav,ol,p,section,select,table,td,textarea,th,tr,u,ul{border:0;box-sizing:border-box;font-size:100%;margin:0;outline:0;padding:0;vertical-align:baseline}li{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%}table{border-collapse:collapse;border-spacing:0;width:100%}a,area,button,input,select,textarea{background:none;border:none;color:inherit;font-family:inherit;font-size:inherit;outline:none}a,a:hover{text-decoration:none}textarea{overflow:auto;resize:none}input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:none;cursor:pointer}body,html{background:transparent;height:100%;overflow-x:hidden;width:100%}*{-webkit-overflow-scrolling:touch}html{-webkit-tap-highlight-color:transparent}body{text-align:left}body #app{height:100%}body #app::-webkit-scrollbar,body #app::-webkit-scrollbar-thumb{display:none}body #app::-webkit-scrollbar-track{display:none}.fl{float:left}.fr{float:right}.clearfix{zoom:1}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both;font-size:0;height:0;visibility:hidden}.ant-skeleton{display:table;width:100%}.ant-skeleton+.ant-skeleton{margin-top:.64rem}.ant-skeleton.active{display:none}.ant-skeleton-content{display:table-cell;margin-bottom:.64rem;vertical-align:top;width:100%}.ant-skeleton-content .ant-skeleton-title{background:#f2f2f2;height:.53333rem;margin-top:.26667rem;width:100%}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:.64rem}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{background:#f2f2f2;height:.32rem;list-style:none;width:23.3%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:.26667rem}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-image,.ant-skeleton.ant-skeleton-active .ant-skeleton-input{-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite;background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:-webkit-linear-gradient(left,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%}@-webkit-keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes spinner-anime{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-anime{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.toast-loading{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:9999999999}.toast-loading.active,.toast-loading.none{display:none}.toast-loading .loading-cont{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-clip:padding-box;background-color:rgba(58,58,58,.9);border-radius:7px;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:15px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;line-height:20px;padding:15px}.toast-loading .loading-cont .svg{-webkit-animation:spinner-anime 1s linear infinite;animation:spinner-anime 1s linear infinite;background-image:url(../image/loading.svg);background-position:50%;background-repeat:no-repeat;background-size:100%;display:inline-block;height:32px;height:20px;margin:0;width:32px;width:20px}.toast-loading .loading-cont .svg-text{display:inline-block;position:relative;top:4px}.skeleton-loading{display:block;height:100%;overflow:hidden;padding:.26666667rem .48rem 0}.skeleton-loading.active{left:0;opacity:0;position:fixed;top:0;visibility:hidden;width:100%;z-index:-1}.skeleton-loading.none{display:none}.error-block{box-sizing:border-box;display:none;padding-top:3.76rem;text-align:center}.error-block.active{display:block}.error-block .error-block-image{text-align:center}.error-block .error-block-image img{height:2.98666667rem;width:4.26666667rem}.error-block .error-block-reload-btn,.error-block .error-block-retry-btn{border:.02666667rem solid #ededed;border-radius:.08rem;color:#666;font-size:.32rem;font-weight:700;height:.74666667rem;line-height:.74666667rem;margin:.42666667rem auto 0;text-align:center;width:2.13333333rem}.error-block .error-block-reload-btn{width:3.73333333rem}.error-block .error-block-description-title{color:#999;font-size:14px;margin:0 auto;text-align:center}.ellipsis1{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;word-wrap:break-word}#app.fixed,.gx-mobile.fixed{left:0;opacity:0;position:fixed;top:0;visibility:hidden;width:100%;z-index:-1}.gx-mobile.fixed{height:17.57333333rem}.refresh-content,.refresh-content .van-pull-refresh{height:100%}html{-webkit-transition:color .3s,background-color .3s;transition:color .3s,background-color .3s}body .van-image__error,body .van-image__loading{display:block}body .prism-fullscreen{z-index:999999!important}body .prism-player .dplayer-thumb,body .prism-player .prism-ErrorMessage,body .prism-player .prism-animation,body .prism-player .prism-big-play-btn,body .prism-player .prism-button,body .prism-player .prism-button-retry,body .prism-player .prism-cc-btn,body .prism-player .prism-controlbar,body .prism-player .prism-cover,body .prism-player .prism-detect-info,body .prism-player .prism-error-operation,body .prism-player .prism-info-display,body .prism-player .prism-loading,body .prism-player .prism-progress-cursor,body .prism-player .prism-progress-hover,body .prism-player .prism-progress-played,body .prism-player .prism-setting-audio,body .prism-player .prism-setting-btn,body .prism-player .prism-setting-cc,body .prism-player .prism-setting-quality,body .prism-player .prism-text-overlay,body .prism-player .prism-tooltip,body .prism-player .prism-volume{display:none!important}#__vconsole,#__vconsole .vc-switch{z-index:10000000}#__vconsole .vc-panel{height:500px!important;min-height:unset!important}#app{overflow-x:hidden;overflow-y:hidden}#app .van-loading{text-align:center}html[dark-mode=true] body{background-color:#1d1d1d}html[dark-mode=true] body .error-block .error-block-reload-btn,html[dark-mode=true] body .error-block .error-block-retry-btn{border:.02666667rem solid #333;color:#aaa}html[dark-mode=true] body .ant-skeleton-content .ant-skeleton-paragraph>li,html[dark-mode=true] body .ant-skeleton-content .ant-skeleton-title{background:#262626}html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-button,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-image,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-input{-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite;background:-webkit-gradient(linear,left top,right top,color-stop(25%,#262626),color-stop(37%,#333),color-stop(63%,#262626));background:-webkit-linear-gradient(left,#262626 25%,#333 37%,#262626 63%);background:linear-gradient(90deg,#262626 25%,#333 37%,#262626 63%);background-size:400% 100%}html[dark-mode=true] body .error-block .error-block-description-title{color:#666}html[dark-mode=true] body .gx-mobile .title{color:#ddd}html[dark-mode=true] body .gx-mobile .short-title{color:#aaa}html[dark-mode=true] body .gx-mobile .head-link-block{background:#1d1d1d;border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:0 .05333333rem .21333333rem 0 hsla(0,0%,100%,.05);color:#ddd}html[dark-mode=true] body .gx-mobile .down-title-box .down-title{color:#666}html[dark-mode=true] body .gx-mobile .new-intro-box{background:#262626;color:#aaa}html[dark-mode=true] body .gx-mobile .rmcard .cdescrip .cdescrip_text:first-child{color:#ddd}html[dark-mode=true] body .gx-mobile .rmcard .cdescrip .cdescrip_text{color:#555}html[dark-mode=true] body .gx-mobile .rmcard .clook{background:#262626;color:#ccc}html[dark-mode=true] body .gx-mobile .rmcard .rmcard-image.default{background:#1d1d1d}html[dark-mode=true] body .gx-mobile .rmcard .rmcard-image{border:.5px solid hsla(0,0%,100%,.1)}html[dark-mode=true] body .gx-mobile .time.pageView{color:#555}html[dark-mode=true] body .gx-mobile #newsContent{color:#ddd}html[dark-mode=true] body #newsContent .en-scroll-text,html[dark-mode=true] body #newsContent .en-scroll-text:after,html[dark-mode=true] body #newsContent .en-text-3 .en-text-3-title,html[dark-mode=true] body #newsContent .preview-audio-player,html[dark-mode=true] body #newsContent .scroll-text-left{background:#1d1d1d}html[dark-mode=true] body #newsContent section[data-title=\5DE6\56FE\53F3\6587]>div h3{color:#fff!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\56FE\53F3\6587]>div p{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\6587\53F3\56FE]>div h3{color:#fff!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\6587\53F3\56FE]>div p{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div{background:#262626!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div>div div:first-child{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div>div div:last-child{color:#aaa!important}html[dark-mode=true] body #newsContent section[data-title=\5206\5272\7EBF-2]>div div:last-child,html[dark-mode=true] body #newsContent section[data-title=\5206\5272\7EBF-3]>div>div{background:#1d1d1d!important}html[dark-mode=true] body #newsContent .en-scroll-text,html[dark-mode=true] body #newsContent .preview-audio-player-cover{border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:0 .05333333rem .21333333rem 0 hsla(0,0%,100%,.05)}html[dark-mode=true] body #newsContent .preview-audio-player-cover .right .audio-title{color:#ddd}html[dark-mode=true] body #newsContent .preview-audio-player-cover .right .audio-extra .audio-time{color:#666}html[dark-mode=true] body .gx-mobile #newsContent .preview-image-block.error,html[dark-mode=true] body .gx-mobile #newsContent .preview-image-block.loading{background:#333}html[dark-mode=true] body .gx-mobile #newsContent .preview-video .player-layer-state .player-state-icon{background:hsla(0,0%,100%,.5)}html[dark-mode=true] body #newsContent .preview-link-card-mobile{background:#262626;border:.02666667rem solid hsla(0,0%,100%,.05)}html[dark-mode=true] body #newsContent .preview-audio-player{border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:0 .05333333rem .21333333rem 0 hsla(0,0%,100%,.05)}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-time{color:#555}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-progress-block{background:#262626}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-title{color:#ddd}html[dark-mode=true] body #newsContent .en-echart .en-echart-yname{color:#aaa}html[dark-mode=true] body #newsContent .bjh-image-caption,html[dark-mode=true] body #newsContent .rmrb-caption-img,html[dark-mode=true] body #newsContent .rmrb-caption-img2{color:#555!important}html[dark-mode=true] body .vote{background:#262626}html[dark-mode=true] body #newsContent .en-echart .en-echart-title,html[dark-mode=true] body #newsContent .en-scroll-text .swiper-txet,html[dark-mode=true] body #newsContent .en-table .en-table-title,html[dark-mode=true] body #newsContent .en-text-2-title,html[dark-mode=true] body #newsContent .en-text-3 .en-text-3-content,html[dark-mode=true] body .active-wrapper .active-title,html[dark-mode=true] body .timeline .timeLine_list_item_content,html[dark-mode=true] body .timeline .timeLine_list_item_title,html[dark-mode=true] body .timeline .timeline_title,html[dark-mode=true] body .vote .vote-title{color:#ddd}html[dark-mode=true] body .vote .aft .bf .lt .lt-s2,html[dark-mode=true] body .vote .aft .bf .rt .lt-s2,html[dark-mode=true] body .vote .bts3 .zsbox .bf .sbf,html[dark-mode=true] body .vote .bts3 .zsbox .bf .sumBox .stx{color:#aaa}html[dark-mode=true] body .vote .bts3 .zsbox .jd{background:#aaa}html[dark-mode=true] body .vote .bts3 .zsbox .jd .s1:before{background:-webkit-linear-gradient(right,#666 1%,#666 98%);background:linear-gradient(270deg,#666 1%,#666 98%)}html[dark-mode=true] body .vote .bts3 .zsbox .jd .s1.active:before{background:-webkit-linear-gradient(right,#486fff,#5a88ff);background:linear-gradient(270deg,#486fff,#5a88ff)}html[dark-mode=true] body .vote-line{background:#333}html[dark-mode=true] body .vote .bts2 .btsIem{background:#1d1d1d;border:.01333333rem solid #333;color:#ddd}html[dark-mode=true] body .timeline .timeLine_list_item_line{color:#333}html[dark-mode=true] body .timeline .timeline_more{background:#262626;color:#ddd}html[dark-mode=true] body .active-wrapper{background:#262626;border:.5px solid hsla(0,0%,100%,.05)}html[dark-mode=true] body .statement{color:#444}html[dark-mode=true] body .share-box-center:before,html[dark-mode=true] body .share-box-last:before{border-color:#333}html[dark-mode=true] body .share .share-content span{color:#aaa}html[data-size=Large] #newsContent{font-size:.50666667rem;line-height:.888rem}.anticon-spin{-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.prism-player{position:relative}.prism-player video{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform-origin:center;-moz-transform-origin:center;-webkit-transform-origin:center;-o-transform-origin:center}.prism-player .loading-center,.prism-player .prism-ErrorMessage,.prism-player .prism-audio-selector,.prism-player .prism-auto-stream-selector,.prism-player .prism-cc-selector,.prism-player .prism-marker-text,.prism-player .prism-quality-selector,.prism-player .prism-setting-list,.prism-player .prism-speed-selector,.prism-player .prism-thumbnail,.prism-player .prism-volume-control{display:none!important}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} | 1 | +article,aside,body,button,dd,details,div,dl,dt,em,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,i,img,input,label,li,menu,nav,ol,p,section,select,table,td,textarea,th,tr,u,ul{border:0;box-sizing:border-box;font-size:100%;margin:0;outline:0;padding:0;vertical-align:baseline}li{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%}table{border-collapse:collapse;border-spacing:0;width:100%}a,area,button,input,select,textarea{background:none;border:none;color:inherit;font-family:inherit;font-size:inherit;outline:none}a,a:hover{text-decoration:none}textarea{overflow:auto;resize:none}input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:none;cursor:pointer}body,html{background:transparent;height:100%;overflow-x:hidden;width:100%}*{-webkit-overflow-scrolling:touch}html{-webkit-tap-highlight-color:transparent}body{text-align:left}body #app{height:100%}body #app::-webkit-scrollbar,body #app::-webkit-scrollbar-thumb{display:none}body #app::-webkit-scrollbar-track{display:none}.fl{float:left}.fr{float:right}.clearfix{zoom:1}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both;font-size:0;height:0;visibility:hidden}.ant-skeleton{display:table;width:100%}.ant-skeleton+.ant-skeleton{margin-top:.64rem}.ant-skeleton.active{display:none}.ant-skeleton-content{display:table-cell;margin-bottom:.64rem;vertical-align:top;width:100%}.ant-skeleton-content .ant-skeleton-title{background:#f2f2f2;height:.53333rem;margin-top:.26667rem;width:100%}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:.64rem}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{background:#f2f2f2;height:.32rem;list-style:none;width:23.3%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:.26667rem}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-image,.ant-skeleton.ant-skeleton-active .ant-skeleton-input{-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite;background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:-webkit-linear-gradient(left,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%}@-webkit-keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes spinner-anime{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-anime{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.toast-loading{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:9999999999}.toast-loading.active,.toast-loading.none{display:none}.toast-loading .loading-cont{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-clip:padding-box;background-color:rgba(58,58,58,.9);border-radius:7px;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:15px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;line-height:20px;padding:15px}.toast-loading .loading-cont .svg{-webkit-animation:spinner-anime 1s linear infinite;animation:spinner-anime 1s linear infinite;background-image:url(../image/loading.svg);background-position:50%;background-repeat:no-repeat;background-size:100%;display:inline-block;height:32px;height:20px;margin:0;width:32px;width:20px}.toast-loading .loading-cont .svg-text{display:inline-block;position:relative;top:4px}.skeleton-loading{display:block;height:100%;overflow:hidden;padding:.26666667rem .48rem 0}.skeleton-loading.active{left:0;opacity:0;position:fixed;top:0;visibility:hidden;width:100%;z-index:-1}.skeleton-loading.none{display:none}.error-block{box-sizing:border-box;display:none;padding-top:3.76rem;text-align:center}.error-block.active{display:block}.error-block .error-block-image{text-align:center}.error-block .error-block-image img{height:2.98666667rem;width:4.26666667rem}.error-block .error-block-reload-btn,.error-block .error-block-retry-btn{border:.02666667rem solid #ededed;border-radius:.08rem;color:#666;font-size:.32rem;font-weight:700;height:.74666667rem;line-height:.74666667rem;margin:.42666667rem auto 0;text-align:center;width:2.13333333rem}.error-block .error-block-reload-btn{width:3.73333333rem}.error-block .error-block-description-title{color:#999;font-size:14px;margin:0 auto;text-align:center}.ellipsis1{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;word-wrap:break-word}#app.fixed,.gx-mobile.fixed{left:0;opacity:0;position:fixed;top:0;visibility:hidden;width:100%;z-index:-1}.gx-mobile.fixed{height:17.57333333rem}.refresh-content,.refresh-content .van-pull-refresh{height:100%}html{-webkit-transition:color .3s,background-color .3s;transition:color .3s,background-color .3s}body .van-image__error,body .van-image__loading{display:block}body .prism-fullscreen{z-index:999999!important}body .prism-player .dplayer-thumb,body .prism-player .prism-ErrorMessage,body .prism-player .prism-animation,body .prism-player .prism-big-play-btn,body .prism-player .prism-button,body .prism-player .prism-button-retry,body .prism-player .prism-cc-btn,body .prism-player .prism-controlbar,body .prism-player .prism-cover,body .prism-player .prism-detect-info,body .prism-player .prism-error-operation,body .prism-player .prism-info-display,body .prism-player .prism-loading,body .prism-player .prism-progress-cursor,body .prism-player .prism-progress-hover,body .prism-player .prism-progress-played,body .prism-player .prism-setting-audio,body .prism-player .prism-setting-btn,body .prism-player .prism-setting-cc,body .prism-player .prism-setting-quality,body .prism-player .prism-text-overlay,body .prism-player .prism-tooltip,body .prism-player .prism-volume{display:none!important}#__vconsole,#__vconsole .vc-switch{z-index:10000000}#__vconsole .vc-panel{height:500px!important;min-height:unset!important}#app{overflow-x:hidden;overflow-y:hidden}#app .van-loading{text-align:center}html[dark-mode=true] body{background-color:#1d1d1d}html[dark-mode=true] body .error-block .error-block-reload-btn,html[dark-mode=true] body .error-block .error-block-retry-btn{border:.02666667rem solid #333;color:#aaa}html[dark-mode=true] body .ant-skeleton-content .ant-skeleton-paragraph>li,html[dark-mode=true] body .ant-skeleton-content .ant-skeleton-title{background:#262626}html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-button,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-image,html[dark-mode=true] body .ant-skeleton.ant-skeleton-active .ant-skeleton-input{-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite;background:-webkit-gradient(linear,left top,right top,color-stop(25%,#262626),color-stop(37%,#333),color-stop(63%,#262626));background:-webkit-linear-gradient(left,#262626 25%,#333 37%,#262626 63%);background:linear-gradient(90deg,#262626 25%,#333 37%,#262626 63%);background-size:400% 100%}html[dark-mode=true] body .gx-mobile .time.pageView>.article-source-icon{background-image:url(../image/dark/sourceIocnNew.svg)}html[dark-mode=true] body .error-block .error-block-description-title{color:#666}html[dark-mode=true] body .gx-mobile .title{color:#ddd}html[dark-mode=true] body .gx-mobile .short-title{color:#aaa}html[dark-mode=true] body .gx-mobile .head-link-block{background:#1d1d1d;border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:none;color:#ddd}html[dark-mode=true] body .gx-mobile .down-title-box .down-title{color:#666}html[dark-mode=true] body .gx-mobile .new-intro-box{background:#262626;color:#aaa}html[dark-mode=true] body .gx-mobile .rmcard .cdescrip .cdescrip_text:first-child{color:#ddd}html[dark-mode=true] body .gx-mobile .rmcard .cdescrip .cdescrip_text{color:#555}html[dark-mode=true] body .gx-mobile .rmcard .clook{background:-webkit-linear-gradient(bottom,rgba(0,0,0,.1),rgba(0,0,0,.1)),#ed2800;background:linear-gradient(0deg,rgba(0,0,0,.1),rgba(0,0,0,.1)),#ed2800;color:#fff}html[dark-mode=true] body .gx-mobile .rmcard .isclook{background:#262626;color:#ccc}html[dark-mode=true] body .gx-mobile .rmcard .rmcard-image.default{background:#1d1d1d}html[dark-mode=true] body .gx-mobile .rmcard .rmcard-image{border:.5px solid hsla(0,0%,100%,.1)}html[dark-mode=true] body .gx-mobile .time.pageView{color:#555}html[dark-mode=true] body .gx-mobile #newsContent{color:#ddd}html[dark-mode=true] body #newsContent .en-scroll-text,html[dark-mode=true] body #newsContent .en-scroll-text:after,html[dark-mode=true] body #newsContent .en-text-3 .en-text-3-title,html[dark-mode=true] body #newsContent .preview-audio-player,html[dark-mode=true] body #newsContent .scroll-text-left{background:#1d1d1d}html[dark-mode=true] body #newsContent section[data-title=\5DE6\56FE\53F3\6587]>div h3{color:#fff!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\56FE\53F3\6587]>div p{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\6587\53F3\56FE]>div h3{color:#fff!important}html[dark-mode=true] body #newsContent section[data-title=\5DE6\6587\53F3\56FE]>div p{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div{background:#262626!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div>div div:first-child{color:#ddd!important}html[dark-mode=true] body #newsContent section[data-title=\4F5C\8005\5934\50CF\6846]>div>div div:last-child{color:#aaa!important}html[dark-mode=true] body #newsContent section[data-title=\5206\5272\7EBF-2]>div div:last-child,html[dark-mode=true] body #newsContent section[data-title=\5206\5272\7EBF-3]>div>div{background:#1d1d1d!important}html[dark-mode=true] body #newsContent .en-scroll-text,html[dark-mode=true] body #newsContent .preview-audio-player-cover{border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:none}html[dark-mode=true] body #newsContent .preview-audio-player-cover .right .audio-title{color:#ddd}html[dark-mode=true] body #newsContent .preview-audio-player-cover .right .audio-extra .audio-time{color:#666}html[dark-mode=true] body .gx-mobile #newsContent .preview-image-block.error,html[dark-mode=true] body .gx-mobile #newsContent .preview-image-block.loading{background:#333}html[dark-mode=true] body #newsContent .preview-link-card-mobile{background:#262626;border:.02666667rem solid hsla(0,0%,100%,.05)}html[dark-mode=true] body #newsContent .preview-audio-player{border:.02666667rem solid hsla(0,0%,100%,.05);box-shadow:none}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-time{color:#555}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-progress-block{background:#262626}html[dark-mode=true] body #newsContent .preview-audio-player .right .audio-title{color:#ddd}html[dark-mode=true] body #newsContent .en-echart .en-echart-yname{color:#aaa}html[dark-mode=true] body #newsContent .bjh-image-caption,html[dark-mode=true] body #newsContent .rmrb-caption-img,html[dark-mode=true] body #newsContent .rmrb-caption-img2{color:#555!important}html[dark-mode=true] body .vote{background:#262626}html[dark-mode=true] body #newsContent .en-echart .en-echart-title,html[dark-mode=true] body #newsContent .en-scroll-text .swiper-txet,html[dark-mode=true] body #newsContent .en-table .en-table-title,html[dark-mode=true] body #newsContent .en-text-2-title,html[dark-mode=true] body #newsContent .en-text-3 .en-text-3-content,html[dark-mode=true] body .active-wrapper .active-title,html[dark-mode=true] body .timeline .timeLine_list_item_content,html[dark-mode=true] body .timeline .timeLine_list_item_title,html[dark-mode=true] body .timeline .timeline_title,html[dark-mode=true] body .vote .vote-title{color:#ddd}html[dark-mode=true] body .vote .aft .bf .lt .lt-s2,html[dark-mode=true] body .vote .aft .bf .rt .lt-s2,html[dark-mode=true] body .vote .bts3 .zsbox .bf .sbf,html[dark-mode=true] body .vote .bts3 .zsbox .bf .sumBox .stx{color:#aaa}html[dark-mode=true] body .vote .bts3 .zsbox .jd{background:#aaa}html[dark-mode=true] body .vote .bts3 .zsbox .jd .s1:before{background:-webkit-linear-gradient(right,#666 1%,#666 98%);background:linear-gradient(270deg,#666 1%,#666 98%)}html[dark-mode=true] body .vote .bts3 .zsbox .jd .s1.active:before{background:-webkit-linear-gradient(right,#486fff,#5a88ff);background:linear-gradient(270deg,#486fff,#5a88ff)}html[dark-mode=true] body .vote-line{background:#333}html[dark-mode=true] body .vote .bts2 .btsIem{background:#1d1d1d;border:.01333333rem solid #333;color:#ddd}html[dark-mode=true] body .timeline .timeLine_list_item_line{color:#333}html[dark-mode=true] body .timeline .timeline_more{background:#262626;color:#ddd}html[dark-mode=true] body .active-wrapper{background:#262626;border:.5px solid hsla(0,0%,100%,.05)}html[dark-mode=true] body .statement{color:#444}html[dark-mode=true] body .share-box-center:before,html[dark-mode=true] body .share-box-last:before{border-color:#333}html[dark-mode=true] body .share .share-content span{color:#aaa}html[dark-mode=true] body .timeline .timeLine_list_item_line,html[dark-mode=true] body .timeline-line,html[dark-mode=true] body .vote-line{background:#333}.anticon-spin{-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.prism-player{position:relative}.prism-player video{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform-origin:center;-moz-transform-origin:center;-webkit-transform-origin:center;-o-transform-origin:center}.prism-player .loading-center,.prism-player .prism-ErrorMessage,.prism-player .prism-audio-selector,.prism-player .prism-auto-stream-selector,.prism-player .prism-cc-selector,.prism-player .prism-marker-text,.prism-player .prism-quality-selector,.prism-player .prism-setting-list,.prism-player .prism-speed-selector,.prism-player .prism-thumbnail,.prism-player .prism-volume-control{display:none!important}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loadingCircle{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} |
| 2 | /*# sourceMappingURL=prodGlobal.css.map */ | 2 | /*# sourceMappingURL=prodGlobal.css.map */ |
This diff could not be displayed because it is too large.
| 1 | -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><g><g></g><g><path d="M5.399900000000001,6.64951171875L5.399900000000001,10.39951171875Q5.399900000000001,10.41940171875,5.40751,10.43778171875Q5.4151299999999996,10.45615171875,5.42919,10.47022171875Q5.44326,10.48428171875,5.4616299999999995,10.49190171875Q5.48001,10.49951171875,5.4999,10.49951171875L6.4499,10.49951171875Q6.46979,10.49951171875,6.48817,10.49190171875Q6.50655,10.48428171875,6.52061,10.47022171875Q6.53468,10.45615171875,6.54229,10.43778171875Q6.5499,10.41940171875,6.5499,10.39951171875L6.5499,6.64951171875L10.4,6.64951171875Q10.41989,6.64951171875,10.43827,6.64190171875Q10.45664,6.63429171875,10.47071,6.62022171875Q10.48477,6.60615171875,10.49239,6.58778171875Q10.5,6.56940171875,10.5,6.54951171875L10.5,5.59951171875Q10.5,5.57962171875,10.49239,5.56124171875Q10.48477,5.54286171875,10.47071,5.52880171875Q10.45664,5.51473171875,10.43827,5.50712171875Q10.41989,5.49951171875,10.4,5.49951171875L6.5499,5.49951171875L6.5499,1.59951171875Q6.5499,1.57962051875,6.54229,1.56124341875Q6.53468,1.54286621875,6.52061,1.52880101875Q6.50655,1.51473581875,6.48817,1.50712376875Q6.46979,1.49951171875,6.4499,1.49951171875L5.4999,1.49951171875Q5.48001,1.49951171875,5.4616299999999995,1.50712376875Q5.44326,1.51473581875,5.42919,1.52880101875Q5.4151299999999996,1.54286621875,5.40751,1.5612433187499999Q5.399900000000001,1.57962051875,5.399900000000001,1.59951171875L5.399900000000001,5.49951171875L1.6,5.49951171875Q1.5801091,5.49951171875,1.5617319,5.50712171875Q1.5433547,5.51473171875,1.5292894,5.52880171875Q1.5152241,5.54286171875,1.50761207,5.56124171875Q1.5,5.57962171875,1.5,5.59951171875L1.5,6.54951171875Q1.5,6.56940171875,1.50761207,6.58778171875Q1.5152241,6.60615171875,1.5292894,6.62022171875Q1.5433547,6.63429171875,1.5617319,6.64190171875Q1.5801091,6.64951171875,1.6,6.64951171875L5.399900000000001,6.64951171875Z" fill-rule="evenodd" fill="#cccccc" fill-opacity="1"/></g></g></svg> | 1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><g><g></g><g><path d="M5.399900000000001,6.64951171875L5.399900000000001,10.39951171875Q5.399900000000001,10.41940171875,5.40751,10.43778171875Q5.4151299999999996,10.45615171875,5.42919,10.47022171875Q5.44326,10.48428171875,5.4616299999999995,10.49190171875Q5.48001,10.49951171875,5.4999,10.49951171875L6.4499,10.49951171875Q6.46979,10.49951171875,6.48817,10.49190171875Q6.50655,10.48428171875,6.52061,10.47022171875Q6.53468,10.45615171875,6.54229,10.43778171875Q6.5499,10.41940171875,6.5499,10.39951171875L6.5499,6.64951171875L10.4,6.64951171875Q10.41989,6.64951171875,10.43827,6.64190171875Q10.45664,6.63429171875,10.47071,6.62022171875Q10.48477,6.60615171875,10.49239,6.58778171875Q10.5,6.56940171875,10.5,6.54951171875L10.5,5.59951171875Q10.5,5.57962171875,10.49239,5.56124171875Q10.48477,5.54286171875,10.47071,5.52880171875Q10.45664,5.51473171875,10.43827,5.50712171875Q10.41989,5.49951171875,10.4,5.49951171875L6.5499,5.49951171875L6.5499,1.59951171875Q6.5499,1.57962051875,6.54229,1.56124341875Q6.53468,1.54286621875,6.52061,1.52880101875Q6.50655,1.51473581875,6.48817,1.50712376875Q6.46979,1.49951171875,6.4499,1.49951171875L5.4999,1.49951171875Q5.48001,1.49951171875,5.4616299999999995,1.50712376875Q5.44326,1.51473581875,5.42919,1.52880101875Q5.4151299999999996,1.54286621875,5.40751,1.5612433187499999Q5.399900000000001,1.57962051875,5.399900000000001,1.59951171875L5.399900000000001,5.49951171875L1.6,5.49951171875Q1.5801091,5.49951171875,1.5617319,5.50712171875Q1.5433547,5.51473171875,1.5292894,5.52880171875Q1.5152241,5.54286171875,1.50761207,5.56124171875Q1.5,5.57962171875,1.5,5.59951171875L1.5,6.54951171875Q1.5,6.56940171875,1.50761207,6.58778171875Q1.5152241,6.60615171875,1.5292894,6.62022171875Q1.5433547,6.63429171875,1.5617319,6.64190171875Q1.5801091,6.64951171875,1.6,6.64951171875L5.399900000000001,6.64951171875Z" fill-rule="evenodd" fill="#fff" fill-opacity="1"/></g></g></svg> |
sight_harmony/features/wdComponent/src/main/resources/rawfile/apph5/image/dark/sourceIocnNew.svg
0 → 100644
| 1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="3" height="14" viewBox="0 0 3 14"><g><path d="M0.5,0L2.5,0C2.77614,0,3,0.223858,3,0.5L3,12.6417C3,12.857,2.86212,13.0482,2.65778,13.1161L0.657784,13.7812C0.334082,13.8889,0,13.6479,0,13.3068L0,0.5C0,0.223858,0.223858,0,0.5,0" fill-rule="evenodd" fill="#555555" fill-opacity="1"/></g></svg> |
| 1 | -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="24" height="13.90625" viewBox="0 0 24 13.90625"><g><g transform="matrix(-1,0,0,-1,48,27.813674926757812)" style="opacity:0.20000000298023224;"><path d="M34,13.906837463378901L24,13.906837463378901L24,21.630117463378905L26.649259999999998,21.630117463378905C26.649259999999998,21.630117463378905,26.5212,23.678727463378905,24,24.312037463378907L24,27.813637463378907C24,27.813637463378907,33.615449999999996,26.174437463378908,34,19.283107463378904L34,13.906837463378901Z" fill-rule="evenodd" fill="#B71D26" fill-opacity="1"/></g><g transform="matrix(-1,0,0,-1,20,27.813674926757812)" style="opacity:0.20000000298023224;"><path d="M20,13.906837463378901L10,13.906837463378901L10,21.630117463378905L12.64926,21.630117463378905C12.64926,21.630117463378905,12.5212,23.678727463378905,10,24.312037463378907L10,27.813637463378907C10,27.813637463378907,19.61545,26.174437463378908,20,19.283107463378904L20,13.906837463378901Z" fill-rule="evenodd" fill="#B71D26" fill-opacity="1"/></g></g></svg> | ||
| 1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="24" height="15" viewBox="0 0 24 15"><g><g transform="matrix(-1,0,0,-1,48,30)" style="opacity:0.20000000298023224;"><path d="M34,14.999999999999993L24,14.999999999999993L24,23.330379999999998L26.649259999999998,23.330379999999998C26.649259999999998,23.330379999999998,26.5212,25.54,24,26.223100000000002L24,30C24,30,33.615449999999996,28.232,34,20.79888L34,14.999999999999993Z" fill-rule="evenodd" fill="#ED2800" fill-opacity="1"/></g><g transform="matrix(-1,0,0,-1,20,30)" style="opacity:0.20000000298023224;"><path d="M20,14.999999999999993L10,14.999999999999993L10,23.330379999999998L12.64926,23.330379999999998C12.64926,23.330379999999998,12.5212,25.54,10,26.223100000000002L10,30C10,30,19.61545,28.232,20,20.79888L20,14.999999999999993Z" fill-rule="evenodd" fill="#ED2800" fill-opacity="1"/></g></g></svg> |
| 1 | -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g transform="matrix(-1,0,0,1,22.797557830810547,0)"><path d="M17.302778915405273,2.0074672451339723L11.457366515405273,7.852883645133972Q11.398519692405273,7.911733645133972,11.398789225305274,7.994953645133972Q11.398519692405273,8.078173645133973,11.457366515405273,8.137023645133972L17.302778915405273,13.982453645133972Q17.330908915405274,14.010553645133973,17.367668915405275,14.025753645133973Q17.404418915405273,14.041053645133973,17.444198915405273,14.041053645133973Q17.483988915405273,14.041053645133973,17.520738915405275,14.025753645133973Q17.557498915405272,14.010553645133973,17.585628915405273,13.982453645133972L18.387008915405275,13.181053645133971Q18.415138915405272,13.152953645133973,18.430368915405275,13.116153645133972Q18.445588915405274,13.079453645133972,18.445588915405274,13.039653645133972Q18.445588915405274,12.999853645133973,18.430368915405275,12.963053645133972Q18.415138915405272,12.926353645133972,18.387008915405275,12.898253645133972L13.483758915405273,7.994953645133972L18.387008915405275,3.0916936451339723Q18.415138915405272,3.0635636451339723,18.430368915405275,3.026813645133972Q18.445588915405274,2.990053645133972,18.445588915405274,2.950273645133972Q18.445588915405274,2.9104936451339722,18.430368915405275,2.873739645133972Q18.415138915405272,2.8369856451339723,18.387008915405275,2.808854645133972L17.585628915405273,2.0074672451339723Q17.527048915405274,1.9488885511339722,17.444208915405273,1.9488885491339722Q17.361358915405273,1.948888547133972,17.302778915405273,2.0074672451339723Z" fill-rule="evenodd" fill="#222222" fill-opacity="1"/></g></g></svg> | ||
| 1 | +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g transform="matrix(-1,0,0,1,22.797374725341797,0)"><path d="M17.3021873626709,2.0081135166519166L11.456771362670898,7.853531716651917Q11.397924599670898,7.912381716651916,11.398194132670898,7.995601716651916Q11.397924599670898,8.078821716651916,11.456771362670898,8.137671716651916L17.3021873626709,13.983111716651916Q17.330317362670897,14.011211716651916,17.3670673626709,14.026411716651916Q17.4038273626709,14.041611716651916,17.4436073626709,14.041611716651916Q17.483387362670896,14.041611716651916,17.520147362670897,14.026411716651916Q17.5568973626709,14.011211716651916,17.5850273626709,13.983111716651916L18.386417362670898,13.181711716651916Q18.4145473626709,13.153611716651916,18.429777362670897,13.116811716651917Q18.444997362670897,13.080011716651917,18.444997362670897,13.040311716651917Q18.444997362670897,13.000511716651916,18.429767362670898,12.963711716651916Q18.4145473626709,12.927011716651917,18.386417362670898,12.898811716651917L13.483167362670898,7.995601716651916L18.386417362670898,3.0923417166519167Q18.4145473626709,3.0642117166519167,18.429777362670897,3.027461716651916Q18.444997362670897,2.9907017166519165,18.444997362670897,2.9509217166519166Q18.444997362670897,2.9111397166519164,18.429767362670898,2.8743857166519167Q18.4145473626709,2.8376317166519165,18.386417362670898,2.8095017166519165L17.5850273626709,2.0081135166519166Q17.5264473626709,1.9495348996519164,17.4436073626709,1.9495349016519166Q17.3607673626709,1.9495349036519165,17.3021873626709,2.0081135166519166Z" fill-rule="evenodd" fill="#222222" fill-opacity="1"/></g></g></svg> |
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | -<html lang="zh" style="font-size: 37.5px"> | 2 | +<html lang="zh" style="font-size: 37.5px;--appFontSize: 1;"> |
| 3 | 3 | ||
| 4 | <head> | 4 | <head> |
| 5 | <!-- 声明文档使用的字符编码 --> | 5 | <!-- 声明文档使用的字符编码 --> |
| @@ -14,60 +14,33 @@ | @@ -14,60 +14,33 @@ | ||
| 14 | <meta name="apple-mobile-web-app-capable" content="yes" /> | 14 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 15 | <!-- 设置苹果工具栏颜色 --> | 15 | <!-- 设置苹果工具栏颜色 --> |
| 16 | <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | 16 | <meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
| 17 | -<!-- <script src="./js/plugin/vconsole.min.js"></script>--> | 17 | + <style type="text/css" id="voteAnimate"></style> |
| 18 | + <script src="./js/utils/config.js"></script> | ||
| 18 | <script> | 19 | <script> |
| 19 | - //new VConsole() | ||
| 20 | - var hasDetails = false | ||
| 21 | - | ||
| 22 | - function getTime() { | ||
| 23 | - const now = new Date() | ||
| 24 | - | ||
| 25 | - const hours = now.getHours().toString().padStart(2, '0') | ||
| 26 | - const minutes = now.getMinutes().toString().padStart(2, '0') | ||
| 27 | - const seconds = now.getSeconds().toString().padStart(2, '0') | ||
| 28 | - const secondss = now.getMilliseconds().toString().padStart(2, '0') | ||
| 29 | - | ||
| 30 | - return `${hours}:${minutes}:${seconds}:${secondss}` | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - var firstTime = new Date() | ||
| 34 | - | ||
| 35 | - // console.log('页面开始加载资源:' + getTime()) | ||
| 36 | - </script> | ||
| 37 | - <script> | ||
| 38 | - var hasDetails = false | ||
| 39 | - var pageLoadOutTime = null | ||
| 40 | - | ||
| 41 | - function checkPageLoadingTimeOut() { | ||
| 42 | - clearTimeout(pageLoadOutTime) | ||
| 43 | - pageLoadOutTime = null | ||
| 44 | - | ||
| 45 | - pageLoadOutTime = setTimeout(() => { | ||
| 46 | - clearTimeout(pageLoadOutTime) | ||
| 47 | - pageLoadOutTime = null | ||
| 48 | - if (!hasDetails) { | ||
| 49 | - console.log(`页面展示超过${200}毫秒`) | ||
| 50 | - if (document.querySelector('.error-block').style.display === 'block') { | ||
| 51 | - return | ||
| 52 | - } | ||
| 53 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 54 | - document.querySelector('.skeleton-loading').classList.remove('active') | ||
| 55 | - } | ||
| 56 | - } else { | ||
| 57 | - // console.log(`页面展示小于${time}毫秒`) | ||
| 58 | - } | ||
| 59 | - }, 200) | 20 | + /** |
| 21 | + * @Author gx12358 | ||
| 22 | + * @DateTime 2024/7/31 | ||
| 23 | + * @lastTime 2024/7/31 | ||
| 24 | + * @description 打开 - vconsole | ||
| 25 | + */ | ||
| 26 | + function vconsoleFun() { | ||
| 27 | + if (window.config.VUE_BASE_NODE !== 'prod') { | ||
| 28 | + new VConsole() | ||
| 29 | + } | ||
| 60 | } | 30 | } |
| 61 | </script> | 31 | </script> |
| 32 | +<!-- <script src="./js/plugin/vconsole.min.js" onload="vconsoleFun(this)"></script>--> | ||
| 33 | + <script src="./js/utils/initialization.js"></script> | ||
| 62 | <script src="./js/plugin/rem.js"></script> | 34 | <script src="./js/plugin/rem.js"></script> |
| 63 | <script src="./js/utils/nativeUtil.js"></script> | 35 | <script src="./js/utils/nativeUtil.js"></script> |
| 64 | <!-- 引入样式文件 --> | 36 | <!-- 引入样式文件 --> |
| 65 | - <link rel="stylesheet" href="./css/global.css" /> | 37 | + <!--<link rel="stylesheet" href="./css/global.css" />--> |
| 66 | <link rel="stylesheet" href="./css/prodGlobal.css" /> | 38 | <link rel="stylesheet" href="./css/prodGlobal.css" /> |
| 67 | - <link rel="stylesheet" href="./css/index.css" /> | 39 | + <!--<link rel="stylesheet" href="./css/index.css" />--> |
| 68 | <link rel="stylesheet" href="./css/prodIndex.css" /> | 40 | <link rel="stylesheet" href="./css/prodIndex.css" /> |
| 41 | + <!--<link rel="stylesheet" href="./css/fontSize.css" />--> | ||
| 42 | + <link rel="stylesheet" href="./css/prodFontSize.css" /> | ||
| 69 | <!-- 引入基本js文件 --> | 43 | <!-- 引入基本js文件 --> |
| 70 | - <script src="./js/utils/config.js"></script> | ||
| 71 | </head> | 44 | </head> |
| 72 | 45 | ||
| 73 | <body> | 46 | <body> |
| @@ -184,6 +157,12 @@ | @@ -184,6 +157,12 @@ | ||
| 184 | <div id="app" class="fixed"> | 157 | <div id="app" class="fixed"> |
| 185 | <div class="gx-mobile" :class="[ isNewspaper ? 'newspaper-article' : 'rmrb-article', deviceType ]"> | 158 | <div class="gx-mobile" :class="[ isNewspaper ? 'newspaper-article' : 'rmrb-article', deviceType ]"> |
| 186 | <div class="reload-page" v-if="baseNode == 'dev'" @click="mockAppClearData">模拟app复用重新加载</div> | 159 | <div class="reload-page" v-if="baseNode == 'dev'" @click="mockAppClearData">模拟app复用重新加载</div> |
| 160 | + <div> | ||
| 161 | + <div class="reload-page" v-if="baseNode == 'dev'" @click="changeAppFontSize">模拟app切换字体大小</div> | ||
| 162 | + </div> | ||
| 163 | + <div> | ||
| 164 | + <div class="reload-page" v-if="baseNode == 'dev'" @click="changeAppError">模拟app错误场景</div> | ||
| 165 | + </div> | ||
| 187 | <!-- 肩标题 --> | 166 | <!-- 肩标题 --> |
| 188 | <div class="short-title droidSerif" v-if="!!details.newsShortTitle" v-html="details.newsShortTitle"></div> | 167 | <div class="short-title droidSerif" v-if="!!details.newsShortTitle" v-html="details.newsShortTitle"></div> |
| 189 | <!-- 顶部标题 --> | 168 | <!-- 顶部标题 --> |
| @@ -199,14 +178,22 @@ | @@ -199,14 +178,22 @@ | ||
| 199 | :class="hasReadCount ? '' : details.newsSourceName || (details.author && details.author.length) ? '' : 'hidden-extra'" | 178 | :class="hasReadCount ? '' : details.newsSourceName || (details.author && details.author.length) ? '' : 'hidden-extra'" |
| 200 | > | 179 | > |
| 201 | <div class="article-source-icon"></div> | 180 | <div class="article-source-icon"></div> |
| 202 | - <span class="article-source" v-if="details.newsSourceName && !isRmh">{{ details.newsSourceName }}</span> | ||
| 203 | - <span class="article-source" v-if="details.rmhName && isRmh">{{ details.rmhName }}</span> | ||
| 204 | - <template v-if="details.author && details.author.length && !isRmh"> | ||
| 205 | - <span class="author-item" v-for="item in details.author" :key="item"> | ||
| 206 | - {{ item }} | 181 | + <div class="article-source"> |
| 182 | + <template v-if="details.newsSourceName && !isRmh"> | ||
| 183 | + {{ details.newsSourceName }} | ||
| 184 | + </template> | ||
| 185 | + <template v-if="details.rmhName && isRmh"> | ||
| 186 | + {{ details.rmhName }} | ||
| 187 | + </template> | ||
| 188 | + <template v-if="details.author && details.author.length && !isRmh"> | ||
| 189 | + <span class="author-item" v-for="(item, index) in details.author" :key="item" :style="{ marginRight: index === details.author.length - 1 ? '0' : '' }"> | ||
| 190 | + {{ item }} | ||
| 191 | + </span> | ||
| 192 | + </template> | ||
| 193 | + <span class="browseCntStr" v-if="browseStr"> | ||
| 194 | + {{ browseStr }} | ||
| 207 | </span> | 195 | </span> |
| 208 | - </template> | ||
| 209 | - <span class="browseCntStr" v-if="!isRmh"></span> | 196 | + </div> |
| 210 | </div> | 197 | </div> |
| 211 | <!-- 篇头跳转 --> | 198 | <!-- 篇头跳转 --> |
| 212 | <div class="head-link-block" v-if="hasHeadLink" @click="moreInformationClick"> | 199 | <div class="head-link-block" v-if="hasHeadLink" @click="moreInformationClick"> |
| @@ -257,55 +244,46 @@ | @@ -257,55 +244,46 @@ | ||
| 257 | <div class="content-block"> | 244 | <div class="content-block"> |
| 258 | <div class="content droidSerif detail-font" id="newsContent"></div> | 245 | <div class="content droidSerif detail-font" id="newsContent"></div> |
| 259 | </div> | 246 | </div> |
| 260 | - <!-- 责任编辑 --> | ||
| 261 | - <div class="editor-charge" v-if="(!details.rmhInfo) && (details.editorName)"> | ||
| 262 | - 责任编辑:{{ details.editorName }} | ||
| 263 | - </div> | ||
| 264 | - <div class="statement" v-if="isRmh && details.rmhInfo && details.rmhInfo.userType != 5"> | ||
| 265 | - 特别声明:本文为人民日报新媒体平台“人民号”作者上传并发布,仅代表作者观点。人民日报仅提供信息发布平台。 | ||
| 266 | - </div> | ||
| 267 | <!-- 投票 --> | 247 | <!-- 投票 --> |
| 268 | - <div class="vote" v-if="details.voteInfo && Object.keys(details.voteInfo).length > 0 && details.options"> | 248 | + <div |
| 249 | + class="vote" | ||
| 250 | + v-if="details.voteInfo && Object.keys(details.voteInfo).length > 0 && voteOtions.length > 0" | ||
| 251 | + > | ||
| 269 | <div class="vote-title droidSerif-bold">{{ details.voteInfo.title }}</div> | 252 | <div class="vote-title droidSerif-bold">{{ details.voteInfo.title }}</div> |
| 270 | <!-- style = 1 二选一 --> | 253 | <!-- style = 1 二选一 --> |
| 271 | <div v-if="details.voteInfo && details.voteInfo.style === 1 && voteInit"> | 254 | <div v-if="details.voteInfo && details.voteInfo.style === 1 && voteInit"> |
| 272 | <!-- 投票前 --> | 255 | <!-- 投票前 --> |
| 273 | <div class="btns1" v-if="voteState.status === 0 && details.endTimePoint"> | 256 | <div class="btns1" v-if="voteState.status === 0 && details.endTimePoint"> |
| 274 | - <div class="s s1 none" :style="optionList.length ? { ...optionList[0].oneStyle, width: '50%', background: optionList[0].backColor || undefined, color: optionList[0].wordColor || undefined } : {}"> | ||
| 275 | - {{ details.yes.summary }} | ||
| 276 | - </div> | ||
| 277 | - <div class="s s2 none" :style="optionList.length ? { ...optionList[0].twoStyle, width: '50%', background: optionList[1].backColor || undefined, color: optionList[1].wordColor || undefined } : {}"> | ||
| 278 | - {{ details.no.summary }} | ||
| 279 | - </div> | ||
| 280 | <div | 257 | <div |
| 281 | - class="s s1 active" | ||
| 282 | - :style="optionList.length ? { ...optionList[0].oneStyle, width: 'calc(50% + 2.5px)', background: optionList[0].backColor || undefined, color: optionList[0].wordColor || undefined } : {}" | ||
| 283 | - @click="goVote(details.voteInfo.voteId , details.yes.optionId , details.yes.index)" | 258 | + :class="[ 's', `s${index + 1}`, 'none' ]" |
| 259 | + :style="index === 0 ? item.oneStyle : item.twoStyle" | ||
| 260 | + v-for="(item, index) in optionList" | ||
| 261 | + :key="index" | ||
| 284 | > | 262 | > |
| 285 | - {{ details.yes.summary }} | 263 | + {{ item.summary }} |
| 286 | </div> | 264 | </div> |
| 287 | <div | 265 | <div |
| 288 | - class="s s2 active" | ||
| 289 | - :style="optionList.length ? { ...optionList[0].twoStyle, width: 'calc(50% + 2.5px)', background: optionList[1].backColor || undefined, color: optionList[1].wordColor || undefined } : {}" | ||
| 290 | - @click="goVote(details.voteInfo.voteId , details.no.optionId , details.no.index)" | 266 | + :class="[ 's', `s${index + 1}`, 'active' ]" |
| 267 | + :style="index === 0 ? item.oneStyleFront : item.twoStyleFront" | ||
| 268 | + v-for="(item, index) in optionList" | ||
| 269 | + :key="index" | ||
| 270 | + @click="goVote(details.voteInfo.voteId , item.optionId , item.index)" | ||
| 291 | > | 271 | > |
| 292 | - {{ details.no.summary }} | 272 | + {{ item.summary }} |
| 293 | </div> | 273 | </div> |
| 294 | </div> | 274 | </div> |
| 295 | <!-- 投票后 --> | 275 | <!-- 投票后 --> |
| 296 | <div class="aft anmite-vote" v-if="voteState.status == 1 || !details.endTimePoint"> | 276 | <div class="aft anmite-vote" v-if="voteState.status == 1 || !details.endTimePoint"> |
| 297 | - <div class="jdat"> | 277 | + <div class="jdat" v-if="optionList.length"> |
| 298 | <div class="pkjd-box" v-if="optionList[0].votesBf != 0 || optionList[1].votesBf != 0"> | 278 | <div class="pkjd-box" v-if="optionList[0].votesBf != 0 || optionList[1].votesBf != 0"> |
| 299 | <span | 279 | <span |
| 300 | class="s s1" | 280 | class="s s1" |
| 301 | - :style="optionList.length ? { ...optionList[0].oneStyleAfter, background: optionList[0].backColor || undefined } : {}" | ||
| 302 | - > | ||
| 303 | - </span> | ||
| 304 | - <span | 281 | + :style="optionList.length ? optionList[0].oneStyleAfter : undefined" |
| 282 | + ></span> | ||
| 283 | + <spsn | ||
| 305 | class="s s2" | 284 | class="s s2" |
| 306 | - :style="optionList.length ? { ...optionList[0].twoStyleAfter, background: optionList[1].backColor || undefined } : {}" | ||
| 307 | - > | ||
| 308 | - </span> | 285 | + :style="optionList.length ? optionList[1].twoStyleAfter : undefined" |
| 286 | + ></spsn> | ||
| 309 | </div> | 287 | </div> |
| 310 | <span | 288 | <span |
| 311 | v-if="optionList[0].votesBf === 0 && optionList[1].votesBf === 0" | 289 | v-if="optionList[0].votesBf === 0 && optionList[1].votesBf === 0" |
| @@ -326,10 +304,23 @@ | @@ -326,10 +304,23 @@ | ||
| 326 | {{ optionList[0].votesBf }}% | 304 | {{ optionList[0].votesBf }}% |
| 327 | </span> | 305 | </span> |
| 328 | <span class="lt-s2">{{ details.yes.summary }}</span> | 306 | <span class="lt-s2">{{ details.yes.summary }}</span> |
| 329 | - <svg v-if="bcIndex === 1 || voteState.optionId === details.yes.optionId" style="margin-left: 0.10666666666666667rem" class="vote-image-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="0.32rem" height="0.32rem" viewBox="0 0 12 12"><g><g><path d="M10.92426,3.424264Q11.00865,3.339873,11.05433,3.22961Q11.1,3.119347,11.1,3Q11.1,2.9409052,11.08847,2.882946Q11.07694,2.824986,11.05433,2.77039Q11.03171,2.715793,10.99888,2.666658Q10.96605,2.617522,10.92426,2.575736Q10.88248,2.53395,10.83334,2.501118Q10.78421,2.468287,10.72961,2.445672Q10.67501,2.423058,10.61705,2.411529Q10.55909,2.4,10.5,2.4Q10.38065,2.4,10.27039,2.445672Q10.16013,2.491345,10.07574,2.575736L10.07558,2.575891L5,7.65147L2.424481,5.075950000000001L2.424264,5.07574Q2.339873,4.99134,2.22961,4.94567Q2.119347,4.9,2,4.9Q1.9409052,4.9,1.882946,4.91153Q1.824986,4.9230599999999995,1.77039,4.94567Q1.7157930000000001,4.96829,1.666658,5.00112Q1.6175220000000001,5.03395,1.575736,5.07574Q1.53395,5.11752,1.501118,5.16666Q1.4682870000000001,5.21579,1.445672,5.27039Q1.4230580000000002,5.32499,1.411529,5.38295Q1.4,5.4409,1.4,5.5Q1.4,5.61935,1.445672,5.72961Q1.491345,5.8398699999999995,1.575736,5.92426L1.5758429999999999,5.92437L4.22218,8.57071Q4.54437,8.892890000000001,5,8.892890000000001Q5.45563,8.892890000000001,5.77782,8.57071L10.92386,3.424673L10.92426,3.424264L10.92426,3.424264Z" fill-rule="evenodd" :fill="optionList.length ? optionList[0].backColor || '#496FFF' : '#496FFF'" fill-opacity="1"/></g></g></svg> | 307 | + <svg v-if="bcIndex === 1 || voteState.optionId === details.yes.optionId" style="margin-left: 0.10666666666666667rem" class="vote-image-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="0.32rem" height="0.32rem" viewBox="0 0 12 12"> |
| 308 | + <g> | ||
| 309 | + <g> | ||
| 310 | + <path d="M10.92426,3.424264Q11.00865,3.339873,11.05433,3.22961Q11.1,3.119347,11.1,3Q11.1,2.9409052,11.08847,2.882946Q11.07694,2.824986,11.05433,2.77039Q11.03171,2.715793,10.99888,2.666658Q10.96605,2.617522,10.92426,2.575736Q10.88248,2.53395,10.83334,2.501118Q10.78421,2.468287,10.72961,2.445672Q10.67501,2.423058,10.61705,2.411529Q10.55909,2.4,10.5,2.4Q10.38065,2.4,10.27039,2.445672Q10.16013,2.491345,10.07574,2.575736L10.07558,2.575891L5,7.65147L2.424481,5.075950000000001L2.424264,5.07574Q2.339873,4.99134,2.22961,4.94567Q2.119347,4.9,2,4.9Q1.9409052,4.9,1.882946,4.91153Q1.824986,4.9230599999999995,1.77039,4.94567Q1.7157930000000001,4.96829,1.666658,5.00112Q1.6175220000000001,5.03395,1.575736,5.07574Q1.53395,5.11752,1.501118,5.16666Q1.4682870000000001,5.21579,1.445672,5.27039Q1.4230580000000002,5.32499,1.411529,5.38295Q1.4,5.4409,1.4,5.5Q1.4,5.61935,1.445672,5.72961Q1.491345,5.8398699999999995,1.575736,5.92426L1.5758429999999999,5.92437L4.22218,8.57071Q4.54437,8.892890000000001,5,8.892890000000001Q5.45563,8.892890000000001,5.77782,8.57071L10.92386,3.424673L10.92426,3.424264L10.92426,3.424264Z" fill-rule="evenodd" :fill="optionList.length ? optionList[0].backColor || '#496FFF' : '#496FFF'" fill-opacity="1" /> | ||
| 311 | + </g> | ||
| 312 | + </g> | ||
| 313 | + </svg> | ||
| 330 | </div> | 314 | </div> |
| 331 | <div class="rt"> | 315 | <div class="rt"> |
| 332 | - <svg v-if="bcIndex === 2 || voteState.optionId === details.no.optionId" style="margin-right: 0.10666666666666667rem" class="vote-image-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><g><g><path d="" fill="#50BDE7" fill-opacity="1"/><path d="M10.92426,3.424264Q11.00865,3.339873,11.05433,3.22961Q11.1,3.119347,11.1,3Q11.1,2.9409052,11.08847,2.882946Q11.07694,2.824986,11.05433,2.77039Q11.03171,2.715793,10.99888,2.666658Q10.96605,2.617522,10.92426,2.575736Q10.88248,2.53395,10.83334,2.501118Q10.78421,2.468287,10.72961,2.445672Q10.67501,2.423058,10.61705,2.411529Q10.55909,2.4,10.5,2.4Q10.38065,2.4,10.27039,2.445672Q10.16013,2.491345,10.07574,2.575736L10.07558,2.575891L5,7.65147L2.424481,5.075950000000001L2.424264,5.07574Q2.339873,4.99134,2.22961,4.94567Q2.119347,4.9,2,4.9Q1.9409052,4.9,1.882946,4.91153Q1.824986,4.9230599999999995,1.77039,4.94567Q1.7157930000000001,4.96829,1.666658,5.00112Q1.6175220000000001,5.03395,1.575736,5.07574Q1.53395,5.11752,1.501118,5.16666Q1.4682870000000001,5.21579,1.445672,5.27039Q1.4230580000000002,5.32499,1.411529,5.38295Q1.4,5.4409,1.4,5.5Q1.4,5.61935,1.445672,5.72961Q1.491345,5.8398699999999995,1.575736,5.92426L1.5758429999999999,5.92437L4.22218,8.57071Q4.54437,8.892890000000001,5,8.892890000000001Q5.45563,8.892890000000001,5.77782,8.57071L10.92386,3.424673L10.92426,3.424264L10.92426,3.424264Z" fill-rule="evenodd" :fill="optionList.length ? optionList[1].backColor || '#50BDE7' : '#50BDE7'" fill-opacity="1"/></g></g></svg> | 316 | + <svg v-if="bcIndex === 2 || voteState.optionId === details.no.optionId" style="margin-right: 0.10666666666666667rem" class="vote-image-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"> |
| 317 | + <g> | ||
| 318 | + <g> | ||
| 319 | + <path d="" fill="#50BDE7" fill-opacity="1" /> | ||
| 320 | + <path d="M10.92426,3.424264Q11.00865,3.339873,11.05433,3.22961Q11.1,3.119347,11.1,3Q11.1,2.9409052,11.08847,2.882946Q11.07694,2.824986,11.05433,2.77039Q11.03171,2.715793,10.99888,2.666658Q10.96605,2.617522,10.92426,2.575736Q10.88248,2.53395,10.83334,2.501118Q10.78421,2.468287,10.72961,2.445672Q10.67501,2.423058,10.61705,2.411529Q10.55909,2.4,10.5,2.4Q10.38065,2.4,10.27039,2.445672Q10.16013,2.491345,10.07574,2.575736L10.07558,2.575891L5,7.65147L2.424481,5.075950000000001L2.424264,5.07574Q2.339873,4.99134,2.22961,4.94567Q2.119347,4.9,2,4.9Q1.9409052,4.9,1.882946,4.91153Q1.824986,4.9230599999999995,1.77039,4.94567Q1.7157930000000001,4.96829,1.666658,5.00112Q1.6175220000000001,5.03395,1.575736,5.07574Q1.53395,5.11752,1.501118,5.16666Q1.4682870000000001,5.21579,1.445672,5.27039Q1.4230580000000002,5.32499,1.411529,5.38295Q1.4,5.4409,1.4,5.5Q1.4,5.61935,1.445672,5.72961Q1.491345,5.8398699999999995,1.575736,5.92426L1.5758429999999999,5.92437L4.22218,8.57071Q4.54437,8.892890000000001,5,8.892890000000001Q5.45563,8.892890000000001,5.77782,8.57071L10.92386,3.424673L10.92426,3.424264L10.92426,3.424264Z" fill-rule="evenodd" :fill="optionList.length ? optionList[1].backColor || '#50BDE7' : '#50BDE7'" fill-opacity="1" /> | ||
| 321 | + </g> | ||
| 322 | + </g> | ||
| 323 | + </svg> | ||
| 333 | <span class="lt-s2">{{ details.no.summary }}</span> | 324 | <span class="lt-s2">{{ details.no.summary }}</span> |
| 334 | <span | 325 | <span |
| 335 | class="lt-s1 rtbf" | 326 | class="lt-s1 rtbf" |
| @@ -346,10 +337,10 @@ | @@ -346,10 +337,10 @@ | ||
| 346 | <div v-if="details.voteInfo && details.voteInfo.style === 2 && voteInit"> | 337 | <div v-if="details.voteInfo && details.voteInfo.style === 2 && voteInit"> |
| 347 | <!-- 投票前 --> | 338 | <!-- 投票前 --> |
| 348 | <div v-if="voteState.status === 0 && details.endTimePoint"> | 339 | <div v-if="voteState.status === 0 && details.endTimePoint"> |
| 349 | - <div :class="['bts2', canSeeBtnOne ? details.options.length >= 0 ? '' : 'mht' : 'mht']"> | 340 | + <div :class="['bts2', canSeeBtnOne ? voteOtions.length >= 0 ? '' : 'mht' : 'mht']"> |
| 350 | <div | 341 | <div |
| 351 | class="btsIem" | 342 | class="btsIem" |
| 352 | - v-for="et in details.options" | 343 | + v-for="et in voteOtions" |
| 353 | :key="et.index" | 344 | :key="et.index" |
| 354 | @click="goVote(details.voteInfo.voteId , et.optionId , et.index)" | 345 | @click="goVote(details.voteInfo.voteId , et.optionId , et.index)" |
| 355 | > | 346 | > |
| @@ -385,18 +376,16 @@ | @@ -385,18 +376,16 @@ | ||
| 385 | </div> | 376 | </div> |
| 386 | </div> | 377 | </div> |
| 387 | </div> | 378 | </div> |
| 388 | - <div | ||
| 389 | - class="vote-line" | ||
| 390 | - v-if="voteInit && details.voteInfo && Object.keys(details.voteInfo).length > 0 && details.options && shareOpen && timeLine.data.length === 0" | ||
| 391 | - > | 379 | + <!-- 责任编辑 --> |
| 380 | + <div class="editor-charge" v-if="(!details.rmhInfo) && (details.editorName)"> | ||
| 381 | + 责任编辑:{{ details.editorName }} | ||
| 382 | + </div> | ||
| 383 | + <div class="statement" v-if="isRmh && details.rmhInfo && details.rmhInfo.userType != 5"> | ||
| 384 | + 特别声明:本文为人民日报新媒体平台“人民号”作者上传并发布,仅代表作者观点。人民日报仅提供信息发布平台。 | ||
| 392 | </div> | 385 | </div> |
| 393 | <!--时间线--> | 386 | <!--时间线--> |
| 394 | <div class="timeline-line" v-if="timeLine.data.length > 0"></div> | 387 | <div class="timeline-line" v-if="timeLine.data.length > 0"></div> |
| 395 | - <div | ||
| 396 | - class="timeline" | ||
| 397 | - v-if="timeLine.data.length > 0" | ||
| 398 | - :style="!shareOpen ? { marginBottom: '0' } : undefined" | ||
| 399 | - > | 388 | + <div class="timeline" v-if="timeLine.data.length > 0"> |
| 400 | <div class="timeline_title" @click="openMoreTimeLine"> | 389 | <div class="timeline_title" @click="openMoreTimeLine"> |
| 401 | {{ timeLine.title }} | 390 | {{ timeLine.title }} |
| 402 | </div> | 391 | </div> |
| @@ -418,14 +407,19 @@ | @@ -418,14 +407,19 @@ | ||
| 418 | </div> | 407 | </div> |
| 419 | </div> | 408 | </div> |
| 420 | <div class="timeline_more" @click="openMoreTimeLine"> | 409 | <div class="timeline_more" @click="openMoreTimeLine"> |
| 421 | - 查看更多 | 410 | + <span>查看更多</span> |
| 422 | <img v-if="darkMode === 'light'" src="./image/timeline_more.svg" alt=""> | 411 | <img v-if="darkMode === 'light'" src="./image/timeline_more.svg" alt=""> |
| 423 | <img v-if="darkMode === 'dark'" src="./image/dark/timeline_more.svg" alt=""> | 412 | <img v-if="darkMode === 'dark'" src="./image/dark/timeline_more.svg" alt=""> |
| 424 | </div> | 413 | </div> |
| 425 | </div> | 414 | </div> |
| 426 | 415 | ||
| 427 | <!-- 活动 --> | 416 | <!-- 活动 --> |
| 428 | - <div class="active-wrapper" v-if="actieInfo.show" @click="openActiveLink"> | 417 | + <div |
| 418 | + class="active-wrapper" | ||
| 419 | + v-if="actieInfo.show" | ||
| 420 | + @click="openActiveLink" | ||
| 421 | + :style="{ marginTop: timeLine.data.length > 0 ? '0.64rem' : undefined }" | ||
| 422 | + > | ||
| 429 | <img class="active-image" :src="actieInfo.coverUrl" alt=""> | 423 | <img class="active-image" :src="actieInfo.coverUrl" alt=""> |
| 430 | <div class="active-title">活动 <span class="active-line"></span> {{ actieInfo.title }}</div> | 424 | <div class="active-title">活动 <span class="active-line"></span> {{ actieInfo.title }}</div> |
| 431 | <img v-if="darkMode === 'light'" class="active-right-icon" src="./image/icon_right.svg" alt=""> | 425 | <img v-if="darkMode === 'light'" class="active-right-icon" src="./image/icon_right.svg" alt=""> |
| @@ -433,12 +427,12 @@ | @@ -433,12 +427,12 @@ | ||
| 433 | </div> | 427 | </div> |
| 434 | 428 | ||
| 435 | <!-- 分享 --> | 429 | <!-- 分享 --> |
| 436 | - <div class="share" v-if="false"> | 430 | + <div class="share" v-if="shareOpen" :style="{ marginTop: actieInfo.show ? '0.64rem' : undefined }"> |
| 437 | <div | 431 | <div |
| 438 | v-if="details.shareInfo.sharePosterOpen == 1" | 432 | v-if="details.shareInfo.sharePosterOpen == 1" |
| 439 | class="sharePoster share-wrapper share-box" | 433 | class="sharePoster share-wrapper share-box" |
| 440 | @click="openShare('8')" | 434 | @click="openShare('8')" |
| 441 | - :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${2/37.5}rem)` : undefined }" | 435 | + :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}%)` : undefined }" |
| 442 | > | 436 | > |
| 443 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/firstStart@1x.png" alt=""> | 437 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/firstStart@1x.png" alt=""> |
| 444 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/firstStart.png" alt=""> | 438 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/firstStart.png" alt=""> |
| @@ -456,7 +450,7 @@ | @@ -456,7 +450,7 @@ | ||
| 456 | class="share-wechat share-wrapper" | 450 | class="share-wechat share-wrapper" |
| 457 | :class="details.shareInfo.sharePosterOpen == 1 ? 'share-box-center center' : 'share-box'" | 451 | :class="details.shareInfo.sharePosterOpen == 1 ? 'share-box-center center' : 'share-box'" |
| 458 | @click="openShare('3')" | 452 | @click="openShare('3')" |
| 459 | - :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${2/37.5}rem)` : `calc(${100/3}% + ${2.5/37.5}rem)` }" | 453 | + :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${5.8/37.5}rem)` : `calc(${100/3}% + ${(7.5/3)/37.5}rem)` }" |
| 460 | > | 454 | > |
| 461 | 455 | ||
| 462 | <template v-if="details.shareInfo.sharePosterOpen == 1"> | 456 | <template v-if="details.shareInfo.sharePosterOpen == 1"> |
| @@ -483,7 +477,7 @@ | @@ -483,7 +477,7 @@ | ||
| 483 | <div | 477 | <div |
| 484 | class="share-wechat-circle share-box-center share-wrapper" | 478 | class="share-wechat-circle share-box-center share-wrapper" |
| 485 | @click="openShare('4')" | 479 | @click="openShare('4')" |
| 486 | - :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${2/37.5}rem)` : `calc(${100/3}% + ${2.5/37.5}rem)` }" | 480 | + :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${5.8/37.5}rem)` : `calc(${100/3}% + ${(7.5/3)/37.5}rem)` }" |
| 487 | > | 481 | > |
| 488 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/secondStart@1x.png" alt=""> | 482 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/secondStart@1x.png" alt=""> |
| 489 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/secondStart.png" alt=""> | 483 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/secondStart.png" alt=""> |
| @@ -499,7 +493,7 @@ | @@ -499,7 +493,7 @@ | ||
| 499 | <div | 493 | <div |
| 500 | class="share-weibo share-box-last share-wrapper" | 494 | class="share-weibo share-box-last share-wrapper" |
| 501 | @click="openShare('5')" | 495 | @click="openShare('5')" |
| 502 | - :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}% + ${2/37.5}rem)` : `calc(${100/3}% + ${2.5/37.5}rem)` }" | 496 | + :style="{ width: details.shareInfo.sharePosterOpen == 1 ? `calc(${100/4}%)` : `calc(${100/3}% + ${(7.5/3)/37.5}rem)` }" |
| 503 | > | 497 | > |
| 504 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/thirdStart@1x.png" alt=""> | 498 | <img v-if="darkMode === 'light'" class="image-first" src="./image/share/thirdStart@1x.png" alt=""> |
| 505 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/thirdStart.png" alt=""> | 499 | <img v-else-if="darkMode === 'dark'" class="image-first" src="./image/dark/thirdStart.png" alt=""> |
| @@ -523,7 +517,9 @@ | @@ -523,7 +517,9 @@ | ||
| 523 | <div id="notice-change" class="hidden" @click="changeMediaPlayStatus"></div> | 517 | <div id="notice-change" class="hidden" @click="changeMediaPlayStatus"></div> |
| 524 | <div id="quitevent-change" class="hidden" @click="quitGraphicDetailPageEvent"></div> | 518 | <div id="quitevent-change" class="hidden" @click="quitGraphicDetailPageEvent"></div> |
| 525 | <div id="reloadBtn" class="hidden" @click="reload"></div> | 519 | <div id="reloadBtn" class="hidden" @click="reload"></div> |
| 526 | - <!--<div id="browseCnt-change" class="hidden" @click="browseCntChange"></div>--> | 520 | + <div id="appFontSize-change" class="hidden" @click="changeAppFontSize"></div> |
| 521 | + <div id="darkMode-change" class="hidden" @click="changeDarkMode"></div> | ||
| 522 | + <div id="state-change" class="hidden" @click="changeState"></div> | ||
| 527 | <!--清理本地状态,一切回到最初值--> | 523 | <!--清理本地状态,一切回到最初值--> |
| 528 | <div id="reloadPage" class="hidden" @click="mockAppClearData"></div> | 524 | <div id="reloadPage" class="hidden" @click="mockAppClearData"></div> |
| 529 | <div id="page-reload-change" class="hidden" @click="pageReloadChange(500)"></div> | 525 | <div id="page-reload-change" class="hidden" @click="pageReloadChange(500)"></div> |
| @@ -536,28 +532,6 @@ | @@ -536,28 +532,6 @@ | ||
| 536 | </div> | 532 | </div> |
| 537 | <div id="hidden"></div> | 533 | <div id="hidden"></div> |
| 538 | <div id="hiddenArticle"></div> | 534 | <div id="hiddenArticle"></div> |
| 539 | -<script> | ||
| 540 | - var slow = false | ||
| 541 | - var fast = false | ||
| 542 | - setTimeout(() => { | ||
| 543 | - if (!fast) { | ||
| 544 | - slow = true | ||
| 545 | - document.querySelector('#app').setAttribute('class', 'fixed') | ||
| 546 | - document | ||
| 547 | - .querySelector('.toast-loading') | ||
| 548 | - .setAttribute('class', 'toast-loading active') | ||
| 549 | - document.querySelector('.error-block').style.display = 'block' | ||
| 550 | - document | ||
| 551 | - .querySelector('.skeleton-loading') | ||
| 552 | - .setAttribute('class', 'skeleton-loading active') | ||
| 553 | - document | ||
| 554 | - .querySelector('.error-block-image img') | ||
| 555 | - .setAttribute('src', './image/no_net.svg') | ||
| 556 | - document.querySelector('.error-block-description-title').innerText = | ||
| 557 | - '暂无网络' | ||
| 558 | - } | ||
| 559 | - }, 10000) | ||
| 560 | -</script> | ||
| 561 | <!-- Plugin 的 JS 文件 --> | 535 | <!-- Plugin 的 JS 文件 --> |
| 562 | <script src="./js/plugin/vue3.min.js"></script> | 536 | <script src="./js/plugin/vue3.min.js"></script> |
| 563 | <script src="./js/plugin/day.min.js"></script> | 537 | <script src="./js/plugin/day.min.js"></script> |
| @@ -566,6 +540,7 @@ | @@ -566,6 +540,7 @@ | ||
| 566 | <!-- common 的 JS 文件 --> | 540 | <!-- common 的 JS 文件 --> |
| 567 | <script src="./js/utils/utils.js"></script> | 541 | <script src="./js/utils/utils.js"></script> |
| 568 | <script src="./js/utils/appUtil.js"></script> | 542 | <script src="./js/utils/appUtil.js"></script> |
| 543 | +<script src="./js/utils/error.js"></script> | ||
| 569 | <script src="./js/utils/domUtil.js"></script> | 544 | <script src="./js/utils/domUtil.js"></script> |
| 570 | <!-- video-en-player 的 JS 文件 --> | 545 | <!-- video-en-player 的 JS 文件 --> |
| 571 | <script defer="defer" src="./js/utils/Player/utils/index.js"></script> | 546 | <script defer="defer" src="./js/utils/Player/utils/index.js"></script> |
| @@ -579,34 +554,15 @@ | @@ -579,34 +554,15 @@ | ||
| 579 | <script defer="defer" src="./js/utils/Player/event/index.js"></script> | 554 | <script defer="defer" src="./js/utils/Player/event/index.js"></script> |
| 580 | <script defer="defer" src="./js/utils/Player/index.js"></script> | 555 | <script defer="defer" src="./js/utils/Player/index.js"></script> |
| 581 | <!-- hooks 的 JS 文件 --> | 556 | <!-- hooks 的 JS 文件 --> |
| 582 | -<script src="./js/hooks/useEditorContent.js"></script> | ||
| 583 | <script src="./js/hooks/useImage.js"></script> | 557 | <script src="./js/hooks/useImage.js"></script> |
| 584 | <script src="./js/hooks/useVideo.js"></script> | 558 | <script src="./js/hooks/useVideo.js"></script> |
| 585 | <script src="./js/hooks/useAudio.js"></script> | 559 | <script src="./js/hooks/useAudio.js"></script> |
| 586 | <script src="./js/hooks/useEchart.js"></script> | 560 | <script src="./js/hooks/useEchart.js"></script> |
| 587 | <script src="./js/hooks/useSwiper.js"></script> | 561 | <script src="./js/hooks/useSwiper.js"></script> |
| 588 | <script src="./js/hooks/useSwiperPoster.js"></script> | 562 | <script src="./js/hooks/useSwiperPoster.js"></script> |
| 563 | +<script src="./js/hooks/useEditorContent.js"></script> | ||
| 589 | <!-- 业务文件 文件 --> | 564 | <!-- 业务文件 文件 --> |
| 590 | <script src="./js/index.js"></script> | 565 | <script src="./js/index.js"></script> |
| 591 | -<script> | ||
| 592 | - if (window.config.VUE_BASE_NODE === 'dev' && !window.config.devApp) { | ||
| 593 | - firstTime = new Date() | ||
| 594 | - checkPageLoadingTimeOut() | ||
| 595 | - } | ||
| 596 | -</script> | ||
| 597 | -<script> | ||
| 598 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 599 | - document.querySelector('.error-block-reload-btn').addEventListener('click', () => { | ||
| 600 | - document.querySelector('#reloadPage').click() | ||
| 601 | - }) | ||
| 602 | - } | ||
| 603 | - | ||
| 604 | - document.querySelector('.error-block-retry-btn').addEventListener('click', () => { | ||
| 605 | - if (document.querySelector('#reloadBtn')) { | ||
| 606 | - document.querySelector('#reloadBtn').click() | ||
| 607 | - } | ||
| 608 | - }) | ||
| 609 | -</script> | 566 | +<script src="./js/utils/loadedEnd.js"></script> |
| 610 | </body> | 567 | </body> |
| 611 | - | ||
| 612 | </html> | 568 | </html> |
| @@ -33,7 +33,11 @@ function useEchart() { | @@ -33,7 +33,11 @@ function useEchart() { | ||
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| 35 | dom.outerHTML = `<div class="en-echart ${isScatter ? 'scatter' : ''}">${!!title ? | 35 | dom.outerHTML = `<div class="en-echart ${isScatter ? 'scatter' : ''}">${!!title ? |
| 36 | - `<div class="en-echart-title droidSerif-bold">${oldOptions.title.text}</div>` : ''}${!!yValueName ? `<div class="en-echart-yname">${yValueName}</div>` : ''}<div class="en-echart-map" style="width: 100%; height: ${type === 'pie' ? 5 : 6.29333}rem; margin: 0 auto;" id="${item.id}"></div></div>` | 36 | + `<div class="en-echart-title droidSerif-bold">${oldOptions.title.text}</div>` : ''}${!!yValueName |
| 37 | + ? `<div class="en-echart-yname">${yValueName}</div>` | ||
| 38 | + : ''}<div class="en-echart-map" style="width: 100%; height: ${type === 'pie' | ||
| 39 | + ? 5 | ||
| 40 | + : 6.29333}rem; margin: 0 auto;" id="${item.id}"></div></div>` | ||
| 37 | } | 41 | } |
| 38 | }) | 42 | }) |
| 39 | setTimeout(() => { | 43 | setTimeout(() => { |
| @@ -102,7 +106,7 @@ function useEchart() { | @@ -102,7 +106,7 @@ function useEchart() { | ||
| 102 | position: 'inner', | 106 | position: 'inner', |
| 103 | formatter: '{d}%', | 107 | formatter: '{d}%', |
| 104 | fontWeight: 'normal', | 108 | fontWeight: 'normal', |
| 105 | - fontSize: `${10/37.5}rem`, | 109 | + fontSize: `${10 / 37.5}rem`, |
| 106 | color: '#fff' | 110 | color: '#fff' |
| 107 | } | 111 | } |
| 108 | }, | 112 | }, |
| @@ -114,15 +118,14 @@ function useEchart() { | @@ -114,15 +118,14 @@ function useEchart() { | ||
| 114 | formatter: '{b}:{c} ({d}%)' | 118 | formatter: '{b}:{c} ({d}%)' |
| 115 | } | 119 | } |
| 116 | } : {} | 120 | } : {} |
| 117 | - const options = { | ||
| 118 | - ...item.option, | 121 | + const options = shallowMerge(item.option, { |
| 119 | backgroundColor: isDark ? '#1d1d1d' : '#fff', | 122 | backgroundColor: isDark ? '#1d1d1d' : '#fff', |
| 120 | grid: { | 123 | grid: { |
| 121 | containLabel: true, | 124 | containLabel: true, |
| 122 | left: '1px', | 125 | left: '1px', |
| 123 | right: '5%', | 126 | right: '5%', |
| 124 | top: type === 'pie' ? '0%' : '6%', | 127 | top: type === 'pie' ? '0%' : '6%', |
| 125 | - bottom: '5%', | 128 | + bottom: '5%' |
| 126 | }, | 129 | }, |
| 127 | dataset: [ | 130 | dataset: [ |
| 128 | { | 131 | { |
| @@ -147,8 +150,7 @@ function useEchart() { | @@ -147,8 +150,7 @@ function useEchart() { | ||
| 147 | } | 150 | } |
| 148 | } : undefined, | 151 | } : undefined, |
| 149 | series: [ | 152 | series: [ |
| 150 | - { | ||
| 151 | - ...item.option.series[0], | 153 | + shallowMerge(item.option.series[0], { |
| 152 | radius: [ '40%', '90%' ], | 154 | radius: [ '40%', '90%' ], |
| 153 | itemStyle: type === 'line' ? { | 155 | itemStyle: type === 'line' ? { |
| 154 | 'color': '#ED2800', | 156 | 'color': '#ED2800', |
| @@ -178,11 +180,10 @@ function useEchart() { | @@ -178,11 +180,10 @@ function useEchart() { | ||
| 178 | ], | 180 | ], |
| 179 | global: false // 缺省为 false | 181 | global: false // 缺省为 false |
| 180 | } | 182 | } |
| 181 | - } : undefined, | ||
| 182 | - ...pie | ||
| 183 | - } | 183 | + } : undefined |
| 184 | + }, pie) | ||
| 184 | ] | 185 | ] |
| 185 | - } | 186 | + }) |
| 186 | try { | 187 | try { |
| 187 | if (isDark) { | 188 | if (isDark) { |
| 188 | if (isArray(options.xAxis)) { | 189 | if (isArray(options.xAxis)) { |
| @@ -247,26 +248,22 @@ function useEchart() { | @@ -247,26 +248,22 @@ function useEchart() { | ||
| 247 | 248 | ||
| 248 | const renderScatter = (chart, item) => { | 249 | const renderScatter = (chart, item) => { |
| 249 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' | 250 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' |
| 250 | - const options = { | ||
| 251 | - ...item.option, | 251 | + const options = shallowMerge(item.option, { |
| 252 | backgroundColor: isDark ? '#1d1d1d' : '#fff', | 252 | backgroundColor: isDark ? '#1d1d1d' : '#fff', |
| 253 | grid: { | 253 | grid: { |
| 254 | containLabel: true, | 254 | containLabel: true, |
| 255 | left: '0%', | 255 | left: '0%', |
| 256 | top: '15%', | 256 | top: '15%', |
| 257 | - bottom: '10%', | 257 | + bottom: '10%' |
| 258 | }, | 258 | }, |
| 259 | dataset: item.option.dataset, | 259 | dataset: item.option.dataset, |
| 260 | series: [ | 260 | series: [ |
| 261 | - { | ||
| 262 | - ...item.option.series[0] | ||
| 263 | - }, | ||
| 264 | - { | ||
| 265 | - ...item.option.series[1], | 261 | + shallowMerge({}, item.option.series[0]), |
| 262 | + shallowMerge(item.option.series[1], { | ||
| 266 | labelLayout: { dx: -60, dy: -10 } | 263 | labelLayout: { dx: -60, dy: -10 } |
| 267 | - } | 264 | + }) |
| 268 | ] | 265 | ] |
| 269 | - } | 266 | + }) |
| 270 | try { | 267 | try { |
| 271 | if (isDark) { | 268 | if (isDark) { |
| 272 | if (isArray(options.xAxis)) { | 269 | if (isArray(options.xAxis)) { |
| @@ -5,13 +5,73 @@ const domUtil = new DomUtil('#newsContent') | @@ -5,13 +5,73 @@ const domUtil = new DomUtil('#newsContent') | ||
| 5 | let audioNoticeEvent = [] | 5 | let audioNoticeEvent = [] |
| 6 | let audioTitleElList = [] | 6 | let audioTitleElList = [] |
| 7 | 7 | ||
| 8 | -function useEditorContent( | ||
| 9 | - details, | ||
| 10 | - netstutas, | ||
| 11 | - audioState, | ||
| 12 | - loadlmageOnlyWifiSwitch, | ||
| 13 | - recordTime | ||
| 14 | -) { | 8 | +function trimContentInBlockTagsUsingDOM(html, inlineTags) { |
| 9 | + // 创建一个容器元素来解析HTML字符串 | ||
| 10 | + const container = document.createElement('div') | ||
| 11 | + container.innerHTML = html | ||
| 12 | + | ||
| 13 | + // 获取所有块级元素 | ||
| 14 | + const blockTags = container.querySelectorAll('*') | ||
| 15 | + | ||
| 16 | + blockTags.forEach(node => { | ||
| 17 | + // 检查是否为块级元素 | ||
| 18 | + if (!inlineTags.includes(node.tagName.toLowerCase())) { | ||
| 19 | + // 遍历其子节点,去除文本节点末尾的空格 | ||
| 20 | + for (let i = node.childNodes.length - 1; i >= 0; i--) { | ||
| 21 | + const child = node.childNodes[i] | ||
| 22 | + if (child.nodeType === Node.TEXT_NODE) { | ||
| 23 | + child.textContent = child.textContent.replace(/\s+$/, '') | ||
| 24 | + } | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | + }) | ||
| 28 | + | ||
| 29 | + // 返回处理后的HTML字符串 | ||
| 30 | + return container.innerHTML | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +function trimContentFirstUsingDOM(html) { | ||
| 34 | + // 创建一个容器元素来解析HTML字符串 | ||
| 35 | + const container = document.createElement('div') | ||
| 36 | + container.innerHTML = html | ||
| 37 | + | ||
| 38 | + // 获取所有块级元素 | ||
| 39 | + const blockTags = Array.from(container.children).map(child => child); | ||
| 40 | + blockTags.forEach(node => { | ||
| 41 | + let firstChild = node.firstChild; | ||
| 42 | + | ||
| 43 | + while (firstChild) { | ||
| 44 | + if (firstChild.nodeType === Node.TEXT_NODE) { | ||
| 45 | + // 如果是文本节点,去除首行空白 | ||
| 46 | + firstChild.textContent = firstChild.textContent.replace(/^\s+/, ''); | ||
| 47 | + break; | ||
| 48 | + } else if (firstChild.nodeType === Node.ELEMENT_NODE) { | ||
| 49 | + // 如果是元素节点,继续找其第一个子元素 | ||
| 50 | + firstChild = firstChild.firstChild; | ||
| 51 | + } else { | ||
| 52 | + // 如果既不是文本节点也不是元素节点,跳出循环 | ||
| 53 | + break; | ||
| 54 | + } | ||
| 55 | + } | ||
| 56 | + }) | ||
| 57 | + | ||
| 58 | + // 返回处理后的HTML字符串 | ||
| 59 | + return container.innerHTML | ||
| 60 | +} | ||
| 61 | + | ||
| 62 | +function clearImgaeLinkStyle(html) { | ||
| 63 | + // 创建一个容器元素来解析HTML字符串 | ||
| 64 | + const container = document.createElement('div') | ||
| 65 | + container.innerHTML = html | ||
| 66 | + | ||
| 67 | + // 获取所有块级元素 | ||
| 68 | + const imageLinkEls = container.querySelectorAll('a[class^="imageLink_"]') | ||
| 69 | + imageLinkEls.forEach(el => el.setAttribute('style', '')) | ||
| 70 | + // 返回处理后的HTML字符串 | ||
| 71 | + return container.innerHTML | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +function useEditorContent(details, netstutas, audioState, loadlmageOnlyWifiSwitch, recordTime) { | ||
| 15 | const { startImage, remove: removeImage, addPreview } = useImage(details, netstutas, loadlmageOnlyWifiSwitch) | 75 | const { startImage, remove: removeImage, addPreview } = useImage(details, netstutas, loadlmageOnlyWifiSwitch) |
| 16 | const { start: startAudio, remove: removeAudio } = useAudio(audioState, details) | 76 | const { start: startAudio, remove: removeAudio } = useAudio(audioState, details) |
| 17 | const { start: startEchart, echartRemove } = useEchart() | 77 | const { start: startEchart, echartRemove } = useEchart() |
| @@ -21,9 +81,7 @@ function useEditorContent( | @@ -21,9 +81,7 @@ function useEditorContent( | ||
| 21 | 81 | ||
| 22 | const startSwiperText = () => { | 82 | const startSwiperText = () => { |
| 23 | const basicWidth = getTextWidth('Trucks wait to load containers at a container terminal in Rizhao。', { | 83 | const basicWidth = getTextWidth('Trucks wait to load containers at a container terminal in Rizhao。', { |
| 24 | - fontSize: '0.32rem', | ||
| 25 | - whiteSpace: 'nowrap', | ||
| 26 | - paddingLeft: '1.06666667rem' | 84 | + fontSize: '0.32rem', whiteSpace: 'nowrap', paddingLeft: '1.06666667rem' |
| 27 | }) | 85 | }) |
| 28 | const swiperText = document.querySelectorAll('#newsContent .en-scroll-text .swiper-txet') | 86 | const swiperText = document.querySelectorAll('#newsContent .en-scroll-text .swiper-txet') |
| 29 | for (let i = 0; i < swiperText.length; i++) { | 87 | for (let i = 0; i < swiperText.length; i++) { |
| @@ -108,6 +166,17 @@ function useEditorContent( | @@ -108,6 +166,17 @@ function useEditorContent( | ||
| 108 | } | 166 | } |
| 109 | 167 | ||
| 110 | const handleArticleStr = (deleteFirst) => { | 168 | const handleArticleStr = (deleteFirst) => { |
| 169 | + if (!document.querySelector('#newsContent') && window.config.VUE_BASE_NODE === 'dev') { | ||
| 170 | + changeContentHtmlHeight({ type: 'done-before' }) | ||
| 171 | + if (document.querySelector('.error-block').style.display !== 'block') { | ||
| 172 | + appBlock(true) | ||
| 173 | + mobileApp(true) | ||
| 174 | + startShowArticle = true | ||
| 175 | + changeContentHtmlHeight({ type: 'done' }) | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + return | ||
| 179 | + } | ||
| 111 | // console.log(`编辑器内容二次处理开始:${dayjs().format('HH:mm:ss:SSS')} - ${dayjs() | 180 | // console.log(`编辑器内容二次处理开始:${dayjs().format('HH:mm:ss:SSS')} - ${dayjs() |
| 112 | // .diff(recordTime.value, 'millisecond')} - ${dayjs() | 181 | // .diff(recordTime.value, 'millisecond')} - ${dayjs() |
| 113 | // .diff(dayjs(firstTime), 'millisecond')}`) | 182 | // .diff(dayjs(firstTime), 'millisecond')}`) |
| @@ -124,18 +193,27 @@ function useEditorContent( | @@ -124,18 +193,27 @@ function useEditorContent( | ||
| 124 | str = str.replace(/>\s+</g, '><') | 193 | str = str.replace(/>\s+</g, '><') |
| 125 | // 这一步去除开头和末尾的空格 | 194 | // 这一步去除开头和末尾的空格 |
| 126 | str = str.trim() | 195 | str = str.trim() |
| 196 | + str = clearImgaeLinkStyle(str) | ||
| 127 | if (!deleteFirst) { | 197 | if (!deleteFirst) { |
| 128 | str = str.replace(/<br>|<br\/>/g, '') | 198 | str = str.replace(/<br>|<br\/>/g, '') |
| 129 | str = str.replace(/ /g, ' ') | 199 | str = str.replace(/ /g, ' ') |
| 130 | 200 | ||
| 131 | // 首行空格 | 201 | // 首行空格 |
| 132 | - str = str.replace(/<[^>]*>(\s*)/g, function (match, group) { | ||
| 133 | - return '<' + match.substring(1, match.length - group.length) | ||
| 134 | - }) | ||
| 135 | - // 末尾空格 | ||
| 136 | - str = str.replace(/(<\w+[^>]*>)\s*(.*?)\s*(<\/\w+>)/g, function (match, openTag, content, closeTag) { | ||
| 137 | - return openTag + content.trim() + closeTag | ||
| 138 | - }) | 202 | + str = trimContentFirstUsingDOM(str) |
| 203 | + // str = str.replace(/<[^>]*>(\s*)/g, function (match, group) { | ||
| 204 | + // return '<' + match.substring(1, match.length - group.length) | ||
| 205 | + // }) | ||
| 206 | + // console.log(str) | ||
| 207 | + const inlineLevelTags = [ 'span', 'em', 'i', 'b', 'a', 'strong' ] | ||
| 208 | + // const inlineLevelTags = [] | ||
| 209 | + // 末尾空格判断 | ||
| 210 | + if (inlineLevelTags.length > 0) { | ||
| 211 | + str = trimContentInBlockTagsUsingDOM(str, inlineLevelTags) | ||
| 212 | + } else { | ||
| 213 | + str = str.replace(/(<\w+[^>]*>)\s*(.*?)\s*(<\/\w+>)/g, function (match, openTag, content, closeTag) { | ||
| 214 | + return openTag + content.trim() + closeTag | ||
| 215 | + }) | ||
| 216 | + } | ||
| 139 | } | 217 | } |
| 140 | document.querySelector('#newsContent').innerHTML = str | 218 | document.querySelector('#newsContent').innerHTML = str |
| 141 | const realHtml = document.querySelector('#newsContent').innerHTML | 219 | const realHtml = document.querySelector('#newsContent').innerHTML |
| @@ -154,10 +232,17 @@ function useEditorContent( | @@ -154,10 +232,17 @@ function useEditorContent( | ||
| 154 | } | 232 | } |
| 155 | }, details.value, netstutas.value, loadlmageOnlyWifiSwitch.value) | 233 | }, details.value, netstutas.value, loadlmageOnlyWifiSwitch.value) |
| 156 | clearEmptyPel() | 234 | clearEmptyPel() |
| 157 | - | 235 | + // errorBlock( |
| 236 | + // './image/content_fail.svg', | ||
| 237 | + // '获取内容失败,请重试', | ||
| 238 | + // true | ||
| 239 | + // ) | ||
| 158 | changeContentHtmlHeight({ type: 'done-before' }) | 240 | changeContentHtmlHeight({ type: 'done-before' }) |
| 159 | - appBlock(true) | ||
| 160 | - mobileApp(true) | 241 | + if (document.querySelector('.error-block').style.display !== 'block') { |
| 242 | + appBlock(true) | ||
| 243 | + mobileApp(true) | ||
| 244 | + startShowArticle = true | ||
| 245 | + } | ||
| 161 | 246 | ||
| 162 | // console.log(`数据逻辑处理总共耗时时间:${dayjs().format('HH:mm:ss:SSS')} - ${dayjs() | 247 | // console.log(`数据逻辑处理总共耗时时间:${dayjs().format('HH:mm:ss:SSS')} - ${dayjs() |
| 163 | // .diff(recordTime.value, 'millisecond')} - ${dayjs() | 248 | // .diff(recordTime.value, 'millisecond')} - ${dayjs() |
| @@ -215,29 +300,17 @@ function useEditorContent( | @@ -215,29 +300,17 @@ function useEditorContent( | ||
| 215 | } | 300 | } |
| 216 | } catch (error) {} | 301 | } catch (error) {} |
| 217 | 302 | ||
| 218 | - let inner = dataInfo && | ||
| 219 | - (typeof dataInfo === 'undefined' | ||
| 220 | - ? 'undefined' | ||
| 221 | - : typeof dataInfo === 'object' && dataInfo.jumpType && dataInfo.jumpType == 'internal') | ||
| 222 | - | ||
| 223 | - if (!inner) { | ||
| 224 | - // TODO 这里判断第二种方法:url地址规则判断是否端内打开 | ||
| 225 | - } | ||
| 226 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 227 | - console.log(inner) | ||
| 228 | - console.log(dataInfo) | ||
| 229 | - // if (url) window.open(url) | ||
| 230 | - } else { | ||
| 231 | - if (inner && url) { | ||
| 232 | - jumpAppInnerFun(dataInfo, url) | ||
| 233 | - } else if (url) { | ||
| 234 | - sendNative( | ||
| 235 | - 'jsCall_appInnerLinkMethod', | ||
| 236 | - { | ||
| 237 | - appInnerLink: `rmrbapp://rmrb.app/openwith?type=h5&url=${encodeURIComponent(url)}&skipType=4` | ||
| 238 | - } | ||
| 239 | - ) | ||
| 240 | - } | 303 | + const inner = dataInfo && (typeof dataInfo === 'undefined' |
| 304 | + ? 'undefined' | ||
| 305 | + : typeof dataInfo === 'object' && dataInfo.jumpType && dataInfo.jumpType == 'internal') | ||
| 306 | + console.log(inner) | ||
| 307 | + console.log(dataInfo) | ||
| 308 | + if (inner && url) { | ||
| 309 | + jumpAppInnerFun(dataInfo, url) | ||
| 310 | + } else if (url) { | ||
| 311 | + sendNative('jsCall_appInnerLinkMethod', { | ||
| 312 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=h5&url=${encodeURIComponent(url)}&skipType=4` | ||
| 313 | + }) | ||
| 241 | } | 314 | } |
| 242 | } catch (e) {} | 315 | } catch (e) {} |
| 243 | }) | 316 | }) |
| @@ -251,8 +324,7 @@ function useEditorContent( | @@ -251,8 +324,7 @@ function useEditorContent( | ||
| 251 | const refreshEditorStr = () => { | 324 | const refreshEditorStr = () => { |
| 252 | if (window.config.VUE_BASE_NODE === 'dev') { | 325 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 253 | document.querySelector('#app').scrollTo({ | 326 | document.querySelector('#app').scrollTo({ |
| 254 | - top: 0, | ||
| 255 | - behavior: 'smooth' // 如果需要平滑滚动,可以添加这个选项 | 327 | + top: 0, behavior: 'smooth' // 如果需要平滑滚动,可以添加这个选项 |
| 256 | }) | 328 | }) |
| 257 | } | 329 | } |
| 258 | audioTitleElList.forEach((el, key) => { | 330 | audioTitleElList.forEach((el, key) => { |
| @@ -271,7 +343,6 @@ function useEditorContent( | @@ -271,7 +343,6 @@ function useEditorContent( | ||
| 271 | } | 343 | } |
| 272 | 344 | ||
| 273 | return { | 345 | return { |
| 274 | - initEditorStr, | ||
| 275 | - refreshEditorStr | 346 | + initEditorStr, refreshEditorStr |
| 276 | } | 347 | } |
| 277 | } | 348 | } |
| @@ -42,6 +42,7 @@ function useImage(details, netstutas, loadlmageOnlyWifiSwitch) { | @@ -42,6 +42,7 @@ function useImage(details, netstutas, loadlmageOnlyWifiSwitch) { | ||
| 42 | imageLoadedLen.value += 1 | 42 | imageLoadedLen.value += 1 |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | + | ||
| 45 | if (hasPreview) { | 46 | if (hasPreview) { |
| 46 | record.parentNode.setAttribute('status', 'error') | 47 | record.parentNode.setAttribute('status', 'error') |
| 47 | record.parentNode.classList.remove('success') | 48 | record.parentNode.classList.remove('success') |
| @@ -96,7 +96,6 @@ function useVideo() { | @@ -96,7 +96,6 @@ function useVideo() { | ||
| 96 | changeContentHtmlHeight({ type: '视频' }) | 96 | changeContentHtmlHeight({ type: '视频' }) |
| 97 | }, | 97 | }, |
| 98 | play: () => { | 98 | play: () => { |
| 99 | - console.log('video-play') | ||
| 100 | const audioElList = document.querySelectorAll('.preview-audio-player, .preview-audio-player-cover') | 99 | const audioElList = document.querySelectorAll('.preview-audio-player, .preview-audio-player-cover') |
| 101 | 100 | ||
| 102 | audioElList.forEach((item, _) => { | 101 | audioElList.forEach((item, _) => { |
| @@ -3,8 +3,6 @@ dayjs.extend(dayjs_plugin_relativeTime) | @@ -3,8 +3,6 @@ dayjs.extend(dayjs_plugin_relativeTime) | ||
| 3 | 3 | ||
| 4 | const { onMounted, onUnmounted, toRefs, nextTick, watchEffect, toRef } = Vue | 4 | const { onMounted, onUnmounted, toRefs, nextTick, watchEffect, toRef } = Vue |
| 5 | 5 | ||
| 6 | -// window.config.devApp = true | ||
| 7 | - | ||
| 8 | function compareTimeArray(obj1, obj2, key, sort) { | 6 | function compareTimeArray(obj1, obj2, key, sort) { |
| 9 | const val1 = obj1[key] | 7 | const val1 = obj1[key] |
| 10 | const val2 = obj2[key] | 8 | const val2 = obj2[key] |
| @@ -20,7 +18,6 @@ function compareTimeArray(obj1, obj2, key, sort) { | @@ -20,7 +18,6 @@ function compareTimeArray(obj1, obj2, key, sort) { | ||
| 20 | const app = Vue.createApp({ | 18 | const app = Vue.createApp({ |
| 21 | setup() { | 19 | setup() { |
| 22 | const baseNode = ref(window.config.VUE_BASE_NODE) | 20 | const baseNode = ref(window.config.VUE_BASE_NODE) |
| 23 | - | ||
| 24 | const deviceType = ref(judgTerminal() === 1 ? 'ad' : 'ios') | 21 | const deviceType = ref(judgTerminal() === 1 ? 'ad' : 'ios') |
| 25 | const time = ref('') | 22 | const time = ref('') |
| 26 | const recordTime = ref() | 23 | const recordTime = ref() |
| @@ -30,56 +27,49 @@ const app = Vue.createApp({ | @@ -30,56 +27,49 @@ const app = Vue.createApp({ | ||
| 30 | const subjectList = ref([]) | 27 | const subjectList = ref([]) |
| 31 | const channelList = ref([]) | 28 | const channelList = ref([]) |
| 32 | const suggestedList = ref([]) | 29 | const suggestedList = ref([]) |
| 33 | - | 30 | + const voteOtions = ref([]) |
| 34 | const canSeeBtnOne = ref(true) | 31 | const canSeeBtnOne = ref(true) |
| 35 | const canSeeBtnTwo = ref(true) | 32 | const canSeeBtnTwo = ref(true) |
| 36 | const hasReadCount = ref(true) | 33 | const hasReadCount = ref(true) |
| 37 | - | ||
| 38 | const networkStatus = ref(1) // 0 无网络 1 wifi 2,3,4,5 无wifi状态 | 34 | const networkStatus = ref(1) // 0 无网络 1 wifi 2,3,4,5 无wifi状态 |
| 39 | const networkSwitch = ref(2) // 1 允许 2 不允许 | 35 | const networkSwitch = ref(2) // 1 允许 2 不允许 |
| 40 | const browseCnt = ref('0') // 外部音频点击暂停次数 | 36 | const browseCnt = ref('0') // 外部音频点击暂停次数 |
| 41 | const audioState = ref(0) // 外部音频点击暂停次数 | 37 | const audioState = ref(0) // 外部音频点击暂停次数 |
| 42 | const loadlmageOnlyWifiSwitch = ref(window.config.VUE_BASE_NODE === 'dev' ? '2' : '0') // 1 仅wifi加载图片 2 都可以加载图片 | 38 | const loadlmageOnlyWifiSwitch = ref(window.config.VUE_BASE_NODE === 'dev' ? '2' : '0') // 1 仅wifi加载图片 2 都可以加载图片 |
| 43 | - | ||
| 44 | const showClook = ref(false) | 39 | const showClook = ref(false) |
| 45 | const optionList = ref([]) | 40 | const optionList = ref([]) |
| 46 | - //关注状态 | ||
| 47 | const clookStatusSee = ref(false) | 41 | const clookStatusSee = ref(false) |
| 48 | const clookCancelBtnActive = ref(false) | 42 | const clookCancelBtnActive = ref(false) |
| 49 | const clookBtnActive = ref(false) | 43 | const clookBtnActive = ref(false) |
| 50 | const hasHeadLink = ref(false) | 44 | const hasHeadLink = ref(false) |
| 51 | - | ||
| 52 | const voteInit = ref(false) | 45 | const voteInit = ref(false) |
| 53 | - | ||
| 54 | const isPageLeave = ref(false) | 46 | const isPageLeave = ref(false) |
| 55 | - | ||
| 56 | const hasInit = ref(false) | 47 | const hasInit = ref(false) |
| 57 | - | ||
| 58 | const shareOpen = ref(false) | 48 | const shareOpen = ref(false) |
| 59 | - | ||
| 60 | const isOwer = ref(false) | 49 | const isOwer = ref(false) |
| 61 | const isRmh = ref(null) | 50 | const isRmh = ref(null) |
| 62 | const isNewspaper = ref(null) | 51 | const isNewspaper = ref(null) |
| 63 | - const hasAppLoginExtra = ref(false) | 52 | + const browseStr = ref('') |
| 64 | 53 | ||
| 65 | const state = reactive({ | 54 | const state = reactive({ |
| 66 | clientHeight: 0, | 55 | clientHeight: 0, |
| 67 | appFontSize: 'normalsize', | 56 | appFontSize: 'normalsize', |
| 57 | + // appFontSize: 'Large', | ||
| 58 | + // appFontSize: 'large', | ||
| 59 | + // appFontSize: 'small', | ||
| 68 | //投票id | 60 | //投票id |
| 61 | + darkMode: darkMode, | ||
| 69 | voteId: null, | 62 | voteId: null, |
| 70 | relId: null, | 63 | relId: null, |
| 71 | contentId: null, | 64 | contentId: null, |
| 72 | sourcePage: '2', | 65 | sourcePage: '2', |
| 73 | - //模式 | ||
| 74 | - darkMode: 'light', | ||
| 75 | //环境 | 66 | //环境 |
| 76 | environment: 'sit', | 67 | environment: 'sit', |
| 77 | showShare: false, | 68 | showShare: false, |
| 78 | //请求头 | 69 | //请求头 |
| 79 | - appHeader: { | ||
| 80 | - ...window.config.VUE_BASE_HEADER, | 70 | + appHeader: shallowMerge({ |
| 81 | system: judgTerminal() === 1 ? 'Android' : 'ios' | 71 | system: judgTerminal() === 1 ? 'Android' : 'ios' |
| 82 | - }, | 72 | + }, window.config.VUE_BASE_HEADER), |
| 83 | initialRes: {}, | 73 | initialRes: {}, |
| 84 | originDataSource: {}, | 74 | originDataSource: {}, |
| 85 | //此details对接口返回的数据进行了二次改造,属性的添加和属性值的转换 | 75 | //此details对接口返回的数据进行了二次改造,属性的添加和属性值的转换 |
| @@ -92,7 +82,6 @@ const app = Vue.createApp({ | @@ -92,7 +82,6 @@ const app = Vue.createApp({ | ||
| 92 | endTimePoint: false, | 82 | endTimePoint: false, |
| 93 | yes: {}, | 83 | yes: {}, |
| 94 | no: {}, | 84 | no: {}, |
| 95 | - options: [], | ||
| 96 | slideShows: {}, | 85 | slideShows: {}, |
| 97 | //片头跳转 | 86 | //片头跳转 |
| 98 | headLinkdata: '' | 87 | headLinkdata: '' |
| @@ -121,7 +110,6 @@ const app = Vue.createApp({ | @@ -121,7 +110,6 @@ const app = Vue.createApp({ | ||
| 121 | agreementURL: '', | 110 | agreementURL: '', |
| 122 | recomList: [] | 111 | recomList: [] |
| 123 | }) | 112 | }) |
| 124 | - | ||
| 125 | const timeLine = reactive({ | 113 | const timeLine = reactive({ |
| 126 | title: '', | 114 | title: '', |
| 127 | topicId: '', | 115 | topicId: '', |
| @@ -131,7 +119,6 @@ const app = Vue.createApp({ | @@ -131,7 +119,6 @@ const app = Vue.createApp({ | ||
| 131 | slideColor: '#ED2800', | 119 | slideColor: '#ED2800', |
| 132 | data: [] | 120 | data: [] |
| 133 | }) | 121 | }) |
| 134 | - | ||
| 135 | const actieInfo = reactive({ | 122 | const actieInfo = reactive({ |
| 136 | show: false, | 123 | show: false, |
| 137 | id: -1, | 124 | id: -1, |
| @@ -152,58 +139,86 @@ const app = Vue.createApp({ | @@ -152,58 +139,86 @@ const app = Vue.createApp({ | ||
| 152 | recordTime | 139 | recordTime |
| 153 | ) | 140 | ) |
| 154 | 141 | ||
| 155 | - // console.log(`页面开始处理:${dayjs().format('HH:mm:ss:SSS')} - ${dayjs() | ||
| 156 | - // .diff(dayjs(firstTime), 'millisecond')}`) | ||
| 157 | recordTime.value = dayjs() | 142 | recordTime.value = dayjs() |
| 158 | changeContentHtmlHeight({ str: '.skeleton-loading' }) | 143 | changeContentHtmlHeight({ str: '.skeleton-loading' }) |
| 159 | 144 | ||
| 160 | - const pageReloadChange = () => { | ||
| 161 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 162 | - if (pageLoadOutTime || hasDetails) { | ||
| 163 | - return | ||
| 164 | - } | ||
| 165 | - | ||
| 166 | - firstTime = new Date() | ||
| 167 | - pageLoadOutTime = null | ||
| 168 | - hasDetails = false | ||
| 169 | - checkPageLoadingTimeOut() | ||
| 170 | - } else { | ||
| 171 | - try { | ||
| 172 | - const objEvt = window.config.PAGERELOAD ? window.config.PAGERELOAD : '' | ||
| 173 | - const pageReloadInfo = typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) | ||
| 174 | - if (pageReloadInfo && pageReloadInfo.event == '7') { // 复用重新进入 | ||
| 175 | - if (pageLoadOutTime || hasDetails) { | ||
| 176 | - return | ||
| 177 | - } | 145 | + try { |
| 146 | + sendNative('jsCall_currentPageOperate', { | ||
| 147 | + operateType: '48' | ||
| 148 | + }, () => { | ||
| 149 | + }) | ||
| 150 | + } catch (e) {} | ||
| 151 | + | ||
| 152 | + /** | ||
| 153 | + * @Author gx12358 | ||
| 154 | + * @DateTime 2024/7/5 | ||
| 155 | + * @lastTime 2024/7/5 | ||
| 156 | + * @description 工具函数 | ||
| 157 | + */ | ||
| 158 | + const errorResponse = () => clearInterval(time.value) | ||
| 159 | + const removeHtmlStr = (str) => { | ||
| 160 | + if (!str) return str | ||
| 161 | + return str.replace(/<br\s*\/?>/g, '') | ||
| 162 | + } | ||
| 178 | 163 | ||
| 179 | - firstTime = new Date() | ||
| 180 | - pageLoadOutTime = null | ||
| 181 | - hasDetails = false | ||
| 182 | - checkPageLoadingTimeOut() | 164 | + function shallowMergeObj(target, ...sources) { |
| 165 | + const newTarget = deepCopy(target) | ||
| 166 | + sources.forEach(source => { | ||
| 167 | + for (let key in source) { | ||
| 168 | + if (source.hasOwnProperty(key)) { | ||
| 169 | + newTarget[key] = source[key] | ||
| 183 | } | 170 | } |
| 184 | - } catch (e) { | 171 | + } |
| 172 | + }) | ||
| 173 | + return newTarget | ||
| 174 | + } | ||
| 175 | + | ||
| 176 | + // 模拟App加载错误 | ||
| 177 | + function changeAppError() { | ||
| 178 | + console.log(null.replace(/<img(.*?)src="(.*?)"(.*?)>/g, '<img$1src="" data-src="$2"$3>')) | ||
| 179 | + } | ||
| 185 | 180 | ||
| 181 | + /** | ||
| 182 | + * @Author gx12358 | ||
| 183 | + * @DateTime 2024/7/5 | ||
| 184 | + * @lastTime 2024/7/5 | ||
| 185 | + * @description 主流程 | ||
| 186 | + */ | ||
| 187 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 188 | + mountedFun(() => { | ||
| 189 | + if (!window.config.VUE_CONTENT_CONFIG && !window.config.devApp) { | ||
| 190 | + requestDev() | ||
| 186 | } | 191 | } |
| 192 | + }) | ||
| 193 | + } else { | ||
| 194 | + mountedFun(() => {}) | ||
| 195 | + } | ||
| 196 | + | ||
| 197 | + function mountedFun(callbakc) { | ||
| 198 | + if (!slow) { | ||
| 199 | + fast = true | ||
| 200 | + if (callbakc) callbakc() | ||
| 187 | } | 201 | } |
| 188 | } | 202 | } |
| 189 | 203 | ||
| 190 | - const requestDev = (devApp) => { | 204 | + function requestDev(devApp) { |
| 191 | state.clientHeight = document.documentElement.getBoundingClientRect().height | 205 | state.clientHeight = document.documentElement.getBoundingClientRect().height |
| 192 | clientHeight = state.clientHeight | 206 | clientHeight = state.clientHeight |
| 193 | - setRemUnit() | ||
| 194 | time.value = setInterval(() => { | 207 | time.value = setInterval(() => { |
| 195 | if (window.config.initLoad) { | 208 | if (window.config.initLoad) { |
| 209 | + state.darkMode = darkMode | ||
| 196 | document.querySelector('#app').style.overflowY = 'auto' | 210 | document.querySelector('#app').style.overflowY = 'auto' |
| 197 | document | 211 | document |
| 198 | .querySelector('html') | 212 | .querySelector('html') |
| 199 | - .setAttribute('dark-mode', state.darkMode === 'dark') | ||
| 200 | - // state.darkMode = 'dark' | ||
| 201 | - // document.querySelector('html').setAttribute('dark-mode', true) | ||
| 202 | - // setRemUnit(state.appFontSize) | 213 | + .setAttribute('dark-mode', darkMode === 'dark') |
| 214 | + appFontSize = state.appFontSize | ||
| 215 | + setRemUnit(state.appFontSize) | ||
| 216 | + // document.documentElement.setAttribute('data-size', state.appFontSize) | ||
| 203 | state.environment = window.config.VUE_BASE_HEADER.environment | 217 | state.environment = window.config.VUE_BASE_HEADER.environment |
| 204 | // channelId.value = 2038 | 218 | // channelId.value = 2038 |
| 205 | - state.relId = 500005373947 | ||
| 206 | - state.contentId = 30044734254 | 219 | + state.relId = 500004382148 |
| 220 | + state.contentId = 30037816971 | ||
| 221 | + contentId = state.contentId | ||
| 207 | clearInterval(time.value) | 222 | clearInterval(time.value) |
| 208 | setTimeout(() => { | 223 | setTimeout(() => { |
| 209 | initData(devApp ? window.config.VUE_CONTENT_CONFIG : {}, state.contentId, devApp) | 224 | initData(devApp ? window.config.VUE_CONTENT_CONFIG : {}, state.contentId, devApp) |
| @@ -217,6 +232,7 @@ const app = Vue.createApp({ | @@ -217,6 +232,7 @@ const app = Vue.createApp({ | ||
| 217 | requestDev(true) | 232 | requestDev(true) |
| 218 | return | 233 | return |
| 219 | } | 234 | } |
| 235 | + document.querySelector('.error-block').style.display = 'none' | ||
| 220 | setRemUnit() | 236 | setRemUnit() |
| 221 | /*config数据是由H5预埋,App加载完成后 app主动传递的方法名请求数据 */ | 237 | /*config数据是由H5预埋,App加载完成后 app主动传递的方法名请求数据 */ |
| 222 | const config = window.config.VUE_CONTENT_CONFIG | 238 | const config = window.config.VUE_CONTENT_CONFIG |
| @@ -237,6 +253,7 @@ const app = Vue.createApp({ | @@ -237,6 +253,7 @@ const app = Vue.createApp({ | ||
| 237 | changeContentHtmlHeight({ str: 'body', type: 'init' }) | 253 | changeContentHtmlHeight({ str: 'body', type: 'init' }) |
| 238 | 254 | ||
| 239 | const netError = dataJson.netError | 255 | const netError = dataJson.netError |
| 256 | + contentId = dataJson.contentId | ||
| 240 | state.contentId = dataJson.contentId | 257 | state.contentId = dataJson.contentId |
| 241 | channelId.value = dataJson.channelId | 258 | channelId.value = dataJson.channelId |
| 242 | 259 | ||
| @@ -250,8 +267,8 @@ const app = Vue.createApp({ | @@ -250,8 +267,8 @@ const app = Vue.createApp({ | ||
| 250 | state.appHeader = deepCopy(headerObj) | 267 | state.appHeader = deepCopy(headerObj) |
| 251 | //通用设备imei | 268 | //通用设备imei |
| 252 | state.deviceId = state.appHeader.device_id | 269 | state.deviceId = state.appHeader.device_id |
| 253 | - // | ||
| 254 | state.userId = state.appHeader.userId | 270 | state.userId = state.appHeader.userId |
| 271 | + logInfo(state.userId) | ||
| 255 | // App服务协议 | 272 | // App服务协议 |
| 256 | state.agreementURL = state.appHeader.agreementURL | 273 | state.agreementURL = state.appHeader.agreementURL |
| 257 | //0:无网 1:Wi-Fi 2:2G 3:3G 4:4G 5:5G | 274 | //0:无网 1:Wi-Fi 2:2G 3:3G 4:4G 5:5G |
| @@ -270,31 +287,26 @@ const app = Vue.createApp({ | @@ -270,31 +287,26 @@ const app = Vue.createApp({ | ||
| 270 | try { | 287 | try { |
| 271 | // console.log('详情初始数据', data) | 288 | // console.log('详情初始数据', data) |
| 272 | if (data.dataExt) { | 289 | if (data.dataExt) { |
| 273 | - hasAppLoginExtra.value = true | 290 | + hasAppLoginExtra = true |
| 274 | 291 | ||
| 275 | const extraData = typeof data.dataExt === 'object' | 292 | const extraData = typeof data.dataExt === 'object' |
| 276 | ? data.dataExt | 293 | ? data.dataExt |
| 277 | : JSON.parse(data.dataExt) | 294 | : JSON.parse(data.dataExt) |
| 278 | - state.darkMode = extraData ? extraData.darkMode || 'light' : 'light' | ||
| 279 | - if (state.darkMode === 'dark') { | ||
| 280 | - document | ||
| 281 | - .querySelector('html') | ||
| 282 | - .setAttribute('dark-mode', true) | ||
| 283 | - } else { | ||
| 284 | - document | ||
| 285 | - .querySelector('html') | ||
| 286 | - .setAttribute('dark-mode', false) | ||
| 287 | - } | 295 | + darkMode = extraData ? extraData.darkMode || darkMode : darkMode |
| 296 | + state.darkMode = darkMode | ||
| 297 | + document | ||
| 298 | + .querySelector('html') | ||
| 299 | + .setAttribute('dark-mode', darkMode === 'dark') | ||
| 288 | state.appFontSize = extraData ? extraData.fontSizes : '' | 300 | state.appFontSize = extraData ? extraData.fontSizes : '' |
| 289 | state.clientHeight = extraData ? extraData.clientHeight : '' | 301 | state.clientHeight = extraData ? extraData.clientHeight : '' |
| 290 | - appFontSize = state.appFontSize | ||
| 291 | clientHeight = state.clientHeight | 302 | clientHeight = state.clientHeight |
| 292 | - console.info('clientHeight', state.clientHeight) | ||
| 293 | - setRemUnit(state.appFontSize, state.clientHeight) | 303 | + // document.documentElement.setAttribute('data-size', state.appFontSize) |
| 304 | + appFontSize = state.appFontSize | ||
| 305 | + setRemUnit(state.appFontSize) | ||
| 294 | state.cnsTraceId = extraData ? extraData.cnsTraceId : '' | 306 | state.cnsTraceId = extraData ? extraData.cnsTraceId : '' |
| 295 | state.creatorID = extraData ? extraData.creatorId : '' | 307 | state.creatorID = extraData ? extraData.creatorId : '' |
| 296 | state.isLogined = extraData ? extraData.isLogin : '' | 308 | state.isLogined = extraData ? extraData.isLogin : '' |
| 297 | - //0:无网 1:WiFi 2:2G 3:3G 4:4G 5:5G | 309 | + // 0:无网 1:WiFi 2:2G 3:3G 4:4G 5:5G |
| 298 | networkStatus.value = extraData ? extraData.networkStatus || 1 : 1 | 310 | networkStatus.value = extraData ? extraData.networkStatus || 1 : 1 |
| 299 | loadlmageOnlyWifiSwitch.value = extraData && extraData.loadImageOnlyWifiSwitch | 311 | loadlmageOnlyWifiSwitch.value = extraData && extraData.loadImageOnlyWifiSwitch |
| 300 | ? extraData.loadImageOnlyWifiSwitch | 312 | ? extraData.loadImageOnlyWifiSwitch |
| @@ -321,48 +333,6 @@ const app = Vue.createApp({ | @@ -321,48 +333,6 @@ const app = Vue.createApp({ | ||
| 321 | } | 333 | } |
| 322 | } catch (e) { } | 334 | } catch (e) { } |
| 323 | } | 335 | } |
| 324 | - | ||
| 325 | - const mountedFun = (callbakc) => { | ||
| 326 | - if (!slow) { | ||
| 327 | - fast = true | ||
| 328 | - if (callbakc) callbakc() | ||
| 329 | - } | ||
| 330 | - } | ||
| 331 | - | ||
| 332 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 333 | - mountedFun(() => { | ||
| 334 | - if (!window.config.VUE_CONTENT_CONFIG && !window.config.devApp) { | ||
| 335 | - requestDev() | ||
| 336 | - } | ||
| 337 | - }) | ||
| 338 | - } else { | ||
| 339 | - mountedFun(() => {}) | ||
| 340 | - } | ||
| 341 | - | ||
| 342 | - const reload = () => { | ||
| 343 | - clearData() | ||
| 344 | - pageReloadChange() | ||
| 345 | - loadingBlock(true) | ||
| 346 | - changeContentHtmlHeight({ str: '.skeleton-loading' }) | ||
| 347 | - | ||
| 348 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 349 | - initData({}, state.contentId) | ||
| 350 | - } else { | ||
| 351 | - try { | ||
| 352 | - sendNative( | ||
| 353 | - 'jsCall_currentPageOperate', | ||
| 354 | - { | ||
| 355 | - operateType: '22' | ||
| 356 | - }, | ||
| 357 | - (res) => {} | ||
| 358 | - ) | ||
| 359 | - } catch (e) { | ||
| 360 | - | ||
| 361 | - } | ||
| 362 | - } | ||
| 363 | - } | ||
| 364 | - | ||
| 365 | - // 页面加载 内容详情数据 最外层方法 | ||
| 366 | const initData = async (res, id, devApp) => { | 336 | const initData = async (res, id, devApp) => { |
| 367 | /**判断是否为本地开发环境,是的话初始化数据,不是的话通过app提供的方法,h5发送数据给app**/ | 337 | /**判断是否为本地开发环境,是的话初始化数据,不是的话通过app提供的方法,h5发送数据给app**/ |
| 368 | if (window.config.VUE_BASE_NODE === 'dev') { | 338 | if (window.config.VUE_BASE_NODE === 'dev') { |
| @@ -427,7 +397,7 @@ const app = Vue.createApp({ | @@ -427,7 +397,7 @@ const app = Vue.createApp({ | ||
| 427 | const details = res.data.length > 0 ? res.data[0] : {} | 397 | const details = res.data.length > 0 ? res.data[0] : {} |
| 428 | hasDetails = true | 398 | hasDetails = true |
| 429 | // 获取用户登录状态 | 399 | // 获取用户登录状态 |
| 430 | - if (hasAppLoginExtra.value) { | 400 | + if (hasAppLoginExtra) { |
| 431 | handleArticle(details) | 401 | handleArticle(details) |
| 432 | } else { | 402 | } else { |
| 433 | // const nowDate = dayjs() | 403 | // const nowDate = dayjs() |
| @@ -463,31 +433,6 @@ const app = Vue.createApp({ | @@ -463,31 +433,6 @@ const app = Vue.createApp({ | ||
| 463 | } | 433 | } |
| 464 | } | 434 | } |
| 465 | } | 435 | } |
| 466 | - | ||
| 467 | - // 浏览量获取 | ||
| 468 | - const browseCntChange = (details) => { | ||
| 469 | - if (details.viewCount) { | ||
| 470 | - browseCnt.value = details.viewCount ? `${handleNum(details.viewCount)}` : '0' | ||
| 471 | - if (browseCnt.value && ![ '0', 'undefined', 'null' ].includes(browseCnt.value)) { | ||
| 472 | - hasReadCount.value = true | ||
| 473 | - document.querySelector('.browseCntStr').innerHTML = `浏览量${browseCnt.value}` | ||
| 474 | - } else { | ||
| 475 | - hasReadCount.value = false | ||
| 476 | - } | ||
| 477 | - } else { | ||
| 478 | - hasReadCount.value = false | ||
| 479 | - } | ||
| 480 | - nextTick(() => { | ||
| 481 | - if ( | ||
| 482 | - document.querySelector('.skeleton-loading').classList.contains('active') && | ||
| 483 | - !document.querySelector('#app').classList.contains('fixed') | ||
| 484 | - ) { | ||
| 485 | - changeContentHtmlHeight() | ||
| 486 | - } | ||
| 487 | - }) | ||
| 488 | - } | ||
| 489 | - | ||
| 490 | - //details是接口content/zh/c/content/detail接口返回的数据 | ||
| 491 | const handleArticle = (details) => { | 436 | const handleArticle = (details) => { |
| 492 | if (Object.keys(details).length === 0) { | 437 | if (Object.keys(details).length === 0) { |
| 493 | errorResponse() | 438 | errorResponse() |
| @@ -497,6 +442,7 @@ const app = Vue.createApp({ | @@ -497,6 +442,7 @@ const app = Vue.createApp({ | ||
| 497 | ) | 442 | ) |
| 498 | return | 443 | return |
| 499 | } | 444 | } |
| 445 | + contentId = state.contentId | ||
| 500 | isRmh.value = !!details.rmhInfo | 446 | isRmh.value = !!details.rmhInfo |
| 501 | isNewspaper.value = details.isNewspaper | 447 | isNewspaper.value = details.isNewspaper |
| 502 | if (!details.rmhInfo) { | 448 | if (!details.rmhInfo) { |
| @@ -520,100 +466,6 @@ const app = Vue.createApp({ | @@ -520,100 +466,6 @@ const app = Vue.createApp({ | ||
| 520 | } catch (e) { } | 466 | } catch (e) { } |
| 521 | } | 467 | } |
| 522 | } | 468 | } |
| 523 | - | ||
| 524 | - const getOthersStatus = (data, callBack) => { | ||
| 525 | - if (data.voteInfo) { | ||
| 526 | - if (state.isLogined == 1) { | ||
| 527 | - if (data.voteInfo && data.voteInfo.voteId) { | ||
| 528 | - voteStatus(data.voteInfo.voteId, null, () => { | ||
| 529 | - setTimeout(() => { | ||
| 530 | - handleVoteData(data) | ||
| 531 | - handleVoteList() | ||
| 532 | - voteInit.value = true | ||
| 533 | - nextTick(() => { | ||
| 534 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 535 | - changeContentHtmlHeight() | ||
| 536 | - } | ||
| 537 | - }) | ||
| 538 | - }, 100) | ||
| 539 | - }) // 调用用户投票状态的方法 | ||
| 540 | - } | ||
| 541 | - } else { | ||
| 542 | - setTimeout(() => { | ||
| 543 | - handleVoteData(data) | ||
| 544 | - handleVoteList() | ||
| 545 | - voteInit.value = true | ||
| 546 | - nextTick(() => { | ||
| 547 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 548 | - changeContentHtmlHeight() | ||
| 549 | - } | ||
| 550 | - }) | ||
| 551 | - }, 100) | ||
| 552 | - } | ||
| 553 | - } | ||
| 554 | - if (data.rmhInfo) { | ||
| 555 | - // 人民号信息 | ||
| 556 | - state.details.rmhInfo = data.rmhInfo | ||
| 557 | - //人民号信息人民号姓名存在则赋值给details.rmhName | ||
| 558 | - state.details.rmhName = data.rmhInfo.rmhName | ||
| 559 | - ? data.rmhInfo.rmhName | ||
| 560 | - : '' | ||
| 561 | - //rmhId:人民号id | ||
| 562 | - state.details.rmhId = data.rmhInfo.rmhId ? data.rmhInfo.rmhId : '' | ||
| 563 | - //rmhId:人民号加v头像 | ||
| 564 | - state.details.authIcon = data.rmhInfo.authIcon ? data.rmhInfo.authIcon : '' | ||
| 565 | - //userId:用户id | ||
| 566 | - state.details.userId = data.rmhInfo.userId ? data.rmhInfo.userId : '' | ||
| 567 | - //userType:用户类型 1:普通用户,2:创作者 3:矩阵号 4:运营子账号 5:内容源账号 | ||
| 568 | - state.details.userType = data.rmhInfo.userType | ||
| 569 | - ? data.rmhInfo.userType | ||
| 570 | - : '' | ||
| 571 | - //rmhHeadUrl:人民号头像 | ||
| 572 | - state.details.rmhHeadUrl = data.rmhInfo.rmhHeadUrl | ||
| 573 | - ? data.rmhInfo.rmhHeadUrl | ||
| 574 | - : '' | ||
| 575 | - //rmhDesc:描述 | ||
| 576 | - state.details.rmhDesc = data.rmhInfo.rmhDesc | ||
| 577 | - ? data.rmhInfo.rmhDesc | ||
| 578 | - : '' | ||
| 579 | - | ||
| 580 | - if (state.isLogined == 1) { | ||
| 581 | - // 已登录 | ||
| 582 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 583 | - showClook.value = true | ||
| 584 | - } else { | ||
| 585 | - clookStatus(true) // 查"关注"状态 , 更新按钮上的文字 | ||
| 586 | - } | ||
| 587 | - } else { | ||
| 588 | - showClook.value = true | ||
| 589 | - } | ||
| 590 | - } | ||
| 591 | - | ||
| 592 | - if (data.topicInfo) { | ||
| 593 | - timeLine.title = data.topicInfo.title | ||
| 594 | - timeLine.topicId = data.topicInfo.topicId | ||
| 595 | - timeLine.topicType = data.topicInfo.topicType | ||
| 596 | - timeLine.pageId = data.topicInfo.pageId | ||
| 597 | - timeLine.linkUrl = data.topicInfo.linkUrl | ||
| 598 | - timeLine.slideColor = data.topicInfo.slideColor || '#ED2800' | ||
| 599 | - | ||
| 600 | - if (data.topicInfo.slideShows) { | ||
| 601 | - timeLine.data = data.topicInfo.slideShows.filter(item => item.publishTime && item.newsTitle).map(item => { | ||
| 602 | - item.dateTimeStr = dayjs(item.publishTime).format('MM月DD日 HH:mm') | ||
| 603 | - return item | ||
| 604 | - }).sort((a, b) => compareTimeArray(a, b, 'publishTime', 1)) | ||
| 605 | - } | ||
| 606 | - } | ||
| 607 | - | ||
| 608 | - if (data.activityInfos) { | ||
| 609 | - Object.assign(actieInfo, data.activityInfos ? data.activityInfos[0] : {}) | ||
| 610 | - if (actieInfo.title) { actieInfo.show = true } | ||
| 611 | - } | ||
| 612 | - | ||
| 613 | - if (callBack) callBack() | ||
| 614 | - } | ||
| 615 | - | ||
| 616 | - //data就是detail是接口content/zh/c/content/detail接口返回的数据 | ||
| 617 | const initApp = data => { | 469 | const initApp = data => { |
| 618 | getOthersStatus(data, () => { | 470 | getOthersStatus(data, () => { |
| 619 | if (data.authorList && data.authorList.length > 0) { | 471 | if (data.authorList && data.authorList.length > 0) { |
| @@ -675,11 +527,12 @@ const app = Vue.createApp({ | @@ -675,11 +527,12 @@ const app = Vue.createApp({ | ||
| 675 | shareOpen.value = state.details.shareInfo ? state.details.shareInfo.shareOpen == 1 : false | 527 | shareOpen.value = state.details.shareInfo ? state.details.shareInfo.shareOpen == 1 : false |
| 676 | 528 | ||
| 677 | hasInit.value = true | 529 | hasInit.value = true |
| 530 | + if (pageError) { | ||
| 531 | + changeAppError() | ||
| 532 | + } | ||
| 678 | initEditorStr(isNewspaper.value) | 533 | initEditorStr(isNewspaper.value) |
| 679 | }) | 534 | }) |
| 680 | } | 535 | } |
| 681 | - | ||
| 682 | - // 页面加载,取客户端记录是否点击了继续播放按钮的状态值 | ||
| 683 | const getClickStatus = (callback) => { | 536 | const getClickStatus = (callback) => { |
| 684 | if (window.config.VUE_BASE_NODE === 'dev') { | 537 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 685 | } else { | 538 | } else { |
| @@ -709,33 +562,176 @@ const app = Vue.createApp({ | @@ -709,33 +562,176 @@ const app = Vue.createApp({ | ||
| 709 | } catch (e) { } | 562 | } catch (e) { } |
| 710 | } | 563 | } |
| 711 | } | 564 | } |
| 712 | - | ||
| 713 | - /* 跳转用户号主页面链接 */ | ||
| 714 | - const skipCustomerNumberPage = () => { | ||
| 715 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 716 | - } else { | ||
| 717 | - if (state.details.rmhInfo.banControl == 1) { | ||
| 718 | - // 该账号已封禁,不予访问 | ||
| 719 | - toast('该账号已封禁,不予访问') | ||
| 720 | - return | 565 | + const browseCntChange = (details) => { |
| 566 | + if (details.viewCount) { | ||
| 567 | + browseStr.value = '' | ||
| 568 | + browseCnt.value = details.viewCount ? `${handleNum(details.viewCount)}` : '0' | ||
| 569 | + if (browseCnt.value && ![ '0', 'undefined', 'null' ].includes(browseCnt.value)) { | ||
| 570 | + hasReadCount.value = true | ||
| 571 | + browseStr.value = `浏览量${browseCnt.value}` | ||
| 572 | + // if (document.querySelector('.browseCntStr')) { | ||
| 573 | + // document.querySelector('.browseCntStr').innerHTML = `浏览量${browseCnt.value}` | ||
| 574 | + // } | ||
| 575 | + } else { | ||
| 576 | + hasReadCount.value = false | ||
| 721 | } | 577 | } |
| 722 | - | ||
| 723 | - window.config.VUE_APP_LOGIN = '' | ||
| 724 | - try { | ||
| 725 | - isPageLeave.value = true | ||
| 726 | - sendNative( | ||
| 727 | - 'jsCall_appInnerLinkMethod', | ||
| 728 | - { | ||
| 729 | - appInnerLink: `rmrbapp://rmrb.app/openwith?type=owner_page&subType=${state.details.userType}&contentId=${state.details.userId}&creatorId=${state.details.rmhId}&skipType=1` | ||
| 730 | - } | ||
| 731 | - ) | ||
| 732 | - } catch (e) { isPageLeave.value = false } | 578 | + } else { |
| 579 | + hasReadCount.value = false | ||
| 733 | } | 580 | } |
| 734 | - | 581 | + nextTick(() => { |
| 582 | + if ( | ||
| 583 | + document.querySelector('.skeleton-loading').classList.contains('active') && | ||
| 584 | + !document.querySelector('#app').classList.contains('fixed') | ||
| 585 | + ) { | ||
| 586 | + changeContentHtmlHeight() | ||
| 587 | + } | ||
| 588 | + }) | ||
| 735 | } | 589 | } |
| 736 | - | ||
| 737 | - //点击协议提示字跳转到协议页面,调取App内链方法 | ||
| 738 | - const inptClick = () => { | 590 | + const getOthersStatus = (data, callBack) => { |
| 591 | + if (data.voteInfo) { | ||
| 592 | + if (state.isLogined == 1) { | ||
| 593 | + if (data.voteInfo && data.voteInfo.voteId) { | ||
| 594 | + handleVoteData(data) | ||
| 595 | + voteStatus(data.voteInfo.voteId, null, () => { | ||
| 596 | + setTimeout(() => { | ||
| 597 | + nextTick(() => { | ||
| 598 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 599 | + changeContentHtmlHeight() | ||
| 600 | + } | ||
| 601 | + }) | ||
| 602 | + }, 100) | ||
| 603 | + }) | ||
| 604 | + } | ||
| 605 | + } else { | ||
| 606 | + handleVoteData(data) | ||
| 607 | + voteInit.value = true | ||
| 608 | + handleVoteList() | ||
| 609 | + setTimeout(() => { | ||
| 610 | + nextTick(() => { | ||
| 611 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 612 | + changeContentHtmlHeight() | ||
| 613 | + } | ||
| 614 | + }) | ||
| 615 | + }, 100) | ||
| 616 | + } | ||
| 617 | + } | ||
| 618 | + if (data.rmhInfo) { | ||
| 619 | + // 人民号信息 | ||
| 620 | + state.details.rmhInfo = data.rmhInfo | ||
| 621 | + //人民号信息人民号姓名存在则赋值给details.rmhName | ||
| 622 | + state.details.rmhName = data.rmhInfo.rmhName | ||
| 623 | + ? data.rmhInfo.rmhName | ||
| 624 | + : '' | ||
| 625 | + //rmhId:人民号id | ||
| 626 | + state.details.rmhId = data.rmhInfo.rmhId ? data.rmhInfo.rmhId : '' | ||
| 627 | + //rmhId:人民号加v头像 | ||
| 628 | + state.details.authIcon = data.rmhInfo.authIcon ? data.rmhInfo.authIcon : '' | ||
| 629 | + //userId:用户id | ||
| 630 | + state.details.userId = data.rmhInfo.userId ? data.rmhInfo.userId : '' | ||
| 631 | + //userType:用户类型 1:普通用户,2:创作者 3:矩阵号 4:运营子账号 5:内容源账号 | ||
| 632 | + state.details.userType = data.rmhInfo.userType | ||
| 633 | + ? data.rmhInfo.userType | ||
| 634 | + : '' | ||
| 635 | + //rmhHeadUrl:人民号头像 | ||
| 636 | + state.details.rmhHeadUrl = data.rmhInfo.rmhHeadUrl | ||
| 637 | + ? data.rmhInfo.rmhHeadUrl | ||
| 638 | + : '' | ||
| 639 | + //rmhDesc:描述 | ||
| 640 | + state.details.rmhDesc = data.rmhInfo.rmhDesc | ||
| 641 | + ? data.rmhInfo.rmhDesc | ||
| 642 | + : '' | ||
| 643 | + | ||
| 644 | + if (state.isLogined == 1) { | ||
| 645 | + // 已登录 | ||
| 646 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 647 | + showClook.value = true | ||
| 648 | + } else { | ||
| 649 | + clookStatus(true) // 查"关注"状态 , 更新按钮上的文字 | ||
| 650 | + } | ||
| 651 | + } else { | ||
| 652 | + showClook.value = true | ||
| 653 | + } | ||
| 654 | + } | ||
| 655 | + | ||
| 656 | + if (data.topicInfo) { | ||
| 657 | + timeLine.title = data.topicInfo.title | ||
| 658 | + timeLine.topicId = data.topicInfo.topicId | ||
| 659 | + timeLine.topicType = data.topicInfo.topicType | ||
| 660 | + timeLine.pageId = data.topicInfo.pageId | ||
| 661 | + timeLine.linkUrl = data.topicInfo.linkUrl | ||
| 662 | + timeLine.slideColor = data.topicInfo.slideColor || '#ED2800' | ||
| 663 | + | ||
| 664 | + if (data.topicInfo.slideShows) { | ||
| 665 | + timeLine.data = data.topicInfo.slideShows.filter(item => item.publishTime && item.newsTitle).map(item => { | ||
| 666 | + item.dateTimeStr = dayjs(item.publishTime).format('MM月DD日 HH:mm') | ||
| 667 | + return item | ||
| 668 | + }).sort((a, b) => compareTimeArray(a, b, 'publishTime', 1)) | ||
| 669 | + } | ||
| 670 | + } | ||
| 671 | + | ||
| 672 | + if (data.activityInfos) { | ||
| 673 | + Object.assign(actieInfo, data.activityInfos ? data.activityInfos[0] : {}) | ||
| 674 | + if (actieInfo.title) { actieInfo.show = true } | ||
| 675 | + } | ||
| 676 | + | ||
| 677 | + if (callBack) callBack() | ||
| 678 | + } | ||
| 679 | + | ||
| 680 | + /** | ||
| 681 | + * @Author gx12358 | ||
| 682 | + * @DateTime 2024/7/5 | ||
| 683 | + * @lastTime 2024/7/5 | ||
| 684 | + * @description 页面交互 | ||
| 685 | + */ | ||
| 686 | + const reload = () => { | ||
| 687 | + // 页面重新加载 | ||
| 688 | + errorStatus = false | ||
| 689 | + clearData() | ||
| 690 | + pageReloadChange() | ||
| 691 | + loadingBlock(true) | ||
| 692 | + changeContentHtmlHeight({ str: '.skeleton-loading' }) | ||
| 693 | + | ||
| 694 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 695 | + initData({}, state.contentId) | ||
| 696 | + } else { | ||
| 697 | + try { | ||
| 698 | + sendNative( | ||
| 699 | + 'jsCall_currentPageOperate', | ||
| 700 | + { | ||
| 701 | + operateType: '22' | ||
| 702 | + }, | ||
| 703 | + (res) => {} | ||
| 704 | + ) | ||
| 705 | + } catch (e) { | ||
| 706 | + | ||
| 707 | + } | ||
| 708 | + } | ||
| 709 | + } | ||
| 710 | + // 跳转人民号主页 | ||
| 711 | + const skipCustomerNumberPage = () => { | ||
| 712 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 713 | + } else { | ||
| 714 | + if (state.details.rmhInfo.banControl == 1) { | ||
| 715 | + // 该账号已封禁,不予访问 | ||
| 716 | + toast('该账号已封禁,不予访问') | ||
| 717 | + return | ||
| 718 | + } | ||
| 719 | + | ||
| 720 | + window.config.VUE_APP_LOGIN = '' | ||
| 721 | + try { | ||
| 722 | + isPageLeave.value = true | ||
| 723 | + sendNative( | ||
| 724 | + 'jsCall_appInnerLinkMethod', | ||
| 725 | + { | ||
| 726 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=owner_page&subType=${state.details.userType}&contentId=${state.details.userId}&creatorId=${state.details.rmhId}&skipType=1` | ||
| 727 | + } | ||
| 728 | + ) | ||
| 729 | + } catch (e) { isPageLeave.value = false } | ||
| 730 | + } | ||
| 731 | + | ||
| 732 | + } | ||
| 733 | + // 点击协议提示字跳转到协议页面,调取App内链方法 | ||
| 734 | + const inptClick = () => { | ||
| 739 | if (window.config.VUE_BASE_NODE === 'dev') { | 735 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 740 | } else { | 736 | } else { |
| 741 | try { | 737 | try { |
| @@ -747,10 +743,10 @@ const app = Vue.createApp({ | @@ -747,10 +743,10 @@ const app = Vue.createApp({ | ||
| 747 | } catch (e) { } | 743 | } catch (e) { } |
| 748 | } | 744 | } |
| 749 | } | 745 | } |
| 750 | - | ||
| 751 | - //点击查看更多相关资讯,调取App内链方法 | 746 | + // 片头跳转 |
| 752 | const moreInformationClick = () => { | 747 | const moreInformationClick = () => { |
| 753 | if (window.config.VUE_BASE_NODE === 'dev') { | 748 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 749 | + console.log(state.details.newLinkObject) | ||
| 754 | } else { | 750 | } else { |
| 755 | // let linkUrl = '' | 751 | // let linkUrl = '' |
| 756 | // const jumpUrl = state.details.newLinkObject.jumpUrl | 752 | // const jumpUrl = state.details.newLinkObject.jumpUrl |
| @@ -763,6 +759,7 @@ const app = Vue.createApp({ | @@ -763,6 +759,7 @@ const app = Vue.createApp({ | ||
| 763 | // break | 759 | // break |
| 764 | // } | 760 | // } |
| 765 | // } | 761 | // } |
| 762 | + console.log(state.details.newLinkObject) | ||
| 766 | try { | 763 | try { |
| 767 | sendNative( | 764 | sendNative( |
| 768 | 'jsCall_receiveH5Data', | 765 | 'jsCall_receiveH5Data', |
| @@ -775,108 +772,362 @@ const app = Vue.createApp({ | @@ -775,108 +772,362 @@ const app = Vue.createApp({ | ||
| 775 | } | 772 | } |
| 776 | 773 | ||
| 777 | } | 774 | } |
| 778 | - | ||
| 779 | - // taost 提示 | ||
| 780 | - const toast = str => { | ||
| 781 | - try { | ||
| 782 | - //调取App弹窗通用提示 | ||
| 783 | - sendNative('jsCall_showGeneralTips', { | ||
| 784 | - //1、Toast提示 2、Alert提示 | ||
| 785 | - tipStyle: '1', | ||
| 786 | - // 提示字符串 | ||
| 787 | - tipString: str | ||
| 788 | - }) | ||
| 789 | - } catch (e) { } | 775 | + // 分享 |
| 776 | + const openShare = (sharePlatform) => { | ||
| 777 | + const shareInfo = state.details.shareInfo | ||
| 778 | + if (shareInfo && shareInfo.shareUrl) { | ||
| 779 | + try { | ||
| 780 | + sendNative( | ||
| 781 | + //H5调用此方法,启动客户端分享弹窗 | ||
| 782 | + 'jsCall_openAppShare', | ||
| 783 | + { | ||
| 784 | + //分享类型:1.文字类型分享 2.网页类型分享 | ||
| 785 | + type: '2', | ||
| 786 | + //是否显示分享:1 显示分享按钮 0 不显示 | ||
| 787 | + isShowShare: 1, | ||
| 788 | + //分享标题(当type为2时可用) | ||
| 789 | + title: shareInfo.shareTitle, | ||
| 790 | + //分享描述(当type为2时可用 ) | ||
| 791 | + description: shareInfo.shareSummary, | ||
| 792 | + //分享链接(当type为2时可用 ) | ||
| 793 | + webpageUrl: shareInfo.shareUrl, | ||
| 794 | + //分享图标链接(当type为2时可用,分享小icon需小于64k ) | ||
| 795 | + imageUrl: shareInfo.shareCoverUrl, | ||
| 796 | + //分享的内容Id:活动ID、视频ID等 | ||
| 797 | + contentId: state.details.newsId, | ||
| 798 | + //1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享 | ||
| 799 | + sharePlatform | ||
| 800 | + }, | ||
| 801 | + () => { } | ||
| 802 | + ) | ||
| 803 | + } catch (e) { | ||
| 804 | + } | ||
| 805 | + } | ||
| 790 | } | 806 | } |
| 807 | + // 跳转时间轴专题 | ||
| 808 | + const openMoreTimeLine = () => { | ||
| 809 | + sendNative( | ||
| 810 | + 'jsCall_appInnerLinkMethod', | ||
| 811 | + { | ||
| 812 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=topic&subType=h5&pageId=${timeLine.pageId}&url=${encodeURIComponent( | ||
| 813 | + timeLine.linkUrl)}&skipType=1` | ||
| 814 | + } | ||
| 815 | + ) | ||
| 816 | + } | ||
| 817 | + // 活动跳转 | ||
| 818 | + const openActiveLink = () => { | ||
| 819 | + try { | ||
| 820 | + sendNative( | ||
| 821 | + 'jsCall_appInnerLinkMethod', | ||
| 822 | + { | ||
| 823 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=h5&url=${encodeURIComponent(actieInfo.linkUrl)}&skipType=3` | ||
| 824 | + } | ||
| 825 | + ) | ||
| 826 | + } catch (e) { | ||
| 791 | 827 | ||
| 792 | - const errorResponse = () => clearInterval(time.value) | 828 | + } |
| 829 | + } | ||
| 793 | 830 | ||
| 794 | - const changeNetworkStatus = () => { | 831 | + /** |
| 832 | + * @Author gx12358 | ||
| 833 | + * @DateTime 2024/7/5 | ||
| 834 | + * @lastTime 2024/7/5 | ||
| 835 | + * @description 关注交互 | ||
| 836 | + */ | ||
| 837 | + const clookBtn = () => { | ||
| 838 | + // 人民号关注 | ||
| 795 | if (window.config.VUE_BASE_NODE === 'dev') { | 839 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 796 | - networkStatus.value = window.config.VUE_APP_NETWORK | ||
| 797 | - } else { | ||
| 798 | - const objNvt = window.config.VUE_APP_NETWORK ? window.config.VUE_APP_NETWORK : {} | ||
| 799 | - const lastObjNvtNetwork = typeof objNvt === 'object' ? objNvt : JSON.parse(objNvt) | ||
| 800 | - networkStatus.value = lastObjNvtNetwork.networkStatus | 840 | + if (clookBtnActive.value) { |
| 841 | + return | ||
| 842 | + } | ||
| 843 | + clookBtnActive.value = true | ||
| 844 | + setTimeout(() => { | ||
| 845 | + showClook.value = false | ||
| 846 | + clookStatusSee.value = false | ||
| 847 | + clookBtnActive.value = false | ||
| 848 | + followTypePoint({ | ||
| 849 | + type: 1, | ||
| 850 | + followPDUserId: state.details.rmhId, | ||
| 851 | + followUserName: state.details.rmhName, | ||
| 852 | + channelId: channelId.value, | ||
| 853 | + newsType: state.details.newsType, | ||
| 854 | + newsId: state.details.newsId, | ||
| 855 | + newsTitle: state.details.newsTitle, | ||
| 856 | + sceneId: state.details.sceneId, | ||
| 857 | + itemId: state.details.itemId, | ||
| 858 | + subSceneId: state.details.subSceneId, | ||
| 859 | + cnsTraceId: state.cnsTraceId, | ||
| 860 | + isNewspaper: isNewspaper.value, | ||
| 861 | + duration: dayjs().diff(statrTime.value, 'second') | ||
| 862 | + }) | ||
| 863 | + }, 1000) | ||
| 864 | + return | ||
| 801 | } | 865 | } |
| 866 | + if (clookBtnActive.value) { | ||
| 867 | + return | ||
| 868 | + } | ||
| 869 | + if (state.isLogined == 1) { | ||
| 870 | + clookCancelBtnActive.value = false | ||
| 871 | + clookBtnActive.value = true | ||
| 872 | + } | ||
| 873 | + getUserLoginStatus(loginId => { | ||
| 874 | + if (loginId == 0) { | ||
| 875 | + // 0 未登录 | ||
| 876 | + setAppLogin() | ||
| 877 | + checkAppLoginStatu('follow') | ||
| 878 | + return | ||
| 879 | + } else { | ||
| 880 | + // 1 已登录 直接走 关注接口 | ||
| 881 | + showClook.value = false | ||
| 882 | + clookBtnHandel(1) | ||
| 883 | + } | ||
| 884 | + }) | ||
| 802 | } | 885 | } |
| 803 | - | ||
| 804 | - const changeMediaPlayStatus = () => { | 886 | + // 人民号取消关注 |
| 887 | + const clookCancelBtn = () => { | ||
| 888 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 889 | + if (clookCancelBtnActive.value) { | ||
| 890 | + return | ||
| 891 | + } | ||
| 892 | + clookCancelBtnActive.value = true | ||
| 893 | + setTimeout(() => { | ||
| 894 | + showClook.value = true | ||
| 895 | + clookStatusSee.value = true | ||
| 896 | + clookCancelBtnActive.value = false | ||
| 897 | + followTypePoint({ | ||
| 898 | + type: 0, | ||
| 899 | + cancelFollowPDUseId: state.details.rmhId, | ||
| 900 | + cancelFollowUserName: state.details.rmhName, | ||
| 901 | + channelId: channelId.value, | ||
| 902 | + newsType: state.details.newsType, | ||
| 903 | + newsId: state.details.newsId, | ||
| 904 | + newsTitle: state.details.newsTitle, | ||
| 905 | + sceneId: state.details.sceneId, | ||
| 906 | + itemId: state.details.itemId, | ||
| 907 | + subSceneId: state.details.subSceneId, | ||
| 908 | + cnsTraceId: state.cnsTraceId, | ||
| 909 | + isNewspaper: isNewspaper.value, | ||
| 910 | + duration: dayjs().diff(statrTime.value, 'second') | ||
| 911 | + }) | ||
| 912 | + }, 1000) | ||
| 913 | + return | ||
| 914 | + } | ||
| 915 | + if (clookCancelBtnActive.value) { | ||
| 916 | + return | ||
| 917 | + } | ||
| 918 | + if (state.isLogined == 1) { | ||
| 919 | + clookBtnActive.value = false | ||
| 920 | + clookCancelBtnActive.value = true | ||
| 921 | + } | ||
| 922 | + getUserLoginStatus(loginId => { | ||
| 923 | + if (loginId == 0) { | ||
| 924 | + // 0 未登录 | ||
| 925 | + setAppLogin() | ||
| 926 | + checkAppLoginStatu('follow') | ||
| 927 | + return | ||
| 928 | + } else { | ||
| 929 | + // 1 已登录 直接走 取消关注接口 | ||
| 930 | + showClook.value = true | ||
| 931 | + clookBtnHandel(0) | ||
| 932 | + } | ||
| 933 | + }) | ||
| 934 | + } | ||
| 935 | + // 人民号关注、取消关注接口调用 | ||
| 936 | + const clookBtnHandel = async (status) => { | ||
| 805 | if (window.config.VUE_BASE_NODE === 'dev') { | 937 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 938 | + const response = await axiosRequest({ | ||
| 939 | + url: '/interact/zh/c/attention/operation', | ||
| 940 | + methot: 'post', | ||
| 941 | + appStatus: false, | ||
| 942 | + environment: state.environment, | ||
| 943 | + prefix: '/api/rmrb-interact', | ||
| 944 | + data: { | ||
| 945 | + status, | ||
| 946 | + attentionUserId: `${state.details.userId}`, | ||
| 947 | + attentionUserType: `${state.details.userType}`, | ||
| 948 | + attentionCreatorId: `${state.details.rmhId}` | ||
| 949 | + }, | ||
| 950 | + headers: state.appHeader, | ||
| 951 | + showError: false | ||
| 952 | + }) | ||
| 953 | + if (response.success) { | ||
| 954 | + } | ||
| 806 | } else { | 955 | } else { |
| 807 | try { | 956 | try { |
| 808 | - const objEvt = window.config.MEDIAPLAY ? window.config.MEDIAPLAY : '' | ||
| 809 | - const mediaPlayInfo = typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) | ||
| 810 | - if (mediaPlayInfo && mediaPlayInfo.event == '5') { // 音频播放 | ||
| 811 | - audioState.value += 1 | ||
| 812 | - } | 957 | + sendNative( |
| 958 | + 'jsCall_callAppService', | ||
| 959 | + { | ||
| 960 | + method: 'post', | ||
| 961 | + url: '/api/rmrb-interact/interact/zh/c/attention/operation', | ||
| 962 | + parameters: { | ||
| 963 | + status, | ||
| 964 | + attentionUserId: `${state.details.userId}`, | ||
| 965 | + attentionUserType: `${state.details.userType}`, | ||
| 966 | + attentionCreatorId: `${state.details.rmhId}` | ||
| 967 | + } | ||
| 968 | + }, | ||
| 969 | + res => { | ||
| 970 | + const response = typeof res === 'object' ? res : JSON.parse(res) | ||
| 971 | + const netError = response.netError | ||
| 972 | + if (netError == 0) { | ||
| 973 | + try { | ||
| 974 | + const responseMap = | ||
| 975 | + typeof response.responseMap === 'object' | ||
| 976 | + ? response.responseMap | ||
| 977 | + : JSON.parse(response.responseMap) | ||
| 978 | + const success = responseMap.success | ||
| 979 | + const params = { | ||
| 980 | + type: status, | ||
| 981 | + channelId: channelId.value, | ||
| 982 | + newsType: state.details.newsType, | ||
| 983 | + newsId: state.details.newsId, | ||
| 984 | + newsTitle: state.details.newsTitle, | ||
| 985 | + sceneId: state.details.sceneId, | ||
| 986 | + itemId: state.details.itemId, | ||
| 987 | + subSceneId: state.details.subSceneId, | ||
| 988 | + cnsTraceId: state.cnsTraceId, | ||
| 989 | + isNewspaper: isNewspaper.value, | ||
| 990 | + duration: dayjs().diff(statrTime.value, 'second') | ||
| 991 | + } | ||
| 992 | + | ||
| 993 | + if (status == 1) { | ||
| 994 | + params.followPDUserId = state.details.rmhId | ||
| 995 | + params.followUserName = state.details.rmhName | ||
| 996 | + } else if (status == 0) { | ||
| 997 | + params.cancelFollowPDUseId = state.details.rmhId | ||
| 998 | + params.cancelFollowUserName = state.details.rmhName | ||
| 999 | + } | ||
| 1000 | + if (success) { | ||
| 1001 | + // 关注成功 | ||
| 1002 | + if (status == 1) { | ||
| 1003 | + try { | ||
| 1004 | + sendNative('jsCall_pointLevelOperate', { | ||
| 1005 | + operateType: '6' | ||
| 1006 | + }, () => { | ||
| 1007 | + }) | ||
| 1008 | + } catch (e) {} | ||
| 1009 | + followTypePoint(params) | ||
| 1010 | + clookStatus() // 调关注状态查询,更新按钮上的文字 | ||
| 1011 | + try { | ||
| 1012 | + sendNative('jsCall_currentPageOperate', { | ||
| 1013 | + operateType: '24', | ||
| 1014 | + creatorId: `${state.details.rmhId}`, | ||
| 1015 | + followStatus: '1' | ||
| 1016 | + }, () => {}) | ||
| 1017 | + } catch (e) {} | ||
| 1018 | + } else if (status == 0) { | ||
| 1019 | + // 取消关注成功 | ||
| 1020 | + followTypePoint(params) | ||
| 1021 | + clookStatus() // 调关注状态查询,更新按钮上的文字 | ||
| 1022 | + try { | ||
| 1023 | + sendNative('jsCall_currentPageOperate', { | ||
| 1024 | + operateType: '24', | ||
| 1025 | + creatorId: `${state.details.rmhId}`, | ||
| 1026 | + followStatus: '0' | ||
| 1027 | + }, () => {}) | ||
| 1028 | + } catch (e) {} | ||
| 1029 | + } | ||
| 1030 | + } | ||
| 1031 | + } catch (e) { } | ||
| 1032 | + } else { | ||
| 1033 | + toast('网络出小差了,请检查网络后重试') | ||
| 1034 | + } | ||
| 1035 | + } | ||
| 1036 | + ) | ||
| 813 | } catch (e) { } | 1037 | } catch (e) { } |
| 814 | } | 1038 | } |
| 815 | } | 1039 | } |
| 816 | - | ||
| 817 | - // 退出图文详情页关闭音频播放 | ||
| 818 | - const quitGraphicDetailPageEvent = () => { | 1040 | + // 查询关注状态 initStatus(判断是不是第一次进入以及关注页面返回) |
| 1041 | + const clookStatus = async (initStatus) => { | ||
| 819 | if (window.config.VUE_BASE_NODE === 'dev') { | 1042 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 1043 | + const response = await axiosRequest({ | ||
| 1044 | + url: '/interact/zh/c/batchAttention/status', | ||
| 1045 | + methot: 'post', | ||
| 1046 | + appStatus: false, | ||
| 1047 | + environment: state.environment, | ||
| 1048 | + prefix: '/api/rmrb-interact', | ||
| 1049 | + data: { | ||
| 1050 | + creatorIds: [ { creatorId: `${state.details.rmhId}` } ] | ||
| 1051 | + }, | ||
| 1052 | + headers: state.appHeader, | ||
| 1053 | + showError: false | ||
| 1054 | + }) | ||
| 1055 | + if (response.success) { | ||
| 1056 | + clookStatusSee.value = response.data[0].status == '1' ? false : true // '1' 是已关注 '0'是未关注 | ||
| 1057 | + } | ||
| 820 | } else { | 1058 | } else { |
| 821 | - try { | ||
| 822 | - const objQvt = window.config.VUE_APP_LOGIN ? window.config.VUE_APP_LOGIN : '' | ||
| 823 | - const lastObjQvt = typeof objQvt === 'object' ? objQvt : JSON.parse(objQvt) | ||
| 824 | - if (lastObjQvt && (lastObjQvt.event == '2' || lastObjQvt.event == '4')) { | ||
| 825 | - | ||
| 826 | - const _editor36 = document.querySelectorAll('.preview-audio-player') | ||
| 827 | - const coverAudioList = document.querySelectorAll('.preview-audio-player-cover') | ||
| 828 | - if (_editor36) { | ||
| 829 | - _editor36.forEach((item, _) => { | ||
| 830 | - const audioStylePlay = item.querySelector('.audio-play-icon') | ||
| 831 | - const audioStylePause = item.querySelector('.audio-pause-icon') | ||
| 832 | - | ||
| 833 | - const item_audio = item.querySelector('[class^="audio-block"]') | ||
| 834 | - if (item_audio) { | ||
| 835 | - item_audio.pause() | ||
| 836 | - audioStylePause.style.display = 'none' | ||
| 837 | - audioStylePlay.style.display = 'block' | ||
| 838 | - } | ||
| 839 | - }) | 1059 | + if (state.creatorID == state.details.rmhId) { |
| 1060 | + isOwer.value = true | ||
| 1061 | + clookStatusSee.value = false | ||
| 1062 | + nextTick(() => { | ||
| 1063 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1064 | + changeContentHtmlHeight() | ||
| 840 | } | 1065 | } |
| 1066 | + }) | ||
| 1067 | + return | ||
| 1068 | + } | ||
| 841 | 1069 | ||
| 842 | - if (coverAudioList) { | ||
| 843 | - coverAudioList.forEach((item, _) => { | ||
| 844 | - const audioStylePlay = item.querySelector('.audio-play-icon') | ||
| 845 | - const audioStylePause = item.querySelector('.audio-pause-icon') | 1070 | + try { |
| 1071 | + sendNative( | ||
| 1072 | + 'jsCall_callAppService', | ||
| 1073 | + { | ||
| 1074 | + method: 'post', | ||
| 1075 | + url: '/api/rmrb-interact/interact/zh/c/batchAttention/status', | ||
| 1076 | + parameters: { | ||
| 1077 | + //userId为用户id | ||
| 1078 | + creatorIds: [ { creatorId: `${state.details.rmhId}` } ] | ||
| 1079 | + } | ||
| 1080 | + }, | ||
| 1081 | + res => { | ||
| 1082 | + const statusResponse = | ||
| 1083 | + typeof res === 'object' ? res : JSON.parse(res) | ||
| 1084 | + const netError = statusResponse.netError | ||
| 1085 | + const statusResponseMap = | ||
| 1086 | + typeof statusResponse.responseMap === 'object' | ||
| 1087 | + ? statusResponse.responseMap | ||
| 1088 | + : JSON.parse(statusResponse.responseMap) | ||
| 1089 | + if (netError == 0) { | ||
| 1090 | + try { | ||
| 1091 | + const code = statusResponseMap.code | ||
| 1092 | + const data = statusResponseMap.data | ||
| 1093 | + if ([ 200, '0' ].includes(code)) { | ||
| 1094 | + if (data) { | ||
| 1095 | + if (data[0].status == '1') { | ||
| 1096 | + state.initClockStatus = !initStatus | ||
| 1097 | + } else { | ||
| 1098 | + state.initClockStatus = false | ||
| 1099 | + } | ||
| 1100 | + if (state.creatorID == state.details.rmhId) { | ||
| 1101 | + isOwer.value = true | ||
| 1102 | + clookStatusSee.value = false | ||
| 1103 | + } else { | ||
| 1104 | + clookStatusSee.value = data[0].status == '1' ? false : true // '1' 是已关注 '0'是未关注 | ||
| 1105 | + } | ||
| 1106 | + clookBtnActive.value = false | ||
| 1107 | + clookCancelBtnActive.value = false | ||
| 1108 | + } else { | ||
| 1109 | + clookStatusSee.value = true // '1' 是已关注 '0'是未关注 | ||
| 1110 | + state.initClockStatus = false | ||
| 1111 | + clookBtnActive.value = false | ||
| 1112 | + clookCancelBtnActive.value = false | ||
| 1113 | + } | ||
| 1114 | + } | ||
| 846 | 1115 | ||
| 847 | - const item_audio = item.querySelector('[class^="audio-block"]') | ||
| 848 | - if (item_audio) { | ||
| 849 | - item_audio.pause() | ||
| 850 | - audioStylePause.style.display = 'none' | ||
| 851 | - audioStylePlay.style.display = 'block' | ||
| 852 | - } | ||
| 853 | - }) | 1116 | + nextTick(() => { |
| 1117 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1118 | + changeContentHtmlHeight() | ||
| 1119 | + } | ||
| 1120 | + }) | ||
| 1121 | + } catch (e) { } | ||
| 1122 | + } else { | ||
| 1123 | + toast('网络出小差了,请检查网络后重试') | ||
| 1124 | + } | ||
| 854 | } | 1125 | } |
| 855 | - | ||
| 856 | - } | 1126 | + ) |
| 857 | } catch (e) { } | 1127 | } catch (e) { } |
| 858 | } | 1128 | } |
| 859 | } | 1129 | } |
| 860 | - | ||
| 861 | - // 未登录时执行,拉起app登录 | ||
| 862 | - const setAppLogin = () => { | ||
| 863 | - try { | ||
| 864 | - sendNative( | ||
| 865 | - 'jsCall_appInnerLinkMethod', | ||
| 866 | - { | ||
| 867 | - appInnerLink: | ||
| 868 | - 'rmrbapp://rmrb.app/openwith?type=app&subType=login&skipType=2' | ||
| 869 | - }, | ||
| 870 | - res => { } | ||
| 871 | - ) | ||
| 872 | - } catch (e) { } | ||
| 873 | - } | ||
| 874 | - | ||
| 875 | - // 监听从登录页面回来,拿到移动端给的状态值,并做投票状态的刷新 | ||
| 876 | - const checkAppLoginStatu = (type, index) => { | ||
| 877 | - wheelFun(state.voteId, state.details.newsId, type, index) | ||
| 878 | - } | ||
| 879 | - | 1130 | + // 监听页面离开状态用于判断关注信息 |
| 880 | const queryPageLeaveStatus = () => { | 1131 | const queryPageLeaveStatus = () => { |
| 881 | let objEvt = window.config.VUE_APP_LOGIN | 1132 | let objEvt = window.config.VUE_APP_LOGIN |
| 882 | ? window.config.VUE_APP_LOGIN | 1133 | ? window.config.VUE_APP_LOGIN |
| @@ -894,8 +1145,14 @@ const app = Vue.createApp({ | @@ -894,8 +1145,14 @@ const app = Vue.createApp({ | ||
| 894 | } | 1145 | } |
| 895 | } | 1146 | } |
| 896 | 1147 | ||
| 1148 | + /** | ||
| 1149 | + * @Author gx12358 | ||
| 1150 | + * @DateTime 2024/7/5 | ||
| 1151 | + * @lastTime 2024/7/5 | ||
| 1152 | + * @description 投票交互 | ||
| 1153 | + */ | ||
| 897 | const wheelFun = (vid, nid, type, index) => { | 1154 | const wheelFun = (vid, nid, type, index) => { |
| 898 | - // 回调函数的形式 做轮巡 | 1155 | + // 轮训查询是否从登录页回到图文详情 |
| 899 | loginTime.value = setInterval(() => { | 1156 | loginTime.value = setInterval(() => { |
| 900 | try { | 1157 | try { |
| 901 | let objEvt = window.config.VUE_APP_LOGIN | 1158 | let objEvt = window.config.VUE_APP_LOGIN |
| @@ -904,23 +1161,19 @@ const app = Vue.createApp({ | @@ -904,23 +1161,19 @@ const app = Vue.createApp({ | ||
| 904 | let lastObjEvt = | 1161 | let lastObjEvt = |
| 905 | typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) | 1162 | typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) |
| 906 | if (lastObjEvt && lastObjEvt.event == '1') { | 1163 | if (lastObjEvt && lastObjEvt.event == '1') { |
| 907 | - | ||
| 908 | if (window.config.VUE_BASE_NODE === 'dev') { | 1164 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 909 | clearInterval(loginTime.value) | 1165 | clearInterval(loginTime.value) |
| 910 | loginTime.value = null | 1166 | loginTime.value = null |
| 911 | 1167 | ||
| 912 | if (type === 'vote') { | 1168 | if (type === 'vote') { |
| 913 | state.isLogined = 1 | 1169 | state.isLogined = 1 |
| 914 | - refreshVotes(nid, 0 ,() => { | 1170 | + refreshVotes(nid, 0, () => { |
| 915 | voteStatus(vid, index, () => { | 1171 | voteStatus(vid, index, () => { |
| 916 | - setTimeout(() => { | ||
| 917 | - handleVoteList() | ||
| 918 | - nextTick(() => { | ||
| 919 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 920 | - changeContentHtmlHeight() | ||
| 921 | - } | ||
| 922 | - }) | ||
| 923 | - }, 50) | 1172 | + nextTick(() => { |
| 1173 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1174 | + changeContentHtmlHeight() | ||
| 1175 | + } | ||
| 1176 | + }) | ||
| 924 | }) | 1177 | }) |
| 925 | }) | 1178 | }) |
| 926 | } else if (type === 'follow') { | 1179 | } else if (type === 'follow') { |
| @@ -935,14 +1188,11 @@ const app = Vue.createApp({ | @@ -935,14 +1188,11 @@ const app = Vue.createApp({ | ||
| 935 | if (type === 'vote') { | 1188 | if (type === 'vote') { |
| 936 | refreshVotes(nid, 0, () => { | 1189 | refreshVotes(nid, 0, () => { |
| 937 | voteStatus(vid, index, () => { | 1190 | voteStatus(vid, index, () => { |
| 938 | - setTimeout(() => { | ||
| 939 | - handleVoteList() | ||
| 940 | - nextTick(() => { | ||
| 941 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 942 | - changeContentHtmlHeight() | ||
| 943 | - } | ||
| 944 | - }) | ||
| 945 | - }, 50) | 1191 | + nextTick(() => { |
| 1192 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1193 | + changeContentHtmlHeight() | ||
| 1194 | + } | ||
| 1195 | + }) | ||
| 946 | }) | 1196 | }) |
| 947 | }) | 1197 | }) |
| 948 | } else if (type === 'follow') { | 1198 | } else if (type === 'follow') { |
| @@ -958,24 +1208,9 @@ const app = Vue.createApp({ | @@ -958,24 +1208,9 @@ const app = Vue.createApp({ | ||
| 958 | } catch (e) { } | 1208 | } catch (e) { } |
| 959 | }, 20) | 1209 | }, 20) |
| 960 | } | 1210 | } |
| 961 | - | ||
| 962 | - // 获取用户登录状态 | ||
| 963 | - const getUserLoginStatus = (callback) => { | ||
| 964 | - try { | ||
| 965 | - sendNative('jsCall_getAppLoginAuthInfo', {}, res => { | ||
| 966 | - const loginStatusResponse = | ||
| 967 | - typeof res === 'object' ? res : JSON.parse(res) | ||
| 968 | - state.isLogined = | ||
| 969 | - loginStatusResponse && loginStatusResponse.isLogined | ||
| 970 | - | ||
| 971 | - if (callback !== undefined) { | ||
| 972 | - callback(state.isLogined) | ||
| 973 | - } | ||
| 974 | - }) | ||
| 975 | - } catch (e) { } | ||
| 976 | - } | ||
| 977 | - | ||
| 978 | - // 投票按钮 | 1211 | + // 开启轮训查询 |
| 1212 | + const checkAppLoginStatu = (type, index) => wheelFun(state.voteId, state.details.newsId, type, index) | ||
| 1213 | + // 开始投票 | ||
| 979 | const goVote = (voteId, optionId, index) => { | 1214 | const goVote = (voteId, optionId, index) => { |
| 980 | if (!state.details.endTimePoint) { | 1215 | if (!state.details.endTimePoint) { |
| 981 | if (window.config.VUE_BASE_NODE === 'dev') { | 1216 | if (window.config.VUE_BASE_NODE === 'dev') { |
| @@ -1018,6 +1253,11 @@ const app = Vue.createApp({ | @@ -1018,6 +1253,11 @@ const app = Vue.createApp({ | ||
| 1018 | if (state.Doing) { | 1253 | if (state.Doing) { |
| 1019 | return | 1254 | return |
| 1020 | } else { | 1255 | } else { |
| 1256 | + try { | ||
| 1257 | + sendNative('jsCall_currentPageOperate', { | ||
| 1258 | + operateType: '47' | ||
| 1259 | + }, () => {}) | ||
| 1260 | + } catch (e) {} | ||
| 1021 | state.Doing = true | 1261 | state.Doing = true |
| 1022 | setVote(voteId, optionId, index) | 1262 | setVote(voteId, optionId, index) |
| 1023 | } | 1263 | } |
| @@ -1028,7 +1268,6 @@ const app = Vue.createApp({ | @@ -1028,7 +1268,6 @@ const app = Vue.createApp({ | ||
| 1028 | } | 1268 | } |
| 1029 | } | 1269 | } |
| 1030 | } | 1270 | } |
| 1031 | - | ||
| 1032 | // 用户投票 | 1271 | // 用户投票 |
| 1033 | const setVote = async (vID, oID, index) => { | 1272 | const setVote = async (vID, oID, index) => { |
| 1034 | if (window.config.VUE_BASE_NODE === 'dev') {} else { | 1273 | if (window.config.VUE_BASE_NODE === 'dev') {} else { |
| @@ -1054,32 +1293,39 @@ const app = Vue.createApp({ | @@ -1054,32 +1293,39 @@ const app = Vue.createApp({ | ||
| 1054 | const newId = state.details.newsId | 1293 | const newId = state.details.newsId |
| 1055 | if ([ 200, '0' ].includes(code)) { | 1294 | if ([ 200, '0' ].includes(code)) { |
| 1056 | const optionInfo = optionList.value.find(item => item.optionId == oID) | 1295 | const optionInfo = optionList.value.find(item => item.optionId == oID) |
| 1057 | - normalClickTypePoint({ | ||
| 1058 | - channelId: channelId.value, | ||
| 1059 | - newsType: state.details.newsType, | ||
| 1060 | - newsId: state.details.newsId, | ||
| 1061 | - newsTitle: state.details.newsTitle, | ||
| 1062 | - sceneId: state.details.sceneId, | ||
| 1063 | - itemId: state.details.itemId, | ||
| 1064 | - subSceneId: state.details.subSceneId, | ||
| 1065 | - voteOption: `${oID}`, | ||
| 1066 | - voteContent: optionInfo ? optionInfo.summary : '', | ||
| 1067 | - cnsTraceId: state.cnsTraceId, | ||
| 1068 | - isNewspaper: isNewspaper.value, | ||
| 1069 | - duration: dayjs().diff(statrTime.value, 'second') | ||
| 1070 | - }) | 1296 | + try { |
| 1297 | + normalClickTypePoint({ | ||
| 1298 | + channelId: channelId.value, | ||
| 1299 | + newsType: state.details.newsType, | ||
| 1300 | + newsId: state.details.newsId, | ||
| 1301 | + newsTitle: state.details.newsTitle, | ||
| 1302 | + sceneId: state.details.sceneId, | ||
| 1303 | + itemId: state.details.itemId, | ||
| 1304 | + subSceneId: state.details.subSceneId, | ||
| 1305 | + voteOption: `${oID}`, | ||
| 1306 | + voteContent: optionInfo ? optionInfo.summary : '', | ||
| 1307 | + cnsTraceId: state.cnsTraceId, | ||
| 1308 | + isNewspaper: isNewspaper.value, | ||
| 1309 | + duration: dayjs().diff(statrTime.value, 'second') | ||
| 1310 | + }) | ||
| 1311 | + } catch (e) { | ||
| 1312 | + | ||
| 1313 | + } | ||
| 1314 | + try { | ||
| 1315 | + sendNative('jsCall_currentPageOperate', { | ||
| 1316 | + operateType: '48' | ||
| 1317 | + }, () => { | ||
| 1318 | + }) | ||
| 1319 | + } catch (e) {} | ||
| 1071 | toast('投票成功') | 1320 | toast('投票成功') |
| 1072 | // 刷新投票状态 | 1321 | // 刷新投票状态 |
| 1073 | refreshVotes(newId, 0, () => { | 1322 | refreshVotes(newId, 0, () => { |
| 1074 | voteStatus(vID, index, () => { | 1323 | voteStatus(vID, index, () => { |
| 1075 | - setTimeout(() => { | ||
| 1076 | - handleVoteList() | ||
| 1077 | - nextTick(() => { | ||
| 1078 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1079 | - changeContentHtmlHeight() | ||
| 1080 | - } | ||
| 1081 | - }) | ||
| 1082 | - }, 50) | 1324 | + nextTick(() => { |
| 1325 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1326 | + changeContentHtmlHeight() | ||
| 1327 | + } | ||
| 1328 | + }) | ||
| 1083 | }) // 投票前 投票后 | 1329 | }) // 投票前 投票后 |
| 1084 | }) | 1330 | }) |
| 1085 | 1331 | ||
| @@ -1088,41 +1334,66 @@ const app = Vue.createApp({ | @@ -1088,41 +1334,66 @@ const app = Vue.createApp({ | ||
| 1088 | toast(vtSubmitResponseMap.message) | 1334 | toast(vtSubmitResponseMap.message) |
| 1089 | } | 1335 | } |
| 1090 | } catch (e) { } | 1336 | } catch (e) { } |
| 1091 | - } else {} | 1337 | + } else { |
| 1338 | + toast('网络出小差了,请检查网络后重试') | ||
| 1339 | + } | ||
| 1092 | } | 1340 | } |
| 1093 | ) | 1341 | ) |
| 1094 | } catch (e) { } | 1342 | } catch (e) { } |
| 1095 | } | 1343 | } |
| 1096 | } | 1344 | } |
| 1097 | - | ||
| 1098 | // 刷新投票状态 | 1345 | // 刷新投票状态 |
| 1099 | const refreshVotes = async (eq, id, callback) => { | 1346 | const refreshVotes = async (eq, id, callback) => { |
| 1100 | if (window.config.VUE_BASE_NODE === 'dev') { | 1347 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 1101 | setTimeout(() => { | 1348 | setTimeout(() => { |
| 1102 | - handleVoteData({ | ||
| 1103 | - voteInfo: { | ||
| 1104 | - "endTime": "", | ||
| 1105 | - "options": [ | ||
| 1106 | - { | ||
| 1107 | - "index": 1, | ||
| 1108 | - "optionId": "1447", | ||
| 1109 | - "summary": "苹果1", | ||
| 1110 | - "totalVotes": 3 | ||
| 1111 | - }, | 1349 | + const refResponse = { |
| 1350 | + netError: 0, | ||
| 1351 | + responseMap: { | ||
| 1352 | + code: '0', | ||
| 1353 | + data: [ | ||
| 1112 | { | 1354 | { |
| 1113 | - "index": 2, | ||
| 1114 | - "optionId": "1448", | ||
| 1115 | - "summary": "香蕉", | ||
| 1116 | - "totalVotes": 10 | 1355 | + voteInfo: shallowMergeObj(state.originDataSource.voteInfo, { |
| 1356 | + options: [ | ||
| 1357 | + { | ||
| 1358 | + backColor: '#486FFF', | ||
| 1359 | + index: 1, | ||
| 1360 | + optionId: 8537, | ||
| 1361 | + summary: 2, | ||
| 1362 | + totalVotes: 1, | ||
| 1363 | + wordColor: '#FFFFFF' | ||
| 1364 | + }, | ||
| 1365 | + { | ||
| 1366 | + backColor: '#486FFF', | ||
| 1367 | + index: 2, | ||
| 1368 | + optionId: 8538, | ||
| 1369 | + summary: 1, | ||
| 1370 | + totalVotes: 0, | ||
| 1371 | + wordColor: '#FFFFFF' | ||
| 1372 | + } | ||
| 1373 | + ] | ||
| 1374 | + }) | ||
| 1117 | } | 1375 | } |
| 1118 | - ], | ||
| 1119 | - "style": 1, | ||
| 1120 | - "title": "喜欢什么", | ||
| 1121 | - "voteId": 326 | 1376 | + ] |
| 1122 | } | 1377 | } |
| 1123 | - }) | ||
| 1124 | - | ||
| 1125 | - if (callback) callback() | 1378 | + } |
| 1379 | + const refResponseMap = | ||
| 1380 | + typeof refResponse.responseMap === 'object' | ||
| 1381 | + ? refResponse.responseMap | ||
| 1382 | + : JSON.parse(refResponse.responseMap) | ||
| 1383 | + if (refResponseMap.data && refResponseMap.code) { | ||
| 1384 | + const code = refResponseMap.code | ||
| 1385 | + const data = refResponseMap.data[0] | ||
| 1386 | + if ([ 200, '0' ].includes(code) && data) { | ||
| 1387 | + if (Object.keys(data).length > 0) { | ||
| 1388 | + handleVoteData(data) | ||
| 1389 | + if (callback) callback() | ||
| 1390 | + } | ||
| 1391 | + } else { | ||
| 1392 | + toast('网络出小差了,请检查网络后重试') | ||
| 1393 | + } | ||
| 1394 | + } else { | ||
| 1395 | + toast('网络出小差了,请检查网络后重试') | ||
| 1396 | + } | ||
| 1126 | }, 100) | 1397 | }, 100) |
| 1127 | } else { | 1398 | } else { |
| 1128 | try { | 1399 | try { |
| @@ -1131,23 +1402,23 @@ const app = Vue.createApp({ | @@ -1131,23 +1402,23 @@ const app = Vue.createApp({ | ||
| 1131 | relId: state.details.reLInfo.relId | 1402 | relId: state.details.reLInfo.relId |
| 1132 | } : {} | 1403 | } : {} |
| 1133 | sendNative( | 1404 | sendNative( |
| 1134 | - 'nik', | 1405 | + 'jsCall_callAppService', |
| 1135 | { | 1406 | { |
| 1136 | method: 'post', | 1407 | method: 'post', |
| 1137 | url: '/api/rmrb-bff-display-zh/content/zh/c/content/detail', | 1408 | url: '/api/rmrb-bff-display-zh/content/zh/c/content/detail', |
| 1138 | parameters: { | 1409 | parameters: { |
| 1139 | - contents: { | ||
| 1140 | - contentId: eq, | ||
| 1141 | - ...reLInfo | ||
| 1142 | - } | 1410 | + contents: shallowMergeObj({ |
| 1411 | + contentId: eq | ||
| 1412 | + }, reLInfo) | ||
| 1143 | } | 1413 | } |
| 1144 | }, | 1414 | }, |
| 1145 | - res => { | ||
| 1146 | - const refResponse = | ||
| 1147 | - typeof res === 'object' ? res : JSON.parse(res) | ||
| 1148 | - const netError = refResponse.netError | ||
| 1149 | - if (netError == 0) { | ||
| 1150 | - try { | 1415 | + (res) => { |
| 1416 | + logInfo('res', res) | ||
| 1417 | + try { | ||
| 1418 | + const refResponse = | ||
| 1419 | + typeof res === 'object' ? res : JSON.parse(res) | ||
| 1420 | + const netError = refResponse.netError | ||
| 1421 | + if (netError == 0) { | ||
| 1151 | const refResponseMap = | 1422 | const refResponseMap = |
| 1152 | typeof refResponse.responseMap === 'object' | 1423 | typeof refResponse.responseMap === 'object' |
| 1153 | ? refResponse.responseMap | 1424 | ? refResponse.responseMap |
| @@ -1162,21 +1433,28 @@ const app = Vue.createApp({ | @@ -1162,21 +1433,28 @@ const app = Vue.createApp({ | ||
| 1162 | if (callback) callback() | 1433 | if (callback) callback() |
| 1163 | } | 1434 | } |
| 1164 | } else { | 1435 | } else { |
| 1436 | + toast('网络出小差了,请检查网络后重试') | ||
| 1165 | } | 1437 | } |
| 1166 | } else { | 1438 | } else { |
| 1439 | + toast('网络出小差了,请检查网络后重试') | ||
| 1167 | } | 1440 | } |
| 1168 | - } catch (e) { } | 1441 | + } else { |
| 1442 | + toast('网络出小差了,请检查网络后重试') | ||
| 1443 | + } | ||
| 1444 | + } catch (e) { | ||
| 1445 | + logInfo('error', e) | ||
| 1169 | } | 1446 | } |
| 1170 | } | 1447 | } |
| 1171 | ) | 1448 | ) |
| 1172 | } catch (e) { } | 1449 | } catch (e) { } |
| 1173 | } | 1450 | } |
| 1174 | } | 1451 | } |
| 1175 | - | ||
| 1176 | // 用户投票状态查询 | 1452 | // 用户投票状态查询 |
| 1177 | const voteStatus = async (vId, index, callBack) => { | 1453 | const voteStatus = async (vId, index, callBack) => { |
| 1178 | if (window.config.VUE_BASE_NODE === 'dev') { | 1454 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 1455 | + voteInit.value = true | ||
| 1179 | state.voteState.status = 1 // 决定是投票前0 还是 投票后1 | 1456 | state.voteState.status = 1 // 决定是投票前0 还是 投票后1 |
| 1457 | + nextTick(() => handleVoteList()) | ||
| 1180 | if (state.details.voteInfo.style === 1) { | 1458 | if (state.details.voteInfo.style === 1) { |
| 1181 | // 展示对 √ | 1459 | // 展示对 √ |
| 1182 | if (index) { | 1460 | if (index) { |
| @@ -1214,6 +1492,7 @@ const app = Vue.createApp({ | @@ -1214,6 +1492,7 @@ const app = Vue.createApp({ | ||
| 1214 | try { | 1492 | try { |
| 1215 | state.voteState.status = data.status // 决定是投票前0 还是 投票后1 | 1493 | state.voteState.status = data.status // 决定是投票前0 还是 投票后1 |
| 1216 | state.voteState.optionId = data.optionId // 返回的是 被投票项的 optionId ,没投就是 '' | 1494 | state.voteState.optionId = data.optionId // 返回的是 被投票项的 optionId ,没投就是 '' |
| 1495 | + nextTick(() => handleVoteList()) | ||
| 1217 | } catch (e) {} | 1496 | } catch (e) {} |
| 1218 | if (state.details.voteInfo.style === 1) { | 1497 | if (state.details.voteInfo.style === 1) { |
| 1219 | // 展示对 √ | 1498 | // 展示对 √ |
| @@ -1232,27 +1511,22 @@ const app = Vue.createApp({ | @@ -1232,27 +1511,22 @@ const app = Vue.createApp({ | ||
| 1232 | toast(vtStatusResponseMap.message) | 1511 | toast(vtStatusResponseMap.message) |
| 1233 | } | 1512 | } |
| 1234 | } catch (e) { } | 1513 | } catch (e) { } |
| 1514 | + } else { | ||
| 1515 | + toast('网络出小差了,请检查网络后重试') | ||
| 1235 | } | 1516 | } |
| 1236 | } | 1517 | } |
| 1237 | ) | 1518 | ) |
| 1238 | } catch (e) { } | 1519 | } catch (e) { } |
| 1239 | } | 1520 | } |
| 1240 | } | 1521 | } |
| 1241 | - | 1522 | + // 处理投票List给页面使用 |
| 1242 | const handleVoteList = () => { | 1523 | const handleVoteList = () => { |
| 1243 | - state.details.voteInfo.options = state.details.voteInfo.options.map((item, index) => { | ||
| 1244 | - if (index === 0) item.totalVotes = 2 | ||
| 1245 | - if (index === 1) item.totalVotes = 4 | ||
| 1246 | - return item | ||
| 1247 | - }) | ||
| 1248 | - const tots = state.details.voteInfo && state.details.voteInfo.options ? state.details.voteInfo.options.reduce(( | ||
| 1249 | - x, | ||
| 1250 | - i | ||
| 1251 | - ) => { | ||
| 1252 | - return x + i.totalVotes | ||
| 1253 | - }, 0) : 0 | ||
| 1254 | - let datsArr = state.details.voteInfo && state.details.voteInfo.options | ||
| 1255 | - ? state.details.voteInfo.options.map(ep => { | 1524 | + const tots = voteOtions.value.length |
| 1525 | + ? voteOtions.value.reduce((x, i) => x + i.totalVotes, 0) | ||
| 1526 | + : 0 | ||
| 1527 | + | ||
| 1528 | + let datsArr = voteOtions.value.length | ||
| 1529 | + ? voteOtions.value.map(ep => { | ||
| 1256 | ep.votesBf = tots > 0 ? parseInt(ep.totalVotes / tots * 100) : 0 | 1530 | ep.votesBf = tots > 0 ? parseInt(ep.totalVotes / tots * 100) : 0 |
| 1257 | return ep | 1531 | return ep |
| 1258 | }) | 1532 | }) |
| @@ -1279,22 +1553,21 @@ const app = Vue.createApp({ | @@ -1279,22 +1553,21 @@ const app = Vue.createApp({ | ||
| 1279 | if (datsArr.length > 0 && state.details.voteInfo && state.details.voteInfo.style === 1) { | 1553 | if (datsArr.length > 0 && state.details.voteInfo && state.details.voteInfo.style === 1) { |
| 1280 | if (datsArr[0].votesBf === 0 && datsArr[1].votesBf === 0) { | 1554 | if (datsArr[0].votesBf === 0 && datsArr[1].votesBf === 0) { |
| 1281 | datsArr = datsArr.map(item => { | 1555 | datsArr = datsArr.map(item => { |
| 1282 | - return { | ||
| 1283 | - ...item, | 1556 | + return shallowMergeObj(item, { |
| 1284 | votesBf: 50 | 1557 | votesBf: 50 |
| 1285 | - } | 1558 | + }) |
| 1286 | }) | 1559 | }) |
| 1287 | } | 1560 | } |
| 1288 | } | 1561 | } |
| 1289 | } | 1562 | } |
| 1290 | 1563 | ||
| 1291 | datsArr = deepCopy(datsArr).map((item, index) => { | 1564 | datsArr = deepCopy(datsArr).map((item, index) => { |
| 1292 | - let oneWidth = state.details.voteInfo.style == 1 && index === 0 | 1565 | + oneWidth = state.details.voteInfo.style == 1 && index === 0 |
| 1293 | ? datsArr[index + 1].votesBf == 0 && item.votesBf == 0 | 1566 | ? datsArr[index + 1].votesBf == 0 && item.votesBf == 0 |
| 1294 | ? 50 | 1567 | ? 50 |
| 1295 | : (item.votesBf == 0 ? 8 : datsArr[index + 1].votesBf == 0 ? 92 : item.votesBf) | 1568 | : (item.votesBf == 0 ? 8 : datsArr[index + 1].votesBf == 0 ? 92 : item.votesBf) |
| 1296 | : 0 | 1569 | : 0 |
| 1297 | - let twoWidth = state.details.voteInfo.style == 1 && index === 1 | 1570 | + twoWidth = state.details.voteInfo.style == 1 && index === 1 |
| 1298 | ? datsArr[index - 1].votesBf == 0 && item.votesBf == 0 | 1571 | ? datsArr[index - 1].votesBf == 0 && item.votesBf == 0 |
| 1299 | ? 50 | 1572 | ? 50 |
| 1300 | : (item.votesBf == 0 ? 8 : datsArr[index - 1].votesBf == 0 ? 92 : item.votesBf) | 1573 | : (item.votesBf == 0 ? 8 : datsArr[index - 1].votesBf == 0 ? 92 : item.votesBf) |
| @@ -1303,8 +1576,10 @@ const app = Vue.createApp({ | @@ -1303,8 +1576,10 @@ const app = Vue.createApp({ | ||
| 1303 | oneWidth = 50 | 1576 | oneWidth = 50 |
| 1304 | twoWidth = 50 | 1577 | twoWidth = 50 |
| 1305 | } | 1578 | } |
| 1579 | + const voteAnimate = document.getElementById('voteAnimate') | ||
| 1580 | + | ||
| 1306 | if (oneWidth && index === 0 && state.details.voteInfo.style == 1) { | 1581 | if (oneWidth && index === 0 && state.details.voteInfo.style == 1) { |
| 1307 | - const cssStr = `@keyframes voteProgressIn { | 1582 | + const oneCssStr = `@keyframes voteProgressIn { |
| 1308 | 0% { | 1583 | 0% { |
| 1309 | width: calc(50% - 0.5px); | 1584 | width: calc(50% - 0.5px); |
| 1310 | } | 1585 | } |
| @@ -1313,15 +1588,16 @@ const app = Vue.createApp({ | @@ -1313,15 +1588,16 @@ const app = Vue.createApp({ | ||
| 1313 | width: calc(${oneWidth}% - 0.5px); | 1588 | width: calc(${oneWidth}% - 0.5px); |
| 1314 | } | 1589 | } |
| 1315 | }` | 1590 | }` |
| 1316 | - | ||
| 1317 | - const style = document.createElement('style') | ||
| 1318 | - style.setAttribute('type', 'text/css') | ||
| 1319 | - document.head.appendChild(style) | ||
| 1320 | - style.sheet.insertRule(cssStr, 0) | 1591 | + voteAnimate.innerHTML += oneCssStr |
| 1592 | + // setTimeout(() => voteAnimate.innerHTML += oneCssStr, 100) | ||
| 1593 | + // const style = document.createElement('style') | ||
| 1594 | + // style.setAttribute('type', 'text/css') | ||
| 1595 | + // document.head.appendChild(style) | ||
| 1596 | + // style.sheet.insertRule(oneCssStr, 0) | ||
| 1321 | } | 1597 | } |
| 1322 | 1598 | ||
| 1323 | if (twoWidth && index === 1 && state.details.voteInfo.style == 1) { | 1599 | if (twoWidth && index === 1 && state.details.voteInfo.style == 1) { |
| 1324 | - const cssStr = `@keyframes voteProgressInTwo { | 1600 | + const twoCssStr = `@keyframes voteProgressInTwo { |
| 1325 | 0% { | 1601 | 0% { |
| 1326 | width: calc(50% - 0.5px); | 1602 | width: calc(50% - 0.5px); |
| 1327 | } | 1603 | } |
| @@ -1330,41 +1606,60 @@ const app = Vue.createApp({ | @@ -1330,41 +1606,60 @@ const app = Vue.createApp({ | ||
| 1330 | width: calc(${twoWidth}% - 0.5px); | 1606 | width: calc(${twoWidth}% - 0.5px); |
| 1331 | } | 1607 | } |
| 1332 | }` | 1608 | }` |
| 1333 | - | ||
| 1334 | - const style = document.createElement('style') | ||
| 1335 | - style.setAttribute('type', 'text/css') | ||
| 1336 | - document.head.appendChild(style) | ||
| 1337 | - style.sheet.insertRule(cssStr, 0) | 1609 | + voteAnimate.innerHTML += twoCssStr |
| 1610 | + // setTimeout(() => voteAnimate.innerHTML += twoCssStr, 100) | ||
| 1611 | + // voteAnimate.innerHTML += twoCssStr | ||
| 1612 | + // const style = document.createElement('style') | ||
| 1613 | + // style.setAttribute('type', 'text/css') | ||
| 1614 | + // document.head.appendChild(style) | ||
| 1615 | + // style.sheet.insertRule(twoCssStr, 0) | ||
| 1338 | } | 1616 | } |
| 1339 | 1617 | ||
| 1340 | - return { | ||
| 1341 | - ...item, | ||
| 1342 | - oneStyle: { | ||
| 1343 | - width: `calc(${oneWidth}%)`, | ||
| 1344 | - clipPath: `polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%)`, | ||
| 1345 | - '-webkit-clip-path': `polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%)` | ||
| 1346 | - }, | 1618 | + const oneStyle = { |
| 1619 | + width: `calc(${oneWidth}%)`, | ||
| 1620 | + clipPath: `polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%)`, | ||
| 1621 | + '-webkit-clip-path': `polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%)`, | ||
| 1622 | + color: item.wordColor || undefined, | ||
| 1623 | + background: item.backColor || undefined | ||
| 1624 | + } | ||
| 1625 | + const twoStyle = { | ||
| 1626 | + width: `calc(${twoWidth}%)`, | ||
| 1627 | + clipPath: `polygon(12px 0, 100% 0, 100% 100%, 0 100%)`, | ||
| 1628 | + '-webkit-clip-path': `polygon(12px 0, 100% 0, 100% 100%, 0 100%)`, | ||
| 1629 | + color: item.wordColor || undefined, | ||
| 1630 | + background: item.backColor || undefined | ||
| 1631 | + } | ||
| 1632 | + return shallowMergeObj(item, { | ||
| 1633 | + oneStyle: shallowMergeObj(oneStyle, { | ||
| 1634 | + width: `50%` | ||
| 1635 | + }), | ||
| 1636 | + oneStyleFront: shallowMergeObj(oneStyle, { | ||
| 1637 | + width: 'calc(50% + 2.5px)' | ||
| 1638 | + }), | ||
| 1347 | oneStyleAfter: { | 1639 | oneStyleAfter: { |
| 1348 | - width: `calc(${oneWidth}%)`, | 1640 | + width: `calc(50%)`, |
| 1641 | + background: item.backColor, | ||
| 1349 | clipPath: `polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%)`, | 1642 | clipPath: `polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%)`, |
| 1350 | '-webkit-clip-path': `polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%)` | 1643 | '-webkit-clip-path': `polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%)` |
| 1351 | }, | 1644 | }, |
| 1352 | - twoStyle: { | ||
| 1353 | - width: `calc(${twoWidth}%)`, | ||
| 1354 | - clipPath: `polygon(12px 0, 100% 0, 100% 100%, 0 100%)`, | ||
| 1355 | - '-webkit-clip-path': `polygon(12px 0, 100% 0, 100% 100%, 0 100%)` | ||
| 1356 | - }, | 1645 | + twoStyle: shallowMergeObj(twoStyle, { |
| 1646 | + width: `50%` | ||
| 1647 | + }), | ||
| 1648 | + twoStyleFront: shallowMergeObj(twoStyle, { | ||
| 1649 | + width: 'calc(50% + 2.5px)' | ||
| 1650 | + }), | ||
| 1357 | twoStyleAfter: { | 1651 | twoStyleAfter: { |
| 1358 | - width: `calc(${twoWidth}%)`, | 1652 | + width: `calc(50%)`, |
| 1653 | + background: item.backColor, | ||
| 1359 | clipPath: `polygon(4px 0, 100% 0, 100% 100%, 0 100%)`, | 1654 | clipPath: `polygon(4px 0, 100% 0, 100% 100%, 0 100%)`, |
| 1360 | '-webkit-clip-path': `polygon(4px 0, 100% 0, 100% 100%, 0 100%)` | 1655 | '-webkit-clip-path': `polygon(4px 0, 100% 0, 100% 100%, 0 100%)` |
| 1361 | } | 1656 | } |
| 1362 | - } | 1657 | + }) |
| 1363 | }) | 1658 | }) |
| 1364 | 1659 | ||
| 1365 | optionList.value = deepCopy(datsArr) | 1660 | optionList.value = deepCopy(datsArr) |
| 1366 | } | 1661 | } |
| 1367 | - | 1662 | + // 将投票相关信息处理成多个本地变量 |
| 1368 | const handleVoteData = (data) => { | 1663 | const handleVoteData = (data) => { |
| 1369 | state.details.voteInfo = data.voteInfo | 1664 | state.details.voteInfo = data.voteInfo |
| 1370 | // 投票信息结束时间为空endTimePoint则为false,否则结束时间大于当前时间endTimePoint则为data.voteInfo.endTime,否则endTimePoint为Close | 1665 | // 投票信息结束时间为空endTimePoint则为false,否则结束时间大于当前时间endTimePoint则为data.voteInfo.endTime,否则endTimePoint为Close |
| @@ -1373,415 +1668,256 @@ const app = Vue.createApp({ | @@ -1373,415 +1668,256 @@ const app = Vue.createApp({ | ||
| 1373 | : (data.voteInfo.endTime - Date.now()) > 0 | 1668 | : (data.voteInfo.endTime - Date.now()) > 0 |
| 1374 | ? true | 1669 | ? true |
| 1375 | : false | 1670 | : false |
| 1376 | - state.details.options = data.voteInfo.options ? Array.isArray(data.voteInfo.options) | 1671 | + voteOtions.value = data.voteInfo.options ? Array.isArray(data.voteInfo.options) |
| 1377 | ? data.voteInfo.options | 1672 | ? data.voteInfo.options |
| 1378 | : [] : [] | 1673 | : [] : [] |
| 1379 | //投票信息选项存在且投票信息选项标题存在,则把投票信息选项标题赋值给yes | 1674 | //投票信息选项存在且投票信息选项标题存在,则把投票信息选项标题赋值给yes |
| 1380 | state.details.yes = data.voteInfo.options && data.voteInfo.options[0] | 1675 | state.details.yes = data.voteInfo.options && data.voteInfo.options[0] |
| 1381 | //投票信息选项存在且投票信息选项排序存在,则把投票信息选项排序赋值给no | 1676 | //投票信息选项存在且投票信息选项排序存在,则把投票信息选项排序赋值给no |
| 1382 | - state.details.no = data.voteInfo.options && data.voteInfo.options[1] | ||
| 1383 | - } | ||
| 1384 | - | ||
| 1385 | - /* 该方法由App预埋,H5加载完成后 h5主动传递数据用 */ | ||
| 1386 | - const sendParams = callback => { | ||
| 1387 | - sendNative( | ||
| 1388 | - 'jsCall_receiveH5Data', | ||
| 1389 | - { dataSource: '1', dataJson: JSON.stringify(state.originDataSource) }, | ||
| 1390 | - callback | ||
| 1391 | - ) | ||
| 1392 | - } | ||
| 1393 | - | ||
| 1394 | - // 人民号 关注和已关注 点击事件 1 关注 0 取消关注 | ||
| 1395 | - const clookBtnHandel = async status => { | ||
| 1396 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1397 | - const response = await axiosRequest({ | ||
| 1398 | - url: '/interact/zh/c/attention/operation', | ||
| 1399 | - methot: 'post', | ||
| 1400 | - appStatus: false, | ||
| 1401 | - environment: state.environment, | ||
| 1402 | - prefix: '/api/rmrb-interact', | ||
| 1403 | - data: { | ||
| 1404 | - status, | ||
| 1405 | - attentionUserId: `${state.details.userId}`, | ||
| 1406 | - attentionUserType: `${state.details.userType}`, | ||
| 1407 | - attentionCreatorId: `${state.details.rmhId}` | ||
| 1408 | - }, | ||
| 1409 | - headers: state.appHeader, | ||
| 1410 | - showError: false | ||
| 1411 | - }) | ||
| 1412 | - if (response.success) { | ||
| 1413 | - } | ||
| 1414 | - } else { | ||
| 1415 | - try { | ||
| 1416 | - sendNative( | ||
| 1417 | - 'jsCall_callAppService', | ||
| 1418 | - { | ||
| 1419 | - method: 'post', | ||
| 1420 | - url: '/api/rmrb-interact/interact/zh/c/attention/operation', | ||
| 1421 | - parameters: { | ||
| 1422 | - status, | ||
| 1423 | - attentionUserId: `${state.details.userId}`, | ||
| 1424 | - attentionUserType: `${state.details.userType}`, | ||
| 1425 | - attentionCreatorId: `${state.details.rmhId}` | ||
| 1426 | - } | ||
| 1427 | - }, | ||
| 1428 | - res => { | ||
| 1429 | - const response = typeof res === 'object' ? res : JSON.parse(res) | ||
| 1430 | - const netError = response.netError | ||
| 1431 | - if (netError == 0) { | ||
| 1432 | - try { | ||
| 1433 | - const responseMap = | ||
| 1434 | - typeof response.responseMap === 'object' | ||
| 1435 | - ? response.responseMap | ||
| 1436 | - : JSON.parse(response.responseMap) | ||
| 1437 | - const success = responseMap.success | ||
| 1438 | - const params = { | ||
| 1439 | - type: status, | ||
| 1440 | - channelId: channelId.value, | ||
| 1441 | - newsType: state.details.newsType, | ||
| 1442 | - newsId: state.details.newsId, | ||
| 1443 | - newsTitle: state.details.newsTitle, | ||
| 1444 | - sceneId: state.details.sceneId, | ||
| 1445 | - itemId: state.details.itemId, | ||
| 1446 | - subSceneId: state.details.subSceneId, | ||
| 1447 | - cnsTraceId: state.cnsTraceId, | ||
| 1448 | - isNewspaper: isNewspaper.value, | ||
| 1449 | - duration: dayjs().diff(statrTime.value, 'second') | ||
| 1450 | - } | ||
| 1451 | - | ||
| 1452 | - if (status == 1) { | ||
| 1453 | - params.followPDUserId = state.details.rmhId | ||
| 1454 | - params.followUserName = state.details.rmhName | ||
| 1455 | - } else if (status == 0) { | ||
| 1456 | - params.cancelFollowPDUseId = state.details.rmhId | ||
| 1457 | - params.cancelFollowUserName = state.details.rmhName | ||
| 1458 | - } | ||
| 1459 | - if (success) { | ||
| 1460 | - if (status == 1) { | ||
| 1461 | - followTypePoint(params) | ||
| 1462 | - clookStatus() // 调关注状态查询,更新按钮上的文字 | ||
| 1463 | - // toast('关注成功') | ||
| 1464 | - try { | ||
| 1465 | - sendNative('jsCall_currentPageOperate', { | ||
| 1466 | - operateType: '24', | ||
| 1467 | - creatorId: `${state.details.rmhId}`, | ||
| 1468 | - followStatus: '1' | ||
| 1469 | - }, () => {}) | ||
| 1470 | - } catch (e) {} | ||
| 1471 | - } else if (status == 0) { | ||
| 1472 | - followTypePoint(params) | ||
| 1473 | - clookStatus() // 调关注状态查询,更新按钮上的文字 | ||
| 1474 | - // toast('取消关注成功') | ||
| 1475 | - try { | ||
| 1476 | - sendNative('jsCall_currentPageOperate', { | ||
| 1477 | - operateType: '24', | ||
| 1478 | - creatorId: `${state.details.rmhId}`, | ||
| 1479 | - followStatus: '0' | ||
| 1480 | - }, () => {}) | ||
| 1481 | - } catch (e) {} | ||
| 1482 | - } | ||
| 1483 | - } | ||
| 1484 | - } catch (e) { } | ||
| 1485 | - } | ||
| 1486 | - } | ||
| 1487 | - ) | ||
| 1488 | - } catch (e) { } | ||
| 1489 | - } | ||
| 1490 | - } | ||
| 1491 | - | ||
| 1492 | - // 人民号“关注”按钮 | ||
| 1493 | - const clookBtn = () => { | ||
| 1494 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1495 | - if (clookBtnActive.value) { | ||
| 1496 | - return | ||
| 1497 | - } | ||
| 1498 | - clookBtnActive.value = true | ||
| 1499 | - setTimeout(() => { | ||
| 1500 | - showClook.value = false | ||
| 1501 | - clookStatusSee.value = false | ||
| 1502 | - clookBtnActive.value = false | ||
| 1503 | - followTypePoint({ | ||
| 1504 | - type: 1, | ||
| 1505 | - followPDUserId: state.details.rmhId, | ||
| 1506 | - followUserName: state.details.rmhName, | ||
| 1507 | - channelId: channelId.value, | ||
| 1508 | - newsType: state.details.newsType, | ||
| 1509 | - newsId: state.details.newsId, | ||
| 1510 | - newsTitle: state.details.newsTitle, | ||
| 1511 | - sceneId: state.details.sceneId, | ||
| 1512 | - itemId: state.details.itemId, | ||
| 1513 | - subSceneId: state.details.subSceneId, | ||
| 1514 | - cnsTraceId: state.cnsTraceId, | ||
| 1515 | - isNewspaper: isNewspaper.value, | ||
| 1516 | - duration: dayjs().diff(statrTime.value, 'second') | ||
| 1517 | - }) | ||
| 1518 | - }, 1000) | ||
| 1519 | - return | ||
| 1520 | - } | ||
| 1521 | - if (clookBtnActive.value) { | ||
| 1522 | - return | ||
| 1523 | - } | ||
| 1524 | - if (state.isLogined == 1) { | ||
| 1525 | - clookCancelBtnActive.value = false | ||
| 1526 | - clookBtnActive.value = true | ||
| 1527 | - } | ||
| 1528 | - getUserLoginStatus(loginId => { | ||
| 1529 | - if (loginId == 0) { | ||
| 1530 | - // 0 未登录 | ||
| 1531 | - setAppLogin() | ||
| 1532 | - checkAppLoginStatu('follow') | ||
| 1533 | - return | ||
| 1534 | - } else { | ||
| 1535 | - // 1 已登录 直接走 关注接口 | ||
| 1536 | - showClook.value = false | ||
| 1537 | - clookBtnHandel(1) | ||
| 1538 | - } | ||
| 1539 | - }) | ||
| 1540 | - } | ||
| 1541 | - | ||
| 1542 | - // 人民号“已关注”按钮 | ||
| 1543 | - const clookCancelBtn = () => { | ||
| 1544 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1545 | - if (clookCancelBtnActive.value) { | ||
| 1546 | - return | ||
| 1547 | - } | ||
| 1548 | - clookCancelBtnActive.value = true | ||
| 1549 | - setTimeout(() => { | ||
| 1550 | - showClook.value = true | ||
| 1551 | - clookStatusSee.value = true | ||
| 1552 | - clookCancelBtnActive.value = false | ||
| 1553 | - followTypePoint({ | ||
| 1554 | - type: 0, | ||
| 1555 | - cancelFollowPDUseId: state.details.rmhId, | ||
| 1556 | - cancelFollowUserName: state.details.rmhName, | ||
| 1557 | - channelId: channelId.value, | ||
| 1558 | - newsType: state.details.newsType, | ||
| 1559 | - newsId: state.details.newsId, | ||
| 1560 | - newsTitle: state.details.newsTitle, | ||
| 1561 | - sceneId: state.details.sceneId, | ||
| 1562 | - itemId: state.details.itemId, | ||
| 1563 | - subSceneId: state.details.subSceneId, | ||
| 1564 | - cnsTraceId: state.cnsTraceId, | ||
| 1565 | - isNewspaper: isNewspaper.value, | ||
| 1566 | - duration: dayjs().diff(statrTime.value, 'second') | ||
| 1567 | - }) | ||
| 1568 | - }, 1000) | ||
| 1569 | - return | ||
| 1570 | - } | ||
| 1571 | - if (clookCancelBtnActive.value) { | ||
| 1572 | - return | ||
| 1573 | - } | ||
| 1574 | - if (state.isLogined == 1) { | ||
| 1575 | - clookBtnActive.value = false | ||
| 1576 | - clookCancelBtnActive.value = true | ||
| 1577 | - } | ||
| 1578 | - getUserLoginStatus(loginId => { | ||
| 1579 | - if (loginId == 0) { | ||
| 1580 | - // 0 未登录 | ||
| 1581 | - setAppLogin() | ||
| 1582 | - checkAppLoginStatu('follow') | ||
| 1583 | - return | ||
| 1584 | - } else { | ||
| 1585 | - // 1 已登录 直接走 取消关注接口 | ||
| 1586 | - showClook.value = true | ||
| 1587 | - clookBtnHandel(0) | ||
| 1588 | - } | ||
| 1589 | - }) | ||
| 1590 | - } | ||
| 1591 | - | ||
| 1592 | - // 查询关注状态 initStatus(判断是不是第一次进入以及关注页面返回) | ||
| 1593 | - const clookStatus = async (initStatus) => { | ||
| 1594 | - if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1595 | - const response = await axiosRequest({ | ||
| 1596 | - url: '/interact/zh/c/batchAttention/status', | ||
| 1597 | - methot: 'post', | ||
| 1598 | - appStatus: false, | ||
| 1599 | - environment: state.environment, | ||
| 1600 | - prefix: '/api/rmrb-interact', | ||
| 1601 | - data: { | ||
| 1602 | - creatorIds: [ { creatorId: `${state.details.rmhId}` } ] | ||
| 1603 | - }, | ||
| 1604 | - headers: state.appHeader, | ||
| 1605 | - showError: false | ||
| 1606 | - }) | ||
| 1607 | - if (response.success) { | ||
| 1608 | - clookStatusSee.value = response.data[0].status == '1' ? false : true // '1' 是已关注 '0'是未关注 | ||
| 1609 | - } | ||
| 1610 | - } else { | ||
| 1611 | - if (state.creatorID == state.details.rmhId) { | ||
| 1612 | - isOwer.value = true | ||
| 1613 | - clookStatusSee.value = false | ||
| 1614 | - nextTick(() => { | ||
| 1615 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1616 | - changeContentHtmlHeight() | ||
| 1617 | - } | ||
| 1618 | - }) | 1677 | + state.details.no = data.voteInfo.options && data.voteInfo.options[1] |
| 1678 | + } | ||
| 1679 | + | ||
| 1680 | + /** | ||
| 1681 | + * @Author gx12358 | ||
| 1682 | + * @DateTime 2024/7/5 | ||
| 1683 | + * @lastTime 2024/7/5 | ||
| 1684 | + * @description 动态监听App传参 | ||
| 1685 | + */ | ||
| 1686 | + const pageReloadChange = () => { | ||
| 1687 | + // 监听App复用模版 | ||
| 1688 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1689 | + if (pageLoadOutTime || hasDetails) { | ||
| 1619 | return | 1690 | return |
| 1620 | } | 1691 | } |
| 1621 | 1692 | ||
| 1693 | + firstTime = new Date() | ||
| 1694 | + pageLoadOutTime = null | ||
| 1695 | + hasDetails = false | ||
| 1696 | + checkPageLoadingTimeOut() | ||
| 1697 | + } else { | ||
| 1622 | try { | 1698 | try { |
| 1623 | - sendNative( | ||
| 1624 | - 'jsCall_callAppService', | ||
| 1625 | - { | ||
| 1626 | - method: 'post', | ||
| 1627 | - url: '/api/rmrb-interact/interact/zh/c/batchAttention/status', | ||
| 1628 | - parameters: { | ||
| 1629 | - //userId为用户id | ||
| 1630 | - creatorIds: [ { creatorId: `${state.details.rmhId}` } ] | ||
| 1631 | - } | ||
| 1632 | - }, | ||
| 1633 | - res => { | ||
| 1634 | - const statusResponse = | ||
| 1635 | - typeof res === 'object' ? res : JSON.parse(res) | ||
| 1636 | - const netError = statusResponse.netError | ||
| 1637 | - const statusResponseMap = | ||
| 1638 | - typeof statusResponse.responseMap === 'object' | ||
| 1639 | - ? statusResponse.responseMap | ||
| 1640 | - : JSON.parse(statusResponse.responseMap) | ||
| 1641 | - if (netError == 0) { | ||
| 1642 | - try { | ||
| 1643 | - const code = statusResponseMap.code | ||
| 1644 | - const data = statusResponseMap.data | ||
| 1645 | - if ([ 200, '0' ].includes(code)) { | ||
| 1646 | - if (data) { | ||
| 1647 | - if (data[0].status == '1') { | ||
| 1648 | - state.initClockStatus = !initStatus | ||
| 1649 | - } else { | ||
| 1650 | - state.initClockStatus = false | ||
| 1651 | - } | ||
| 1652 | - if (state.creatorID == state.details.rmhId) { | ||
| 1653 | - isOwer.value = true | ||
| 1654 | - clookStatusSee.value = false | ||
| 1655 | - } else { | ||
| 1656 | - clookStatusSee.value = data[0].status == '1' ? false : true // '1' 是已关注 '0'是未关注 | ||
| 1657 | - } | ||
| 1658 | - clookBtnActive.value = false | ||
| 1659 | - clookCancelBtnActive.value = false | ||
| 1660 | - } else { | ||
| 1661 | - clookStatusSee.value = true // '1' 是已关注 '0'是未关注 | ||
| 1662 | - state.initClockStatus = false | ||
| 1663 | - clookBtnActive.value = false | ||
| 1664 | - clookCancelBtnActive.value = false | ||
| 1665 | - } | ||
| 1666 | - } | ||
| 1667 | - | ||
| 1668 | - nextTick(() => { | ||
| 1669 | - if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 1670 | - changeContentHtmlHeight() | ||
| 1671 | - } | ||
| 1672 | - }) | ||
| 1673 | - } catch (e) { } | ||
| 1674 | - } else { | ||
| 1675 | - } | 1699 | + const objEvt = window.config.PAGERELOAD ? window.config.PAGERELOAD : '' |
| 1700 | + const pageReloadInfo = typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) | ||
| 1701 | + if (pageReloadInfo && pageReloadInfo.event == '7') { // 复用重新进入 | ||
| 1702 | + if (pageLoadOutTime || hasDetails) { | ||
| 1703 | + return | ||
| 1676 | } | 1704 | } |
| 1677 | - ) | ||
| 1678 | - } catch (e) { } | ||
| 1679 | - } | ||
| 1680 | - } | ||
| 1681 | 1705 | ||
| 1682 | - // 推荐每项的点击事件 | ||
| 1683 | - const recommondItemClick = index => { | ||
| 1684 | - sendNative('jsCall_receiveH5Data', { | ||
| 1685 | - dataSource: '2', | ||
| 1686 | - dataJson: JSON.stringify(state.recomList[index]) | ||
| 1687 | - }) | 1706 | + document.querySelector('.error-block').style.display = 'none' |
| 1707 | + darkMode = pageReloadInfo.darkMode || darkMode | ||
| 1708 | + state.darkMode = darkMode | ||
| 1709 | + document | ||
| 1710 | + .querySelector('html') | ||
| 1711 | + .setAttribute('dark-mode', darkMode === 'dark') | ||
| 1712 | + firstTime = new Date() | ||
| 1713 | + pageLoadOutTime = null | ||
| 1714 | + hasDetails = false | ||
| 1715 | + checkPageLoadingTimeOut() | ||
| 1716 | + } | ||
| 1717 | + } catch (e) { | ||
| 1718 | + | ||
| 1719 | + } | ||
| 1720 | + } | ||
| 1688 | } | 1721 | } |
| 1689 | - //点击分享按钮事件,H5调用此方法,启动客户端分享弹窗 | ||
| 1690 | - //sharePlatform:1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享 | ||
| 1691 | - const openShare = (sharePlatform) => { | ||
| 1692 | - //shareInfo:分享对象;【BFF内部判断稿件对下是否分享开关是否开启,未开启为空】 | ||
| 1693 | - const shareInfo = state.details.shareInfo | ||
| 1694 | - if (shareInfo && shareInfo.shareUrl) { | 1722 | + // 监听改变软件字体大小 |
| 1723 | + const changeAppFontSize = () => { | ||
| 1724 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1725 | + const fontSizes = 'Large' | ||
| 1726 | + state.appFontSize = fontSizes | ||
| 1727 | + appFontSize = state.appFontSize | ||
| 1728 | + setRemUnit(state.appFontSize) | ||
| 1729 | + } else { | ||
| 1695 | try { | 1730 | try { |
| 1696 | - sendNative( | ||
| 1697 | - //H5调用此方法,启动客户端分享弹窗 | ||
| 1698 | - 'jsCall_openAppShare', | ||
| 1699 | - { | ||
| 1700 | - //分享类型:1.文字类型分享 2.网页类型分享 | ||
| 1701 | - type: '2', | ||
| 1702 | - //是否显示分享:1 显示分享按钮 0 不显示 | ||
| 1703 | - isShowShare: 1, | ||
| 1704 | - //分享标题(当type为2时可用) | ||
| 1705 | - title: shareInfo.shareTitle, | ||
| 1706 | - //分享描述(当type为2时可用 ) | ||
| 1707 | - description: shareInfo.shareSummary, | ||
| 1708 | - //分享链接(当type为2时可用 ) | ||
| 1709 | - webpageUrl: shareInfo.shareUrl, | ||
| 1710 | - //分享图标链接(当type为2时可用,分享小icon需小于64k ) | ||
| 1711 | - imageUrl: shareInfo.shareCoverUrl, | ||
| 1712 | - //分享的内容Id:活动ID、视频ID等 | ||
| 1713 | - contentId: state.details.newsId, | ||
| 1714 | - //1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享 | ||
| 1715 | - sharePlatform | ||
| 1716 | - }, | ||
| 1717 | - () => { } | ||
| 1718 | - ) | 1731 | + const objEvt = window.config.APP_FONT_SIZE ? window.config.APP_FONT_SIZE : '' |
| 1732 | + const appFontSizeEvent = objEvt ? typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) : undefined | ||
| 1733 | + if (appFontSizeEvent && appFontSizeEvent.event == '10') { | ||
| 1734 | + const fontSizes = appFontSizeEvent.fontSizes | ||
| 1735 | + state.appFontSize = fontSizes | ||
| 1736 | + appFontSize = state.appFontSize | ||
| 1737 | + setRemUnit(state.appFontSize) | ||
| 1738 | + // setTimeout(() => { | ||
| 1739 | + // if (currentVideo.el && currentVideo.videoUrl) { | ||
| 1740 | + // const player = currentVideo.el | ||
| 1741 | + // const width = player.parentNode.getBoundingClientRect().width | ||
| 1742 | + // const height = player.parentNode.getBoundingClientRect().height | ||
| 1743 | + // const top = player.parentNode.offsetTop | ||
| 1744 | + // const left = player.parentNode.getBoundingClientRect().left | ||
| 1745 | + // const videoLandscape = width > height ? '1' : (width < height ? '2' : '') | ||
| 1746 | + // | ||
| 1747 | + // // logInfo('视频播放', width, height, left, top) | ||
| 1748 | + // | ||
| 1749 | + // if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1750 | + // console.log('视频播放', width, height, left, top) | ||
| 1751 | + // } | ||
| 1752 | + // | ||
| 1753 | + // try { | ||
| 1754 | + // sendNative( | ||
| 1755 | + // 'jsCall_currentPageOperate', | ||
| 1756 | + // { | ||
| 1757 | + // operateType: '49', | ||
| 1758 | + // positionLeft: `${left}`, | ||
| 1759 | + // positionTop: `${top}`, | ||
| 1760 | + // positionWidth: `${width}`, | ||
| 1761 | + // positionHeight: `${height}`, | ||
| 1762 | + // videoLandscape: `${videoLandscape}`, | ||
| 1763 | + // videoUrl: `${currentVideo.videoUrl}` | ||
| 1764 | + // }, | ||
| 1765 | + // res => { | ||
| 1766 | + // } | ||
| 1767 | + // ) | ||
| 1768 | + // } catch (e) {} | ||
| 1769 | + // } | ||
| 1770 | + // }, 0) | ||
| 1771 | + } | ||
| 1719 | } catch (e) { | 1772 | } catch (e) { |
| 1773 | + | ||
| 1720 | } | 1774 | } |
| 1721 | } | 1775 | } |
| 1722 | } | 1776 | } |
| 1723 | - | ||
| 1724 | - // 跳转时间轴专题 | ||
| 1725 | - const openMoreTimeLine = () => { | ||
| 1726 | - // normalClickTypePoint({ | ||
| 1727 | - // channelId: channelId.value, | ||
| 1728 | - // newsType: state.details.newsType, | ||
| 1729 | - // newsId: state.details.newsId, | ||
| 1730 | - // newsTitle: state.details.newsTitle, | ||
| 1731 | - // sceneId: state.details.sceneId, | ||
| 1732 | - // itemId: state.details.itemId, | ||
| 1733 | - // subSceneId: state.details.subSceneId, | ||
| 1734 | - // duration: dayjs().diff(statrTime.value, 'second') | ||
| 1735 | - // }) | ||
| 1736 | - sendNative( | ||
| 1737 | - 'jsCall_appInnerLinkMethod', | ||
| 1738 | - { | ||
| 1739 | - appInnerLink: `rmrbapp://rmrb.app/openwith?type=topic&subType=h5&pageId=${timeLine.pageId}&url=${encodeURIComponent( | ||
| 1740 | - timeLine.linkUrl)}&skipType=1` | 1777 | + // 监听改变软件皮肤模式 |
| 1778 | + const changeDarkMode = () => { | ||
| 1779 | + try { | ||
| 1780 | + const objEvt = window.config.DARK_MODE ? window.config.DARK_MODE : '' | ||
| 1781 | + const appDarkMode = objEvt ? typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) : undefined | ||
| 1782 | + if (appDarkMode && appDarkMode.event == '9') { | ||
| 1783 | + darkMode = appDarkMode.darkMode || darkMode | ||
| 1784 | + state.darkMode = darkMode | ||
| 1785 | + document | ||
| 1786 | + .querySelector('html') | ||
| 1787 | + .setAttribute('dark-mode', darkMode == 'dark') | ||
| 1741 | } | 1788 | } |
| 1742 | - ) | 1789 | + } catch (e) { |
| 1790 | + | ||
| 1791 | + } | ||
| 1792 | + } | ||
| 1793 | + const changeState = () => { | ||
| 1794 | + const stateObj = window.config.VUE_STATE | ||
| 1795 | + if (stateObj) { | ||
| 1796 | + const key = stateObj.key | ||
| 1797 | + const value = stateObj.value | ||
| 1798 | + state[key] = value | ||
| 1799 | + } | ||
| 1800 | + } | ||
| 1801 | + // 监听网络状态 | ||
| 1802 | + const changeNetworkStatus = () => { | ||
| 1803 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1804 | + networkStatus.value = window.config.VUE_APP_NETWORK | ||
| 1805 | + } else { | ||
| 1806 | + const objNvt = window.config.VUE_APP_NETWORK ? window.config.VUE_APP_NETWORK : {} | ||
| 1807 | + const lastObjNvtNetwork = typeof objNvt === 'object' ? objNvt : JSON.parse(objNvt) | ||
| 1808 | + networkStatus.value = lastObjNvtNetwork.networkStatus | ||
| 1809 | + } | ||
| 1743 | } | 1810 | } |
| 1811 | + // 监听媒体播放状态 | ||
| 1812 | + const changeMediaPlayStatus = () => { | ||
| 1813 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1814 | + } else { | ||
| 1815 | + try { | ||
| 1816 | + const objEvt = window.config.MEDIAPLAY ? window.config.MEDIAPLAY : '' | ||
| 1817 | + const mediaPlayInfo = typeof objEvt === 'object' ? objEvt : JSON.parse(objEvt) | ||
| 1818 | + if (mediaPlayInfo && mediaPlayInfo.event == '5') { // 音频播放 | ||
| 1819 | + audioState.value += 1 | ||
| 1820 | + } | ||
| 1821 | + } catch (e) { } | ||
| 1822 | + } | ||
| 1823 | + } | ||
| 1824 | + // 退出图文详情页关闭音频播放 | ||
| 1825 | + const quitGraphicDetailPageEvent = () => { | ||
| 1826 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1827 | + } else { | ||
| 1828 | + try { | ||
| 1829 | + const objQvt = window.config.VUE_APP_LOGIN ? window.config.VUE_APP_LOGIN : '' | ||
| 1830 | + const lastObjQvt = typeof objQvt === 'object' ? objQvt : JSON.parse(objQvt) | ||
| 1831 | + if (lastObjQvt && (lastObjQvt.event == '2' || lastObjQvt.event == '4')) { | ||
| 1744 | 1832 | ||
| 1745 | - const removeHtmlStr = (str) => { | ||
| 1746 | - if (!str) return str | ||
| 1747 | - return str.replace(/<br\s*\/?>/g, '') | 1833 | + const _editor36 = document.querySelectorAll('.preview-audio-player') |
| 1834 | + const coverAudioList = document.querySelectorAll('.preview-audio-player-cover') | ||
| 1835 | + if (_editor36) { | ||
| 1836 | + _editor36.forEach((item, _) => { | ||
| 1837 | + const audioStylePlay = item.querySelector('.audio-play-icon') | ||
| 1838 | + const audioStylePause = item.querySelector('.audio-pause-icon') | ||
| 1839 | + | ||
| 1840 | + const item_audio = item.querySelector('[class^="audio-block"]') | ||
| 1841 | + if (item_audio) { | ||
| 1842 | + item_audio.pause() | ||
| 1843 | + audioStylePause.style.display = 'none' | ||
| 1844 | + audioStylePlay.style.display = 'block' | ||
| 1845 | + } | ||
| 1846 | + }) | ||
| 1847 | + } | ||
| 1848 | + | ||
| 1849 | + if (coverAudioList) { | ||
| 1850 | + coverAudioList.forEach((item, _) => { | ||
| 1851 | + const audioStylePlay = item.querySelector('.audio-play-icon') | ||
| 1852 | + const audioStylePause = item.querySelector('.audio-pause-icon') | ||
| 1853 | + | ||
| 1854 | + const item_audio = item.querySelector('[class^="audio-block"]') | ||
| 1855 | + if (item_audio) { | ||
| 1856 | + item_audio.pause() | ||
| 1857 | + audioStylePause.style.display = 'none' | ||
| 1858 | + audioStylePlay.style.display = 'block' | ||
| 1859 | + } | ||
| 1860 | + }) | ||
| 1861 | + } | ||
| 1862 | + | ||
| 1863 | + } | ||
| 1864 | + } catch (e) { } | ||
| 1865 | + } | ||
| 1748 | } | 1866 | } |
| 1749 | 1867 | ||
| 1750 | - const openActiveLink = () => { | ||
| 1751 | - // normalClickTypePoint({ | ||
| 1752 | - // channelId: channelId.value, | ||
| 1753 | - // newsType: state.details.newsType, | ||
| 1754 | - // newsId: state.details.newsId, | ||
| 1755 | - // newsTitle: state.details.newsTitle, | ||
| 1756 | - // sceneId: state.details.sceneId, | ||
| 1757 | - // itemId: state.details.itemId, | ||
| 1758 | - // subSceneId: state.details.subSceneId, | ||
| 1759 | - // duration: dayjs().diff(statrTime.value, 'second') | ||
| 1760 | - // }) | 1868 | + /** |
| 1869 | + * @Author gx12358 | ||
| 1870 | + * @DateTime 2024/7/5 | ||
| 1871 | + * @lastTime 2024/7/5 | ||
| 1872 | + * @description 与App交互方法 | ||
| 1873 | + */ | ||
| 1874 | + const setAppLogin = () => { | ||
| 1875 | + // 未登录时执行,拉起app登录 | ||
| 1761 | try { | 1876 | try { |
| 1762 | sendNative( | 1877 | sendNative( |
| 1763 | 'jsCall_appInnerLinkMethod', | 1878 | 'jsCall_appInnerLinkMethod', |
| 1764 | { | 1879 | { |
| 1765 | - appInnerLink: `rmrbapp://rmrb.app/openwith?type=h5&url=${encodeURIComponent(actieInfo.linkUrl)}&skipType=3` | ||
| 1766 | - } | 1880 | + appInnerLink: |
| 1881 | + 'rmrbapp://rmrb.app/openwith?type=app&subType=login&skipType=2' | ||
| 1882 | + }, | ||
| 1883 | + res => { } | ||
| 1767 | ) | 1884 | ) |
| 1768 | - } catch (e) { | ||
| 1769 | - | ||
| 1770 | - } | 1885 | + } catch (e) { } |
| 1771 | } | 1886 | } |
| 1887 | + // 获取用户登录状态 | ||
| 1888 | + const getUserLoginStatus = (callback) => { | ||
| 1889 | + try { | ||
| 1890 | + sendNative('jsCall_getAppLoginAuthInfo', {}, res => { | ||
| 1891 | + const loginStatusResponse = | ||
| 1892 | + typeof res === 'object' ? res : JSON.parse(res) | ||
| 1893 | + state.isLogined = | ||
| 1894 | + loginStatusResponse && loginStatusResponse.isLogined | ||
| 1772 | 1895 | ||
| 1773 | - const mockAppClearData = () => { | ||
| 1774 | - clearData() | ||
| 1775 | - | ||
| 1776 | - setTimeout(() => { | ||
| 1777 | - mockAppRequestDetails() | 1896 | + if (callback !== undefined) { |
| 1897 | + callback(state.isLogined) | ||
| 1898 | + } | ||
| 1899 | + }) | ||
| 1900 | + } catch (e) { } | ||
| 1901 | + } | ||
| 1902 | + const sendParams = callback => { | ||
| 1903 | + sendNative( | ||
| 1904 | + 'jsCall_receiveH5Data', | ||
| 1905 | + { dataSource: '1', dataJson: JSON.stringify(state.originDataSource) }, | ||
| 1906 | + callback | ||
| 1907 | + ) | ||
| 1908 | + } | ||
| 1909 | + // 推荐每项的点击事件 | ||
| 1910 | + const recommondItemClick = index => { | ||
| 1911 | + sendNative('jsCall_receiveH5Data', { | ||
| 1912 | + dataSource: '2', | ||
| 1913 | + dataJson: JSON.stringify(state.recomList[index]) | ||
| 1778 | }) | 1914 | }) |
| 1779 | } | 1915 | } |
| 1780 | - | 1916 | + // 页面离开的时候初始化 |
| 1781 | const clearData = () => { | 1917 | const clearData = () => { |
| 1782 | - if (document.querySelector('.browseCntStr')) { | ||
| 1783 | - document.querySelector('.browseCntStr').innerHTML = `` | ||
| 1784 | - } | 1918 | + // if (document.querySelector('.browseCntStr')) { |
| 1919 | + // document.querySelector('.browseCntStr').innerHTML = `` | ||
| 1920 | + // } | ||
| 1785 | clearTimeout(pageLoadOutTime) | 1921 | clearTimeout(pageLoadOutTime) |
| 1786 | document.querySelector('.error-block').style.display = 'none' | 1922 | document.querySelector('.error-block').style.display = 'none' |
| 1787 | document.querySelector('#newsContent').innerHTML = '' | 1923 | document.querySelector('#newsContent').innerHTML = '' |
| @@ -1807,10 +1943,12 @@ const app = Vue.createApp({ | @@ -1807,10 +1943,12 @@ const app = Vue.createApp({ | ||
| 1807 | subjectList.value = [] | 1943 | subjectList.value = [] |
| 1808 | channelList.value = [] | 1944 | channelList.value = [] |
| 1809 | suggestedList.value = [] | 1945 | suggestedList.value = [] |
| 1946 | + voteOtions.value = [] | ||
| 1810 | networkStatus.value = 4 | 1947 | networkStatus.value = 4 |
| 1811 | networkSwitch.value = 2 | 1948 | networkSwitch.value = 2 |
| 1812 | audioState.value = 0 | 1949 | audioState.value = 0 |
| 1813 | browseCnt.value = '0' | 1950 | browseCnt.value = '0' |
| 1951 | + browseStr.value = '' | ||
| 1814 | loadlmageOnlyWifiSwitch.value = window.config.VUE_BASE_NODE === 'dev' ? '2' : '0' | 1952 | loadlmageOnlyWifiSwitch.value = window.config.VUE_BASE_NODE === 'dev' ? '2' : '0' |
| 1815 | clookStatusSee.value = false | 1953 | clookStatusSee.value = false |
| 1816 | clookCancelBtnActive.value = false | 1954 | clookCancelBtnActive.value = false |
| @@ -1819,7 +1957,7 @@ const app = Vue.createApp({ | @@ -1819,7 +1957,7 @@ const app = Vue.createApp({ | ||
| 1819 | isPageLeave.value = false | 1957 | isPageLeave.value = false |
| 1820 | hasInit.value = false | 1958 | hasInit.value = false |
| 1821 | shareOpen.value = false | 1959 | shareOpen.value = false |
| 1822 | - hasAppLoginExtra.value = false | 1960 | + hasAppLoginExtra = false |
| 1823 | Object.assign(state, { | 1961 | Object.assign(state, { |
| 1824 | clientHeight: 0, | 1962 | clientHeight: 0, |
| 1825 | appFontSize: state.appFontSize, | 1963 | appFontSize: state.appFontSize, |
| @@ -1828,15 +1966,13 @@ const app = Vue.createApp({ | @@ -1828,15 +1966,13 @@ const app = Vue.createApp({ | ||
| 1828 | contentId: null, | 1966 | contentId: null, |
| 1829 | sourcePage: '2', | 1967 | sourcePage: '2', |
| 1830 | //模式 | 1968 | //模式 |
| 1831 | - darkMode: state.darkMode, | ||
| 1832 | //环境 | 1969 | //环境 |
| 1833 | environment: 'sit', | 1970 | environment: 'sit', |
| 1834 | showShare: false, | 1971 | showShare: false, |
| 1835 | //请求头 | 1972 | //请求头 |
| 1836 | - appHeader: { | ||
| 1837 | - ...window.config.VUE_BASE_HEADER, | 1973 | + appHeader: shallowMerge({ |
| 1838 | system: judgTerminal() === 1 ? 'Android' : 'ios' | 1974 | system: judgTerminal() === 1 ? 'Android' : 'ios' |
| 1839 | - }, | 1975 | + }, window.config.VUE_BASE_HEADER), |
| 1840 | initialRes: {}, | 1976 | initialRes: {}, |
| 1841 | originDataSource: {}, | 1977 | originDataSource: {}, |
| 1842 | //此details对接口返回的数据进行了二次改造,属性的添加和属性值的转换 | 1978 | //此details对接口返回的数据进行了二次改造,属性的添加和属性值的转换 |
| @@ -1849,7 +1985,6 @@ const app = Vue.createApp({ | @@ -1849,7 +1985,6 @@ const app = Vue.createApp({ | ||
| 1849 | endTimePoint: false, | 1985 | endTimePoint: false, |
| 1850 | yes: {}, | 1986 | yes: {}, |
| 1851 | no: {}, | 1987 | no: {}, |
| 1852 | - options: [], | ||
| 1853 | slideShows: {}, | 1988 | slideShows: {}, |
| 1854 | //片头跳转 | 1989 | //片头跳转 |
| 1855 | headLinkdata: '' | 1990 | headLinkdata: '' |
| @@ -1876,7 +2011,6 @@ const app = Vue.createApp({ | @@ -1876,7 +2011,6 @@ const app = Vue.createApp({ | ||
| 1876 | agreementURL: '', | 2011 | agreementURL: '', |
| 1877 | recomList: [] | 2012 | recomList: [] |
| 1878 | }) | 2013 | }) |
| 1879 | - state.details = {} | ||
| 1880 | Object.assign(timeLine, { | 2014 | Object.assign(timeLine, { |
| 1881 | title: '', | 2015 | title: '', |
| 1882 | topicId: '', | 2016 | topicId: '', |
| @@ -1899,15 +2033,24 @@ const app = Vue.createApp({ | @@ -1899,15 +2033,24 @@ const app = Vue.createApp({ | ||
| 1899 | hasDetails = false | 2033 | hasDetails = false |
| 1900 | pageLoadOutTime = null | 2034 | pageLoadOutTime = null |
| 1901 | changeContentHtmlHeight() | 2035 | changeContentHtmlHeight() |
| 2036 | + startShowArticle = false | ||
| 2037 | + } | ||
| 2038 | + // 模拟App页面离开的时候初始化 | ||
| 2039 | + const mockAppClearData = () => { | ||
| 2040 | + clearData() | ||
| 2041 | + | ||
| 2042 | + setTimeout(() => { | ||
| 2043 | + mockAppRequestDetails() | ||
| 2044 | + }) | ||
| 1902 | } | 2045 | } |
| 1903 | 2046 | ||
| 1904 | - return { | ||
| 1905 | - ...toRefs(state), | 2047 | + return Object.assign({ |
| 1906 | isRmh, | 2048 | isRmh, |
| 1907 | isNewspaper, | 2049 | isNewspaper, |
| 1908 | isOwer, | 2050 | isOwer, |
| 1909 | deviceType, | 2051 | deviceType, |
| 1910 | browseCnt, | 2052 | browseCnt, |
| 2053 | + browseStr, | ||
| 1911 | baseNode, | 2054 | baseNode, |
| 1912 | actieInfo, | 2055 | actieInfo, |
| 1913 | voteInit, | 2056 | voteInit, |
| @@ -1917,6 +2060,7 @@ const app = Vue.createApp({ | @@ -1917,6 +2060,7 @@ const app = Vue.createApp({ | ||
| 1917 | subjectList, | 2060 | subjectList, |
| 1918 | channelList, | 2061 | channelList, |
| 1919 | suggestedList, | 2062 | suggestedList, |
| 2063 | + voteOtions, | ||
| 1920 | optionList, | 2064 | optionList, |
| 1921 | showClook, | 2065 | showClook, |
| 1922 | clookStatusSee, | 2066 | clookStatusSee, |
| @@ -1945,9 +2089,17 @@ const app = Vue.createApp({ | @@ -1945,9 +2089,17 @@ const app = Vue.createApp({ | ||
| 1945 | queryPageLeaveStatus, | 2089 | queryPageLeaveStatus, |
| 1946 | quitGraphicDetailPageEvent, | 2090 | quitGraphicDetailPageEvent, |
| 1947 | openActiveLink, | 2091 | openActiveLink, |
| 1948 | - reload | ||
| 1949 | - } | 2092 | + reload, |
| 2093 | + changeAppFontSize, | ||
| 2094 | + changeDarkMode, | ||
| 2095 | + changeState, | ||
| 2096 | + changeAppError | ||
| 2097 | + }, toRefs(state)) | ||
| 1950 | } | 2098 | } |
| 1951 | }) | 2099 | }) |
| 1952 | 2100 | ||
| 1953 | app.mount('#app') | 2101 | app.mount('#app') |
| 2102 | + | ||
| 2103 | +app.config.errorHandler = (err) => { | ||
| 2104 | + h5ErrorPage(err.toString()) | ||
| 2105 | +} |
| @@ -106,7 +106,72 @@ function getArticleDetails() { | @@ -106,7 +106,72 @@ function getArticleDetails() { | ||
| 106 | } | 106 | } |
| 107 | ], | 107 | ], |
| 108 | newsContentBak: '{"_editor18_a1":{"id":"_editor18_a1","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor18_a2":{"id":"_editor18_a2","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor22_a":{"id":"_editor22_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础饼图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"item"},"xAxis":[{"type":"category","boundaryGap":false,"show":false}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"pie","radius":"60%","data":[{"value":1048,"showSelColor2":false,"name":"Search Engine","color":{},"itemStyle":{"color":"#4a65bf"}},{"value":735,"showSelColor2":false,"name":"Direct","color":{},"itemStyle":{"color":"#95dc75"}},{"value":580,"name":"Email","showSelColor2":false,"color":{},"itemStyle":{"color":"#f9c141"}},{"value":484,"showSelColor2":false,"color":{},"name":"Union Ads","itemStyle":{"color":"#eb5b5b"}},{"value":300,"showSelColor2":false,"name":"Video Ads","color":{},"itemStyle":{"color":"#68b869"}}]}]}},"_editor21_a":{"id":"_editor21_a","option":{"dataset":[{"source":[[1,42.4],[2,54.7],[3,54.5],[4,71],[5,84.4],[6,102.2],[7,172.5],[8,188.3],[9,199.2],[10,207.9],[11,217.8],[12,238.1],[13,334.4],[14,459.4],[15,578.1],[16,684.6],[17,762.6]]},{"transform":{"type":"ecStat:regression","config":{"method":"exponential"}}}],"backgroundColor":"#ffffff","title":{"text":"指数回归"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"cross"}},"xAxis":[{"splitLine":{"lineStyle":{"type":"dashed"}}}],"yAxis":[{"splitLine":{"lineStyle":{"color":"#e5e5e5"}},"name":"ton"}],"series":[{"name":"scatter","type":"scatter","datasetIndex":0},{"name":"line","type":"line","smooth":true,"datasetIndex":1,"symbolSize":0.1,"symbol":"circle","label":{"show":true,"fontSize":16},"labelLayout":{"dx":-20},"encode":{"label":2,"tooltip":1}}]}},"_editor18_a":{"id":"_editor18_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor19_a":{"id":"_editor19_a","option":{"backgroundColor":"#ffffff","title":{"text":"带背景色的柱状图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"bar","barWidth":"60%","showBackground":true,"data":[{"value":120,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":200,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":150,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":80,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":70,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":110,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":130,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}}]}]}},"_editor20_a":{"id":"_editor20_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础面积图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","boundaryGap":false,"data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line","areaStyle":{}}]}},"_editor17_a":{"id":"_editor17_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础柱状图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"bar","barWidth":"60%","data":[{"value":120,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":200,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":150,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":80,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":70,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":110,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":130,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}}]}]}}}', | 108 | newsContentBak: '{"_editor18_a1":{"id":"_editor18_a1","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor18_a2":{"id":"_editor18_a2","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor22_a":{"id":"_editor22_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础饼图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"item"},"xAxis":[{"type":"category","boundaryGap":false,"show":false}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"pie","radius":"60%","data":[{"value":1048,"showSelColor2":false,"name":"Search Engine","color":{},"itemStyle":{"color":"#4a65bf"}},{"value":735,"showSelColor2":false,"name":"Direct","color":{},"itemStyle":{"color":"#95dc75"}},{"value":580,"name":"Email","showSelColor2":false,"color":{},"itemStyle":{"color":"#f9c141"}},{"value":484,"showSelColor2":false,"color":{},"name":"Union Ads","itemStyle":{"color":"#eb5b5b"}},{"value":300,"showSelColor2":false,"name":"Video Ads","color":{},"itemStyle":{"color":"#68b869"}}]}]}},"_editor21_a":{"id":"_editor21_a","option":{"dataset":[{"source":[[1,42.4],[2,54.7],[3,54.5],[4,71],[5,84.4],[6,102.2],[7,172.5],[8,188.3],[9,199.2],[10,207.9],[11,217.8],[12,238.1],[13,334.4],[14,459.4],[15,578.1],[16,684.6],[17,762.6]]},{"transform":{"type":"ecStat:regression","config":{"method":"exponential"}}}],"backgroundColor":"#ffffff","title":{"text":"指数回归"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"cross"}},"xAxis":[{"splitLine":{"lineStyle":{"type":"dashed"}}}],"yAxis":[{"splitLine":{"lineStyle":{"color":"#e5e5e5"}},"name":"ton"}],"series":[{"name":"scatter","type":"scatter","datasetIndex":0},{"name":"line","type":"line","smooth":true,"datasetIndex":1,"symbolSize":0.1,"symbol":"circle","label":{"show":true,"fontSize":16},"labelLayout":{"dx":-20},"encode":{"label":2,"tooltip":1}}]}},"_editor18_a":{"id":"_editor18_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础折线图"},"aria":{"enabled":false,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line"}]}},"_editor19_a":{"id":"_editor19_a","option":{"backgroundColor":"#ffffff","title":{"text":"带背景色的柱状图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"bar","barWidth":"60%","showBackground":true,"data":[{"value":120,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":200,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":150,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":80,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":70,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":110,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":130,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}}]}]}},"_editor20_a":{"id":"_editor20_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础面积图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","boundaryGap":false,"data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"data":[{"value":150},{"value":230},{"value":224},{"value":218},{"value":135},{"value":147},{"value":260}],"itemStyle":{"normal":{"color":"#B71D26","lineStyle":{"color":"#B71D26"}}},"type":"line","areaStyle":{}}]}},"_editor17_a":{"id":"_editor17_a","option":{"backgroundColor":"#ffffff","title":{"text":"基础柱状图"},"aria":{"enabled":true,"decal":{"show":false}},"tooltip":{"trigger":"axis","axisPointer":{"type":"shadow"}},"xAxis":[{"type":"category","data":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],"yAxis":[{"type":"value","name":"ton","splitLine":{"lineStyle":{"color":"#e5e5e5"}}}],"series":[{"type":"bar","barWidth":"60%","data":[{"value":120,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":200,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":150,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":80,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":70,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":110,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}},{"value":130,"showSelColor2":false,"color":{},"itemStyle":{"color":"#B71D26"}}]}]}}}', |
| 109 | - newsContent: `<p style="justify-content: center;"><br></p> | 109 | + newsContent: `<section id="_editor61" class="_editor61" data-type="3" data-title="文本框4" style="width:375px; padding:16px 0px;margin: 0 auto;"> |
| 110 | + <div style="text-align: center"> | ||
| 111 | + <div id="border" style="display: inline-block;padding: 0 24px;background-color: #b9261e;height: 44px;"> | ||
| 112 | + <div style="display: flex; align-items: center; position: relative; width: 100%; height: 100%"> | ||
| 113 | + <h4 id="title" style="color: #fff;"> | ||
| 114 | + 标题标题标题标题标题标题1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
| 115 | + </h4> | ||
| 116 | + <div style="width: 13px;height: 13px;background-color: #fff;position: absolute;bottom: 0;right: -30px;"> | ||
| 117 | + <div id="sign" style="width: 11px;height: 11px;background-color: #b9261e;position: absolute;top: 2px;right: 0;"></div> | ||
| 118 | + </div> | ||
| 119 | + </div> | ||
| 120 | + </div> | ||
| 121 | + </div> | ||
| 122 | +</section> | ||
| 123 | +<section id="_editor64" class="_editor64" data-type="3" data-title="文本框2" style="width:375px; padding:16px 0px;margin: 0 auto;"> | ||
| 124 | + <div id="border" style="border: 3px solid #b9261e;padding: 5px;max-width: 350px;margin: 0 auto;"> | ||
| 125 | + <div id="content" style="padding: 10px; border: 1px solid #c54e49;font-size: 14px;line-height: 22px;color: #323232;"> | ||
| 126 | + 平凡铸就伟大,英雄来自人民。每一份伟大的成就,无不立足于平凡的岗位和工作;每一段不凡的人生,无不依托于平凡的日积月累。 | ||
| 127 | + </div> | ||
| 128 | + </div> | ||
| 129 | +</section> | ||
| 130 | +<section id="_editor66" class="_editor66" data-type="3" data-title="文本框3" style="width:375px; padding:16px 0px;margin: 0 auto;"> | ||
| 131 | + <div> | ||
| 132 | + <div id="border" style=" max-width: 350px; margin: 10px auto 5px; border: 2px solid #b71d26; padding: 10px 20px 0;position: relative; "> | ||
| 133 | + <div style=" padding-right: 8px; position: absolute; top: -12px; left: 35px; display: flex; align-items:center; background-color: #fff; "> | ||
| 134 | + <div id="sign" style=" width: 6px; height: 6px; background-color: #b71d26; margin-right: 5px; "></div><span id="title" style="color: #b71d26">01标题</span> | ||
| 135 | + </div> | ||
| 136 | + <p style="max-width: 350px;font-size: 14px;line-height: 22px;color: #323232;" id="content"> | ||
| 137 | + 平凡铸就伟大,英雄来自人民。每一份伟大的成就,无不立足于平凡的岗位和工作;每一段不凡的人生,无不依托于平凡的日积月累。 | ||
| 138 | + </p> | ||
| 139 | + </div> | ||
| 140 | + </div> | ||
| 141 | +</section> | ||
| 142 | +<section id="_editor63" class="_editor63" data-type="3" data-title="文本框1" style="width:375px; padding:16px 0px;margin: 0 auto;"> | ||
| 143 | + <div id="border" style=" max-width: 350px; margin: 0 auto; padding: 16px; background-color: #faf2f3; color: #fff; position: relative; border-inline-start: 2px solid #b9261e; "> | ||
| 144 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="10" height="16" viewbox="0 0 10 16"> | ||
| 145 | + <g style="opacity: 0.10000000149011612; mix-blend-mode: passthrough" transform="matrix(-1,0,0,-1,20,32)"> | ||
| 146 | + <path d="M20,15.999999999999993L10,15.999999999999993L10,24.88574L12.64926,24.88574C12.64926,24.88574,12.5212,27.2427,10,27.9713L10,32C10,32,19.61545,30.1141,20,22.18547L20,15.999999999999993Z" fill-rule="evenodd" fill="#B81C25" fill-opacity="1"></path> | ||
| 147 | + </g> | ||
| 148 | + </svg> | ||
| 149 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="10" height="16" viewbox="0 0 10 16"> | ||
| 150 | + <g style="opacity: 0.10000000149011612; mix-blend-mode: passthrough" transform="matrix(-1,0,0,-1,20,32)"> | ||
| 151 | + <path d="M20,15.999999999999993L10,15.999999999999993L10,24.88574L12.64926,24.88574C12.64926,24.88574,12.5212,27.2427,10,27.9713L10,32C10,32,19.61545,30.1141,20,22.18547L20,15.999999999999993Z" fill-rule="evenodd" fill="#B81C25" fill-opacity="1"></path> | ||
| 152 | + </g> | ||
| 153 | + </svg> | ||
| 154 | + <div id="sign" style="font-size: 40px; height: 22px; color: #eec7ca;display: none;"></div> | ||
| 155 | + <p id="content" style="margin: 0; font-size: 14px;line-height: 22px; color: #323232"> | ||
| 156 | + 平凡铸就伟大,英雄来自人民。每一份伟大的成就,无不立足于平凡的岗位和工作;每一段不凡的人生,无不依托于平凡的日积月累。 | ||
| 157 | + </p> | ||
| 158 | + </div> | ||
| 159 | +</section> | ||
| 160 | +<section id="_editor62" class="_editor62" data-type="3" data-title="文本框5" style="width:375px; padding:16px 0px;margin: 0 auto;"> | ||
| 161 | + <div style="text-align: center;"> | ||
| 162 | + <div id="border" style="display: inline-flex; background-color: #fbebe9;"> | ||
| 163 | + <div id="sign" style="width: 44px;height: 44px;background-color: #b9261e;color: #fff;font-size: 18px;line-height: 44px;"> | ||
| 164 | + 01 | ||
| 165 | + </div> | ||
| 166 | + <h4 id="title" style="color: #aa3428; margin: auto 20px"> | ||
| 167 | + 标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题 | ||
| 168 | + </h4> | ||
| 169 | + </div> | ||
| 170 | + </div> | ||
| 171 | +</section> | ||
| 172 | +<p> | ||
| 173 | + <br/> | ||
| 174 | +</p><p style="justify-content: center;"><br></p> | ||
| 110 | <div class="div linkcard" style="min-width: 128px;padding-top: 5px;border-radius: 4px; background: #FCFCFC;box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1); display: inline-block;">UNICEF deplores death of 27 children in blast in southern Somalia | 175 | <div class="div linkcard" style="min-width: 128px;padding-top: 5px;border-radius: 4px; background: #FCFCFC;box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1); display: inline-block;">UNICEF deplores death of 27 children in blast in southern Somalia |
| 111 | <p class="card" style="width: 58px;height: 56px;float: right;background: white; object-fit: fill"> | 176 | <p class="card" style="width: 58px;height: 56px;float: right;background: white; object-fit: fill"> |
| 112 | <img src="https://cdnpdjdcontentuat.aikan.pdnews.cn/pdbj-20230611/image/content/2e6185011dcb417f963524b0c55de930.png?v=74" width="56px" height="56px"> | 177 | <img src="https://cdnpdjdcontentuat.aikan.pdnews.cn/pdbj-20230611/image/content/2e6185011dcb417f963524b0c55de930.png?v=74" width="56px" height="56px"> |
| @@ -641,8 +706,8 @@ function getArticleDetails() { | @@ -641,8 +706,8 @@ function getArticleDetails() { | ||
| 641 | </div> | 706 | </div> |
| 642 | </section> | 707 | </section> |
| 643 | <p><br></p>`, | 708 | <p><br></p>`, |
| 644 | - newsSourceName: Mock.Random.ctitle(10, 20), | ||
| 645 | - newsContent: `<section id="_editor67" class="audio-block" data-type="1" data-title="音频播放"><div style=" position: relative; max-width:100%; width: 343px; height: 80px; background: #ffffff; box-sizing: border-box; border: 0.5px solid #eeeeee; margin: 0 auto; display: flex; "><div style="width: 80px; height: 80px"><img data-name="people" src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/2.png" data-src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/2.png" style="width: 100%; height: 100%" class="audioStyleLeftImg" status="loading"></div><div style="max-width:77%; width: 263px; height: 80px"><div style=" padding: 10px 8px; font-family: DroidSerif-Bold; font-size: 12px; font-weight: normal; line-height: 16px; letter-spacing: 0px; color: #000000; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; "><span class="audioStyleTitle">起风了</span></div><div style=" padding-left: 8px; font-family: DroidSerif; font-size: 10px; font-weight: normal; line-height: 13px; letter-spacing: 0px; color: #999999; "><span class="audioStyleCurTime">00:00</span>/ <span class="audioStyleTotalTime">00:00</span></div><div style="margin: 10px 0 0 8px; max-width:78%; width: 205px; height: 12px"><img data-name="people" src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/3.png" data-src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/3.png" style="width: 100%; height: 100%" status="loading"></div><div style="margin: -19px 0 0 87%; width: 24px; height: 24px"><img data-name="people" src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/4.png" data-src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/4.png" style="width: 100%; height: 100%;display: initial;cursor: pointer;" class="audioStylePlay" status="loading"><img data-name="people" src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/5.png" data-src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/5.png" style="width: 100%; height: 100%;display: none;cursor: pointer;" class="audioStylePause" status="loading"><audio class="ueditor_style_audio"><source src="https://cdnpeoplefrontuat.aikan.pdnews.cn/rmrb/rmrb-protocol-zh-web/0.0.1/zh/style-36/6.mp3"></audio></div></div></div></section>`, | 709 | + newsSourceName: Mock.Random.ctitle(80, 100), |
| 710 | + newsContent: `<p><img src="https://uatjdcdnphoto.aikan.pdnews.cn/zhbj-20240802/image/content/83b9687d5c4b4c6488d4f40abede1025.jpeg" class="139779484" style="max-width:100%"</p><p class="rmrb-caption-img">测试</p>`, | ||
| 646 | coverImgUrl: handleRandomImage(343, 197), | 711 | coverImgUrl: handleRandomImage(343, 197), |
| 647 | imageUrl: handleRandomImage(50, 50), | 712 | imageUrl: handleRandomImage(50, 50), |
| 648 | adress: 'Cai Hairuo, Liang Jun', | 713 | adress: 'Cai Hairuo, Liang Jun', |
| @@ -652,9 +717,10 @@ function getArticleDetails() { | @@ -652,9 +717,10 @@ function getArticleDetails() { | ||
| 652 | newLinkObject: { | 717 | newLinkObject: { |
| 653 | newsTitle: '——有品质的新闻' | 718 | newsTitle: '——有品质的新闻' |
| 654 | }, | 719 | }, |
| 720 | + viewCount: 100, | ||
| 655 | shareInfo: { | 721 | shareInfo: { |
| 656 | shareSummary: '有品质的新闻', | 722 | shareSummary: '有品质的新闻', |
| 657 | - sharePosterOpen: 1, | 723 | + sharePosterOpen: 0, |
| 658 | shareTitle: '中国首届学生(青年)运动会开幕', | 724 | shareTitle: '中国首届学生(青年)运动会开幕', |
| 659 | shareOpen: 1, | 725 | shareOpen: 1, |
| 660 | sharePosterCoverUrl: 'https://uatjdcdnphoto.aikan.pdnews.cn/sjbj-20231106/image/display/6e8fc89b64c94f808970357ef224ce79.jpg', | 726 | sharePosterCoverUrl: 'https://uatjdcdnphoto.aikan.pdnews.cn/sjbj-20231106/image/display/6e8fc89b64c94f808970357ef224ce79.jpg', |
| @@ -662,14 +728,18 @@ function getArticleDetails() { | @@ -662,14 +728,18 @@ function getArticleDetails() { | ||
| 662 | shareCoverUrl: 'https://uatjdcdnphoto.aikan.pdnews.cn/zhbj-20231106/image/content/d30cdda18fd54062a50ac69d5a0fa234.png' | 728 | shareCoverUrl: 'https://uatjdcdnphoto.aikan.pdnews.cn/zhbj-20231106/image/content/d30cdda18fd54062a50ac69d5a0fa234.png' |
| 663 | }, | 729 | }, |
| 664 | // isNewspaper: true, | 730 | // isNewspaper: true, |
| 665 | - rmhInfo: { | ||
| 666 | - rmhName: '111', | ||
| 667 | - rmhDesc: '111', | ||
| 668 | - }, | 731 | + // rmhInfo: { |
| 732 | + // rmhName: '111', | ||
| 733 | + // rmhDesc: '111', | ||
| 734 | + // }, | ||
| 669 | topicInfo: { | 735 | topicInfo: { |
| 670 | title: '有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻', | 736 | title: '有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻有品质的新闻', |
| 671 | slideShows: [ | 737 | slideShows: [ |
| 672 | { | 738 | { |
| 739 | + newsTitle: Mock.Random.ctitle(50, 80), | ||
| 740 | + publishTime: dayjs().valueOf() | ||
| 741 | + }, | ||
| 742 | + { | ||
| 673 | newsTitle: Mock.Random.ctitle(10, 20), | 743 | newsTitle: Mock.Random.ctitle(10, 20), |
| 674 | publishTime: dayjs().valueOf() | 744 | publishTime: dayjs().valueOf() |
| 675 | }, | 745 | }, |
| @@ -677,7 +747,6 @@ function getArticleDetails() { | @@ -677,7 +747,6 @@ function getArticleDetails() { | ||
| 677 | newsTitle: Mock.Random.ctitle(10, 20), | 747 | newsTitle: Mock.Random.ctitle(10, 20), |
| 678 | publishTime: dayjs().valueOf() | 748 | publishTime: dayjs().valueOf() |
| 679 | }, | 749 | }, |
| 680 | - | ||
| 681 | ] | 750 | ] |
| 682 | }, | 751 | }, |
| 683 | activityInfos: [ | 752 | activityInfos: [ |
| @@ -693,16 +762,16 @@ function getArticleDetails() { | @@ -693,16 +762,16 @@ function getArticleDetails() { | ||
| 693 | { | 762 | { |
| 694 | 'index': 1, | 763 | 'index': 1, |
| 695 | 'optionId': '465', | 764 | 'optionId': '465', |
| 696 | - 'summary': '22', | ||
| 697 | - 'totalVotes': 10, | 765 | + 'summary': Mock.Random.ctitle(10, 20), |
| 766 | + 'totalVotes': 1, | ||
| 698 | backColor: '#D0021B', | 767 | backColor: '#D0021B', |
| 699 | wordColor: '#ffffff' | 768 | wordColor: '#ffffff' |
| 700 | }, | 769 | }, |
| 701 | { | 770 | { |
| 702 | 'index': 2, | 771 | 'index': 2, |
| 703 | 'optionId': '466', | 772 | 'optionId': '466', |
| 704 | - 'summary': '你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好你好', | ||
| 705 | - 'totalVotes': 3 | 773 | + 'summary': Mock.Random.ctitle(10, 20), |
| 774 | + 'totalVotes': 0 | ||
| 706 | } | 775 | } |
| 707 | ], | 776 | ], |
| 708 | 'style': 1, | 777 | 'style': 1, |
| @@ -2,7 +2,7 @@ var docEl = document.documentElement | @@ -2,7 +2,7 @@ var docEl = document.documentElement | ||
| 2 | var dpr = window.devicePixelRatio || 1 | 2 | var dpr = window.devicePixelRatio || 1 |
| 3 | 3 | ||
| 4 | var clientHeight = 0 | 4 | var clientHeight = 0 |
| 5 | -var appFontSize = '' | 5 | +var appFontSize = 'normalsize' |
| 6 | 6 | ||
| 7 | /* 判断设备类型 */ | 7 | /* 判断设备类型 */ |
| 8 | function judgTerminal() { | 8 | function judgTerminal() { |
| @@ -35,38 +35,55 @@ function setBodyFontSize() { | @@ -35,38 +35,55 @@ function setBodyFontSize() { | ||
| 35 | document.addEventListener('DOMContentLoaded', setBodyFontSize) | 35 | document.addEventListener('DOMContentLoaded', setBodyFontSize) |
| 36 | } | 36 | } |
| 37 | } | 37 | } |
| 38 | - | ||
| 39 | -function changeRemValue(rem, type) { | ||
| 40 | - if (type === 'small') return rem * 0.89 | ||
| 41 | - if (type === 'normalsize') return rem | ||
| 42 | - if (type === 'large') return rem * 1.1 | ||
| 43 | - if (type === 'Large') return rem * 1.26 | 38 | +function changeRemValue(type) { |
| 39 | + if (type === 'small') return 0.9 | ||
| 40 | + if (type === 'normalsize') return 1 | ||
| 41 | + if (type === 'large') return 1.1 | ||
| 42 | + if (type === 'Large') return 1.23 | ||
| 44 | } | 43 | } |
| 45 | 44 | ||
| 46 | // set 1rem = viewWidth / 10 | 45 | // set 1rem = viewWidth / 10 |
| 47 | function setRemUnit(type = 'normalsize') { | 46 | function setRemUnit(type = 'normalsize') { |
| 48 | - console.log('setRemUnit:',type) | ||
| 49 | if (type !== 'normalsize' || type !== 'small' || type !== 'large' || type !== 'Large') { | 47 | if (type !== 'normalsize' || type !== 'small' || type !== 'large' || type !== 'Large') { |
| 50 | type = appFontSize || docEl.getAttribute('data-size') || 'normalsize' | 48 | type = appFontSize || docEl.getAttribute('data-size') || 'normalsize' |
| 51 | } | 49 | } |
| 52 | - docEl.setAttribute('data-size', type) | 50 | + // console.log(clientHeight) |
| 51 | + // type = 'normalsize' | ||
| 52 | + document.documentElement.setAttribute('data-size', type) | ||
| 53 | + document.documentElement.style.setProperty('--appFontSize', changeRemValue(type)) | ||
| 54 | + | ||
| 55 | + setTimeout(() => { | ||
| 56 | + try { | ||
| 57 | + if ( | ||
| 58 | + document.querySelector('.skeleton-loading').classList.contains('active') && | ||
| 59 | + !document.querySelector('#app').classList.contains('fixed') | ||
| 60 | + ) { | ||
| 61 | + changeContentHtmlHeight() | ||
| 62 | + } | ||
| 63 | + } catch (e) { | ||
| 64 | + | ||
| 65 | + } | ||
| 66 | + }, 200) | ||
| 67 | + | ||
| 53 | if (docEl) { | 68 | if (docEl) { |
| 54 | let rem = docEl.clientWidth / 10 | 69 | let rem = docEl.clientWidth / 10 |
| 55 | if (rem > 37.5) rem = docEl.clientWidth / (10 + 1) | 70 | if (rem > 37.5) rem = docEl.clientWidth / (10 + 1) |
| 56 | if (judgTerminal() === 1) { | 71 | if (judgTerminal() === 1) { |
| 57 | const has = clientHeight ? (docEl.getBoundingClientRect().width / clientHeight) > (3 / 4) : false | 72 | const has = clientHeight ? (docEl.getBoundingClientRect().width / clientHeight) > (3 / 4) : false |
| 58 | - console.info('是否是折叠屏', docEl.getBoundingClientRect().width, clientHeight, has) | ||
| 59 | - console.info('fontSize', changeRemValue(rem, type)) | ||
| 60 | - docEl.style.fontSize = (has ? changeRemValue(rem, type) / 2 : changeRemValue(rem, type)) + 'px' | 73 | + // console.info('是否是折叠屏', docEl.getBoundingClientRect().width, clientHeight, has) |
| 74 | + // console.info('fontSize', rem) | ||
| 75 | + docEl.style.fontSize = (has ? rem / 2 : rem) + 'px' | ||
| 61 | } else { | 76 | } else { |
| 62 | rem = 37.5 | 77 | rem = 37.5 |
| 63 | - docEl.style.fontSize = changeRemValue(rem, type) + 'px' | 78 | + docEl.style.fontSize = rem + 'px' |
| 64 | } | 79 | } |
| 65 | } | 80 | } |
| 66 | } | 81 | } |
| 67 | 82 | ||
| 68 | window.addEventListener('resize', () => { | 83 | window.addEventListener('resize', () => { |
| 69 | - console.log('resize') | 84 | + if (window.config.VUE_BASE_NODE === 'dev') { |
| 85 | + clientHeight = document.documentElement.getBoundingClientRect().height | ||
| 86 | + } | ||
| 70 | setRemUnit() | 87 | setRemUnit() |
| 71 | }) | 88 | }) |
| 72 | 89 |
| @@ -18,7 +18,7 @@ function playerVideo(player, events) { | @@ -18,7 +18,7 @@ function playerVideo(player, events) { | ||
| 18 | const videoUrl = player.options.record.url | 18 | const videoUrl = player.options.record.url |
| 19 | 19 | ||
| 20 | if (window.config.VUE_BASE_NODE === 'dev') { | 20 | if (window.config.VUE_BASE_NODE === 'dev') { |
| 21 | - console.log('视频播放', width, height) | 21 | + console.log('视频播放', width, height, left, top, videoLandscape) |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | 24 |
| 1 | function createLayerState() { | 1 | function createLayerState() { |
| 2 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' | 2 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' |
| 3 | - return `<div class="player-layer-state none"><div class="player-state-icon"><img class="player-state-image" src="./image/${isDark ? 'dark' : 'video'}/videoPlay.svg" alt=""></div></div>` | 3 | + return `<div class="player-layer-state none"><div class="player-state-icon"><img class="player-state-image" src="./image/${isDark ? 'video' : 'video'}/videoPlay.svg" alt=""></div></div>` |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | function createPlayerBottom() { | 6 | function createPlayerBottom() { |
| @@ -37,7 +37,7 @@ function timeRangeToArray(timeRanges) { | @@ -37,7 +37,7 @@ function timeRangeToArray(timeRanges) { | ||
| 37 | let ranges = [] | 37 | let ranges = [] |
| 38 | 38 | ||
| 39 | for (let i = 0; i < timeRanges.length; ++i) | 39 | for (let i = 0; i < timeRanges.length; ++i) |
| 40 | - ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]] | 40 | + ranges = customConcat(ranges, [timeRanges.start(i), timeRanges.end(i)]) |
| 41 | 41 | ||
| 42 | return ranges | 42 | return ranges |
| 43 | } | 43 | } |
| @@ -12,6 +12,7 @@ function loadingBlock(status) { | @@ -12,6 +12,7 @@ function loadingBlock(status) { | ||
| 12 | function appBlock(status) { | 12 | function appBlock(status) { |
| 13 | if (status) { | 13 | if (status) { |
| 14 | loadingBlock(false) | 14 | loadingBlock(false) |
| 15 | + document.querySelector('.error-block').style.display = 'none' | ||
| 15 | document.querySelector('#app').classList.remove('fixed') | 16 | document.querySelector('#app').classList.remove('fixed') |
| 16 | } else { | 17 | } else { |
| 17 | document.querySelector('#app').classList.add('fixed') | 18 | document.querySelector('#app').classList.add('fixed') |
| @@ -19,6 +20,10 @@ function appBlock(status) { | @@ -19,6 +20,10 @@ function appBlock(status) { | ||
| 19 | } | 20 | } |
| 20 | 21 | ||
| 21 | function errorBlock(img, str, retry) { | 22 | function errorBlock(img, str, retry) { |
| 23 | + if (!document.querySelector('#app').classList.contains('fixed')) { | ||
| 24 | + return | ||
| 25 | + } | ||
| 26 | + errorStatus = true | ||
| 22 | loadingBlock(false) | 27 | loadingBlock(false) |
| 23 | appBlock(false) | 28 | appBlock(false) |
| 24 | mobileApp(false) | 29 | mobileApp(false) |
| @@ -31,10 +31,12 @@ class DomUtil { | @@ -31,10 +31,12 @@ class DomUtil { | ||
| 31 | const audioOringin = document.querySelectorAll('#newsContent audio') | 31 | const audioOringin = document.querySelectorAll('#newsContent audio') |
| 32 | for (let i = 0; i < audioOringin.length; i++) { | 32 | for (let i = 0; i < audioOringin.length; i++) { |
| 33 | const audioEl = audioOringin[i] | 33 | const audioEl = audioOringin[i] |
| 34 | - | ||
| 35 | - const src = audioEl.getAttribute('src') | ||
| 36 | - if (src) { | ||
| 37 | - audioEl.outerHTML = `<div class="audio-block_${getRandomNumber().uuid(10)}">${audioEl.outerHTML}</div>` | 34 | + const audioSourceEl = audioEl.querySelector('source') |
| 35 | + if (audioEl && audioSourceEl) { | ||
| 36 | + const src = audioEl.getAttribute('src') || audioSourceEl.getAttribute('src') | ||
| 37 | + if (src) { | ||
| 38 | + audioEl.outerHTML = `<div class="audio-block_${getRandomNumber().uuid(10)}">${audioEl.outerHTML}</div>` | ||
| 39 | + } | ||
| 38 | } | 40 | } |
| 39 | } | 41 | } |
| 40 | 42 | ||
| @@ -160,7 +162,7 @@ class DomUtil { | @@ -160,7 +162,7 @@ class DomUtil { | ||
| 160 | } | 162 | } |
| 161 | el.style.borderLeftColor = borderColor | 163 | el.style.borderLeftColor = borderColor |
| 162 | el.style.backgroundColor = bgHex | 164 | el.style.backgroundColor = bgHex |
| 163 | - el.innerHTML = `<div class="en-text-1-title">${title}<img data-src="./image/textDesIcon.svg" class="not-preview-image local-image" src="./image/textDesIcon.svg" alt=""></div>` | 165 | + el.innerHTML = `<img data-src="./image/textDesIcon.svg" class="not-preview-image local-image" src="./image/textDesIcon.svg" alt=""><div class="en-text-1-title">${title}</div>` |
| 164 | text1Dom[i].before(el) | 166 | text1Dom[i].before(el) |
| 165 | text1Dom[i].remove() | 167 | text1Dom[i].remove() |
| 166 | } | 168 | } |
| @@ -211,7 +213,7 @@ class DomUtil { | @@ -211,7 +213,7 @@ class DomUtil { | ||
| 211 | } | 213 | } |
| 212 | 214 | ||
| 213 | el.style.borderColor = borderColor | 215 | el.style.borderColor = borderColor |
| 214 | - el.innerHTML = `<div class="en-text-3-title droidSerif-bold" style="color: ${titleColor}"><i class="en-text-3-point" style="background: ${borderColor}"></i>${title}</div><div class="en-text-3-content">${content}</div>` | 216 | + el.innerHTML = `<div class="en-text-3-title " style="color: ${titleColor}"><i class="en-text-3-point" style="background: ${borderColor}"></i>${title}</div><div class="en-text-3-content">${content}</div>` |
| 215 | text3Dom[i].before(el) | 217 | text3Dom[i].before(el) |
| 216 | text3Dom[i].remove() | 218 | text3Dom[i].remove() |
| 217 | } | 219 | } |
| @@ -233,7 +235,7 @@ class DomUtil { | @@ -233,7 +235,7 @@ class DomUtil { | ||
| 233 | if (borderEl) { | 235 | if (borderEl) { |
| 234 | bgHex = borderEl.style.backgroundColor | 236 | bgHex = borderEl.style.backgroundColor |
| 235 | } | 237 | } |
| 236 | - el.innerHTML = `<div class="en-text-4-block" style="background-color: ${bgHex}"><div class="en-text-4-title droidSerif-bold" style="color: ${titleColor}">${title}</div><div class="en-text-4-end" style="background: ${bgHex}"></div></div>` | 238 | + el.innerHTML = `<div class="en-text-4-block" style="background-color: ${bgHex}"><div class="en-text-4-title " style="color: ${titleColor}">${title}</div><div class="en-text-4-end" style="background: ${bgHex}"></div></div>` |
| 237 | text4Dom[i].before(el) | 239 | text4Dom[i].before(el) |
| 238 | text4Dom[i].remove() | 240 | text4Dom[i].remove() |
| 239 | } | 241 | } |
| @@ -264,7 +266,7 @@ class DomUtil { | @@ -264,7 +266,7 @@ class DomUtil { | ||
| 264 | if (borderEl) { | 266 | if (borderEl) { |
| 265 | titleBg = borderEl.style.backgroundColor | 267 | titleBg = borderEl.style.backgroundColor |
| 266 | } | 268 | } |
| 267 | - el.innerHTML = `<div class="en-text-5-block"><div class="en-text-5-num droidSerif-bold" style="color: ${numColor}; background: ${numBg}">${num}</div><div style="color: ${titleColor}; background: ${titleBg}" class="en-text-5-title droidSerif-bold">${title}</div></div>` | 269 | + el.innerHTML = `<div class="en-text-5-block"><div class="en-text-5-num " style="color: ${numColor}; background: ${numBg}">${num}</div><div style="color: ${titleColor}; background: ${titleBg}" class="en-text-5-title">${title}</div></div>` |
| 268 | text5Dom[i].before(el) | 270 | text5Dom[i].before(el) |
| 269 | text5Dom[i].remove() | 271 | text5Dom[i].remove() |
| 270 | } | 272 | } |
| @@ -280,7 +282,7 @@ class DomUtil { | @@ -280,7 +282,7 @@ class DomUtil { | ||
| 280 | } | 282 | } |
| 281 | const tableHtml = tableDom[i].querySelector('table').innerHTML | 283 | const tableHtml = tableDom[i].querySelector('table').innerHTML |
| 282 | const tableStyle = tableDom[i].querySelector('table').getAttribute('style') | 284 | const tableStyle = tableDom[i].querySelector('table').getAttribute('style') |
| 283 | - el.innerHTML = `<div class="en-table-title droidSerif-bold">${title}</div><table style="${tableStyle}">${tableHtml}</table>` | 285 | + el.innerHTML = `<div class="en-table-title ">${title}</div><table style="${tableStyle}">${tableHtml}</table>` |
| 284 | tableDom[i].before(el) | 286 | tableDom[i].before(el) |
| 285 | tableDom[i].remove() | 287 | tableDom[i].remove() |
| 286 | } | 288 | } |
| @@ -523,11 +525,11 @@ class DomUtil { | @@ -523,11 +525,11 @@ class DomUtil { | ||
| 523 | 525 | ||
| 524 | const el = document.createElement('a') | 526 | const el = document.createElement('a') |
| 525 | el.setAttribute('class', imageUrl ? 'preview-link-card-mobile card-image' : 'preview-link-card-mobile') | 527 | el.setAttribute('class', imageUrl ? 'preview-link-card-mobile card-image' : 'preview-link-card-mobile') |
| 526 | - el.setAttribute('data-rmrbnative', dataRmrbnativeEl.getAttribute('data-rmrbnative')) | 528 | + el.setAttribute('data-rmrbnative', dataRmrbnativeEl ? dataRmrbnativeEl.getAttribute('data-rmrbnative') : '') |
| 527 | el.setAttribute('href', hrefUrl) | 529 | el.setAttribute('href', hrefUrl) |
| 528 | el.setAttribute('target', '_blank') | 530 | el.setAttribute('target', '_blank') |
| 529 | 531 | ||
| 530 | - let linkIcon = `icon_Y_lianjie_dark` | 532 | + let linkIcon = `icon_Y_lianjie` |
| 531 | 533 | ||
| 532 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' | 534 | const isDark = document.querySelector('html').getAttribute('dark-mode') === 'true' |
| 533 | 535 | ||
| @@ -535,9 +537,9 @@ class DomUtil { | @@ -535,9 +537,9 @@ class DomUtil { | ||
| 535 | linkIcon = `icon_Y_lianjie` | 537 | linkIcon = `icon_Y_lianjie` |
| 536 | } | 538 | } |
| 537 | if (imageUrl) { | 539 | if (imageUrl) { |
| 538 | - el.innerHTML = `<div class="left"><img data-src="${imageUrl}" class="not-preview-image local-image" src="${imageUrl}" alt=""></div><div class="right"><div class="preview-link-title droidSerif-bold"><img class="not-preview-image local-image" data-src="./image/${linkIcon}.svg" src="./image/${linkIcon}.svg" alt="">${title}</div><div class="preview-link"><span>${hrefUrl || ''}</span></div></div>` | 540 | + el.innerHTML = `<div class="left"><img data-src="${imageUrl}" class="not-preview-image local-image" src="${imageUrl}" alt=""></div><div class="right"><div class="preview-link-title "><img class="not-preview-image local-image" data-src="./image/${linkIcon}.svg" src="./image/${linkIcon}.svg" alt="">${title}</div><div class="preview-link"><span>${hrefUrl || ''}</span></div></div>` |
| 539 | } else { | 541 | } else { |
| 540 | - el.innerHTML = `<div class="preview-link-title droidSerif-bold"><img class="not-preview-image local-image" src="./image/${linkIcon}.svg" data-src="./image/${linkIcon}.svg" alt="">${title}</div><div class="preview-link"><span>${hrefUrl || ''}</span></div>` | 542 | + el.innerHTML = `<div class="preview-link-title "><img class="not-preview-image local-image" src="./image/${linkIcon}.svg" data-src="./image/${linkIcon}.svg" alt="">${title}</div><div class="preview-link"><span>${hrefUrl || ''}</span></div>` |
| 541 | } | 543 | } |
| 542 | 544 | ||
| 543 | linkCardDom[i].before(el) | 545 | linkCardDom[i].before(el) |
| @@ -599,13 +601,17 @@ class DomUtil { | @@ -599,13 +601,17 @@ class DomUtil { | ||
| 599 | if (isDark) { | 601 | if (isDark) { |
| 600 | publicImageUrl = './image/dark' | 602 | publicImageUrl = './image/dark' |
| 601 | } | 603 | } |
| 602 | - const noCoverTitle = `<div class="audio-title droidSerif-bold"><div class="audio-notice-title">${title}</div></div>` | 604 | + const noCoverTitle = `<div class="audio-title "><div class="audio-notice-title">${title}</div></div>` |
| 603 | if (cover) { | 605 | if (cover) { |
| 604 | el.innerHTML = `<audio src="${audioSrc}" class="audio-block hidden"></audio><div class="left"><img class="not-preview-image local-image" data-src="${cover}" src="" alt=""></div><div class="right"><div class="audio-title" data-cover="cover"><div class="audio-notice-title">${title}</div></div><div class="audio-extra"><div class="audio-time"><span class="audio-current droidSerif">00:00</span><span class="droidSerif audio-current">/</span><span class="audio-durtion droidSerif">00:00</span></div><div class="audio-extral-iocn"><div class="audio-bg"><img data-src="${publicImageUrl}/audioBg.svg" src="${publicImageUrl}/audioBg.svg" alt="" class="not-preview-image local-image" /><img class="audio-play-icon active not-preview-image local-image" data-src="${publicImageUrl}/${pauseIcon}.svg" src="${publicImageUrl}/${pauseIcon}.svg" alt=""><img class="not-preview-image audio-pause-icon local-image" src="${publicImageUrl}/${playIcon}.svg" data-src="${publicImageUrl}/${playIcon}.svg" alt=""></div></div></div></div>` | 606 | el.innerHTML = `<audio src="${audioSrc}" class="audio-block hidden"></audio><div class="left"><img class="not-preview-image local-image" data-src="${cover}" src="" alt=""></div><div class="right"><div class="audio-title" data-cover="cover"><div class="audio-notice-title">${title}</div></div><div class="audio-extra"><div class="audio-time"><span class="audio-current droidSerif">00:00</span><span class="droidSerif audio-current">/</span><span class="audio-durtion droidSerif">00:00</span></div><div class="audio-extral-iocn"><div class="audio-bg"><img data-src="${publicImageUrl}/audioBg.svg" src="${publicImageUrl}/audioBg.svg" alt="" class="not-preview-image local-image" /><img class="audio-play-icon active not-preview-image local-image" data-src="${publicImageUrl}/${pauseIcon}.svg" src="${publicImageUrl}/${pauseIcon}.svg" alt=""><img class="not-preview-image audio-pause-icon local-image" src="${publicImageUrl}/${playIcon}.svg" data-src="${publicImageUrl}/${playIcon}.svg" alt=""></div></div></div></div>` |
| 605 | } else { | 607 | } else { |
| 606 | - el.innerHTML = `<audio src="${audioSrc}" class="audio-block hidden"></audio><div class="left"><img class="audio-play-icon not-preview-image local-image active mobileIcon" data-src="${publicImageUrl}/${pauseIcon}.svg" src="${publicImageUrl}/${pauseIcon}.svg" alt=""><img class="audio-pause-icon not-preview-image local-image mobileIcon" src="${publicImageUrl}/${playIcon}.svg" data-src="${publicImageUrl}/${playIcon}.svg" alt=""></div><div class="right" style="margin-top: ${title ? '0' : `${11 / 37.5}rem`}">${title | 608 | + el.innerHTML = `<audio src="${audioSrc}" class="audio-block hidden"></audio><div class="left"><img class="audio-play-icon not-preview-image local-image active mobileIcon" data-src="${publicImageUrl}/${pauseIcon}.svg" src="${publicImageUrl}/${pauseIcon}.svg" alt=""><img class="audio-pause-icon not-preview-image local-image mobileIcon" src="${publicImageUrl}/${playIcon}.svg" data-src="${publicImageUrl}/${playIcon}.svg" alt=""></div><div class="right" style="margin-top: ${title |
| 609 | + ? '0' | ||
| 610 | + : `${11 / 37.5}rem`}">${title | ||
| 607 | ? noCoverTitle | 611 | ? noCoverTitle |
| 608 | - : ''}<div class="audio-progress-block"><div class="audio-progressed"></div></div><div class="audio-time" style="margin-top: ${title ? `${4 / 37.5}rem` : `${8 / 37.5}rem`}"><span class="audio-current droidSerif">00:00</span><span class="audio-durtion droidSerif">00:00</span></div></div>` | 612 | + : ''}<div class="audio-progress-block"><div class="audio-progressed"></div></div><div class="audio-time" style="margin-top: ${title |
| 613 | + ? `${4 / 37.5}rem` | ||
| 614 | + : `${8 / 37.5}rem`}"><span class="audio-current droidSerif">00:00</span><span class="audio-durtion droidSerif">00:00</span></div></div>` | ||
| 609 | } | 615 | } |
| 610 | 616 | ||
| 611 | if (audioSrc) { | 617 | if (audioSrc) { |
| @@ -622,11 +628,11 @@ class DomUtil { | @@ -622,11 +628,11 @@ class DomUtil { | ||
| 622 | const name = imageDom[i].getAttribute('data-name') | 628 | const name = imageDom[i].getAttribute('data-name') |
| 623 | const classList = imageDom[i].getAttribute('class') || '' | 629 | const classList = imageDom[i].getAttribute('class') || '' |
| 624 | const src = imageDom[i].getAttribute('src') || imageDom[i].getAttribute('data-src') || '' | 630 | const src = imageDom[i].getAttribute('src') || imageDom[i].getAttribute('data-src') || '' |
| 625 | - | ||
| 626 | if (/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(src)) { | 631 | if (/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(src)) { |
| 627 | nextCallback(1, src) | 632 | nextCallback(1, src) |
| 628 | - | ||
| 629 | - if (!classList.includes('not-preview-image') && name !== 'people') { | 633 | + const style = imageDom[i].style |
| 634 | + const isInline = style && style.display ? style.display.indexOf('inline') > -1 : false | ||
| 635 | + if (!classList.includes('not-preview-image') && name !== 'people' && !isInline) { | ||
| 630 | effectImage.push(imageDom[i]) | 636 | effectImage.push(imageDom[i]) |
| 631 | } else { | 637 | } else { |
| 632 | imageDom[i].setAttribute('status', 'loading') | 638 | imageDom[i].setAttribute('status', 'loading') |
| @@ -641,7 +647,6 @@ class DomUtil { | @@ -641,7 +647,6 @@ class DomUtil { | ||
| 641 | for (let i = 0; i < effectImage.length; i++) { | 647 | for (let i = 0; i < effectImage.length; i++) { |
| 642 | const photoList = details.photoList | 648 | const photoList = details.photoList |
| 643 | const src = effectImage[i].getAttribute('src') || effectImage[i].getAttribute('data-src') || '' | 649 | const src = effectImage[i].getAttribute('src') || effectImage[i].getAttribute('data-src') || '' |
| 644 | - | ||
| 645 | const isLink = effectImage[i].parentNode && effectImage[i].parentNode.tagName === 'A' && !!effectImage[i].parentNode.getAttribute( | 650 | const isLink = effectImage[i].parentNode && effectImage[i].parentNode.tagName === 'A' && !!effectImage[i].parentNode.getAttribute( |
| 646 | 'href') | 651 | 'href') |
| 647 | const networkStatus = [ 2, 3, 4, 5 ] | 652 | const networkStatus = [ 2, 3, 4, 5 ] |
| @@ -649,12 +654,12 @@ class DomUtil { | @@ -649,12 +654,12 @@ class DomUtil { | ||
| 649 | const imageSrc = isDark ? './image/placeHoldVlogo.svg' : './image/placeholdLogo.svg' | 654 | const imageSrc = isDark ? './image/placeHoldVlogo.svg' : './image/placeholdLogo.svg' |
| 650 | const errorSrc = isDark ? './image/errorDark.svg' : './image/error.svg' | 655 | const errorSrc = isDark ? './image/errorDark.svg' : './image/error.svg' |
| 651 | let className = src ? netstutas == 1 || loadlmageOnlyWifiSwitch == '2' | 656 | let className = src ? netstutas == 1 || loadlmageOnlyWifiSwitch == '2' |
| 652 | - ? 'preview-image-block loading' | ||
| 653 | - : networkStatus.includes(Number(netstutas)) | ||
| 654 | - ? `preview-image-block loading no-network` | ||
| 655 | - : netstutas === 0 | ||
| 656 | - ? 'preview-image-block loading error' | ||
| 657 | - : 'preview-image-block loading no-network' | 657 | + ? 'preview-image-block loading' |
| 658 | + : networkStatus.includes(Number(netstutas)) | ||
| 659 | + ? `preview-image-block loading no-network` | ||
| 660 | + : netstutas === 0 | ||
| 661 | + ? 'preview-image-block loading error' | ||
| 662 | + : 'preview-image-block loading no-network' | ||
| 658 | : 'preview-image-block loading error' | 663 | : 'preview-image-block loading error' |
| 659 | let linkIocnHtml = '' | 664 | let linkIocnHtml = '' |
| 660 | if (isLink) { | 665 | if (isLink) { |
| @@ -662,52 +667,53 @@ class DomUtil { | @@ -662,52 +667,53 @@ class DomUtil { | ||
| 662 | linkIocnHtml = `<div class="preview-image-link-icon"><img class="local-image" src="./image/image_link.svg" alt=""><span>链接</span></div>` | 667 | linkIocnHtml = `<div class="preview-image-link-icon"><img class="local-image" src="./image/image_link.svg" alt=""><span>链接</span></div>` |
| 663 | } | 668 | } |
| 664 | const el = document.createElement('div') | 669 | const el = document.createElement('div') |
| 665 | - const previewSrc = handleImageSrc(src, 1, details.isNewspaper) | ||
| 666 | const findRecord = photoList.find(el => { | 670 | const findRecord = photoList.find(el => { |
| 667 | const originSrc = src.split('?')[0] | 671 | const originSrc = src.split('?')[0] |
| 668 | return handleMediaSrc(el.picPath) == handleMediaSrc(originSrc) | 672 | return handleMediaSrc(el.picPath) == handleMediaSrc(originSrc) |
| 669 | }) | 673 | }) |
| 674 | + const previewSrc = handleImageSrc(src, 1, details.isNewspaper, findRecord) | ||
| 670 | let width = effectImage[i].getAttribute('width') || effectImage[i].getAttribute('data-gifffer-width') || '' | 675 | let width = effectImage[i].getAttribute('width') || effectImage[i].getAttribute('data-gifffer-width') || '' |
| 671 | let height = effectImage[i].getAttribute('height') || effectImage[i].getAttribute('data-gifffer-height') || '' | 676 | let height = effectImage[i].getAttribute('height') || effectImage[i].getAttribute('data-gifffer-height') || '' |
| 672 | - | ||
| 673 | width = width ? Number(width) : 0 | 677 | width = width ? Number(width) : 0 |
| 674 | height = height ? Number(height) : 0 | 678 | height = height ? Number(height) : 0 |
| 675 | 679 | ||
| 676 | if (width) width = !isNaN(width) && typeof width === 'number' ? width : 0 | 680 | if (width) width = !isNaN(width) && typeof width === 'number' ? width : 0 |
| 677 | if (height) height = !isNaN(width) && typeof height === 'number' ? height : 0 | 681 | if (height) height = !isNaN(width) && typeof height === 'number' ? height : 0 |
| 678 | 682 | ||
| 679 | - | ||
| 680 | if (findRecord) { | 683 | if (findRecord) { |
| 681 | - if (findRecord && (!width || !height)) { | ||
| 682 | - width = findRecord.width || 0 | ||
| 683 | - height = findRecord.height || 0 | ||
| 684 | - } | 684 | + width = findRecord.width || width |
| 685 | + height = findRecord.height || height | ||
| 685 | } | 686 | } |
| 686 | width = width && isNumber(Number(width)) ? isNaN(Number(width)) ? 0 : Number(width) : 0 | 687 | width = width && isNumber(Number(width)) ? isNaN(Number(width)) ? 0 : Number(width) : 0 |
| 687 | height = height && isNumber(Number(height)) ? isNaN(Number(height)) ? 0 : Number(height) : 0 | 688 | height = height && isNumber(Number(height)) ? isNaN(Number(height)) ? 0 : Number(height) : 0 |
| 688 | 689 | ||
| 689 | - | ||
| 690 | if (width <= 0) width = 0 | 690 | if (width <= 0) width = 0 |
| 691 | if (height <= 0) height = 0 | 691 | if (height <= 0) height = 0 |
| 692 | - | ||
| 693 | - const overMaxWidth = width > contentWidth | 692 | + const parentNode = effectImage[i].parentNode |
| 693 | + const parentWidth = parentNode ? parentNode.getBoundingClientRect().width : contentWidth | ||
| 694 | + const overMaxWidth = width > parentWidth | ||
| 694 | el.setAttribute('class', className) | 695 | el.setAttribute('class', className) |
| 695 | el.setAttribute('status', 'loading') | 696 | el.setAttribute('status', 'loading') |
| 696 | - el.style.height = width && height ? overMaxWidth ? `${contentWidth * height / width}px` : `${height}px` : '' | 697 | + el.style.height = width && height ? overMaxWidth ? `${parentWidth * height / width}px` : `${height}px` : '' |
| 697 | if (!height) el.classList.add('minHeight') | 698 | if (!height) el.classList.add('minHeight') |
| 698 | el.innerHTML = `<img class="image-player none image-player-${i}" src="" alt="" data-src="${previewSrc}" data-origin-src="${src}" data-image="image"><img class="preview-image-placehold local-image not-preview-image" src="${imageSrc}" alt=""><img class="preview-image-error not-preview-image local-image none" src="${errorSrc}" alt=""><span class="no-network-text">点击查看原图</span>${linkIocnHtml}` | 699 | el.innerHTML = `<img class="image-player none image-player-${i}" src="" alt="" data-src="${previewSrc}" data-origin-src="${src}" data-image="image"><img class="preview-image-placehold local-image not-preview-image" src="${imageSrc}" alt=""><img class="preview-image-error not-preview-image local-image none" src="${errorSrc}" alt=""><span class="no-network-text">点击查看原图</span>${linkIocnHtml}` |
| 699 | 700 | ||
| 700 | try { | 701 | try { |
| 701 | - if (effectImage[i].parentNode && effectImage[i].parentNode.tagName == 'A') { | ||
| 702 | - const aEl = effectImage[i].parentNode | ||
| 703 | - const href = aEl.getAttribute('href') | ||
| 704 | - const dataRmrbnative = aEl.getAttribute('data-rmrbnative') | 702 | + if (parentNode && parentNode.tagName == 'A') { |
| 703 | + const href = parentNode.getAttribute('href') | ||
| 704 | + const dataRmrbnative = parentNode.getAttribute('data-rmrbnative') | ||
| 705 | el.setAttribute('data-href', href) | 705 | el.setAttribute('data-href', href) |
| 706 | el.setAttribute('data-rmrbnative', dataRmrbnative) | 706 | el.setAttribute('data-rmrbnative', dataRmrbnative) |
| 707 | 707 | ||
| 708 | if (effectImage[i].parentNode.parentNode && effectImage[i].parentNode.parentNode.tagName == 'P') { | 708 | if (effectImage[i].parentNode.parentNode && effectImage[i].parentNode.parentNode.tagName == 'P') { |
| 709 | - effectImage[i].parentNode.parentNode.before(el) | ||
| 710 | - effectImage[i].parentNode.parentNode.remove() | 709 | + const parentNodeP = effectImage[i].parentNode.parentNode |
| 710 | + if (parentNodeP.childNodes.length === 1) { | ||
| 711 | + effectImage[i].parentNode.parentNode.before(el) | ||
| 712 | + effectImage[i].parentNode.parentNode.remove() | ||
| 713 | + } else { | ||
| 714 | + effectImage[i].parentNode.before(el) | ||
| 715 | + effectImage[i].parentNode.remove() | ||
| 716 | + } | ||
| 711 | } else { | 717 | } else { |
| 712 | effectImage[i].parentNode.before(el) | 718 | effectImage[i].parentNode.before(el) |
| 713 | effectImage[i].parentNode.remove() | 719 | effectImage[i].parentNode.remove() |
| @@ -793,8 +799,9 @@ class DomUtil { | @@ -793,8 +799,9 @@ class DomUtil { | ||
| 793 | 799 | ||
| 794 | if (width <= 0) width = 0 | 800 | if (width <= 0) width = 0 |
| 795 | if (height <= 0) height = 0 | 801 | if (height <= 0) height = 0 |
| 796 | - | ||
| 797 | - let styleHeight = width === 0 ? 0 : Number(contentWidth) / (width / height) | 802 | + const parentNode = videoDomList[i].parentNode |
| 803 | + const parentWidth = parentNode ? parentNode.getBoundingClientRect().width : contentWidth | ||
| 804 | + let styleHeight = width === 0 ? 0 : Number(parentWidth) / (width / height) | ||
| 798 | 805 | ||
| 799 | if (!styleHeight) styleHeight = 150 | 806 | if (!styleHeight) styleHeight = 150 |
| 800 | 807 | ||
| @@ -806,14 +813,24 @@ class DomUtil { | @@ -806,14 +813,24 @@ class DomUtil { | ||
| 806 | el.innerHTML = `<div id="video-player-${i}" class="video-player video-player-${i}" style="height: ${styleHeight}px" data-height="${height || '0' | 813 | el.innerHTML = `<div id="video-player-${i}" class="video-player video-player-${i}" style="height: ${styleHeight}px" data-height="${height || '0' |
| 807 | }" data-width="${width || '0'}" data-id="${id}"></div>` | 814 | }" data-width="${width || '0'}" data-id="${id}"></div>` |
| 808 | 815 | ||
| 809 | - const parentNode = videoDomList[i].parentNode | 816 | + const sibling = videoDomList[i].nextElementSibling || videoDomList[i].previousElementSibling |
| 810 | if (parentNode) { | 817 | if (parentNode) { |
| 811 | - if (parentNode.getAttribute('id') !== 'newsContent') { | ||
| 812 | - parentNode.before(el) | ||
| 813 | - parentNode.remove() | ||
| 814 | - } else { | 818 | + let containsText = false |
| 819 | + if (sibling) { | ||
| 820 | + var childNodes = sibling.childNodes | ||
| 821 | + for (let a = 0; a < childNodes.length; a++) { | ||
| 822 | + if (childNodes[a].nodeType === Node.TEXT_NODE && childNodes[a].textContent.trim() !== '') { | ||
| 823 | + containsText = true | ||
| 824 | + break | ||
| 825 | + } | ||
| 826 | + } | ||
| 827 | + } | ||
| 828 | + if (parentNode.getAttribute('id') === 'newsContent' || containsText) { | ||
| 815 | videoEl.before(el) | 829 | videoEl.before(el) |
| 816 | videoEl.remove() | 830 | videoEl.remove() |
| 831 | + } else { | ||
| 832 | + parentNode.before(el) | ||
| 833 | + parentNode.remove() | ||
| 817 | } | 834 | } |
| 818 | } | 835 | } |
| 819 | nextCallback(2, { src, id, poster, originId: videoElId, isNewspaper: details.isNewspaper }) | 836 | nextCallback(2, { src, id, poster, originId: videoElId, isNewspaper: details.isNewspaper }) |
| @@ -871,7 +888,8 @@ class DomUtil { | @@ -871,7 +888,8 @@ class DomUtil { | ||
| 871 | const lastEle = document.querySelector('#newsContent') | 888 | const lastEle = document.querySelector('#newsContent') |
| 872 | ? document.querySelector('#newsContent').lastElementChild : null | 889 | ? document.querySelector('#newsContent').lastElementChild : null |
| 873 | 890 | ||
| 874 | - if (lastEle && lastEle.lastChild && lastEle.lastChild.classList && lastEle.lastChild.classList.contains('preview-image-block')) { | 891 | + if (lastEle && lastEle.lastChild && lastEle.lastChild.classList && lastEle.lastChild.classList.contains( |
| 892 | + 'preview-image-block')) { | ||
| 875 | const el = lastEle.lastChild | 893 | const el = lastEle.lastChild |
| 876 | el.style.setProperty('margin-bottom', '0', 'important') | 894 | el.style.setProperty('margin-bottom', '0', 'important') |
| 877 | } | 895 | } |
| 1 | +function h5ErrorPage(message) { | ||
| 2 | + pageErrorTypePoint({ errorMessage: message }) | ||
| 3 | + errorBlock( | ||
| 4 | + './image/content_fail.svg', | ||
| 5 | + '获取内容失败,请重试' | ||
| 6 | + ) | ||
| 7 | +} | ||
| 8 | + | ||
| 9 | + | ||
| 10 | +window.onerror = function (message, source, lineno, colno, error) { | ||
| 11 | + h5ErrorPage(message) | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +window.addEventListener('unhandledrejection', function (e) { | ||
| 15 | + e.preventDefault() | ||
| 16 | + h5ErrorPage(e.reason.stack) | ||
| 17 | + return true | ||
| 18 | +}) |
sight_harmony/features/wdComponent/src/main/resources/rawfile/apph5/js/utils/initialization.js
0 → 100644
| 1 | +var firstTime = new Date() | ||
| 2 | +let appH5Height = 0 | ||
| 3 | +var errorStatus = false | ||
| 4 | +var contentId = 0 | ||
| 5 | +// 是否读取到了app透传的额外的信息(主要是登录信息) | ||
| 6 | +var hasAppLoginExtra = false | ||
| 7 | +// 是否展示了文章详情 | ||
| 8 | +var startShowArticle = false | ||
| 9 | +// 详情数据是否获取到 | ||
| 10 | +var hasDetails = false | ||
| 11 | +// 延长判断页面展示是否超过200ms | ||
| 12 | +var pageLoadOutTime = null | ||
| 13 | +// 页面加载时间是否超时 | ||
| 14 | +var slow = false | ||
| 15 | +// 页面加载时间是否很短 | ||
| 16 | +var fast = false | ||
| 17 | +// 模拟页面加载语法报错 | ||
| 18 | +var pageError = false | ||
| 19 | +// userAgent | ||
| 20 | +const userAgent = navigator.userAgent | ||
| 21 | +// 页面加载模式 | ||
| 22 | +var darkMode = 'light' | ||
| 23 | +// var darkMode = 'dark' | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @Author gx12358 | ||
| 27 | + * @DateTime 2024/7/31 | ||
| 28 | + * @lastTime 2024/7/31 | ||
| 29 | + * @description 时间 | ||
| 30 | + */ | ||
| 31 | +function getTime() { | ||
| 32 | + const now = new Date() | ||
| 33 | + | ||
| 34 | + const hours = now.getHours().toString().padStart(2, '0') | ||
| 35 | + const minutes = now.getMinutes().toString().padStart(2, '0') | ||
| 36 | + const seconds = now.getSeconds().toString().padStart(2, '0') | ||
| 37 | + const secondss = now.getMilliseconds().toString().padStart(2, '0') | ||
| 38 | + | ||
| 39 | + return `${hours}:${minutes}:${seconds}:${secondss}` | ||
| 40 | +} | ||
| 41 | + | ||
| 42 | +console.log('页面开始加载资源:' + getTime()) | ||
| 43 | + | ||
| 44 | +function initAppDarkMode() { | ||
| 45 | + darkMode = userAgent.includes('dark') ? 'dark' : darkMode | ||
| 46 | + document | ||
| 47 | + .querySelector('html') | ||
| 48 | + .setAttribute('dark-mode', darkMode === 'dark') | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +/** | ||
| 52 | + * @Author gx12358 | ||
| 53 | + * @DateTime 2024/7/31 | ||
| 54 | + * @lastTime 2024/7/31 | ||
| 55 | + * @description 判断页面读取到详情数据所需要时间 | ||
| 56 | + */ | ||
| 57 | +function checkPageLoadingTimeOut() { | ||
| 58 | + clearTimeout(pageLoadOutTime) | ||
| 59 | + pageLoadOutTime = null | ||
| 60 | + | ||
| 61 | + pageLoadOutTime = setTimeout(() => { | ||
| 62 | + clearTimeout(pageLoadOutTime) | ||
| 63 | + pageLoadOutTime = null | ||
| 64 | + if (!hasDetails) { | ||
| 65 | + console.log(`页面展示超过${200}毫秒`) | ||
| 66 | + if (document.querySelector('.error-block').style.display === 'block') { | ||
| 67 | + return | ||
| 68 | + } | ||
| 69 | + if (document.querySelector('.skeleton-loading').classList.contains('active')) { | ||
| 70 | + document.querySelector('.skeleton-loading').classList.remove('active') | ||
| 71 | + } | ||
| 72 | + } else { | ||
| 73 | + // console.log(`页面展示小于${time}毫秒`) | ||
| 74 | + } | ||
| 75 | + }, 200) | ||
| 76 | +} | ||
| 77 | + | ||
| 78 | +/** | ||
| 79 | + * @Author gx12358 | ||
| 80 | + * @DateTime 2024/7/31 | ||
| 81 | + * @lastTime 2024/7/31 | ||
| 82 | + * @description 加载资源方法 | ||
| 83 | + */ | ||
| 84 | +function loadFile(doc, obj = {}, fn) { | ||
| 85 | + var tmpList = [] | ||
| 86 | + var item = null | ||
| 87 | + for ( | ||
| 88 | + var i = 0, ci; ( | ||
| 89 | + ci = tmpList[i++] | ||
| 90 | + ); | ||
| 91 | + ) { | ||
| 92 | + if (ci.doc === doc && ci.url == ( | ||
| 93 | + obj.src || obj.href | ||
| 94 | + )) { | ||
| 95 | + item = ci | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | + if (item) { | ||
| 99 | + if (item.ready) { | ||
| 100 | + fn && fn() | ||
| 101 | + } else { | ||
| 102 | + item.funs.push(fn) | ||
| 103 | + } | ||
| 104 | + return | ||
| 105 | + } | ||
| 106 | + tmpList.push({ | ||
| 107 | + doc: doc, | ||
| 108 | + url: obj.src || obj.href, | ||
| 109 | + funs: [ fn ] | ||
| 110 | + }) | ||
| 111 | + if (!doc.body) { | ||
| 112 | + var html = [] | ||
| 113 | + for (var p in obj) { | ||
| 114 | + if (p == 'tag') continue | ||
| 115 | + html.push(p + '="' + obj[p] + '"') | ||
| 116 | + } | ||
| 117 | + doc.write( | ||
| 118 | + '<' + obj.tag + ' ' + html.join(' ') + ' ></' + obj.tag + '>' | ||
| 119 | + ) | ||
| 120 | + return | ||
| 121 | + } | ||
| 122 | + if (obj.id && doc.getElementById(obj.id)) { | ||
| 123 | + return | ||
| 124 | + } | ||
| 125 | + var element = doc.createElement(obj.tag) | ||
| 126 | + delete obj.tag | ||
| 127 | + for (var p in obj) { | ||
| 128 | + element.setAttribute(p, obj[p]) | ||
| 129 | + } | ||
| 130 | + element.onload = element.onreadystatechange = function () { | ||
| 131 | + if (!this.readyState || /loaded|complete/.test(this.readyState)) { | ||
| 132 | + for ( | ||
| 133 | + var k = 0, ck; ( | ||
| 134 | + ck = tmpList[k++] | ||
| 135 | + ); | ||
| 136 | + ) { | ||
| 137 | + if (ck.doc === doc && ck.url == ( | ||
| 138 | + obj.src || obj.href | ||
| 139 | + )) { | ||
| 140 | + item = ck | ||
| 141 | + } | ||
| 142 | + } | ||
| 143 | + if (item.funs.length > 0) { | ||
| 144 | + item.ready = 1 | ||
| 145 | + for ( | ||
| 146 | + var fi; ( | ||
| 147 | + fi = item.funs.pop() | ||
| 148 | + ); | ||
| 149 | + ) { | ||
| 150 | + fi() | ||
| 151 | + } | ||
| 152 | + } | ||
| 153 | + element.onload = element.onreadystatechange = null | ||
| 154 | + } | ||
| 155 | + } | ||
| 156 | + element.onerror = function () { | ||
| 157 | + throw Error( | ||
| 158 | + 'The load ' + | ||
| 159 | + ( | ||
| 160 | + obj.href || obj.src | ||
| 161 | + ) + | ||
| 162 | + ' fails,check the url settings of file ueditor.config.js ' | ||
| 163 | + ) | ||
| 164 | + } | ||
| 165 | + doc.getElementsByTagName('head')[0].appendChild(element) | ||
| 166 | +} | ||
| 167 | + | ||
| 168 | +/** | ||
| 169 | + * @Author gx12358 | ||
| 170 | + * @DateTime 2024/7/31 | ||
| 171 | + * @lastTime 2024/7/31 | ||
| 172 | + * @description 判断设备类型 | ||
| 173 | + */ | ||
| 174 | +function judgTerminal() { | ||
| 175 | + try { | ||
| 176 | + /* 返回当前的用户代理(User Agent)字符串 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' */ | ||
| 177 | + const u = navigator.userAgent | ||
| 178 | + const isXiaomi = u.indexOf('XiaoMi') > -1 // 小米手机 | ||
| 179 | + const isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1 // 其它安卓 | ||
| 180 | + const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) // ios | ||
| 181 | + if (isAndroid) { | ||
| 182 | + return 1 | ||
| 183 | + } else if (isIOS) { | ||
| 184 | + if (isXiaomi) { | ||
| 185 | + return 1 | ||
| 186 | + } else { | ||
| 187 | + return 2 | ||
| 188 | + } | ||
| 189 | + } | ||
| 190 | + | ||
| 191 | + return 1 | ||
| 192 | + } catch (e) { | ||
| 193 | + return 1 | ||
| 194 | + } | ||
| 195 | +} | ||
| 196 | + | ||
| 197 | +/** | ||
| 198 | + * @Author gx12358 | ||
| 199 | + * @DateTime 2024/7/31 | ||
| 200 | + * @lastTime 2024/7/31 | ||
| 201 | + * @description 页面高度变化 - 给到app | ||
| 202 | + */ | ||
| 203 | +function changeContentHtmlHeight(options = {}) { | ||
| 204 | + try { | ||
| 205 | + if (document.querySelector(options.str || '.gx-mobile')) { | ||
| 206 | + const height = document.querySelector(options.str || '.gx-mobile').getBoundingClientRect().height | ||
| 207 | + if ((appH5Height !== height) || options.report) { | ||
| 208 | + appH5Height = height | ||
| 209 | + // console.info(`${options.str || '.gx-mobile'}`, appH5Height) | ||
| 210 | + | ||
| 211 | + // 两种方式拿到的值是一样的 | ||
| 212 | + try { | ||
| 213 | + sendNative( | ||
| 214 | + 'jsCall_currentPageOperate', | ||
| 215 | + { | ||
| 216 | + //当 operateType == 8,传webview的新高度给App使其更新web容器高度 | ||
| 217 | + operateType: '8', | ||
| 218 | + webViewHeight: `${appH5Height}` | ||
| 219 | + }, | ||
| 220 | + res => { } | ||
| 221 | + ) | ||
| 222 | + } catch (e) { | ||
| 223 | + console.info('error-html-height', e) | ||
| 224 | + } | ||
| 225 | + } else { | ||
| 226 | + if (options.type && options.type === 'done') { | ||
| 227 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 228 | + console.log('高度', options.type || 'done', appH5Height) | ||
| 229 | + } | ||
| 230 | + } | ||
| 231 | + } | ||
| 232 | + } | ||
| 233 | + } catch (e) { | ||
| 234 | + // console.info('error-html-height', e) | ||
| 235 | + } | ||
| 236 | +} | ||
| 237 | + | ||
| 238 | +initAppDarkMode() |
sight_harmony/features/wdComponent/src/main/resources/rawfile/apph5/js/utils/loadedEnd.js
0 → 100644
| 1 | +if (window.config.VUE_BASE_NODE === 'dev' && !window.config.devApp) { | ||
| 2 | + firstTime = new Date() | ||
| 3 | + checkPageLoadingTimeOut() | ||
| 4 | +} | ||
| 5 | + | ||
| 6 | +if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 7 | + document.querySelector('.error-block-reload-btn').addEventListener('click', () => { | ||
| 8 | + document.querySelector('#reloadPage').click() | ||
| 9 | + }) | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +document.querySelector('.error-block-retry-btn').addEventListener('click', () => { | ||
| 13 | + if (document.querySelector('#reloadBtn')) { | ||
| 14 | + document.querySelector('#reloadBtn').click() | ||
| 15 | + } | ||
| 16 | +}) |
| 1 | /* app主动调用通知h5事件 */ | 1 | /* app主动调用通知h5事件 */ |
| 2 | -// 加载资源方法 | ||
| 3 | -function loadFile(doc, obj = {}, fn) { | ||
| 4 | - var tmpList = [] | ||
| 5 | - var item = null | ||
| 6 | - for ( | ||
| 7 | - var i = 0, ci; ( | ||
| 8 | - ci = tmpList[i++] | ||
| 9 | - ); | ||
| 10 | - ) { | ||
| 11 | - if (ci.doc === doc && ci.url == ( | ||
| 12 | - obj.src || obj.href | ||
| 13 | - )) { | ||
| 14 | - item = ci | ||
| 15 | - } | ||
| 16 | - } | ||
| 17 | - if (item) { | ||
| 18 | - if (item.ready) { | ||
| 19 | - fn && fn() | ||
| 20 | - } else { | ||
| 21 | - item.funs.push(fn) | ||
| 22 | - } | ||
| 23 | - return | ||
| 24 | - } | ||
| 25 | - tmpList.push({ | ||
| 26 | - doc: doc, | ||
| 27 | - url: obj.src || obj.href, | ||
| 28 | - funs: [ fn ] | ||
| 29 | - }) | ||
| 30 | - if (!doc.body) { | ||
| 31 | - var html = [] | ||
| 32 | - for (var p in obj) { | ||
| 33 | - if (p == 'tag') continue | ||
| 34 | - html.push(p + '="' + obj[p] + '"') | ||
| 35 | - } | ||
| 36 | - doc.write( | ||
| 37 | - '<' + obj.tag + ' ' + html.join(' ') + ' ></' + obj.tag + '>' | ||
| 38 | - ) | ||
| 39 | - return | ||
| 40 | - } | ||
| 41 | - if (obj.id && doc.getElementById(obj.id)) { | ||
| 42 | - return | ||
| 43 | - } | ||
| 44 | - var element = doc.createElement(obj.tag) | ||
| 45 | - delete obj.tag | ||
| 46 | - for (var p in obj) { | ||
| 47 | - element.setAttribute(p, obj[p]) | ||
| 48 | - } | ||
| 49 | - element.onload = element.onreadystatechange = function () { | ||
| 50 | - if (!this.readyState || /loaded|complete/.test(this.readyState)) { | ||
| 51 | - for ( | ||
| 52 | - var k = 0, ck; ( | ||
| 53 | - ck = tmpList[k++] | ||
| 54 | - ); | ||
| 55 | - ) { | ||
| 56 | - if (ck.doc === doc && ck.url == ( | ||
| 57 | - obj.src || obj.href | ||
| 58 | - )) { | ||
| 59 | - item = ck | ||
| 60 | - } | ||
| 61 | - } | ||
| 62 | - if (item.funs.length > 0) { | ||
| 63 | - item.ready = 1 | ||
| 64 | - for ( | ||
| 65 | - var fi; ( | ||
| 66 | - fi = item.funs.pop() | ||
| 67 | - ); | ||
| 68 | - ) { | ||
| 69 | - fi() | ||
| 70 | - } | ||
| 71 | - } | ||
| 72 | - element.onload = element.onreadystatechange = null | ||
| 73 | - } | ||
| 74 | - } | ||
| 75 | - element.onerror = function () { | ||
| 76 | - throw Error( | ||
| 77 | - 'The load ' + | ||
| 78 | - ( | ||
| 79 | - obj.href || obj.src | ||
| 80 | - ) + | ||
| 81 | - ' fails,check the url settings of file ueditor.config.js ' | ||
| 82 | - ) | ||
| 83 | - } | ||
| 84 | - doc.getElementsByTagName('head')[0].appendChild(element) | ||
| 85 | -} | 2 | + |
| 86 | /*用于在 WebView 中建立与 JavaScript 的桥接通信 原生应用程序与 WebView 中运行的 JavaScript 之间进行交互 */ | 3 | /*用于在 WebView 中建立与 JavaScript 的桥接通信 原生应用程序与 WebView 中运行的 JavaScript 之间进行交互 */ |
| 87 | function setupWebViewJavascriptBridge(callback) { | 4 | function setupWebViewJavascriptBridge(callback) { |
| 88 | if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge) } | 5 | if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge) } |
| @@ -143,6 +60,19 @@ function connetAppLogin() { | @@ -143,6 +60,19 @@ function connetAppLogin() { | ||
| 143 | return | 60 | return |
| 144 | } | 61 | } |
| 145 | 62 | ||
| 63 | + errorStatus = false | ||
| 64 | + document.querySelector('.error-block').style.display = 'none' | ||
| 65 | + darkMode = objData.darkMode || darkMode | ||
| 66 | + window.config.VUE_STATE = { | ||
| 67 | + key: 'darkMode', | ||
| 68 | + value: darkMode | ||
| 69 | + } | ||
| 70 | + if (document.querySelector('#state-change')) { | ||
| 71 | + document.querySelector('#state-change').click() | ||
| 72 | + } | ||
| 73 | + document | ||
| 74 | + .querySelector('html') | ||
| 75 | + .setAttribute('dark-mode', darkMode === 'dark') | ||
| 146 | firstTime = new Date() | 76 | firstTime = new Date() |
| 147 | pageLoadOutTime = null | 77 | pageLoadOutTime = null |
| 148 | clearTimeout(pageLoadOutTime) | 78 | clearTimeout(pageLoadOutTime) |
| @@ -167,6 +97,14 @@ function connetAppLogin() { | @@ -167,6 +97,14 @@ function connetAppLogin() { | ||
| 167 | window.config.PAGERELOAD = data | 97 | window.config.PAGERELOAD = data |
| 168 | document.querySelector('#page-reload-change').click() | 98 | document.querySelector('#page-reload-change').click() |
| 169 | } | 99 | } |
| 100 | + if (document.querySelector('#appFontSize-change')) { | ||
| 101 | + window.config.APP_FONT_SIZE = data | ||
| 102 | + document.querySelector('#appFontSize-change').click() | ||
| 103 | + } | ||
| 104 | + if (document.querySelector('#darkMode-change')) { | ||
| 105 | + window.config.DARK_MODE = data | ||
| 106 | + document.querySelector('#darkMode-change').click() | ||
| 107 | + } | ||
| 170 | if (responseCallback) responseCallback(data) | 108 | if (responseCallback) responseCallback(data) |
| 171 | }) | 109 | }) |
| 172 | }) | 110 | }) |
| @@ -179,6 +117,19 @@ function connetAppLogin() { | @@ -179,6 +117,19 @@ function connetAppLogin() { | ||
| 179 | return | 117 | return |
| 180 | } | 118 | } |
| 181 | 119 | ||
| 120 | + errorStatus = false | ||
| 121 | + document.querySelector('.error-block').style.display = 'none' | ||
| 122 | + darkMode = objData.darkMode || darkMode | ||
| 123 | + window.config.VUE_STATE = { | ||
| 124 | + key: 'darkMode', | ||
| 125 | + value: darkMode | ||
| 126 | + } | ||
| 127 | + if (document.querySelector('#state-change')) { | ||
| 128 | + document.querySelector('#state-change').click() | ||
| 129 | + } | ||
| 130 | + document | ||
| 131 | + .querySelector('html') | ||
| 132 | + .setAttribute('dark-mode', darkMode === 'dark') | ||
| 182 | firstTime = new Date() | 133 | firstTime = new Date() |
| 183 | pageLoadOutTime = null | 134 | pageLoadOutTime = null |
| 184 | hasDetails = false | 135 | hasDetails = false |
| @@ -202,6 +153,14 @@ function connetAppLogin() { | @@ -202,6 +153,14 @@ function connetAppLogin() { | ||
| 202 | window.config.PAGERELOAD = data | 153 | window.config.PAGERELOAD = data |
| 203 | document.querySelector('#page-reload-change').click() | 154 | document.querySelector('#page-reload-change').click() |
| 204 | } | 155 | } |
| 156 | + if (document.querySelector('#appFontSize-change')) { | ||
| 157 | + window.config.APP_FONT_SIZE = data | ||
| 158 | + document.querySelector('#appFontSize-change').click() | ||
| 159 | + } | ||
| 160 | + if (document.querySelector('#darkMode-change')) { | ||
| 161 | + window.config.DARK_MODE = data | ||
| 162 | + document.querySelector('#darkMode-change').click() | ||
| 163 | + } | ||
| 205 | if (responseCallback) responseCallback(data) | 164 | if (responseCallback) responseCallback(data) |
| 206 | }) | 165 | }) |
| 207 | }) | 166 | }) |
| @@ -266,6 +225,7 @@ function mockAppRequestDetails() { | @@ -266,6 +225,7 @@ function mockAppRequestDetails() { | ||
| 266 | data: getArticleDetails() | 225 | data: getArticleDetails() |
| 267 | } | 226 | } |
| 268 | if (document.querySelector('#detail-change')) { | 227 | if (document.querySelector('#detail-change')) { |
| 228 | + logInfo('appData', window.config.VUE_CONTENT_CONFIG.data) | ||
| 269 | document.querySelector('#detail-change').click() | 229 | document.querySelector('#detail-change').click() |
| 270 | } | 230 | } |
| 271 | }, 1200) | 231 | }, 1200) |
| @@ -280,25 +240,29 @@ function setHtmlBaseOptions(appData) { | @@ -280,25 +240,29 @@ function setHtmlBaseOptions(appData) { | ||
| 280 | typeof data.dataJson === 'object' | 240 | typeof data.dataJson === 'object' |
| 281 | ? data.dataJson | 241 | ? data.dataJson |
| 282 | : JSON.parse(data.dataJson) | 242 | : JSON.parse(data.dataJson) |
| 283 | - | ||
| 284 | if (data.dataExt) { | 243 | if (data.dataExt) { |
| 285 | - hasAppLoginExtra.value = true | 244 | + hasAppLoginExtra = true |
| 286 | 245 | ||
| 287 | const extraData = typeof data.dataExt === 'object' | 246 | const extraData = typeof data.dataExt === 'object' |
| 288 | ? data.dataExt | 247 | ? data.dataExt |
| 289 | : JSON.parse(data.dataExt) | 248 | : JSON.parse(data.dataExt) |
| 290 | const darkMode = extraData ? extraData.darkMode : '' | 249 | const darkMode = extraData ? extraData.darkMode : '' |
| 291 | - if (darkMode === 'dark') { | ||
| 292 | - document | ||
| 293 | - .querySelector('html') | ||
| 294 | - .setAttribute('dark-mode', true) | 250 | + window.config.VUE_STATE = { |
| 251 | + key: 'darkMode', | ||
| 252 | + value: darkMode | ||
| 253 | + } | ||
| 254 | + if (document.querySelector('#state-change')) { | ||
| 255 | + document.querySelector('#state-change').click() | ||
| 295 | } | 256 | } |
| 257 | + document | ||
| 258 | + .querySelector('html') | ||
| 259 | + .setAttribute('dark-mode', darkMode == 'dark') | ||
| 296 | const appFontSize = extraData ? extraData.fontSizes : '' | 260 | const appFontSize = extraData ? extraData.fontSizes : '' |
| 297 | setRemUnit(appFontSize) | 261 | setRemUnit(appFontSize) |
| 298 | } | 262 | } |
| 299 | } | 263 | } |
| 300 | } catch (e) { | 264 | } catch (e) { |
| 301 | - | 265 | + console.log(e) |
| 302 | } | 266 | } |
| 303 | } | 267 | } |
| 304 | 268 | ||
| @@ -388,13 +352,6 @@ document.addEventListener('DOMContentLoaded', function () { | @@ -388,13 +352,6 @@ document.addEventListener('DOMContentLoaded', function () { | ||
| 388 | 352 | ||
| 389 | } | 353 | } |
| 390 | /* videoStatus() */ | 354 | /* videoStatus() */ |
| 391 | - // setTimeout(() => { | ||
| 392 | - // window.config.VUE_APP_NETWORK = 1 | ||
| 393 | - // | ||
| 394 | - // if (document.querySelector('#network-change')) { | ||
| 395 | - // document.querySelector('#network-change').click() | ||
| 396 | - // } | ||
| 397 | - // }, 2000) | ||
| 398 | // | 355 | // |
| 399 | // setTimeout(() => { | 356 | // setTimeout(() => { |
| 400 | // window.config.VUE_APP_NETWORK = 0 | 357 | // window.config.VUE_APP_NETWORK = 0 |
| @@ -428,3 +385,14 @@ document.addEventListener('DOMContentLoaded', function () { | @@ -428,3 +385,14 @@ document.addEventListener('DOMContentLoaded', function () { | ||
| 428 | // } | 385 | // } |
| 429 | // }, 2000) | 386 | // }, 2000) |
| 430 | }) | 387 | }) |
| 388 | + | ||
| 389 | +// setTimeout(() => { | ||
| 390 | +// setHtmlBaseOptions({ | ||
| 391 | +// dataJson: { | ||
| 392 | +// | ||
| 393 | +// }, | ||
| 394 | +// dataExt: { | ||
| 395 | +// darkMode: 'dark' | ||
| 396 | +// } | ||
| 397 | +// }) | ||
| 398 | +// }, 3000) |
| @@ -60,9 +60,7 @@ async function axiosRequest(config) { | @@ -60,9 +60,7 @@ async function axiosRequest(config) { | ||
| 60 | method: methot, | 60 | method: methot, |
| 61 | url: responseUrl, | 61 | url: responseUrl, |
| 62 | timeout: timeOut, | 62 | timeout: timeOut, |
| 63 | - headers: { | ||
| 64 | - ...config.headers | ||
| 65 | - } | 63 | + headers: config.headers |
| 66 | } | 64 | } |
| 67 | 65 | ||
| 68 | if (data && Object.keys(data).length) ajaxConfig.data = data | 66 | if (data && Object.keys(data).length) ajaxConfig.data = data |
| @@ -76,7 +74,6 @@ async function axiosRequest(config) { | @@ -76,7 +74,6 @@ async function axiosRequest(config) { | ||
| 76 | 74 | ||
| 77 | if (!successCode.includes(data.code) && showError) { | 75 | if (!successCode.includes(data.code) && showError) { |
| 78 | if (navigator.onLine) { | 76 | if (navigator.onLine) { |
| 79 | - // errorBlock('./image/error.svg', '内容获取失败') | ||
| 80 | errorBlock('./image/content_fail.svg', '获取内容失败') | 77 | errorBlock('./image/content_fail.svg', '获取内容失败') |
| 81 | } else { | 78 | } else { |
| 82 | errorBlock('./image/no_net.svg', '暂无网络') | 79 | errorBlock('./image/no_net.svg', '暂无网络') |
| @@ -92,7 +89,6 @@ async function axiosRequest(config) { | @@ -92,7 +89,6 @@ async function axiosRequest(config) { | ||
| 92 | if (err.message.includes('timeout')) { | 89 | if (err.message.includes('timeout')) { |
| 93 | errorBlock('./image/no_net.svg', '暂无网络') | 90 | errorBlock('./image/no_net.svg', '暂无网络') |
| 94 | } else if (navigator.onLine) { | 91 | } else if (navigator.onLine) { |
| 95 | - // errorBlock('./image/error.svg', '内容获取失败') | ||
| 96 | errorBlock('./image/content_fail.svg', '获取内容失败') | 92 | errorBlock('./image/content_fail.svg', '获取内容失败') |
| 97 | } else { | 93 | } else { |
| 98 | errorBlock('./image/no_net.svg', '暂无网络') | 94 | errorBlock('./image/no_net.svg', '暂无网络') |
| 1 | -let appH5Height = 0 | ||
| 2 | - | ||
| 3 | function is(val, type) { | 1 | function is(val, type) { |
| 4 | return toString.call(val) === `[object ${type}]` | 2 | return toString.call(val) === `[object ${type}]` |
| 5 | } | 3 | } |
| 6 | 4 | ||
| 5 | +function logInfo(...value) { | ||
| 6 | + console.info(...value) | ||
| 7 | +} | ||
| 8 | + | ||
| 7 | /** | 9 | /** |
| 8 | * @author gx12358 2539306317@qq.com | 10 | * @author gx12358 2539306317@qq.com |
| 9 | * @description 判断是否是数组 | 11 | * @description 判断是否是数组 |
| @@ -17,6 +19,18 @@ function isArray(arg) { | @@ -17,6 +19,18 @@ function isArray(arg) { | ||
| 17 | return Array.isArray(arg) | 19 | return Array.isArray(arg) |
| 18 | } | 20 | } |
| 19 | 21 | ||
| 22 | +function shallowMerge(target, ...sources) { | ||
| 23 | + const newTarget = deepCopy(target) | ||
| 24 | + sources.forEach(source => { | ||
| 25 | + for (let key in source) { | ||
| 26 | + if (source.hasOwnProperty(key)) { | ||
| 27 | + newTarget[key] = source[key] | ||
| 28 | + } | ||
| 29 | + } | ||
| 30 | + }) | ||
| 31 | + return newTarget | ||
| 32 | +} | ||
| 33 | + | ||
| 20 | /** | 34 | /** |
| 21 | * @Author gaoxiang | 35 | * @Author gaoxiang |
| 22 | * @DateTime 2019/11/29 | 36 | * @DateTime 2019/11/29 |
| @@ -365,35 +379,6 @@ function formatDuraton(time, showHour) { | @@ -365,35 +379,6 @@ function formatDuraton(time, showHour) { | ||
| 365 | : newTime | 379 | : newTime |
| 366 | } | 380 | } |
| 367 | 381 | ||
| 368 | -function changeContentHtmlHeight(options = {}) { | ||
| 369 | - try { | ||
| 370 | - const height = document.querySelector(options.str || '.gx-mobile').getBoundingClientRect().height | ||
| 371 | - if ((appH5Height !== height) || options.report) { | ||
| 372 | - appH5Height = height | ||
| 373 | - | ||
| 374 | - // 两种方式拿到的值是一样的 | ||
| 375 | - try { | ||
| 376 | - // console.warn('高度', options.type || 'previewInit', appH5Height) | ||
| 377 | - sendNative( | ||
| 378 | - 'jsCall_currentPageOperate', | ||
| 379 | - { | ||
| 380 | - //当 operateType == 8,传webview的新高度给App使其更新web容器高度 | ||
| 381 | - operateType: '8', | ||
| 382 | - webViewHeight: `${appH5Height}` | ||
| 383 | - }, | ||
| 384 | - res => { } | ||
| 385 | - ) | ||
| 386 | - } catch (e) { } | ||
| 387 | - } else { | ||
| 388 | - if (options.type && options.type === 'done') { | ||
| 389 | - // console.log('高度', options.type || 'done', appH5Height) | ||
| 390 | - } | ||
| 391 | - } | ||
| 392 | - } catch (e) { | ||
| 393 | - console.log(e) | ||
| 394 | - } | ||
| 395 | -} | ||
| 396 | - | ||
| 397 | const live_type_change = { | 382 | const live_type_change = { |
| 398 | 'wait': 'live_subscribe', | 383 | 'wait': 'live_subscribe', |
| 399 | 'running': 'live_running', | 384 | 'running': 'live_running', |
| @@ -481,7 +466,7 @@ function channelExposure({ | @@ -481,7 +466,7 @@ function channelExposure({ | ||
| 481 | 'jsCall_h5TrackingEvent', | 466 | 'jsCall_h5TrackingEvent', |
| 482 | { | 467 | { |
| 483 | eventId: 'ChannelExposure', | 468 | eventId: 'ChannelExposure', |
| 484 | - parameters: { | 469 | + parameters: shallowMerge({ |
| 485 | page_name: pageName, | 470 | page_name: pageName, |
| 486 | page_id: pageId || pageName, | 471 | page_id: pageId || pageName, |
| 487 | content_id: newsId, | 472 | content_id: newsId, |
| @@ -498,9 +483,8 @@ function channelExposure({ | @@ -498,9 +483,8 @@ function channelExposure({ | ||
| 498 | summary_type, | 483 | summary_type, |
| 499 | summary_id, | 484 | summary_id, |
| 500 | content_show_channel_id: channelId, | 485 | content_show_channel_id: channelId, |
| 501 | - level2channel_id: secondId, | ||
| 502 | - ...traceOptions | ||
| 503 | - } | 486 | + level2channel_id: secondId |
| 487 | + }, traceOptions) | ||
| 504 | } | 488 | } |
| 505 | ) | 489 | ) |
| 506 | } catch (e) { } | 490 | } catch (e) { } |
| @@ -555,7 +539,7 @@ function contentClick({ | @@ -555,7 +539,7 @@ function contentClick({ | ||
| 555 | 'jsCall_h5TrackingEvent', | 539 | 'jsCall_h5TrackingEvent', |
| 556 | { | 540 | { |
| 557 | eventId: 'ContentClick', | 541 | eventId: 'ContentClick', |
| 558 | - parameters: { | 542 | + parameters: shallowMerge({ |
| 559 | page_name: pageName, | 543 | page_name: pageName, |
| 560 | page_id: pageId || pageName, | 544 | page_id: pageId || pageName, |
| 561 | content_id: newsId, | 545 | content_id: newsId, |
| @@ -572,9 +556,8 @@ function contentClick({ | @@ -572,9 +556,8 @@ function contentClick({ | ||
| 572 | summary_type, | 556 | summary_type, |
| 573 | summary_id, | 557 | summary_id, |
| 574 | content_show_channel_id: channelId, | 558 | content_show_channel_id: channelId, |
| 575 | - level2channel_id: secondId, | ||
| 576 | - ...traceOptions | ||
| 577 | - } | 559 | + level2channel_id: secondId |
| 560 | + }, traceOptions) | ||
| 578 | } | 561 | } |
| 579 | ) | 562 | ) |
| 580 | } catch (e) { } | 563 | } catch (e) { } |
| @@ -630,7 +613,7 @@ function contentListExposure({ | @@ -630,7 +613,7 @@ function contentListExposure({ | ||
| 630 | 'jsCall_h5TrackingEvent', | 613 | 'jsCall_h5TrackingEvent', |
| 631 | { | 614 | { |
| 632 | eventId: 'ContentExposure', | 615 | eventId: 'ContentExposure', |
| 633 | - parameters: { | 616 | + parameters: shallowMerge({ |
| 634 | page_name: pageName, | 617 | page_name: pageName, |
| 635 | page_id: pageId || pageName, | 618 | page_id: pageId || pageName, |
| 636 | content_id: newsId, | 619 | content_id: newsId, |
| @@ -647,9 +630,8 @@ function contentListExposure({ | @@ -647,9 +630,8 @@ function contentListExposure({ | ||
| 647 | summary_type, | 630 | summary_type, |
| 648 | summary_id, | 631 | summary_id, |
| 649 | content_show_channel_id: channelId, | 632 | content_show_channel_id: channelId, |
| 650 | - level2channel_id: secondId, | ||
| 651 | - ...traceOptions | ||
| 652 | - } | 633 | + level2channel_id: secondId |
| 634 | + }, traceOptions) | ||
| 653 | } | 635 | } |
| 654 | ) | 636 | ) |
| 655 | } catch (e) { } | 637 | } catch (e) { } |
| @@ -735,7 +717,7 @@ function playeErrorPoint({ | @@ -735,7 +717,7 @@ function playeErrorPoint({ | ||
| 735 | 'jsCall_h5TrackingEvent', | 717 | 'jsCall_h5TrackingEvent', |
| 736 | { | 718 | { |
| 737 | eventId: 'pybk_error', | 719 | eventId: 'pybk_error', |
| 738 | - parameters: { | 720 | + parameters: shallowMerge({ |
| 739 | error_information: errorVideo, | 721 | error_information: errorVideo, |
| 740 | page_name: pageName, | 722 | page_name: pageName, |
| 741 | page_id: pageId || pageName, | 723 | page_id: pageId || pageName, |
| @@ -753,9 +735,8 @@ function playeErrorPoint({ | @@ -753,9 +735,8 @@ function playeErrorPoint({ | ||
| 753 | summary_type, | 735 | summary_type, |
| 754 | summary_id, | 736 | summary_id, |
| 755 | content_show_channel_id: channelId, | 737 | content_show_channel_id: channelId, |
| 756 | - level2channel_id: secondId, | ||
| 757 | - ...traceOptions | ||
| 758 | - } | 738 | + level2channel_id: secondId |
| 739 | + }, traceOptions) | ||
| 759 | } | 740 | } |
| 760 | ) | 741 | ) |
| 761 | } catch (e) { } | 742 | } catch (e) { } |
| @@ -811,7 +792,7 @@ function playVideoErrorPoint({ | @@ -811,7 +792,7 @@ function playVideoErrorPoint({ | ||
| 811 | 'jsCall_h5TrackingEvent', | 792 | 'jsCall_h5TrackingEvent', |
| 812 | { | 793 | { |
| 813 | eventId: 'audio_error', | 794 | eventId: 'audio_error', |
| 814 | - parameters: { | 795 | + parameters: shallowMerge({ |
| 815 | error_information: errorAudio, | 796 | error_information: errorAudio, |
| 816 | page_name: pageName, | 797 | page_name: pageName, |
| 817 | page_id: pageId || pageName, | 798 | page_id: pageId || pageName, |
| @@ -829,14 +810,31 @@ function playVideoErrorPoint({ | @@ -829,14 +810,31 @@ function playVideoErrorPoint({ | ||
| 829 | summary_type, | 810 | summary_type, |
| 830 | summary_id, | 811 | summary_id, |
| 831 | content_show_channel_id: channelId, | 812 | content_show_channel_id: channelId, |
| 832 | - level2channel_id: secondId, | ||
| 833 | - ...traceOptions | ||
| 834 | - } | 813 | + level2channel_id: secondId |
| 814 | + }, traceOptions) | ||
| 835 | } | 815 | } |
| 836 | ) | 816 | ) |
| 837 | } catch (e) { } | 817 | } catch (e) { } |
| 838 | } | 818 | } |
| 839 | 819 | ||
| 820 | +function customConcat() { | ||
| 821 | + const result = [] | ||
| 822 | + | ||
| 823 | + for (let i = 0; i < arguments.length; i++) { | ||
| 824 | + const currentElement = arguments[i] | ||
| 825 | + | ||
| 826 | + if (Array.isArray(currentElement)) { | ||
| 827 | + for (let j = 0; j < currentElement.length; j++) { | ||
| 828 | + result.push(currentElement[j]) | ||
| 829 | + } | ||
| 830 | + } else { | ||
| 831 | + result.push(currentElement) | ||
| 832 | + } | ||
| 833 | + } | ||
| 834 | + | ||
| 835 | + return result | ||
| 836 | +} | ||
| 837 | + | ||
| 840 | function shareClickPoint({ | 838 | function shareClickPoint({ |
| 841 | pageId, | 839 | pageId, |
| 842 | newsType, | 840 | newsType, |
| @@ -878,7 +876,7 @@ function shareClickPoint({ | @@ -878,7 +876,7 @@ function shareClickPoint({ | ||
| 878 | 'jsCall_h5TrackingEvent', | 876 | 'jsCall_h5TrackingEvent', |
| 879 | { | 877 | { |
| 880 | eventId: 'share_click', | 878 | eventId: 'share_click', |
| 881 | - parameters: { | 879 | + parameters: shallowMerge({ |
| 882 | bhv_type: 'share', | 880 | bhv_type: 'share', |
| 883 | page_name: pageName, | 881 | page_name: pageName, |
| 884 | page_id: pageId || pageName, | 882 | page_id: pageId || pageName, |
| @@ -888,9 +886,8 @@ function shareClickPoint({ | @@ -888,9 +886,8 @@ function shareClickPoint({ | ||
| 888 | content_type: Number(newsType), | 886 | content_type: Number(newsType), |
| 889 | author_name, | 887 | author_name, |
| 890 | content_show_channel_id: channelId, | 888 | content_show_channel_id: channelId, |
| 891 | - level2channel_id: secondId, | ||
| 892 | - ...traceOptions | ||
| 893 | - } | 889 | + level2channel_id: secondId |
| 890 | + }, traceOptions) | ||
| 894 | } | 891 | } |
| 895 | ) | 892 | ) |
| 896 | } catch (e) {} | 893 | } catch (e) {} |
| @@ -933,26 +930,12 @@ function shareTypePoint({ | @@ -933,26 +930,12 @@ function shareTypePoint({ | ||
| 933 | 'operation_page' : newsType == '1' ? | 930 | 'operation_page' : newsType == '1' ? |
| 934 | 'video_detail_page' : newsType == '2' ? | 931 | 'video_detail_page' : newsType == '2' ? |
| 935 | 'live_detail_page' : '' | 932 | 'live_detail_page' : '' |
| 936 | - console.log({ | ||
| 937 | - bhv_type: 'share', | ||
| 938 | - page_name: pageName, | ||
| 939 | - page_id: pageId || pageName, | ||
| 940 | - share_type, | ||
| 941 | - content_id: newsId, | ||
| 942 | - content_style: appstyle, | ||
| 943 | - content_name: newsTitle, | ||
| 944 | - content_type: Number(newsType), | ||
| 945 | - author_name, | ||
| 946 | - content_show_channel_id: channelId, | ||
| 947 | - level2channel_id: secondId, | ||
| 948 | - ...traceOptions | ||
| 949 | - }) | ||
| 950 | try { | 933 | try { |
| 951 | sendNative( | 934 | sendNative( |
| 952 | 'jsCall_h5TrackingEvent', | 935 | 'jsCall_h5TrackingEvent', |
| 953 | { | 936 | { |
| 954 | eventId: 'share_click', | 937 | eventId: 'share_click', |
| 955 | - parameters: { | 938 | + parameters: shallowMerge({ |
| 956 | bhv_type: 'share', | 939 | bhv_type: 'share', |
| 957 | page_name: pageName, | 940 | page_name: pageName, |
| 958 | page_id: pageId || pageName, | 941 | page_id: pageId || pageName, |
| @@ -963,9 +946,8 @@ function shareTypePoint({ | @@ -963,9 +946,8 @@ function shareTypePoint({ | ||
| 963 | content_type: Number(newsType), | 946 | content_type: Number(newsType), |
| 964 | author_name, | 947 | author_name, |
| 965 | content_show_channel_id: channelId, | 948 | content_show_channel_id: channelId, |
| 966 | - level2channel_id: secondId, | ||
| 967 | - ...traceOptions | ||
| 968 | - } | 949 | + level2channel_id: secondId |
| 950 | + }, traceOptions) | ||
| 969 | } | 951 | } |
| 970 | ) | 952 | ) |
| 971 | } catch (e) {} | 953 | } catch (e) {} |
| @@ -1009,42 +991,50 @@ function followTypePoint({ | @@ -1009,42 +991,50 @@ function followTypePoint({ | ||
| 1009 | 'live_detail_page' : newsType == '13' ? | 991 | 'live_detail_page' : newsType == '13' ? |
| 1010 | 'audioTextPage' : '' | 992 | 'audioTextPage' : '' |
| 1011 | const useInfos = type === 1 ? { followPDUserId, followUserName } : { cancelFollowUserName, cancelFollowPDUseId } | 993 | const useInfos = type === 1 ? { followPDUserId, followUserName } : { cancelFollowUserName, cancelFollowPDUseId } |
| 1012 | - console.log({ | ||
| 1013 | - duration: 0, | ||
| 1014 | - shareChannel: '', | ||
| 1015 | - action: type === 1 ? 'follow' : 'unfollow', | ||
| 1016 | - pageName, | ||
| 1017 | - pageId: pageName, | ||
| 1018 | - contentClassify, | ||
| 1019 | - ...useInfos, | ||
| 1020 | - contentId: newsId, | ||
| 1021 | - contentStyle: appstyle, | ||
| 1022 | - contentName: newsTitle, | ||
| 1023 | - contentType: newsType, | ||
| 1024 | - channelSourceId: channelId, | ||
| 1025 | - contentShowChannelId: channelId, | ||
| 1026 | - ...traceOptions | ||
| 1027 | - }) | ||
| 1028 | try { | 994 | try { |
| 1029 | sendNative( | 995 | sendNative( |
| 1030 | 'jsCall_h5TrackingEvent', | 996 | 'jsCall_h5TrackingEvent', |
| 1031 | { | 997 | { |
| 1032 | eventId: type === 1 ? 'follow_click' : 'cancel_follow_click', | 998 | eventId: type === 1 ? 'follow_click' : 'cancel_follow_click', |
| 1033 | - parameters: { | 999 | + parameters: shallowMerge({ |
| 1034 | duration: 0, | 1000 | duration: 0, |
| 1035 | shareChannel: '', | 1001 | shareChannel: '', |
| 1036 | action: type === 1 ? 'follow' : 'unfollow', | 1002 | action: type === 1 ? 'follow' : 'unfollow', |
| 1037 | pageName, | 1003 | pageName, |
| 1038 | pageId: pageName, | 1004 | pageId: pageName, |
| 1039 | contentClassify, | 1005 | contentClassify, |
| 1040 | - ...useInfos, | ||
| 1041 | contentId: newsId, | 1006 | contentId: newsId, |
| 1042 | contentStyle: appstyle, | 1007 | contentStyle: appstyle, |
| 1043 | contentName: newsTitle, | 1008 | contentName: newsTitle, |
| 1044 | contentType: newsType, | 1009 | contentType: newsType, |
| 1045 | channelSourceId: channelId, | 1010 | channelSourceId: channelId, |
| 1046 | - contentShowChannelId: channelId, | ||
| 1047 | - ...traceOptions | 1011 | + contentShowChannelId: channelId |
| 1012 | + }, traceOptions, useInfos) | ||
| 1013 | + } | ||
| 1014 | + ) | ||
| 1015 | + } catch (e) {} | ||
| 1016 | +} | ||
| 1017 | + | ||
| 1018 | +function pageErrorTypePoint({ | ||
| 1019 | + newsId, | ||
| 1020 | + errorMessage | ||
| 1021 | +}) { | ||
| 1022 | + logInfo('contentId', newsId || contentId) | ||
| 1023 | + logInfo('error', errorMessage) | ||
| 1024 | + try { | ||
| 1025 | + sendNative('jsCall_currentPageOperate', { | ||
| 1026 | + operateType: '50' | ||
| 1027 | + }, () => { | ||
| 1028 | + }) | ||
| 1029 | + } catch (e) {} | ||
| 1030 | + try { | ||
| 1031 | + sendNative( | ||
| 1032 | + 'jsCall_h5TrackingEvent', | ||
| 1033 | + { | ||
| 1034 | + eventId: 'h5_article_page_error', | ||
| 1035 | + parameters: { | ||
| 1036 | + newsId: newsId || contentId, | ||
| 1037 | + errorMessage | ||
| 1048 | } | 1038 | } |
| 1049 | } | 1039 | } |
| 1050 | ) | 1040 | ) |
| @@ -1085,13 +1075,6 @@ function normalClickTypePoint({ | @@ -1085,13 +1075,6 @@ function normalClickTypePoint({ | ||
| 1085 | 'video_detail_page' : newsType == '2' ? | 1075 | 'video_detail_page' : newsType == '2' ? |
| 1086 | 'live_detail_page' : newsType == '13' ? | 1076 | 'live_detail_page' : newsType == '13' ? |
| 1087 | 'audioTextPage' : '' | 1077 | 'audioTextPage' : '' |
| 1088 | - console.log({ | ||
| 1089 | - clickButtonName: 'vote_submit', | ||
| 1090 | - pageName, | ||
| 1091 | - pageId: pageName, | ||
| 1092 | - voteOption, | ||
| 1093 | - voteContent, | ||
| 1094 | - }) | ||
| 1095 | try { | 1078 | try { |
| 1096 | sendNative( | 1079 | sendNative( |
| 1097 | 'jsCall_h5TrackingEvent', | 1080 | 'jsCall_h5TrackingEvent', |
| @@ -1102,7 +1085,7 @@ function normalClickTypePoint({ | @@ -1102,7 +1085,7 @@ function normalClickTypePoint({ | ||
| 1102 | pageName, | 1085 | pageName, |
| 1103 | pageId: pageName, | 1086 | pageId: pageName, |
| 1104 | voteOption, | 1087 | voteOption, |
| 1105 | - voteContent, | 1088 | + voteContent |
| 1106 | } | 1089 | } |
| 1107 | } | 1090 | } |
| 1108 | ) | 1091 | ) |
| @@ -1322,7 +1305,7 @@ function getFileSuffix(url = '') { | @@ -1322,7 +1305,7 @@ function getFileSuffix(url = '') { | ||
| 1322 | } | 1305 | } |
| 1323 | 1306 | ||
| 1324 | // 1 图片 2 视频 | 1307 | // 1 图片 2 视频 |
| 1325 | -function handleImageSrc(src, type = 1, isNewspaper) { | 1308 | +function handleImageSrc(src, type = 1, isNewspaper, options) { |
| 1326 | if (!src) return '' | 1309 | if (!src) return '' |
| 1327 | let fileSuffix = '' | 1310 | let fileSuffix = '' |
| 1328 | try { | 1311 | try { |
| @@ -1330,30 +1313,43 @@ function handleImageSrc(src, type = 1, isNewspaper) { | @@ -1330,30 +1313,43 @@ function handleImageSrc(src, type = 1, isNewspaper) { | ||
| 1330 | } catch (e) { | 1313 | } catch (e) { |
| 1331 | 1314 | ||
| 1332 | } | 1315 | } |
| 1333 | - const hasGif = fileSuffix | ||
| 1334 | - ? fileSuffix.toLowerCase() === 'gif' | ||
| 1335 | - : (src.includes('.gif') || src.includes('.GIF')) | ||
| 1336 | - if ( | ||
| 1337 | - src.includes('rmrbcmsonline.peopleapp.com') && | ||
| 1338 | - !hasGif | ||
| 1339 | - ) { | ||
| 1340 | - if (type === 1) { | ||
| 1341 | - if (isNewspaper) return src | ||
| 1342 | - return `${src.split('?')[0]}?x-oss-process=image/resize,w_700/quality,q_90/format,jpg` | ||
| 1343 | - } else if (type === 2) { | ||
| 1344 | - try { | ||
| 1345 | - if ([ 'mp4', 'swf', 'rmvb', 'avi', 'flv', 'mpg', 'rm', 'mov', 'asf', '3gp', 'mkv', 'ts', 'f4v', 'webm', 'm4v', '3g2', 'm3u8' ].includes( | ||
| 1346 | - fileSuffix.toLowerCase() | ||
| 1347 | - )) { | ||
| 1348 | - return src | ||
| 1349 | - } | ||
| 1350 | - if ([ 'bmp', 'png', 'gif', 'jpg', 'jpeg', 'psd', 'tif' ].includes(fileSuffix.toLowerCase())) { | ||
| 1351 | - return `${src.split('?')[0]}?x-oss-process=style/w10` | 1316 | + try { |
| 1317 | + const hasGif = fileSuffix | ||
| 1318 | + ? fileSuffix.toLowerCase() === 'gif' | ||
| 1319 | + : (src.includes('.gif') || src.includes('.GIF')) | ||
| 1320 | + if ( | ||
| 1321 | + src.includes('rmrbcmsonline.peopleapp.com') && | ||
| 1322 | + !hasGif | ||
| 1323 | + ) { | ||
| 1324 | + if (type === 1) { | ||
| 1325 | + if (isNewspaper) return src | ||
| 1326 | + if (options) { | ||
| 1327 | + let size = options.size || 0 | ||
| 1328 | + const width = options.width || 0 | ||
| 1329 | + const height = options.height || 0 | ||
| 1330 | + size = size / 1024 / 1024 | ||
| 1331 | + if (width >= 16384 || height >= 16384 || size >= 20) { | ||
| 1332 | + return src | ||
| 1333 | + } | ||
| 1352 | } | 1334 | } |
| 1353 | - } catch (e) { | 1335 | + return `${src.split('?')[0]}?x-oss-process=image/resize,w_700/quality,q_90/format,jpg` |
| 1336 | + } else if (type === 2) { | ||
| 1337 | + try { | ||
| 1338 | + if ([ 'mp4', 'swf', 'rmvb', 'avi', 'flv', 'mpg', 'rm', 'mov', 'asf', '3gp', 'mkv', 'ts', 'f4v', 'webm', 'm4v', '3g2', 'm3u8' ].includes( | ||
| 1339 | + fileSuffix.toLowerCase() | ||
| 1340 | + )) { | ||
| 1341 | + return src | ||
| 1342 | + } | ||
| 1343 | + if ([ 'bmp', 'png', 'gif', 'jpg', 'jpeg', 'psd', 'tif' ].includes(fileSuffix.toLowerCase()) && !hasGif) { | ||
| 1344 | + return `${src.split('?')[0]}?x-oss-process=style/w10` | ||
| 1345 | + } | ||
| 1346 | + } catch (e) { | ||
| 1354 | 1347 | ||
| 1348 | + } | ||
| 1355 | } | 1349 | } |
| 1356 | } | 1350 | } |
| 1351 | + } catch (e) { | ||
| 1352 | + return src | ||
| 1357 | } | 1353 | } |
| 1358 | return src | 1354 | return src |
| 1359 | } | 1355 | } |
| @@ -1377,12 +1373,129 @@ function jumpAppInnerFun(record, url) { | @@ -1377,12 +1373,129 @@ function jumpAppInnerFun(record, url) { | ||
| 1377 | } | 1373 | } |
| 1378 | ) | 1374 | ) |
| 1379 | } else if (record.contentType == 8) { | 1375 | } else if (record.contentType == 8) { |
| 1380 | - sendNative( | ||
| 1381 | - 'jsCall_appInnerLinkMethod', | ||
| 1382 | - { | ||
| 1383 | - appInnerLink: `rmrbapp://rmrb.app/openwith?type=article&subType=h5_template_article&contentId=${record.contentId}&relId=${record.relId}&skipType=1` | ||
| 1384 | - } | ||
| 1385 | - ) | 1376 | + try { |
| 1377 | + sendNative('jsCall_currentPageOperate', { | ||
| 1378 | + operateType: '47' | ||
| 1379 | + }, () => {}) | ||
| 1380 | + } catch (e) {} | ||
| 1381 | + if (window.config.VUE_BASE_NODE === 'dev') { | ||
| 1382 | + axiosRequest({ | ||
| 1383 | + url: '/content/zh/c/content/detail', | ||
| 1384 | + methot: 'post', | ||
| 1385 | + appStatus: false, | ||
| 1386 | + // isMock: true, | ||
| 1387 | + // weakNetwork: true, | ||
| 1388 | + // mockTimeOut: 10, | ||
| 1389 | + //环境 | ||
| 1390 | + environment: window.config.VUE_BASE_HEADER.environment, | ||
| 1391 | + //接口前缀 | ||
| 1392 | + prefix: '/api/rmrb-bff-display-zh', | ||
| 1393 | + //给接口传的数据 | ||
| 1394 | + data: { | ||
| 1395 | + contents: [ | ||
| 1396 | + { | ||
| 1397 | + //内容id | ||
| 1398 | + contentId: record.contentId, | ||
| 1399 | + relId: record.relId | ||
| 1400 | + } | ||
| 1401 | + ] | ||
| 1402 | + }, | ||
| 1403 | + //请求头信息 | ||
| 1404 | + headers: shallowMerge({ | ||
| 1405 | + system: judgTerminal() === 1 ? 'Android' : 'ios' | ||
| 1406 | + }, window.config.VUE_BASE_HEADER) | ||
| 1407 | + }).then(response => { | ||
| 1408 | + if (response.success) { | ||
| 1409 | + if (response.data) { | ||
| 1410 | + const details = response.data.length > 0 ? response.data[0] : {} | ||
| 1411 | + const newsLinkUrl = details.newsLinkUrl | ||
| 1412 | + console.log(details) | ||
| 1413 | + if (newsLinkUrl) { | ||
| 1414 | + window.open(newsLinkUrl) | ||
| 1415 | + } | ||
| 1416 | + } else { | ||
| 1417 | + toast('网络出小差了,请检查网络后重试') | ||
| 1418 | + } | ||
| 1419 | + } else { | ||
| 1420 | + toast('网络出小差了,请检查网络后重试') | ||
| 1421 | + } | ||
| 1422 | + }) | ||
| 1423 | + } else { | ||
| 1424 | + try { | ||
| 1425 | + sendNative( | ||
| 1426 | + 'jsCall_callAppService', | ||
| 1427 | + { | ||
| 1428 | + method: 'post', | ||
| 1429 | + url: '/api/rmrb-bff-display-zh/content/zh/c/content/detail', | ||
| 1430 | + parameters: { | ||
| 1431 | + contents: [ | ||
| 1432 | + { | ||
| 1433 | + //内容id | ||
| 1434 | + contentId: record.contentId, | ||
| 1435 | + relId: record.relId | ||
| 1436 | + } | ||
| 1437 | + ] | ||
| 1438 | + } | ||
| 1439 | + }, | ||
| 1440 | + (res) => { | ||
| 1441 | + try { | ||
| 1442 | + const refResponse = | ||
| 1443 | + typeof res === 'object' ? res : JSON.parse(res) | ||
| 1444 | + const netError = refResponse.netError | ||
| 1445 | + try { | ||
| 1446 | + sendNative('jsCall_currentPageOperate', { | ||
| 1447 | + operateType: '48' | ||
| 1448 | + }, () => { | ||
| 1449 | + }) | ||
| 1450 | + } catch (e) {} | ||
| 1451 | + if (netError == 0) { | ||
| 1452 | + const refResponseMap = | ||
| 1453 | + typeof refResponse.responseMap === 'object' | ||
| 1454 | + ? refResponse.responseMap | ||
| 1455 | + : JSON.parse(refResponse.responseMap) | ||
| 1456 | + if (refResponseMap.data && refResponseMap.code) { | ||
| 1457 | + const code = refResponseMap.code | ||
| 1458 | + const data = refResponseMap.data[0] | ||
| 1459 | + if ([ 200, '0' ].includes(code) && data) { | ||
| 1460 | + if (Object.keys(data).length > 0) { | ||
| 1461 | + const newsLinkUrl = data.newsLinkUrl | ||
| 1462 | + if (newsLinkUrl) { | ||
| 1463 | + try { | ||
| 1464 | + sendNative( | ||
| 1465 | + 'jsCall_appInnerLinkMethod', | ||
| 1466 | + { | ||
| 1467 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=article&subType=h5&url=${encodeURIComponent( | ||
| 1468 | + url)}&contentId=${record.contentId}&relId=${record.relId}&skipType=1` | ||
| 1469 | + } | ||
| 1470 | + ) | ||
| 1471 | + } catch (e) {} | ||
| 1472 | + } else { | ||
| 1473 | + try { | ||
| 1474 | + sendNative( | ||
| 1475 | + 'jsCall_appInnerLinkMethod', | ||
| 1476 | + { | ||
| 1477 | + appInnerLink: `rmrbapp://rmrb.app/openwith?type=article&subType=h5_template_article&contentId=${record.contentId}&relId=${record.relId}&skipType=1` | ||
| 1478 | + } | ||
| 1479 | + ) | ||
| 1480 | + } catch (e) {} | ||
| 1481 | + } | ||
| 1482 | + } | ||
| 1483 | + } else { | ||
| 1484 | + toast('网络出小差了,请检查网络后重试') | ||
| 1485 | + } | ||
| 1486 | + } else { | ||
| 1487 | + toast('网络出小差了,请检查网络后重试') | ||
| 1488 | + } | ||
| 1489 | + } else { | ||
| 1490 | + toast('网络出小差了,请检查网络后重试') | ||
| 1491 | + } | ||
| 1492 | + } catch (e) { | ||
| 1493 | + logInfo('error', e) | ||
| 1494 | + } | ||
| 1495 | + } | ||
| 1496 | + ) | ||
| 1497 | + } catch (e) {} | ||
| 1498 | + } | ||
| 1386 | } else if (record.contentType == 9) { | 1499 | } else if (record.contentType == 9) { |
| 1387 | sendNative( | 1500 | sendNative( |
| 1388 | 'jsCall_appInnerLinkMethod', | 1501 | 'jsCall_appInnerLinkMethod', |
| @@ -1444,4 +1557,14 @@ function jumpAppInnerFun(record, url) { | @@ -1444,4 +1557,14 @@ function jumpAppInnerFun(record, url) { | ||
| 1444 | } | 1557 | } |
| 1445 | } | 1558 | } |
| 1446 | 1559 | ||
| 1447 | - | 1560 | +function toast(str) { |
| 1561 | + try { | ||
| 1562 | + //调取App弹窗通用提示 | ||
| 1563 | + sendNative('jsCall_showGeneralTips', { | ||
| 1564 | + //1、Toast提示 2、Alert提示 | ||
| 1565 | + tipStyle: '1', | ||
| 1566 | + // 提示字符串 | ||
| 1567 | + tipString: str | ||
| 1568 | + }) | ||
| 1569 | + } catch (e) { } | ||
| 1570 | +} |
-
Please register or login to post a comment