jufubao-base 1.0.236-beta2 → 1.0.236-beta4
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
|
@@ -93,13 +93,13 @@
|
|
|
93
93
|
>
|
|
94
94
|
<xd-button type="primary" @click="handleCancel">取消赠送</xd-button>
|
|
95
95
|
<!-- #ifdef H5 -->
|
|
96
|
-
<xd-button type="primary" @click="
|
|
96
|
+
<xd-button type="primary" @click="handleReShare">再次分享</xd-button>
|
|
97
97
|
<!-- #endif -->
|
|
98
98
|
<!-- #ifdef MP-WEIXIN -->
|
|
99
99
|
<button
|
|
100
100
|
:style="{ background: mainColor }"
|
|
101
101
|
class="share-btn"
|
|
102
|
-
@click="
|
|
102
|
+
@click="handleReShare"
|
|
103
103
|
open-type="share"
|
|
104
104
|
>
|
|
105
105
|
再次分享
|
|
@@ -387,9 +387,13 @@ export default {
|
|
|
387
387
|
})
|
|
388
388
|
})
|
|
389
389
|
},
|
|
390
|
+
handleReShare(){
|
|
391
|
+
this.dialogShow = true;
|
|
392
|
+
},
|
|
390
393
|
handleShare() {
|
|
391
394
|
//#ifdef H5
|
|
392
|
-
|
|
395
|
+
let share = `${document.location.origin}/${this.projectAttr.deploy_dir}${this.get_url}?transfer_auth_code=${this.info.transfer_record.transfer_auth_code}`;
|
|
396
|
+
this.copy(share);
|
|
393
397
|
// #endif
|
|
394
398
|
// #ifdef MP-WEIXIN
|
|
395
399
|
this.setShareInfo({
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
</view>
|
|
17
17
|
<!-- #endif -->
|
|
18
18
|
<view
|
|
19
|
+
v-if="loaded"
|
|
19
20
|
:style="{
|
|
20
21
|
height: layoutInfo.bodyMinHeightRpx + 'rpx',
|
|
21
22
|
background: status === 'N' ? canReceiveBgColor : cannotReceiveBgColor,
|
|
@@ -54,6 +55,7 @@ export default {
|
|
|
54
55
|
mixins: [componentsMixins, extsMixins, JfbBaseCardReceiveCoverMixin],
|
|
55
56
|
data() {
|
|
56
57
|
return {
|
|
58
|
+
loaded: false,
|
|
57
59
|
btnBg: "",
|
|
58
60
|
contentBg: "",
|
|
59
61
|
greeting: "",
|
|
@@ -125,6 +127,7 @@ export default {
|
|
|
125
127
|
.then((res) => {
|
|
126
128
|
this.greeting = res.transfer_record.greeting;
|
|
127
129
|
this.status = res.transfer_record.status;
|
|
130
|
+
this.loaded = true;
|
|
128
131
|
})
|
|
129
132
|
.catch((err) => {
|
|
130
133
|
console.log(err, "err");
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
262
262
|
{"label": "弹窗显示", "value": '3'},
|
|
263
263
|
],
|
|
264
264
|
},
|
|
265
|
-
|
|
265
|
+
{
|
|
266
266
|
label: "是否显示提示图标:",
|
|
267
267
|
ele: "xd-radio",
|
|
268
268
|
valueKey: "show_tip_icon",
|
|
@@ -271,9 +271,10 @@ export default {
|
|
|
271
271
|
list: [
|
|
272
272
|
{ label: '显示', value: 'Y' },
|
|
273
273
|
{ label: '不显示', value: 'N' }
|
|
274
|
-
]
|
|
274
|
+
],
|
|
275
|
+
hidden: data.style !== '1',
|
|
275
276
|
},
|
|
276
|
-
|
|
277
|
+
{
|
|
277
278
|
label: "提示图标:",
|
|
278
279
|
ele: 'xd-upload',
|
|
279
280
|
valueKey: 'staticTipIcon',
|
|
@@ -288,6 +289,8 @@ export default {
|
|
|
288
289
|
size: .5,
|
|
289
290
|
action: 'action',
|
|
290
291
|
sort: true,
|
|
292
|
+
hidden: data.style !== '1' || data.show_tip_icon !== 'Y',
|
|
293
|
+
|
|
291
294
|
},
|
|
292
295
|
{
|
|
293
296
|
label: '是否隐藏弹框(仅预览模式生效):',
|
|
@@ -111,18 +111,28 @@
|
|
|
111
111
|
:style="{height: tipIconHeight+'rpx'}"
|
|
112
112
|
style="width: auto;margin-right: 12rpx;" mode="heightFix"
|
|
113
113
|
></image>
|
|
114
|
-
<view
|
|
115
|
-
|
|
116
|
-
:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
<view class="jfb-base-notice__body-content_inner"
|
|
115
|
+
:style="{
|
|
116
|
+
fontSize: fontSize + 'rpx',
|
|
117
|
+
}"
|
|
118
|
+
v-html="$xdUniHelper.filterHtml(content)"
|
|
119
|
+
@click="showStaticDialog = true"
|
|
120
|
+
>
|
|
120
121
|
</view>
|
|
121
122
|
</view>
|
|
122
123
|
</view>
|
|
123
124
|
</template>
|
|
124
125
|
</template>
|
|
125
126
|
</view>
|
|
127
|
+
<XdDailog :show.sync="showStaticDialog" :showTitle="false" :cancel="false" :confirm="false">
|
|
128
|
+
<view style="padding-top: 60rpx;">
|
|
129
|
+
<xd-content-xss
|
|
130
|
+
:key="contentKey"
|
|
131
|
+
:html="content"
|
|
132
|
+
:font-sizes="fontSize"
|
|
133
|
+
></xd-content-xss>
|
|
134
|
+
</view>
|
|
135
|
+
</XdDailog>
|
|
126
136
|
<xd-down-drawer
|
|
127
137
|
v-if="showUp"
|
|
128
138
|
:show.sync="showUp"
|
|
@@ -162,6 +172,7 @@
|
|
|
162
172
|
import XdContentXss from '@/components/XdContentXss/XdContentXss';
|
|
163
173
|
import XdNoticeBar from "./XdNoticeBar"
|
|
164
174
|
import XdButton from "@/components/XdButton/XdButton.vue";
|
|
175
|
+
import XdDailog from "@/components/XdDailog/XdDailog.vue"
|
|
165
176
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
166
177
|
import JfbBaseNoticeMixin from "./JfbBaseNoticeMixin";
|
|
167
178
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
@@ -179,7 +190,8 @@
|
|
|
179
190
|
XdContentXss,
|
|
180
191
|
XdNoticeBar,
|
|
181
192
|
XdDownDrawer,
|
|
182
|
-
XdButton
|
|
193
|
+
XdButton,
|
|
194
|
+
XdDailog
|
|
183
195
|
},
|
|
184
196
|
mixins: [componentsMixins,extsMixins,JfbBaseNoticeMixin],
|
|
185
197
|
data() {
|
|
@@ -230,6 +242,8 @@
|
|
|
230
242
|
staticTipIcon: "",
|
|
231
243
|
tipIconHeight: 50,
|
|
232
244
|
|
|
245
|
+
showStaticDialog: false,
|
|
246
|
+
|
|
233
247
|
isMp:false,
|
|
234
248
|
|
|
235
249
|
btnConfirmWidth: "",
|
|
@@ -536,6 +550,13 @@
|
|
|
536
550
|
padding: unit(8, rpx) unit(10, rpx);
|
|
537
551
|
display: flex;
|
|
538
552
|
align-items: center;
|
|
553
|
+
|
|
554
|
+
&_inner{
|
|
555
|
+
flex: 1;
|
|
556
|
+
overflow: hidden;
|
|
557
|
+
text-overflow: ellipsis;
|
|
558
|
+
white-space: nowrap;
|
|
559
|
+
}
|
|
539
560
|
}
|
|
540
561
|
}
|
|
541
562
|
|