jufubao-base 1.0.306 → 1.0.307
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
:style="{
|
|
116
116
|
fontSize: fontSize + 'rpx',
|
|
117
117
|
}"
|
|
118
|
-
v-html="
|
|
118
|
+
v-html="contentComp"
|
|
119
119
|
@click="handleShowStatic"
|
|
120
120
|
>
|
|
121
121
|
</view>
|
|
@@ -282,6 +282,10 @@
|
|
|
282
282
|
},
|
|
283
283
|
},
|
|
284
284
|
computed:{
|
|
285
|
+
contentComp(){
|
|
286
|
+
if(this.show_tip_icon==='Y') return this.$xdUniHelper.filterHtml(this.content,'')
|
|
287
|
+
return this.content
|
|
288
|
+
},
|
|
285
289
|
marginUi() {
|
|
286
290
|
let str = `${this.checkValue(this.margin.top, 20)}rpx`;
|
|
287
291
|
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
@@ -369,7 +373,6 @@
|
|
|
369
373
|
if (this.fontSize === 36) this.titleFontSize = 44;
|
|
370
374
|
this.isTitle = getContainerPropsValue(container, 'content.isTitle', false);
|
|
371
375
|
|
|
372
|
-
console.log("this.staticTipIcon", this.staticTipIcon);
|
|
373
376
|
|
|
374
377
|
if(this.style === '2') {
|
|
375
378
|
this.num = getContainerPropsValue(container, 'content.num', 1);
|
|
@@ -384,19 +387,20 @@
|
|
|
384
387
|
this.is_hide_dailog = getContainerPropsValue(container, 'content.is_hide_dailog', 'N');
|
|
385
388
|
},
|
|
386
389
|
handleShowStatic(){
|
|
387
|
-
this
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
if(this.show_tip_icon === 'Y') {
|
|
391
|
+
this.$xdConfirm({
|
|
392
|
+
styles: this.styles,
|
|
393
|
+
isTitle: false,
|
|
394
|
+
content: this.content,
|
|
395
|
+
isHtml: true,
|
|
396
|
+
zIndex: 2000,
|
|
397
|
+
cancel: false,
|
|
398
|
+
width: '700rpx'
|
|
399
|
+
});
|
|
400
|
+
}
|
|
396
401
|
},
|
|
397
402
|
|
|
398
403
|
handlePop(){
|
|
399
|
-
console.log('this.time', this.time * 60 + '分钟');
|
|
400
404
|
storage.set(this.containerId, 1, this.time);
|
|
401
405
|
this.$xdConfirm({
|
|
402
406
|
styles: this.styles,
|