正在显示
78 个修改的文件
包含
4537 行增加
和
0 行删除
1 | +<template> | ||
2 | + <!--增加audio标签支持--> | ||
3 | + <audio | ||
4 | + :id="node.attr.id" | ||
5 | + :class="node.classStr" | ||
6 | + :style="node.styleStr" | ||
7 | + :src="node.attr.src" | ||
8 | + :loop="node.attr.loop" | ||
9 | + :poster="node.attr.poster" | ||
10 | + :name="node.attr.name" | ||
11 | + :author="node.attr.author" | ||
12 | + controls></audio> | ||
13 | +</template> | ||
14 | + | ||
15 | +<script> | ||
16 | +export default { | ||
17 | + name: 'wxParseAudio', | ||
18 | + props: { | ||
19 | + node: { | ||
20 | + type: Object, | ||
21 | + default() { | ||
22 | + return {}; | ||
23 | + }, | ||
24 | + }, | ||
25 | + }, | ||
26 | +}; | ||
27 | +</script> |
components/u-parse/components/wxParseImg.vue
0 → 100644
1 | +<template> | ||
2 | + <image | ||
3 | + :mode="node.attr.mode" | ||
4 | + :lazy-load="node.attr.lazyLoad" | ||
5 | + :class="node.classStr" | ||
6 | + :style="newStyleStr || node.styleStr" | ||
7 | + :data-src="node.attr.src" | ||
8 | + :src="node.attr.src" | ||
9 | + @tap="wxParseImgTap" | ||
10 | + @load="wxParseImgLoad" | ||
11 | + /> | ||
12 | +</template> | ||
13 | + | ||
14 | +<script> | ||
15 | +export default { | ||
16 | + name: 'wxParseImg', | ||
17 | + data() { | ||
18 | + return { | ||
19 | + newStyleStr: '', | ||
20 | + preview: true, | ||
21 | + }; | ||
22 | + }, | ||
23 | + props: { | ||
24 | + node: { | ||
25 | + type: Object, | ||
26 | + default() { | ||
27 | + return {}; | ||
28 | + }, | ||
29 | + }, | ||
30 | + }, | ||
31 | + methods: { | ||
32 | + wxParseImgTap(e) { | ||
33 | + if (!this.preview) return; | ||
34 | + const { src } = e.currentTarget.dataset; | ||
35 | + if (!src) return; | ||
36 | + let parent = this.$parent; | ||
37 | + while(!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法 | ||
38 | + parent = parent.$parent; | ||
39 | + } | ||
40 | + parent.preview(src, e); | ||
41 | + }, | ||
42 | + // 图片视觉宽高计算函数区 | ||
43 | + wxParseImgLoad(e) { | ||
44 | + const { src } = e.currentTarget.dataset; | ||
45 | + if (!src) return; | ||
46 | + const { width, height } = e.mp.detail; | ||
47 | + const recal = this.wxAutoImageCal(width, height); | ||
48 | + const { imageheight, imageWidth } = recal; | ||
49 | + const { padding, mode } = this.node.attr; | ||
50 | + const { styleStr } = this.node; | ||
51 | + const imageHeightStyle = mode === 'widthFix' ? '' : `height: ${imageheight}px;`; | ||
52 | + this.newStyleStr = `${styleStr}; ${imageHeightStyle}; width: ${imageWidth}px; padding: 0 ${+padding}px;`; | ||
53 | + }, | ||
54 | + // 计算视觉优先的图片宽高 | ||
55 | + wxAutoImageCal(originalWidth, originalHeight) { | ||
56 | + // 获取图片的原始长宽 | ||
57 | + const { padding } = this.node.attr; | ||
58 | + const windowWidth = this.node.$screen.width - (2 * padding); | ||
59 | + const results = {}; | ||
60 | + | ||
61 | + if (originalWidth < 60 || originalHeight < 60) { | ||
62 | + const { src } = this.node.attr; | ||
63 | + let parent = this.$parent; | ||
64 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
65 | + parent = parent.$parent; | ||
66 | + } | ||
67 | + parent.removeImageUrl(src); | ||
68 | + this.preview = false; | ||
69 | + } | ||
70 | + | ||
71 | + // 判断按照那种方式进行缩放 | ||
72 | + if (originalWidth > windowWidth) { | ||
73 | + // 在图片width大于手机屏幕width时候 | ||
74 | + results.imageWidth = windowWidth; | ||
75 | + results.imageheight = windowWidth * (originalHeight / originalWidth); | ||
76 | + } else { | ||
77 | + // 否则展示原来的数据 | ||
78 | + results.imageWidth = originalWidth; | ||
79 | + results.imageheight = originalHeight; | ||
80 | + } | ||
81 | + | ||
82 | + return results; | ||
83 | + }, | ||
84 | + }, | ||
85 | +}; | ||
86 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--table类型--> | ||
47 | + <block v-else-if="node.tag == 'table'"> | ||
48 | + <view :class="node.classStr" class="table" :style="node.styleStr"> | ||
49 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
50 | + <wx-parse-template :node="node" /> | ||
51 | + </block> | ||
52 | + </view> | ||
53 | + </block> | ||
54 | + | ||
55 | + <!--br类型--> | ||
56 | + <block v-else-if="node.tag == 'br'"> | ||
57 | + <text>\n</text> | ||
58 | + </block> | ||
59 | + | ||
60 | + <!--其他标签--> | ||
61 | + <block v-else> | ||
62 | + <view :class="node.classStr" :style="node.styleStr"> | ||
63 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
64 | + <wx-parse-template :node="node" /> | ||
65 | + </block> | ||
66 | + </view> | ||
67 | + </block> | ||
68 | + | ||
69 | + </block> | ||
70 | + | ||
71 | + <!--判断是否是文本节点--> | ||
72 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
73 | + </view> | ||
74 | +</template> | ||
75 | + | ||
76 | +<script> | ||
77 | + import wxParseTemplate from './wxParseTemplate1'; | ||
78 | + import wxParseImg from './wxParseImg'; | ||
79 | + import wxParseVideo from './wxParseVideo'; | ||
80 | + import wxParseAudio from './wxParseAudio'; | ||
81 | + | ||
82 | + export default { | ||
83 | + name: 'wxParseTemplate0', | ||
84 | + props: { | ||
85 | + node: {}, | ||
86 | + }, | ||
87 | + components: { | ||
88 | + wxParseTemplate, | ||
89 | + wxParseImg, | ||
90 | + wxParseVideo, | ||
91 | + wxParseAudio, | ||
92 | + }, | ||
93 | + methods: { | ||
94 | + wxParseATap(e) { | ||
95 | + const { | ||
96 | + href | ||
97 | + } = e.currentTarget.dataset;// TODO currentTarget才有dataset | ||
98 | + if (!href) return; | ||
99 | + let parent = this.$parent; | ||
100 | + while(!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法 | ||
101 | + parent = parent.$parent; | ||
102 | + } | ||
103 | + parent.navigate(href, e); | ||
104 | + }, | ||
105 | + }, | ||
106 | + }; | ||
107 | +</script> |
1 | +<template> | ||
2 | + <view :class="(node.tag == 'li' ? node.classStr : (node.node==='text'?'text':''))"> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <!-- <view :class="node.classStr" :style="node.styleStr"> --> | ||
16 | + <view :style="node.styleStr"> | ||
17 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
18 | + <wx-parse-template :node="node" /> | ||
19 | + </block> | ||
20 | + </view> | ||
21 | + </block> | ||
22 | + | ||
23 | + <!--video类型--> | ||
24 | + <block v-else-if="node.tag == 'video'"> | ||
25 | + <wx-parse-video :node="node" /> | ||
26 | + </block> | ||
27 | + | ||
28 | + <!--audio类型--> | ||
29 | + <block v-else-if="node.tag == 'audio'"> | ||
30 | + <wx-parse-audio :node="node" /> | ||
31 | + </block> | ||
32 | + | ||
33 | + <!--img类型--> | ||
34 | + <block v-else-if="node.tag == 'img'"> | ||
35 | + <wx-parse-img :node="node" /> | ||
36 | + </block> | ||
37 | + | ||
38 | + <!--a类型--> | ||
39 | + <block v-else-if="node.tag == 'a'"> | ||
40 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
41 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
42 | + <wx-parse-template :node="node" /> | ||
43 | + </block> | ||
44 | + </view> | ||
45 | + </block> | ||
46 | + | ||
47 | + <!--br类型--> | ||
48 | + <block v-else-if="node.tag == 'br'"> | ||
49 | + <text>\n</text> | ||
50 | + </block> | ||
51 | + | ||
52 | + <!--其他标签--> | ||
53 | + <block v-else> | ||
54 | + <view :class="node.classStr" :style="node.styleStr"> | ||
55 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
56 | + <wx-parse-template :node="node" /> | ||
57 | + </block> | ||
58 | + </view> | ||
59 | + </block> | ||
60 | + | ||
61 | + </block> | ||
62 | + | ||
63 | + <!--判断是否是文本节点--> | ||
64 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
65 | + </view> | ||
66 | +</template> | ||
67 | + | ||
68 | +<script> | ||
69 | + import wxParseTemplate from './wxParseTemplate2'; | ||
70 | + import wxParseImg from './wxParseImg'; | ||
71 | + import wxParseVideo from './wxParseVideo'; | ||
72 | + import wxParseAudio from './wxParseAudio'; | ||
73 | + | ||
74 | + export default { | ||
75 | + name: 'wxParseTemplate1', | ||
76 | + props: { | ||
77 | + node: {}, | ||
78 | + }, | ||
79 | + components: { | ||
80 | + wxParseTemplate, | ||
81 | + wxParseImg, | ||
82 | + wxParseVideo, | ||
83 | + wxParseAudio, | ||
84 | + }, | ||
85 | + methods: { | ||
86 | + wxParseATap(e) { | ||
87 | + const { | ||
88 | + href | ||
89 | + } = e.currentTarget.dataset; | ||
90 | + if (!href) return; | ||
91 | + let parent = this.$parent; | ||
92 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
93 | + parent = parent.$parent; | ||
94 | + } | ||
95 | + parent.navigate(href, e); | ||
96 | + }, | ||
97 | + }, | ||
98 | + }; | ||
99 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + </block> | ||
60 | + | ||
61 | + <!--判断是否是文本节点--> | ||
62 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
63 | + </view> | ||
64 | +</template> | ||
65 | + | ||
66 | +<script> | ||
67 | + import wxParseTemplate from './wxParseTemplate11'; | ||
68 | + import wxParseImg from './wxParseImg'; | ||
69 | + import wxParseVideo from './wxParseVideo'; | ||
70 | + import wxParseAudio from './wxParseAudio'; | ||
71 | + | ||
72 | + export default { | ||
73 | + name: 'wxParseTemplate10', | ||
74 | + props: { | ||
75 | + node: {}, | ||
76 | + }, | ||
77 | + components: { | ||
78 | + wxParseTemplate, | ||
79 | + wxParseImg, | ||
80 | + wxParseVideo, | ||
81 | + wxParseAudio, | ||
82 | + }, | ||
83 | + methods: { | ||
84 | + wxParseATap(e) { | ||
85 | + const { | ||
86 | + href | ||
87 | + } = e.currentTarget.dataset; | ||
88 | + if (!href) return; | ||
89 | + let parent = this.$parent; | ||
90 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
91 | + parent = parent.$parent; | ||
92 | + } | ||
93 | + parent.navigate(href, e); | ||
94 | + }, | ||
95 | + }, | ||
96 | + }; | ||
97 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <!--button类型--> | ||
6 | + <block v-if="node.tag == 'button'"> | ||
7 | + <button type="default" size="mini"> | ||
8 | + </button> | ||
9 | + </block> | ||
10 | + | ||
11 | + <!--li类型--> | ||
12 | + <block v-else-if="node.tag == 'li'"> | ||
13 | + <view :class="node.classStr" :style="node.styleStr"> | ||
14 | + {{node.text}} | ||
15 | + </view> | ||
16 | + </block> | ||
17 | + | ||
18 | + <!--video类型--> | ||
19 | + <block v-else-if="node.tag == 'video'"> | ||
20 | + <wx-parse-video :node="node" /> | ||
21 | + </block> | ||
22 | + | ||
23 | + <!--audio类型--> | ||
24 | + <block v-else-if="node.tag == 'audio'"> | ||
25 | + <wx-parse-audio :node="node" /> | ||
26 | + </block> | ||
27 | + | ||
28 | + <!--img类型--> | ||
29 | + <block v-else-if="node.tag == 'img'"> | ||
30 | + <wx-parse-img :node="node" /> | ||
31 | + </block> | ||
32 | + | ||
33 | + <!--a类型--> | ||
34 | + <block v-else-if="node.tag == 'a'"> | ||
35 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
36 | + {{node.text}} | ||
37 | + </view> | ||
38 | + </block> | ||
39 | + | ||
40 | + <!--br类型--> | ||
41 | + <block v-else-if="node.tag == 'br'"> | ||
42 | + <text>\n</text> | ||
43 | + </block> | ||
44 | + | ||
45 | + <!--其他标签--> | ||
46 | + <block v-else> | ||
47 | + <view :class="node.classStr" :style="node.styleStr"> | ||
48 | + {{node.text}} | ||
49 | + </view> | ||
50 | + </block> | ||
51 | + </block> | ||
52 | + | ||
53 | + <!--判断是否是文本节点--> | ||
54 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
55 | + </view> | ||
56 | +</template> | ||
57 | + | ||
58 | +<script> | ||
59 | + import wxParseImg from './wxParseImg'; | ||
60 | + import wxParseVideo from './wxParseVideo'; | ||
61 | + import wxParseAudio from './wxParseAudio'; | ||
62 | + | ||
63 | + export default { | ||
64 | + name: 'wxParseTemplate11', | ||
65 | + props: { | ||
66 | + node: {}, | ||
67 | + }, | ||
68 | + components: { | ||
69 | + wxParseImg, | ||
70 | + wxParseVideo, | ||
71 | + wxParseAudio, | ||
72 | + }, | ||
73 | + methods: { | ||
74 | + wxParseATap(e) { | ||
75 | + const { | ||
76 | + href | ||
77 | + } = e.currentTarget.dataset; | ||
78 | + if (!href) return; | ||
79 | + let parent = this.$parent; | ||
80 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
81 | + parent = parent.$parent; | ||
82 | + } | ||
83 | + parent.navigate(href, e); | ||
84 | + }, | ||
85 | + }, | ||
86 | + }; | ||
87 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate3'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate2', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate4'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate3', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate5'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate4', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate6'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate5', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate7'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate6', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate8'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate7', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate9'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate8', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <!--判断是否是标签节点--> | ||
4 | + <block v-if="node.node == 'element'"> | ||
5 | + <block v-if="node.tag == 'button'"> | ||
6 | + <button type="default" size="mini"> | ||
7 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
8 | + <wx-parse-template :node="node" /> | ||
9 | + </block> | ||
10 | + </button> | ||
11 | + </block> | ||
12 | + | ||
13 | + <!--li类型--> | ||
14 | + <block v-else-if="node.tag == 'li'"> | ||
15 | + <view :class="node.classStr" :style="node.styleStr"> | ||
16 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
17 | + <wx-parse-template :node="node" /> | ||
18 | + </block> | ||
19 | + </view> | ||
20 | + </block> | ||
21 | + | ||
22 | + <!--video类型--> | ||
23 | + <block v-else-if="node.tag == 'video'"> | ||
24 | + <wx-parse-video :node="node" /> | ||
25 | + </block> | ||
26 | + | ||
27 | + <!--audio类型--> | ||
28 | + <block v-else-if="node.tag == 'audio'"> | ||
29 | + <wx-parse-audio :node="node" /> | ||
30 | + </block> | ||
31 | + | ||
32 | + <!--img类型--> | ||
33 | + <block v-else-if="node.tag == 'img'"> | ||
34 | + <wx-parse-img :node="node" /> | ||
35 | + </block> | ||
36 | + | ||
37 | + <!--a类型--> | ||
38 | + <block v-else-if="node.tag == 'a'"> | ||
39 | + <view @click="wxParseATap" :class="node.classStr" :data-href="node.attr.href" :style="node.styleStr"> | ||
40 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
41 | + <wx-parse-template :node="node" /> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </block> | ||
45 | + | ||
46 | + <!--br类型--> | ||
47 | + <block v-else-if="node.tag == 'br'"> | ||
48 | + <text>\n</text> | ||
49 | + </block> | ||
50 | + | ||
51 | + <!--其他标签--> | ||
52 | + <block v-else> | ||
53 | + <view :class="node.classStr" :style="node.styleStr"> | ||
54 | + <block v-for="(node, index) of node.nodes" :key="index"> | ||
55 | + <wx-parse-template :node="node" /> | ||
56 | + </block> | ||
57 | + </view> | ||
58 | + </block> | ||
59 | + | ||
60 | + </block> | ||
61 | + | ||
62 | + <!--判断是否是文本节点--> | ||
63 | + <block v-else-if="node.node == 'text'">{{node.text}}</block> | ||
64 | + </view> | ||
65 | +</template> | ||
66 | + | ||
67 | +<script> | ||
68 | + import wxParseTemplate from './wxParseTemplate10'; | ||
69 | + import wxParseImg from './wxParseImg'; | ||
70 | + import wxParseVideo from './wxParseVideo'; | ||
71 | + import wxParseAudio from './wxParseAudio'; | ||
72 | + | ||
73 | + export default { | ||
74 | + name: 'wxParseTemplate9', | ||
75 | + props: { | ||
76 | + node: {}, | ||
77 | + }, | ||
78 | + components: { | ||
79 | + wxParseTemplate, | ||
80 | + wxParseImg, | ||
81 | + wxParseVideo, | ||
82 | + wxParseAudio, | ||
83 | + }, | ||
84 | + methods: { | ||
85 | + wxParseATap(e) { | ||
86 | + const { | ||
87 | + href | ||
88 | + } = e.currentTarget.dataset; | ||
89 | + if (!href) return; | ||
90 | + let parent = this.$parent; | ||
91 | + while(!parent.preview || typeof parent.preview !== 'function') { | ||
92 | + parent = parent.$parent; | ||
93 | + } | ||
94 | + parent.navigate(href, e); | ||
95 | + }, | ||
96 | + }, | ||
97 | + }; | ||
98 | +</script> |
1 | +<template> | ||
2 | + <!--增加video标签支持,并循环添加--> | ||
3 | + <view :class="node.classStr" :style="node.styleStr"> | ||
4 | + <video :class="node.classStr" class="video-video" :src="node.attr.src"></video> | ||
5 | + </view> | ||
6 | +</template> | ||
7 | + | ||
8 | +<script> | ||
9 | +export default { | ||
10 | + name: 'wxParseVideo', | ||
11 | + props: { | ||
12 | + node: {}, | ||
13 | + }, | ||
14 | +}; | ||
15 | +</script> |
components/u-parse/libs/html2json.js
0 → 100644
1 | +/** | ||
2 | + * html2Json 改造来自: https://github.com/Jxck/html2json | ||
3 | + * | ||
4 | + * | ||
5 | + * author: Di (微信小程序开发工程师) | ||
6 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
7 | + * 垂直微信小程序开发交流社区 | ||
8 | + * | ||
9 | + * github地址: https://github.com/icindy/wxParse | ||
10 | + * | ||
11 | + * for: 微信小程序富文本解析 | ||
12 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
13 | + */ | ||
14 | + | ||
15 | +import wxDiscode from './wxDiscode'; | ||
16 | +import HTMLParser from './htmlparser'; | ||
17 | + | ||
18 | +function makeMap(str) { | ||
19 | + const obj = {}; | ||
20 | + const items = str.split(','); | ||
21 | + for (let i = 0; i < items.length; i += 1) obj[items[i]] = true; | ||
22 | + return obj; | ||
23 | +} | ||
24 | + | ||
25 | +// Block Elements - HTML 5 | ||
26 | +const block = makeMap('br,code,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video'); | ||
27 | + | ||
28 | +// Inline Elements - HTML 5 | ||
29 | +const inline = makeMap('a,abbr,acronym,applet,b,basefont,bdo,big,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'); | ||
30 | + | ||
31 | +// Elements that you can, intentionally, leave open | ||
32 | +// (and which close themselves) | ||
33 | +const closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr'); | ||
34 | + | ||
35 | +function removeDOCTYPE(html) { | ||
36 | + const isDocument = /<body.*>([^]*)<\/body>/.test(html); | ||
37 | + return isDocument ? RegExp.$1 : html; | ||
38 | +} | ||
39 | + | ||
40 | +function trimHtml(html) { | ||
41 | + return html | ||
42 | + .replace(/<!--.*?-->/gi, '') | ||
43 | + .replace(/\/\*.*?\*\//gi, '') | ||
44 | + .replace(/[ ]+</gi, '<') | ||
45 | + .replace(/<script[^]*<\/script>/gi, '') | ||
46 | + .replace(/<style[^]*<\/style>/gi, ''); | ||
47 | +} | ||
48 | + | ||
49 | +function getScreenInfo() { | ||
50 | + const screen = {}; | ||
51 | + wx.getSystemInfo({ | ||
52 | + success: (res) => { | ||
53 | + screen.width = res.windowWidth; | ||
54 | + screen.height = res.windowHeight; | ||
55 | + }, | ||
56 | + }); | ||
57 | + return screen; | ||
58 | +} | ||
59 | + | ||
60 | +function html2json(html, customHandler, imageProp, host) { | ||
61 | + // 处理字符串 | ||
62 | + html = removeDOCTYPE(html); | ||
63 | + html = trimHtml(html); | ||
64 | + html = wxDiscode.strDiscode(html); | ||
65 | + // 生成node节点 | ||
66 | + const bufArray = []; | ||
67 | + const results = { | ||
68 | + nodes: [], | ||
69 | + imageUrls: [], | ||
70 | + }; | ||
71 | + | ||
72 | + const screen = getScreenInfo(); | ||
73 | + function Node(tag) { | ||
74 | + this.node = 'element'; | ||
75 | + this.tag = tag; | ||
76 | + | ||
77 | + this.$screen = screen; | ||
78 | + } | ||
79 | + | ||
80 | + HTMLParser(html, { | ||
81 | + start(tag, attrs, unary) { | ||
82 | + // node for this element | ||
83 | + const node = new Node(tag); | ||
84 | + | ||
85 | + if (bufArray.length !== 0) { | ||
86 | + const parent = bufArray[0]; | ||
87 | + if (parent.nodes === undefined) { | ||
88 | + parent.nodes = []; | ||
89 | + } | ||
90 | + } | ||
91 | + | ||
92 | + if (block[tag]) { | ||
93 | + node.tagType = 'block'; | ||
94 | + } else if (inline[tag]) { | ||
95 | + node.tagType = 'inline'; | ||
96 | + } else if (closeSelf[tag]) { | ||
97 | + node.tagType = 'closeSelf'; | ||
98 | + } | ||
99 | + | ||
100 | + node.attr = attrs.reduce((pre, attr) => { | ||
101 | + const { name } = attr; | ||
102 | + let { value } = attr; | ||
103 | + if (name === 'class') { | ||
104 | + node.classStr = value; | ||
105 | + } | ||
106 | + // has multi attibutes | ||
107 | + // make it array of attribute | ||
108 | + if (name === 'style') { | ||
109 | + node.styleStr = value; | ||
110 | + } | ||
111 | + if (value.match(/ /)) { | ||
112 | + value = value.split(' '); | ||
113 | + } | ||
114 | + | ||
115 | + // if attr already exists | ||
116 | + // merge it | ||
117 | + if (pre[name]) { | ||
118 | + if (Array.isArray(pre[name])) { | ||
119 | + // already array, push to last | ||
120 | + pre[name].push(value); | ||
121 | + } else { | ||
122 | + // single value, make it array | ||
123 | + pre[name] = [pre[name], value]; | ||
124 | + } | ||
125 | + } else { | ||
126 | + // not exist, put it | ||
127 | + pre[name] = value; | ||
128 | + } | ||
129 | + | ||
130 | + return pre; | ||
131 | + }, {}); | ||
132 | + | ||
133 | + // 优化样式相关属性 | ||
134 | + if (node.classStr) { | ||
135 | + node.classStr += ` ${node.tag}`; | ||
136 | + } else { | ||
137 | + node.classStr = node.tag; | ||
138 | + } | ||
139 | + if (node.tagType === 'inline') { | ||
140 | + node.classStr += ' inline'; | ||
141 | + } | ||
142 | + | ||
143 | + // 对img添加额外数据 | ||
144 | + if (node.tag === 'img') { | ||
145 | + let imgUrl = node.attr.src; | ||
146 | + imgUrl = wxDiscode.urlToHttpUrl(imgUrl, imageProp.domain); | ||
147 | + Object.assign(node.attr, imageProp, { | ||
148 | + src: imgUrl || '', | ||
149 | + }); | ||
150 | + if (imgUrl) { | ||
151 | + results.imageUrls.push(imgUrl); | ||
152 | + } | ||
153 | + } | ||
154 | + | ||
155 | + // 处理a标签属性 | ||
156 | + if (node.tag === 'a') { | ||
157 | + node.attr.href = node.attr.href || ''; | ||
158 | + } | ||
159 | + | ||
160 | + // 处理font标签样式属性 | ||
161 | + if (node.tag === 'font') { | ||
162 | + const fontSize = [ | ||
163 | + 'x-small', | ||
164 | + 'small', | ||
165 | + 'medium', | ||
166 | + 'large', | ||
167 | + 'x-large', | ||
168 | + 'xx-large', | ||
169 | + '-webkit-xxx-large', | ||
170 | + ]; | ||
171 | + const styleAttrs = { | ||
172 | + color: 'color', | ||
173 | + face: 'font-family', | ||
174 | + size: 'font-size', | ||
175 | + }; | ||
176 | + if (!node.styleStr) node.styleStr = ''; | ||
177 | + Object.keys(styleAttrs).forEach((key) => { | ||
178 | + if (node.attr[key]) { | ||
179 | + const value = key === 'size' ? fontSize[node.attr[key] - 1] : node.attr[key]; | ||
180 | + node.styleStr += `${styleAttrs[key]}: ${value};`; | ||
181 | + } | ||
182 | + }); | ||
183 | + } | ||
184 | + | ||
185 | + // 临时记录source资源 | ||
186 | + if (node.tag === 'source') { | ||
187 | + results.source = node.attr.src; | ||
188 | + } | ||
189 | + | ||
190 | + if (customHandler.start) { | ||
191 | + customHandler.start(node, results); | ||
192 | + } | ||
193 | + | ||
194 | + if (unary) { | ||
195 | + // if this tag doesn't have end tag | ||
196 | + // like <img src="hoge.png"/> | ||
197 | + // add to parents | ||
198 | + const parent = bufArray[0] || results; | ||
199 | + if (parent.nodes === undefined) { | ||
200 | + parent.nodes = []; | ||
201 | + } | ||
202 | + parent.nodes.push(node); | ||
203 | + } else { | ||
204 | + bufArray.unshift(node); | ||
205 | + } | ||
206 | + }, | ||
207 | + end(tag) { | ||
208 | + // merge into parent tag | ||
209 | + const node = bufArray.shift(); | ||
210 | + if (node.tag !== tag) { | ||
211 | + console.error('invalid state: mismatch end tag'); | ||
212 | + } | ||
213 | + | ||
214 | + // 当有缓存source资源时于于video补上src资源 | ||
215 | + if (node.tag === 'video' && results.source) { | ||
216 | + node.attr.src = results.source; | ||
217 | + delete results.source; | ||
218 | + } | ||
219 | + | ||
220 | + if (customHandler.end) { | ||
221 | + customHandler.end(node, results); | ||
222 | + } | ||
223 | + | ||
224 | + if (bufArray.length === 0) { | ||
225 | + results.nodes.push(node); | ||
226 | + } else { | ||
227 | + const parent = bufArray[0]; | ||
228 | + if (!parent.nodes) { | ||
229 | + parent.nodes = []; | ||
230 | + } | ||
231 | + parent.nodes.push(node); | ||
232 | + } | ||
233 | + }, | ||
234 | + chars(text) { | ||
235 | + if (!text.trim()) return; | ||
236 | + | ||
237 | + const node = { | ||
238 | + node: 'text', | ||
239 | + text, | ||
240 | + }; | ||
241 | + | ||
242 | + if (customHandler.chars) { | ||
243 | + customHandler.chars(node, results); | ||
244 | + } | ||
245 | + | ||
246 | + if (bufArray.length === 0) { | ||
247 | + results.nodes.push(node); | ||
248 | + } else { | ||
249 | + const parent = bufArray[0]; | ||
250 | + if (parent.nodes === undefined) { | ||
251 | + parent.nodes = []; | ||
252 | + } | ||
253 | + parent.nodes.push(node); | ||
254 | + } | ||
255 | + }, | ||
256 | + }); | ||
257 | + | ||
258 | + return results; | ||
259 | +} | ||
260 | + | ||
261 | +export default html2json; |
components/u-parse/libs/htmlparser.js
0 → 100644
1 | +/** | ||
2 | + * | ||
3 | + * htmlParser改造自: https://github.com/blowsie/Pure-JavaScript-HTML5-Parser | ||
4 | + * | ||
5 | + * author: Di (微信小程序开发工程师) | ||
6 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
7 | + * 垂直微信小程序开发交流社区 | ||
8 | + * | ||
9 | + * github地址: https://github.com/icindy/wxParse | ||
10 | + * | ||
11 | + * for: 微信小程序富文本解析 | ||
12 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
13 | + */ | ||
14 | +// Regular Expressions for parsing tags and attributes | ||
15 | + | ||
16 | +const startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z0-9_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; | ||
17 | +const endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/; | ||
18 | +const attr = /([a-zA-Z0-9_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g; | ||
19 | + | ||
20 | +function makeMap(str) { | ||
21 | + const obj = {}; | ||
22 | + const items = str.split(','); | ||
23 | + for (let i = 0; i < items.length; i += 1) obj[items[i]] = true; | ||
24 | + return obj; | ||
25 | +} | ||
26 | + | ||
27 | +// Empty Elements - HTML 5 | ||
28 | +const empty = makeMap('area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr'); | ||
29 | + | ||
30 | +// Block Elements - HTML 5 | ||
31 | +const block = makeMap('address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video'); | ||
32 | + | ||
33 | +// Inline Elements - HTML 5 | ||
34 | +const inline = makeMap('a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'); | ||
35 | + | ||
36 | +// Elements that you can, intentionally, leave open | ||
37 | +// (and which close themselves) | ||
38 | +const closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr'); | ||
39 | + | ||
40 | +// Attributes that have their values filled in disabled="disabled" | ||
41 | +const fillAttrs = makeMap('checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected'); | ||
42 | + | ||
43 | +function HTMLParser(html, handler) { | ||
44 | + let index; | ||
45 | + let chars; | ||
46 | + let match; | ||
47 | + let last = html; | ||
48 | + const stack = []; | ||
49 | + | ||
50 | + stack.last = () => stack[stack.length - 1]; | ||
51 | + | ||
52 | + function parseEndTag(tag, tagName) { | ||
53 | + // If no tag name is provided, clean shop | ||
54 | + let pos; | ||
55 | + if (!tagName) { | ||
56 | + pos = 0; | ||
57 | + } else { | ||
58 | + // Find the closest opened tag of the same type | ||
59 | + tagName = tagName.toLowerCase(); | ||
60 | + for (pos = stack.length - 1; pos >= 0; pos -= 1) { | ||
61 | + if (stack[pos] === tagName) break; | ||
62 | + } | ||
63 | + } | ||
64 | + if (pos >= 0) { | ||
65 | + // Close all the open elements, up the stack | ||
66 | + for (let i = stack.length - 1; i >= pos; i -= 1) { | ||
67 | + if (handler.end) handler.end(stack[i]); | ||
68 | + } | ||
69 | + | ||
70 | + // Remove the open elements from the stack | ||
71 | + stack.length = pos; | ||
72 | + } | ||
73 | + } | ||
74 | + | ||
75 | + function parseStartTag(tag, tagName, rest, unary) { | ||
76 | + tagName = tagName.toLowerCase(); | ||
77 | + | ||
78 | + if (block[tagName]) { | ||
79 | + while (stack.last() && inline[stack.last()]) { | ||
80 | + parseEndTag('', stack.last()); | ||
81 | + } | ||
82 | + } | ||
83 | + | ||
84 | + if (closeSelf[tagName] && stack.last() === tagName) { | ||
85 | + parseEndTag('', tagName); | ||
86 | + } | ||
87 | + | ||
88 | + unary = empty[tagName] || !!unary; | ||
89 | + | ||
90 | + if (!unary) stack.push(tagName); | ||
91 | + | ||
92 | + if (handler.start) { | ||
93 | + const attrs = []; | ||
94 | + | ||
95 | + rest.replace(attr, function genAttr(matches, name) { | ||
96 | + const value = arguments[2] || arguments[3] || arguments[4] || (fillAttrs[name] ? name : ''); | ||
97 | + | ||
98 | + attrs.push({ | ||
99 | + name, | ||
100 | + value, | ||
101 | + escaped: value.replace(/(^|[^\\])"/g, '$1\\"'), // " | ||
102 | + }); | ||
103 | + }); | ||
104 | + | ||
105 | + if (handler.start) { | ||
106 | + handler.start(tagName, attrs, unary); | ||
107 | + } | ||
108 | + } | ||
109 | + } | ||
110 | + | ||
111 | + while (html) { | ||
112 | + chars = true; | ||
113 | + | ||
114 | + if (html.indexOf('</') === 0) { | ||
115 | + match = html.match(endTag); | ||
116 | + | ||
117 | + if (match) { | ||
118 | + html = html.substring(match[0].length); | ||
119 | + match[0].replace(endTag, parseEndTag); | ||
120 | + chars = false; | ||
121 | + } | ||
122 | + | ||
123 | + // start tag | ||
124 | + } else if (html.indexOf('<') === 0) { | ||
125 | + match = html.match(startTag); | ||
126 | + | ||
127 | + if (match) { | ||
128 | + html = html.substring(match[0].length); | ||
129 | + match[0].replace(startTag, parseStartTag); | ||
130 | + chars = false; | ||
131 | + } | ||
132 | + } | ||
133 | + | ||
134 | + if (chars) { | ||
135 | + index = html.indexOf('<'); | ||
136 | + let text = ''; | ||
137 | + while (index === 0) { | ||
138 | + text += '<'; | ||
139 | + html = html.substring(1); | ||
140 | + index = html.indexOf('<'); | ||
141 | + } | ||
142 | + text += index < 0 ? html : html.substring(0, index); | ||
143 | + html = index < 0 ? '' : html.substring(index); | ||
144 | + | ||
145 | + if (handler.chars) handler.chars(text); | ||
146 | + } | ||
147 | + | ||
148 | + if (html === last) throw new Error(`Parse Error: ${html}`); | ||
149 | + last = html; | ||
150 | + } | ||
151 | + | ||
152 | + // Clean up any remaining tags | ||
153 | + parseEndTag(); | ||
154 | +} | ||
155 | + | ||
156 | +export default HTMLParser; |
components/u-parse/libs/wxDiscode.js
0 → 100644
1 | +// HTML 支持的数学符号 | ||
2 | +function strNumDiscode(str) { | ||
3 | + str = str.replace(/∀/g, '∀'); | ||
4 | + str = str.replace(/∂/g, '∂'); | ||
5 | + str = str.replace(/∃/g, '∃'); | ||
6 | + str = str.replace(/∅/g, '∅'); | ||
7 | + str = str.replace(/∇/g, '∇'); | ||
8 | + str = str.replace(/∈/g, '∈'); | ||
9 | + str = str.replace(/∉/g, '∉'); | ||
10 | + str = str.replace(/∋/g, '∋'); | ||
11 | + str = str.replace(/∏/g, '∏'); | ||
12 | + str = str.replace(/∑/g, '∑'); | ||
13 | + str = str.replace(/−/g, '−'); | ||
14 | + str = str.replace(/∗/g, '∗'); | ||
15 | + str = str.replace(/√/g, '√'); | ||
16 | + str = str.replace(/∝/g, '∝'); | ||
17 | + str = str.replace(/∞/g, '∞'); | ||
18 | + str = str.replace(/∠/g, '∠'); | ||
19 | + str = str.replace(/∧/g, '∧'); | ||
20 | + str = str.replace(/∨/g, '∨'); | ||
21 | + str = str.replace(/∩/g, '∩'); | ||
22 | + str = str.replace(/∪/g, '∪'); | ||
23 | + str = str.replace(/∫/g, '∫'); | ||
24 | + str = str.replace(/∴/g, '∴'); | ||
25 | + str = str.replace(/∼/g, '∼'); | ||
26 | + str = str.replace(/≅/g, '≅'); | ||
27 | + str = str.replace(/≈/g, '≈'); | ||
28 | + str = str.replace(/≠/g, '≠'); | ||
29 | + str = str.replace(/≤/g, '≤'); | ||
30 | + str = str.replace(/≥/g, '≥'); | ||
31 | + str = str.replace(/⊂/g, '⊂'); | ||
32 | + str = str.replace(/⊃/g, '⊃'); | ||
33 | + str = str.replace(/⊄/g, '⊄'); | ||
34 | + str = str.replace(/⊆/g, '⊆'); | ||
35 | + str = str.replace(/⊇/g, '⊇'); | ||
36 | + str = str.replace(/⊕/g, '⊕'); | ||
37 | + str = str.replace(/⊗/g, '⊗'); | ||
38 | + str = str.replace(/⊥/g, '⊥'); | ||
39 | + str = str.replace(/⋅/g, '⋅'); | ||
40 | + return str; | ||
41 | +} | ||
42 | + | ||
43 | +// HTML 支持的希腊字母 | ||
44 | +function strGreeceDiscode(str) { | ||
45 | + str = str.replace(/Α/g, 'Α'); | ||
46 | + str = str.replace(/Β/g, 'Β'); | ||
47 | + str = str.replace(/Γ/g, 'Γ'); | ||
48 | + str = str.replace(/Δ/g, 'Δ'); | ||
49 | + str = str.replace(/Ε/g, 'Ε'); | ||
50 | + str = str.replace(/Ζ/g, 'Ζ'); | ||
51 | + str = str.replace(/Η/g, 'Η'); | ||
52 | + str = str.replace(/Θ/g, 'Θ'); | ||
53 | + str = str.replace(/Ι/g, 'Ι'); | ||
54 | + str = str.replace(/Κ/g, 'Κ'); | ||
55 | + str = str.replace(/Λ/g, 'Λ'); | ||
56 | + str = str.replace(/Μ/g, 'Μ'); | ||
57 | + str = str.replace(/Ν/g, 'Ν'); | ||
58 | + str = str.replace(/Ξ/g, 'Ν'); | ||
59 | + str = str.replace(/Ο/g, 'Ο'); | ||
60 | + str = str.replace(/Π/g, 'Π'); | ||
61 | + str = str.replace(/Ρ/g, 'Ρ'); | ||
62 | + str = str.replace(/Σ/g, 'Σ'); | ||
63 | + str = str.replace(/Τ/g, 'Τ'); | ||
64 | + str = str.replace(/Υ/g, 'Υ'); | ||
65 | + str = str.replace(/Φ/g, 'Φ'); | ||
66 | + str = str.replace(/Χ/g, 'Χ'); | ||
67 | + str = str.replace(/Ψ/g, 'Ψ'); | ||
68 | + str = str.replace(/Ω/g, 'Ω'); | ||
69 | + | ||
70 | + str = str.replace(/α/g, 'α'); | ||
71 | + str = str.replace(/β/g, 'β'); | ||
72 | + str = str.replace(/γ/g, 'γ'); | ||
73 | + str = str.replace(/δ/g, 'δ'); | ||
74 | + str = str.replace(/ε/g, 'ε'); | ||
75 | + str = str.replace(/ζ/g, 'ζ'); | ||
76 | + str = str.replace(/η/g, 'η'); | ||
77 | + str = str.replace(/θ/g, 'θ'); | ||
78 | + str = str.replace(/ι/g, 'ι'); | ||
79 | + str = str.replace(/κ/g, 'κ'); | ||
80 | + str = str.replace(/λ/g, 'λ'); | ||
81 | + str = str.replace(/μ/g, 'μ'); | ||
82 | + str = str.replace(/ν/g, 'ν'); | ||
83 | + str = str.replace(/ξ/g, 'ξ'); | ||
84 | + str = str.replace(/ο/g, 'ο'); | ||
85 | + str = str.replace(/π/g, 'π'); | ||
86 | + str = str.replace(/ρ/g, 'ρ'); | ||
87 | + str = str.replace(/ς/g, 'ς'); | ||
88 | + str = str.replace(/σ/g, 'σ'); | ||
89 | + str = str.replace(/τ/g, 'τ'); | ||
90 | + str = str.replace(/υ/g, 'υ'); | ||
91 | + str = str.replace(/φ/g, 'φ'); | ||
92 | + str = str.replace(/χ/g, 'χ'); | ||
93 | + str = str.replace(/ψ/g, 'ψ'); | ||
94 | + str = str.replace(/ω/g, 'ω'); | ||
95 | + str = str.replace(/ϑ/g, 'ϑ'); | ||
96 | + str = str.replace(/ϒ/g, 'ϒ'); | ||
97 | + str = str.replace(/ϖ/g, 'ϖ'); | ||
98 | + str = str.replace(/·/g, '·'); | ||
99 | + return str; | ||
100 | +} | ||
101 | + | ||
102 | +function strcharacterDiscode(str) { | ||
103 | + // 加入常用解析 | ||
104 | + str = str.replace(/ /g, ' '); | ||
105 | + str = str.replace(/ /g, ' '); | ||
106 | + str = str.replace(/ /g, ' '); | ||
107 | + str = str.replace(/"/g, "'"); | ||
108 | + str = str.replace(/&/g, '&'); | ||
109 | + str = str.replace(/</g, '<'); | ||
110 | + str = str.replace(/>/g, '>'); | ||
111 | + str = str.replace(/•/g, '•'); | ||
112 | + | ||
113 | + return str; | ||
114 | +} | ||
115 | + | ||
116 | +// HTML 支持的其他实体 | ||
117 | +function strOtherDiscode(str) { | ||
118 | + str = str.replace(/Œ/g, 'Œ'); | ||
119 | + str = str.replace(/œ/g, 'œ'); | ||
120 | + str = str.replace(/Š/g, 'Š'); | ||
121 | + str = str.replace(/š/g, 'š'); | ||
122 | + str = str.replace(/Ÿ/g, 'Ÿ'); | ||
123 | + str = str.replace(/ƒ/g, 'ƒ'); | ||
124 | + str = str.replace(/ˆ/g, 'ˆ'); | ||
125 | + str = str.replace(/˜/g, '˜'); | ||
126 | + str = str.replace(/ /g, ''); | ||
127 | + str = str.replace(/ /g, ''); | ||
128 | + str = str.replace(/ /g, ''); | ||
129 | + str = str.replace(/‌/g, ''); | ||
130 | + str = str.replace(/‍/g, ''); | ||
131 | + str = str.replace(/‎/g, ''); | ||
132 | + str = str.replace(/‏/g, ''); | ||
133 | + str = str.replace(/–/g, '–'); | ||
134 | + str = str.replace(/—/g, '—'); | ||
135 | + str = str.replace(/‘/g, '‘'); | ||
136 | + str = str.replace(/’/g, '’'); | ||
137 | + str = str.replace(/‚/g, '‚'); | ||
138 | + str = str.replace(/“/g, '“'); | ||
139 | + str = str.replace(/”/g, '”'); | ||
140 | + str = str.replace(/„/g, '„'); | ||
141 | + str = str.replace(/†/g, '†'); | ||
142 | + str = str.replace(/‡/g, '‡'); | ||
143 | + str = str.replace(/•/g, '•'); | ||
144 | + str = str.replace(/…/g, '…'); | ||
145 | + str = str.replace(/‰/g, '‰'); | ||
146 | + str = str.replace(/′/g, '′'); | ||
147 | + str = str.replace(/″/g, '″'); | ||
148 | + str = str.replace(/‹/g, '‹'); | ||
149 | + str = str.replace(/›/g, '›'); | ||
150 | + str = str.replace(/‾/g, '‾'); | ||
151 | + str = str.replace(/€/g, '€'); | ||
152 | + str = str.replace(/™/g, '™'); | ||
153 | + | ||
154 | + str = str.replace(/←/g, '←'); | ||
155 | + str = str.replace(/↑/g, '↑'); | ||
156 | + str = str.replace(/→/g, '→'); | ||
157 | + str = str.replace(/↓/g, '↓'); | ||
158 | + str = str.replace(/↔/g, '↔'); | ||
159 | + str = str.replace(/↵/g, '↵'); | ||
160 | + str = str.replace(/⌈/g, '⌈'); | ||
161 | + str = str.replace(/⌉/g, '⌉'); | ||
162 | + | ||
163 | + str = str.replace(/⌊/g, '⌊'); | ||
164 | + str = str.replace(/⌋/g, '⌋'); | ||
165 | + str = str.replace(/◊/g, '◊'); | ||
166 | + str = str.replace(/♠/g, '♠'); | ||
167 | + str = str.replace(/♣/g, '♣'); | ||
168 | + str = str.replace(/♥/g, '♥'); | ||
169 | + | ||
170 | + str = str.replace(/♦/g, '♦'); | ||
171 | + str = str.replace(/'/g, "'"); | ||
172 | + return str; | ||
173 | +} | ||
174 | + | ||
175 | +function strDiscode(str) { | ||
176 | + str = strNumDiscode(str); | ||
177 | + str = strGreeceDiscode(str); | ||
178 | + str = strcharacterDiscode(str); | ||
179 | + str = strOtherDiscode(str); | ||
180 | + return str; | ||
181 | +} | ||
182 | + | ||
183 | +function urlToHttpUrl(url, domain) { | ||
184 | + if (/^\/\//.test(url)) { | ||
185 | + return `https:${url}`; | ||
186 | + } else if (/^\//.test(url)) { | ||
187 | + return `https://${domain}${url}`; | ||
188 | + } | ||
189 | + return url; | ||
190 | +} | ||
191 | + | ||
192 | +export default { | ||
193 | + strDiscode, | ||
194 | + urlToHttpUrl, | ||
195 | +}; |
components/u-parse/readme.md
0 → 100644
1 | +## uParse 适用于 uni-app/mpvue 的富文本解析组件 | ||
2 | + | ||
3 | +> 支持 Html、Markdown 解析,Fork自: [mpvue-wxParse](https://github.com/F-loat/mpvue-wxParse) | ||
4 | + | ||
5 | + | ||
6 | +## 属性 | ||
7 | + | ||
8 | +| 名称 | 类型 | 默认值 | 描述 | | ||
9 | +| -----------------|--------------- | ------------- | ---------------- | | ||
10 | +| loading | Boolean | false | 数据加载状态 | | ||
11 | +| className | String | — | 自定义 class 名称 | | ||
12 | +| content | String | — | 渲染内容 | | ||
13 | +| noData | String | 数据不能为空 | 空数据时的渲染展示 | | ||
14 | +| startHandler | Function | 见源码 | 自定义 parser 函数 | | ||
15 | +| endHandler | Function | null | 自定义 parser 函数 | | ||
16 | +| charsHandler | Function | null | 自定义 parser 函数 | | ||
17 | +| imageProp | Object | 见下文 | 图片相关参数 | | ||
18 | + | ||
19 | +### 自定义 parser 函数具体介绍 | ||
20 | + | ||
21 | +* 传入的参数为当前节点 `node` 对象及解析结果 `results` 对象,例如 `startHandler(node, results)` | ||
22 | +* 无需返回值,通过对传入的参数直接操作来完成需要的改动 | ||
23 | +* 自定义函数会在原解析函数处理之后执行 | ||
24 | + | ||
25 | +### imageProp 对象具体属性 | ||
26 | + | ||
27 | +| 名称 | 类型 | 默认值 | 描述 | | ||
28 | +| -----------------|--------------- | ------------- | ------------------ | | ||
29 | +| mode | String | 'aspectFit' | 图片裁剪、缩放的模式 | | ||
30 | +| padding | Number | 0 | 图片内边距 | | ||
31 | +| lazyLoad | Boolean | false | 图片懒加载 | | ||
32 | +| domain | String | '' | 图片服务域名 | | ||
33 | + | ||
34 | +## 事件 | ||
35 | + | ||
36 | +| 名称 | 参数 | 描述 | | ||
37 | +| -----------------|----------------- | ---------------- | | ||
38 | +| preview | 图片地址,原始事件 | 预览图片时触发 | | ||
39 | +| navigate | 链接地址,原始事件 | 点击链接时触发 | | ||
40 | + | ||
41 | +## 基本使用方法 | ||
42 | + | ||
43 | + | ||
44 | +``` vue | ||
45 | +<template> | ||
46 | + <div> | ||
47 | + <u-parse :content="article" @preview="preview" @navigate="navigate" /> | ||
48 | + </div> | ||
49 | +</template> | ||
50 | + | ||
51 | +<script> | ||
52 | +import uParse from '@/components/u-parse/u-parse.vue' | ||
53 | + | ||
54 | +export default { | ||
55 | + components: { | ||
56 | + uParse | ||
57 | + }, | ||
58 | + data () { | ||
59 | + return { | ||
60 | + article: '<div>我是HTML代码</div>' | ||
61 | + } | ||
62 | + }, | ||
63 | + methods: { | ||
64 | + preview(src, e) { | ||
65 | + // do something | ||
66 | + }, | ||
67 | + navigate(href, e) { | ||
68 | + // do something | ||
69 | + } | ||
70 | + } | ||
71 | +} | ||
72 | +</script> | ||
73 | + | ||
74 | +<style> | ||
75 | +@import url("@/components/u-parse/u-parse.css"); | ||
76 | +</style> | ||
77 | +``` | ||
78 | + | ||
79 | + | ||
80 | +## 渲染 Markdown | ||
81 | + | ||
82 | +> 先将 markdown 转换为 html 即可 | ||
83 | + | ||
84 | +``` | ||
85 | +npm install marked | ||
86 | +``` | ||
87 | + | ||
88 | +``` js | ||
89 | +import marked from 'marked' | ||
90 | +import uParse from '@/components/u-parse/u-parse.vue' | ||
91 | + | ||
92 | +export default { | ||
93 | + components: { | ||
94 | + uParse | ||
95 | + }, | ||
96 | + data () { | ||
97 | + return { | ||
98 | + article: marked(`#hello, markdown!`) | ||
99 | + } | ||
100 | + } | ||
101 | +} | ||
102 | +``` |
components/u-parse/u-parse.css
0 → 100644
1 | +/** | ||
2 | + * author: Di (微信小程序开发工程师) | ||
3 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
4 | + * 垂直微信小程序开发交流社区 | ||
5 | + * | ||
6 | + * github地址: https://github.com/icindy/wxParse | ||
7 | + * | ||
8 | + * for: 微信小程序富文本解析 | ||
9 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
10 | + */ | ||
11 | + | ||
12 | +.wxParse { | ||
13 | + width: 100%; | ||
14 | + font-family: Helvetica, sans-serif; | ||
15 | + font-size: 30upx; | ||
16 | + color: #666; | ||
17 | + line-height: 1.8; | ||
18 | +} | ||
19 | + | ||
20 | +.wxParse view { | ||
21 | + word-break: hyphenate; | ||
22 | +} | ||
23 | + | ||
24 | +.wxParse .inline { | ||
25 | + display: inline; | ||
26 | + margin: 0; | ||
27 | + padding: 0; | ||
28 | +} | ||
29 | + | ||
30 | +.wxParse .div { | ||
31 | + margin: 0; | ||
32 | + padding: 0; | ||
33 | +} | ||
34 | + | ||
35 | +.wxParse .h1 .text { | ||
36 | + font-size: 2em; | ||
37 | + margin: 0.67em 0; | ||
38 | +} | ||
39 | +.wxParse .h2 .text { | ||
40 | + font-size: 1.5em; | ||
41 | + margin: 0.83em 0; | ||
42 | +} | ||
43 | +.wxParse .h3 .text { | ||
44 | + font-size: 1.17em; | ||
45 | + margin: 1em 0; | ||
46 | +} | ||
47 | +.wxParse .h4 .text { | ||
48 | + margin: 1.33em 0; | ||
49 | +} | ||
50 | +.wxParse .h5 .text { | ||
51 | + font-size: 0.83em; | ||
52 | + margin: 1.67em 0; | ||
53 | +} | ||
54 | +.wxParse .h6 .text { | ||
55 | + font-size: 0.67em; | ||
56 | + margin: 2.33em 0; | ||
57 | +} | ||
58 | + | ||
59 | +.wxParse .h1 .text, | ||
60 | +.wxParse .h2 .text, | ||
61 | +.wxParse .h3 .text, | ||
62 | +.wxParse .h4 .text, | ||
63 | +.wxParse .h5 .text, | ||
64 | +.wxParse .h6 .text, | ||
65 | +.wxParse .b, | ||
66 | +.wxParse .strong { | ||
67 | + font-weight: bolder; | ||
68 | +} | ||
69 | + | ||
70 | + | ||
71 | +.wxParse .p { | ||
72 | + margin: 1em 0; | ||
73 | +} | ||
74 | + | ||
75 | +.wxParse .i, | ||
76 | +.wxParse .cite, | ||
77 | +.wxParse .em, | ||
78 | +.wxParse .var, | ||
79 | +.wxParse .address { | ||
80 | + font-style: italic; | ||
81 | +} | ||
82 | + | ||
83 | +.wxParse .pre, | ||
84 | +.wxParse .tt, | ||
85 | +.wxParse .code, | ||
86 | +.wxParse .kbd, | ||
87 | +.wxParse .samp { | ||
88 | + font-family: monospace; | ||
89 | +} | ||
90 | +.wxParse .pre { | ||
91 | + overflow: auto; | ||
92 | + background: #f5f5f5; | ||
93 | + padding: 16upx; | ||
94 | + white-space: pre; | ||
95 | + margin: 1em 0upx; | ||
96 | +} | ||
97 | +.wxParse .code { | ||
98 | + display: inline; | ||
99 | + background: #f5f5f5; | ||
100 | +} | ||
101 | + | ||
102 | +.wxParse .big { | ||
103 | + font-size: 1.17em; | ||
104 | +} | ||
105 | + | ||
106 | +.wxParse .small, | ||
107 | +.wxParse .sub, | ||
108 | +.wxParse .sup { | ||
109 | + font-size: 0.83em; | ||
110 | +} | ||
111 | + | ||
112 | +.wxParse .sub { | ||
113 | + vertical-align: sub; | ||
114 | +} | ||
115 | +.wxParse .sup { | ||
116 | + vertical-align: super; | ||
117 | +} | ||
118 | + | ||
119 | +.wxParse .s, | ||
120 | +.wxParse .strike, | ||
121 | +.wxParse .del { | ||
122 | + text-decoration: line-through; | ||
123 | +} | ||
124 | + | ||
125 | +.wxParse .strong, | ||
126 | +.wxParse .s { | ||
127 | + display: inline; | ||
128 | +} | ||
129 | + | ||
130 | +.wxParse .a { | ||
131 | + color: deepskyblue; | ||
132 | +} | ||
133 | + | ||
134 | +.wxParse .video { | ||
135 | + text-align: center; | ||
136 | + margin: 22upx 0; | ||
137 | +} | ||
138 | + | ||
139 | +.wxParse .video-video { | ||
140 | + width: 100%; | ||
141 | +} | ||
142 | + | ||
143 | +.wxParse .img { | ||
144 | + display: inline-block; | ||
145 | + width: 0; | ||
146 | + height: 0; | ||
147 | + max-width: 100%; | ||
148 | + overflow: hidden; | ||
149 | +} | ||
150 | + | ||
151 | +.wxParse .blockquote { | ||
152 | + margin: 10upx 0; | ||
153 | + padding: 22upx 0 22upx 22upx; | ||
154 | + font-family: Courier, Calibri, "宋体"; | ||
155 | + background: #f5f5f5; | ||
156 | + border-left: 6upx solid #dbdbdb; | ||
157 | +} | ||
158 | +.wxParse .blockquote .p { | ||
159 | + margin: 0; | ||
160 | +} | ||
161 | + | ||
162 | +.wxParse .ul, .wxParse .ol { | ||
163 | + display: block; | ||
164 | + margin: 1em 0; | ||
165 | + padding-left: 33upx; | ||
166 | +} | ||
167 | +.wxParse .ol { | ||
168 | + list-style-type: disc; | ||
169 | +} | ||
170 | +.wxParse .ol { | ||
171 | + list-style-type: decimal; | ||
172 | +} | ||
173 | +.wxParse .ol>weixin-parse-template,.wxParse .ul>weixin-parse-template { | ||
174 | + display: list-item; | ||
175 | + align-items: baseline; | ||
176 | + text-align: match-parent; | ||
177 | +} | ||
178 | + | ||
179 | +.wxParse .ol>.li,.wxParse .ul>.li { | ||
180 | + display: list-item; | ||
181 | + align-items: baseline; | ||
182 | + text-align: match-parent; | ||
183 | +} | ||
184 | +.wxParse .ul .ul, .wxParse .ol .ul { | ||
185 | + list-style-type: circle; | ||
186 | +} | ||
187 | +.wxParse .ol .ol .ul, .wxParse .ol .ul .ul, .wxParse .ul .ol .ul, .wxParse .ul .ul .ul { | ||
188 | + list-style-type: square; | ||
189 | +} | ||
190 | + | ||
191 | +.wxParse .u { | ||
192 | + text-decoration: underline; | ||
193 | +} | ||
194 | +.wxParse .hide { | ||
195 | + display: none; | ||
196 | +} | ||
197 | +.wxParse .del { | ||
198 | + display: inline; | ||
199 | +} | ||
200 | +.wxParse .figure { | ||
201 | + overflow: hidden; | ||
202 | +} | ||
203 | + | ||
204 | +.wxParse .table { | ||
205 | + width: 100%; | ||
206 | +} | ||
207 | +.wxParse .thead, .wxParse .tfoot, .wxParse .tr { | ||
208 | + display: flex; | ||
209 | + flex-direction: row; | ||
210 | +} | ||
211 | +.wxParse .tr { | ||
212 | + width:100%; | ||
213 | + display: flex; | ||
214 | + border-right: 2upx solid #e0e0e0; | ||
215 | + border-bottom: 2upx solid #e0e0e0; | ||
216 | +} | ||
217 | +.wxParse .th, | ||
218 | +.wxParse .td { | ||
219 | + display: flex; | ||
220 | + width: 1276upx; | ||
221 | + overflow: auto; | ||
222 | + flex: 1; | ||
223 | + padding: 11upx; | ||
224 | + border-left: 2upx solid #e0e0e0; | ||
225 | +} | ||
226 | +.wxParse .td:last { | ||
227 | + border-top: 2upx solid #e0e0e0; | ||
228 | +} | ||
229 | +.wxParse .th { | ||
230 | + background: #f0f0f0; | ||
231 | + border-top: 2upx solid #e0e0e0; | ||
232 | +} |
components/u-parse/u-parse.vue
0 → 100644
1 | +<!--** | ||
2 | + * forked from:https://github.com/F-loat/mpvue-wxParse | ||
3 | + * | ||
4 | + * github地址: https://github.com/dcloudio/uParse | ||
5 | + * | ||
6 | + * for: uni-app框架下 富文本解析 | ||
7 | + */--> | ||
8 | + | ||
9 | +<template> | ||
10 | +<!--基础元素--> | ||
11 | +<div class="wxParse" :class="className" v-if="!loading"> | ||
12 | + <block v-for="(node,index) of nodes" :key="index"> | ||
13 | + <wxParseTemplate :node="node" /> | ||
14 | + </block> | ||
15 | +</div> | ||
16 | +</template> | ||
17 | + | ||
18 | +<script> | ||
19 | +import HtmlToJson from './libs/html2json'; | ||
20 | +import wxParseTemplate from './components/wxParseTemplate0'; | ||
21 | + | ||
22 | +export default { | ||
23 | + name: 'wxParse', | ||
24 | + props: { | ||
25 | + loading: { | ||
26 | + type: Boolean, | ||
27 | + default: false, | ||
28 | + }, | ||
29 | + className: { | ||
30 | + type: String, | ||
31 | + default: '', | ||
32 | + }, | ||
33 | + content: { | ||
34 | + type: String, | ||
35 | + default: '', | ||
36 | + }, | ||
37 | + noData: { | ||
38 | + type: String, | ||
39 | + default: '<div style="color: red;">数据不能为空</div>', | ||
40 | + }, | ||
41 | + startHandler: { | ||
42 | + type: Function, | ||
43 | + default() { | ||
44 | + return (node) => { | ||
45 | + node.attr.class = null; | ||
46 | + node.attr.style = null; | ||
47 | + }; | ||
48 | + }, | ||
49 | + }, | ||
50 | + endHandler: { | ||
51 | + type: Function, | ||
52 | + default: null, | ||
53 | + }, | ||
54 | + charsHandler: { | ||
55 | + type: Function, | ||
56 | + default: null, | ||
57 | + }, | ||
58 | + imageProp: { | ||
59 | + type: Object, | ||
60 | + default() { | ||
61 | + return { | ||
62 | + mode: 'aspectFit', | ||
63 | + padding: 0, | ||
64 | + lazyLoad: false, | ||
65 | + domain: '', | ||
66 | + }; | ||
67 | + }, | ||
68 | + }, | ||
69 | + }, | ||
70 | + components: { | ||
71 | + wxParseTemplate, | ||
72 | + }, | ||
73 | + data() { | ||
74 | + return { | ||
75 | + imageUrls: [], | ||
76 | + }; | ||
77 | + }, | ||
78 | + computed: { | ||
79 | + nodes() { | ||
80 | + const { | ||
81 | + content, | ||
82 | + noData, | ||
83 | + imageProp, | ||
84 | + startHandler, | ||
85 | + endHandler, | ||
86 | + charsHandler, | ||
87 | + } = this; | ||
88 | + const parseData = content || noData; | ||
89 | + const customHandler = { | ||
90 | + start: startHandler, | ||
91 | + end: endHandler, | ||
92 | + chars: charsHandler, | ||
93 | + }; | ||
94 | + const results = HtmlToJson(parseData, customHandler, imageProp, this); | ||
95 | + this.imageUrls = results.imageUrls; | ||
96 | + console.log(results) | ||
97 | + return results.nodes; | ||
98 | + }, | ||
99 | + }, | ||
100 | + methods: { | ||
101 | + navigate(href, $event) { | ||
102 | + this.$emit('navigate', href, $event); | ||
103 | + }, | ||
104 | + preview(src, $event) { | ||
105 | + if (!this.imageUrls.length) return; | ||
106 | + wx.previewImage({ | ||
107 | + current: src, | ||
108 | + urls: this.imageUrls, | ||
109 | + }); | ||
110 | + this.$emit('preview', src, $event); | ||
111 | + }, | ||
112 | + removeImageUrl(src) { | ||
113 | + const { imageUrls } = this; | ||
114 | + imageUrls.splice(imageUrls.indexOf(src), 1); | ||
115 | + }, | ||
116 | + }, | ||
117 | +}; | ||
118 | +</script> |
componentsk/u-parse/libs/html2json.js
0 → 100644
1 | +/** | ||
2 | + * html2Json 改造来自: https://github.com/Jxck/html2json | ||
3 | + * | ||
4 | + * | ||
5 | + * author: Di (微信小程序开发工程师) | ||
6 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
7 | + * 垂直微信小程序开发交流社区 | ||
8 | + * | ||
9 | + * github地址: https://github.com/icindy/wxParse | ||
10 | + * | ||
11 | + * for: 微信小程序富文本解析 | ||
12 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
13 | + */ | ||
14 | + | ||
15 | +import wxDiscode from './wxDiscode'; | ||
16 | +import HTMLParser from './htmlparser'; | ||
17 | + | ||
18 | +function makeMap(str) { | ||
19 | + const obj = {}; | ||
20 | + const items = str.split(','); | ||
21 | + for (let i = 0; i < items.length; i += 1) obj[items[i]] = true; | ||
22 | + return obj; | ||
23 | +} | ||
24 | + | ||
25 | +// Block Elements - HTML 5 | ||
26 | +const block = makeMap('br,code,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video'); | ||
27 | + | ||
28 | +// Inline Elements - HTML 5 | ||
29 | +const inline = makeMap('a,abbr,acronym,applet,b,basefont,bdo,big,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'); | ||
30 | + | ||
31 | +// Elements that you can, intentionally, leave open | ||
32 | +// (and which close themselves) | ||
33 | +const closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr'); | ||
34 | + | ||
35 | +function removeDOCTYPE(html) { | ||
36 | + const isDocument = /<body.*>([^]*)<\/body>/.test(html); | ||
37 | + return isDocument ? RegExp.$1 : html; | ||
38 | +} | ||
39 | + | ||
40 | +function trimHtml(html) { | ||
41 | + return html | ||
42 | + .replace(/<!--.*?-->/gi, '') | ||
43 | + .replace(/\/\*.*?\*\//gi, '') | ||
44 | + .replace(/[ ]+</gi, '<') | ||
45 | + .replace(/<script[^]*<\/script>/gi, '') | ||
46 | + .replace(/<style[^]*<\/style>/gi, ''); | ||
47 | +} | ||
48 | + | ||
49 | +function getScreenInfo() { | ||
50 | + const screen = {}; | ||
51 | + wx.getSystemInfo({ | ||
52 | + success: (res) => { | ||
53 | + screen.width = res.windowWidth; | ||
54 | + screen.height = res.windowHeight; | ||
55 | + }, | ||
56 | + }); | ||
57 | + return screen; | ||
58 | +} | ||
59 | + | ||
60 | +function html2json(html, customHandler, imageProp, host) { | ||
61 | + // 处理字符串 | ||
62 | + html = removeDOCTYPE(html); | ||
63 | + html = trimHtml(html); | ||
64 | + html = wxDiscode.strDiscode(html); | ||
65 | + // 生成node节点 | ||
66 | + const bufArray = []; | ||
67 | + const results = { | ||
68 | + nodes: [], | ||
69 | + imageUrls: [], | ||
70 | + }; | ||
71 | + | ||
72 | + const screen = getScreenInfo(); | ||
73 | + function Node(tag) { | ||
74 | + this.node = 'element'; | ||
75 | + this.tag = tag; | ||
76 | + | ||
77 | + this.$screen = screen; | ||
78 | + } | ||
79 | + | ||
80 | + HTMLParser(html, { | ||
81 | + start(tag, attrs, unary) { | ||
82 | + // node for this element | ||
83 | + const node = new Node(tag); | ||
84 | + | ||
85 | + if (bufArray.length !== 0) { | ||
86 | + const parent = bufArray[0]; | ||
87 | + if (parent.nodes === undefined) { | ||
88 | + parent.nodes = []; | ||
89 | + } | ||
90 | + } | ||
91 | + | ||
92 | + if (block[tag]) { | ||
93 | + node.tagType = 'block'; | ||
94 | + } else if (inline[tag]) { | ||
95 | + node.tagType = 'inline'; | ||
96 | + } else if (closeSelf[tag]) { | ||
97 | + node.tagType = 'closeSelf'; | ||
98 | + } | ||
99 | + | ||
100 | + node.attr = attrs.reduce((pre, attr) => { | ||
101 | + const { name } = attr; | ||
102 | + let { value } = attr; | ||
103 | + if (name === 'class') { | ||
104 | + node.classStr = value; | ||
105 | + } | ||
106 | + // has multi attibutes | ||
107 | + // make it array of attribute | ||
108 | + if (name === 'style') { | ||
109 | + node.styleStr = value; | ||
110 | + } | ||
111 | + if (value.match(/ /)) { | ||
112 | + value = value.split(' '); | ||
113 | + } | ||
114 | + | ||
115 | + // if attr already exists | ||
116 | + // merge it | ||
117 | + if (pre[name]) { | ||
118 | + if (Array.isArray(pre[name])) { | ||
119 | + // already array, push to last | ||
120 | + pre[name].push(value); | ||
121 | + } else { | ||
122 | + // single value, make it array | ||
123 | + pre[name] = [pre[name], value]; | ||
124 | + } | ||
125 | + } else { | ||
126 | + // not exist, put it | ||
127 | + pre[name] = value; | ||
128 | + } | ||
129 | + | ||
130 | + return pre; | ||
131 | + }, {}); | ||
132 | + | ||
133 | + // 优化样式相关属性 | ||
134 | + if (node.classStr) { | ||
135 | + node.classStr += ` ${node.tag}`; | ||
136 | + } else { | ||
137 | + node.classStr = node.tag; | ||
138 | + } | ||
139 | + if (node.tagType === 'inline') { | ||
140 | + node.classStr += ' inline'; | ||
141 | + } | ||
142 | + | ||
143 | + // 对img添加额外数据 | ||
144 | + if (node.tag === 'img') { | ||
145 | + let imgUrl = node.attr.src; | ||
146 | + imgUrl = wxDiscode.urlToHttpUrl(imgUrl, imageProp.domain); | ||
147 | + Object.assign(node.attr, imageProp, { | ||
148 | + src: imgUrl || '', | ||
149 | + }); | ||
150 | + if (imgUrl) { | ||
151 | + results.imageUrls.push(imgUrl); | ||
152 | + } | ||
153 | + } | ||
154 | + | ||
155 | + // 处理a标签属性 | ||
156 | + if (node.tag === 'a') { | ||
157 | + node.attr.href = node.attr.href || ''; | ||
158 | + } | ||
159 | + | ||
160 | + // 处理font标签样式属性 | ||
161 | + if (node.tag === 'font') { | ||
162 | + const fontSize = [ | ||
163 | + 'x-small', | ||
164 | + 'small', | ||
165 | + 'medium', | ||
166 | + 'large', | ||
167 | + 'x-large', | ||
168 | + 'xx-large', | ||
169 | + '-webkit-xxx-large', | ||
170 | + ]; | ||
171 | + const styleAttrs = { | ||
172 | + color: 'color', | ||
173 | + face: 'font-family', | ||
174 | + size: 'font-size', | ||
175 | + }; | ||
176 | + if (!node.styleStr) node.styleStr = ''; | ||
177 | + Object.keys(styleAttrs).forEach((key) => { | ||
178 | + if (node.attr[key]) { | ||
179 | + const value = key === 'size' ? fontSize[node.attr[key] - 1] : node.attr[key]; | ||
180 | + node.styleStr += `${styleAttrs[key]}: ${value};`; | ||
181 | + } | ||
182 | + }); | ||
183 | + } | ||
184 | + | ||
185 | + // 临时记录source资源 | ||
186 | + if (node.tag === 'source') { | ||
187 | + results.source = node.attr.src; | ||
188 | + } | ||
189 | + | ||
190 | + if (customHandler.start) { | ||
191 | + customHandler.start(node, results); | ||
192 | + } | ||
193 | + | ||
194 | + if (unary) { | ||
195 | + // if this tag doesn't have end tag | ||
196 | + // like <img src="hoge.png"/> | ||
197 | + // add to parents | ||
198 | + const parent = bufArray[0] || results; | ||
199 | + if (parent.nodes === undefined) { | ||
200 | + parent.nodes = []; | ||
201 | + } | ||
202 | + parent.nodes.push(node); | ||
203 | + } else { | ||
204 | + bufArray.unshift(node); | ||
205 | + } | ||
206 | + }, | ||
207 | + end(tag) { | ||
208 | + // merge into parent tag | ||
209 | + const node = bufArray.shift(); | ||
210 | + if (node.tag !== tag) { | ||
211 | + console.error('invalid state: mismatch end tag'); | ||
212 | + } | ||
213 | + | ||
214 | + // 当有缓存source资源时于于video补上src资源 | ||
215 | + if (node.tag === 'video' && results.source) { | ||
216 | + node.attr.src = results.source; | ||
217 | + delete results.source; | ||
218 | + } | ||
219 | + | ||
220 | + if (customHandler.end) { | ||
221 | + customHandler.end(node, results); | ||
222 | + } | ||
223 | + | ||
224 | + if (bufArray.length === 0) { | ||
225 | + results.nodes.push(node); | ||
226 | + } else { | ||
227 | + const parent = bufArray[0]; | ||
228 | + if (!parent.nodes) { | ||
229 | + parent.nodes = []; | ||
230 | + } | ||
231 | + parent.nodes.push(node); | ||
232 | + } | ||
233 | + }, | ||
234 | + chars(text) { | ||
235 | + if (!text.trim()) return; | ||
236 | + | ||
237 | + const node = { | ||
238 | + node: 'text', | ||
239 | + text, | ||
240 | + }; | ||
241 | + | ||
242 | + if (customHandler.chars) { | ||
243 | + customHandler.chars(node, results); | ||
244 | + } | ||
245 | + | ||
246 | + if (bufArray.length === 0) { | ||
247 | + results.nodes.push(node); | ||
248 | + } else { | ||
249 | + const parent = bufArray[0]; | ||
250 | + if (parent.nodes === undefined) { | ||
251 | + parent.nodes = []; | ||
252 | + } | ||
253 | + parent.nodes.push(node); | ||
254 | + } | ||
255 | + }, | ||
256 | + }); | ||
257 | + | ||
258 | + return results; | ||
259 | +} | ||
260 | + | ||
261 | +export default html2json; |
componentsk/u-parse/libs/htmlparser.js
0 → 100644
1 | +/** | ||
2 | + * | ||
3 | + * htmlParser改造自: https://github.com/blowsie/Pure-JavaScript-HTML5-Parser | ||
4 | + * | ||
5 | + * author: Di (微信小程序开发工程师) | ||
6 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
7 | + * 垂直微信小程序开发交流社区 | ||
8 | + * | ||
9 | + * github地址: https://github.com/icindy/wxParse | ||
10 | + * | ||
11 | + * for: 微信小程序富文本解析 | ||
12 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
13 | + */ | ||
14 | +// Regular Expressions for parsing tags and attributes | ||
15 | + | ||
16 | +const startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z0-9_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; | ||
17 | +const endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/; | ||
18 | +const attr = /([a-zA-Z0-9_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g; | ||
19 | + | ||
20 | +function makeMap(str) { | ||
21 | + const obj = {}; | ||
22 | + const items = str.split(','); | ||
23 | + for (let i = 0; i < items.length; i += 1) obj[items[i]] = true; | ||
24 | + return obj; | ||
25 | +} | ||
26 | + | ||
27 | +// Empty Elements - HTML 5 | ||
28 | +const empty = makeMap('area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr'); | ||
29 | + | ||
30 | +// Block Elements - HTML 5 | ||
31 | +const block = makeMap('address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video'); | ||
32 | + | ||
33 | +// Inline Elements - HTML 5 | ||
34 | +const inline = makeMap('a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'); | ||
35 | + | ||
36 | +// Elements that you can, intentionally, leave open | ||
37 | +// (and which close themselves) | ||
38 | +const closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr'); | ||
39 | + | ||
40 | +// Attributes that have their values filled in disabled="disabled" | ||
41 | +const fillAttrs = makeMap('checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected'); | ||
42 | + | ||
43 | +function HTMLParser(html, handler) { | ||
44 | + let index; | ||
45 | + let chars; | ||
46 | + let match; | ||
47 | + let last = html; | ||
48 | + const stack = []; | ||
49 | + | ||
50 | + stack.last = () => stack[stack.length - 1]; | ||
51 | + | ||
52 | + function parseEndTag(tag, tagName) { | ||
53 | + // If no tag name is provided, clean shop | ||
54 | + let pos; | ||
55 | + if (!tagName) { | ||
56 | + pos = 0; | ||
57 | + } else { | ||
58 | + // Find the closest opened tag of the same type | ||
59 | + tagName = tagName.toLowerCase(); | ||
60 | + for (pos = stack.length - 1; pos >= 0; pos -= 1) { | ||
61 | + if (stack[pos] === tagName) break; | ||
62 | + } | ||
63 | + } | ||
64 | + if (pos >= 0) { | ||
65 | + // Close all the open elements, up the stack | ||
66 | + for (let i = stack.length - 1; i >= pos; i -= 1) { | ||
67 | + if (handler.end) handler.end(stack[i]); | ||
68 | + } | ||
69 | + | ||
70 | + // Remove the open elements from the stack | ||
71 | + stack.length = pos; | ||
72 | + } | ||
73 | + } | ||
74 | + | ||
75 | + function parseStartTag(tag, tagName, rest, unary) { | ||
76 | + tagName = tagName.toLowerCase(); | ||
77 | + | ||
78 | + if (block[tagName]) { | ||
79 | + while (stack.last() && inline[stack.last()]) { | ||
80 | + parseEndTag('', stack.last()); | ||
81 | + } | ||
82 | + } | ||
83 | + | ||
84 | + if (closeSelf[tagName] && stack.last() === tagName) { | ||
85 | + parseEndTag('', tagName); | ||
86 | + } | ||
87 | + | ||
88 | + unary = empty[tagName] || !!unary; | ||
89 | + | ||
90 | + if (!unary) stack.push(tagName); | ||
91 | + | ||
92 | + if (handler.start) { | ||
93 | + const attrs = []; | ||
94 | + | ||
95 | + rest.replace(attr, function genAttr(matches, name) { | ||
96 | + const value = arguments[2] || arguments[3] || arguments[4] || (fillAttrs[name] ? name : ''); | ||
97 | + | ||
98 | + attrs.push({ | ||
99 | + name, | ||
100 | + value, | ||
101 | + escaped: value.replace(/(^|[^\\])"/g, '$1\\"'), // " | ||
102 | + }); | ||
103 | + }); | ||
104 | + | ||
105 | + if (handler.start) { | ||
106 | + handler.start(tagName, attrs, unary); | ||
107 | + } | ||
108 | + } | ||
109 | + } | ||
110 | + | ||
111 | + while (html) { | ||
112 | + chars = true; | ||
113 | + | ||
114 | + if (html.indexOf('</') === 0) { | ||
115 | + match = html.match(endTag); | ||
116 | + | ||
117 | + if (match) { | ||
118 | + html = html.substring(match[0].length); | ||
119 | + match[0].replace(endTag, parseEndTag); | ||
120 | + chars = false; | ||
121 | + } | ||
122 | + | ||
123 | + // start tag | ||
124 | + } else if (html.indexOf('<') === 0) { | ||
125 | + match = html.match(startTag); | ||
126 | + | ||
127 | + if (match) { | ||
128 | + html = html.substring(match[0].length); | ||
129 | + match[0].replace(startTag, parseStartTag); | ||
130 | + chars = false; | ||
131 | + } | ||
132 | + } | ||
133 | + | ||
134 | + if (chars) { | ||
135 | + index = html.indexOf('<'); | ||
136 | + let text = ''; | ||
137 | + while (index === 0) { | ||
138 | + text += '<'; | ||
139 | + html = html.substring(1); | ||
140 | + index = html.indexOf('<'); | ||
141 | + } | ||
142 | + text += index < 0 ? html : html.substring(0, index); | ||
143 | + html = index < 0 ? '' : html.substring(index); | ||
144 | + | ||
145 | + if (handler.chars) handler.chars(text); | ||
146 | + } | ||
147 | + | ||
148 | + if (html === last) throw new Error(`Parse Error: ${html}`); | ||
149 | + last = html; | ||
150 | + } | ||
151 | + | ||
152 | + // Clean up any remaining tags | ||
153 | + parseEndTag(); | ||
154 | +} | ||
155 | + | ||
156 | +export default HTMLParser; |
componentsk/u-parse/libs/wxDiscode.js
0 → 100644
1 | +// HTML 支持的数学符号 | ||
2 | +function strNumDiscode(str) { | ||
3 | + str = str.replace(/∀/g, '∀'); | ||
4 | + str = str.replace(/∂/g, '∂'); | ||
5 | + str = str.replace(/∃/g, '∃'); | ||
6 | + str = str.replace(/∅/g, '∅'); | ||
7 | + str = str.replace(/∇/g, '∇'); | ||
8 | + str = str.replace(/∈/g, '∈'); | ||
9 | + str = str.replace(/∉/g, '∉'); | ||
10 | + str = str.replace(/∋/g, '∋'); | ||
11 | + str = str.replace(/∏/g, '∏'); | ||
12 | + str = str.replace(/∑/g, '∑'); | ||
13 | + str = str.replace(/−/g, '−'); | ||
14 | + str = str.replace(/∗/g, '∗'); | ||
15 | + str = str.replace(/√/g, '√'); | ||
16 | + str = str.replace(/∝/g, '∝'); | ||
17 | + str = str.replace(/∞/g, '∞'); | ||
18 | + str = str.replace(/∠/g, '∠'); | ||
19 | + str = str.replace(/∧/g, '∧'); | ||
20 | + str = str.replace(/∨/g, '∨'); | ||
21 | + str = str.replace(/∩/g, '∩'); | ||
22 | + str = str.replace(/∪/g, '∪'); | ||
23 | + str = str.replace(/∫/g, '∫'); | ||
24 | + str = str.replace(/∴/g, '∴'); | ||
25 | + str = str.replace(/∼/g, '∼'); | ||
26 | + str = str.replace(/≅/g, '≅'); | ||
27 | + str = str.replace(/≈/g, '≈'); | ||
28 | + str = str.replace(/≠/g, '≠'); | ||
29 | + str = str.replace(/≤/g, '≤'); | ||
30 | + str = str.replace(/≥/g, '≥'); | ||
31 | + str = str.replace(/⊂/g, '⊂'); | ||
32 | + str = str.replace(/⊃/g, '⊃'); | ||
33 | + str = str.replace(/⊄/g, '⊄'); | ||
34 | + str = str.replace(/⊆/g, '⊆'); | ||
35 | + str = str.replace(/⊇/g, '⊇'); | ||
36 | + str = str.replace(/⊕/g, '⊕'); | ||
37 | + str = str.replace(/⊗/g, '⊗'); | ||
38 | + str = str.replace(/⊥/g, '⊥'); | ||
39 | + str = str.replace(/⋅/g, '⋅'); | ||
40 | + return str; | ||
41 | +} | ||
42 | + | ||
43 | +// HTML 支持的希腊字母 | ||
44 | +function strGreeceDiscode(str) { | ||
45 | + str = str.replace(/Α/g, 'Α'); | ||
46 | + str = str.replace(/Β/g, 'Β'); | ||
47 | + str = str.replace(/Γ/g, 'Γ'); | ||
48 | + str = str.replace(/Δ/g, 'Δ'); | ||
49 | + str = str.replace(/Ε/g, 'Ε'); | ||
50 | + str = str.replace(/Ζ/g, 'Ζ'); | ||
51 | + str = str.replace(/Η/g, 'Η'); | ||
52 | + str = str.replace(/Θ/g, 'Θ'); | ||
53 | + str = str.replace(/Ι/g, 'Ι'); | ||
54 | + str = str.replace(/Κ/g, 'Κ'); | ||
55 | + str = str.replace(/Λ/g, 'Λ'); | ||
56 | + str = str.replace(/Μ/g, 'Μ'); | ||
57 | + str = str.replace(/Ν/g, 'Ν'); | ||
58 | + str = str.replace(/Ξ/g, 'Ν'); | ||
59 | + str = str.replace(/Ο/g, 'Ο'); | ||
60 | + str = str.replace(/Π/g, 'Π'); | ||
61 | + str = str.replace(/Ρ/g, 'Ρ'); | ||
62 | + str = str.replace(/Σ/g, 'Σ'); | ||
63 | + str = str.replace(/Τ/g, 'Τ'); | ||
64 | + str = str.replace(/Υ/g, 'Υ'); | ||
65 | + str = str.replace(/Φ/g, 'Φ'); | ||
66 | + str = str.replace(/Χ/g, 'Χ'); | ||
67 | + str = str.replace(/Ψ/g, 'Ψ'); | ||
68 | + str = str.replace(/Ω/g, 'Ω'); | ||
69 | + | ||
70 | + str = str.replace(/α/g, 'α'); | ||
71 | + str = str.replace(/β/g, 'β'); | ||
72 | + str = str.replace(/γ/g, 'γ'); | ||
73 | + str = str.replace(/δ/g, 'δ'); | ||
74 | + str = str.replace(/ε/g, 'ε'); | ||
75 | + str = str.replace(/ζ/g, 'ζ'); | ||
76 | + str = str.replace(/η/g, 'η'); | ||
77 | + str = str.replace(/θ/g, 'θ'); | ||
78 | + str = str.replace(/ι/g, 'ι'); | ||
79 | + str = str.replace(/κ/g, 'κ'); | ||
80 | + str = str.replace(/λ/g, 'λ'); | ||
81 | + str = str.replace(/μ/g, 'μ'); | ||
82 | + str = str.replace(/ν/g, 'ν'); | ||
83 | + str = str.replace(/ξ/g, 'ξ'); | ||
84 | + str = str.replace(/ο/g, 'ο'); | ||
85 | + str = str.replace(/π/g, 'π'); | ||
86 | + str = str.replace(/ρ/g, 'ρ'); | ||
87 | + str = str.replace(/ς/g, 'ς'); | ||
88 | + str = str.replace(/σ/g, 'σ'); | ||
89 | + str = str.replace(/τ/g, 'τ'); | ||
90 | + str = str.replace(/υ/g, 'υ'); | ||
91 | + str = str.replace(/φ/g, 'φ'); | ||
92 | + str = str.replace(/χ/g, 'χ'); | ||
93 | + str = str.replace(/ψ/g, 'ψ'); | ||
94 | + str = str.replace(/ω/g, 'ω'); | ||
95 | + str = str.replace(/ϑ/g, 'ϑ'); | ||
96 | + str = str.replace(/ϒ/g, 'ϒ'); | ||
97 | + str = str.replace(/ϖ/g, 'ϖ'); | ||
98 | + str = str.replace(/·/g, '·'); | ||
99 | + return str; | ||
100 | +} | ||
101 | + | ||
102 | +function strcharacterDiscode(str) { | ||
103 | + // 加入常用解析 | ||
104 | + str = str.replace(/ /g, ' '); | ||
105 | + str = str.replace(/ /g, ' '); | ||
106 | + str = str.replace(/ /g, ' '); | ||
107 | + str = str.replace(/"/g, "'"); | ||
108 | + str = str.replace(/&/g, '&'); | ||
109 | + str = str.replace(/</g, '<'); | ||
110 | + str = str.replace(/>/g, '>'); | ||
111 | + str = str.replace(/•/g, '•'); | ||
112 | + | ||
113 | + return str; | ||
114 | +} | ||
115 | + | ||
116 | +// HTML 支持的其他实体 | ||
117 | +function strOtherDiscode(str) { | ||
118 | + str = str.replace(/Œ/g, 'Œ'); | ||
119 | + str = str.replace(/œ/g, 'œ'); | ||
120 | + str = str.replace(/Š/g, 'Š'); | ||
121 | + str = str.replace(/š/g, 'š'); | ||
122 | + str = str.replace(/Ÿ/g, 'Ÿ'); | ||
123 | + str = str.replace(/ƒ/g, 'ƒ'); | ||
124 | + str = str.replace(/ˆ/g, 'ˆ'); | ||
125 | + str = str.replace(/˜/g, '˜'); | ||
126 | + str = str.replace(/ /g, ''); | ||
127 | + str = str.replace(/ /g, ''); | ||
128 | + str = str.replace(/ /g, ''); | ||
129 | + str = str.replace(/‌/g, ''); | ||
130 | + str = str.replace(/‍/g, ''); | ||
131 | + str = str.replace(/‎/g, ''); | ||
132 | + str = str.replace(/‏/g, ''); | ||
133 | + str = str.replace(/–/g, '–'); | ||
134 | + str = str.replace(/—/g, '—'); | ||
135 | + str = str.replace(/‘/g, '‘'); | ||
136 | + str = str.replace(/’/g, '’'); | ||
137 | + str = str.replace(/‚/g, '‚'); | ||
138 | + str = str.replace(/“/g, '“'); | ||
139 | + str = str.replace(/”/g, '”'); | ||
140 | + str = str.replace(/„/g, '„'); | ||
141 | + str = str.replace(/†/g, '†'); | ||
142 | + str = str.replace(/‡/g, '‡'); | ||
143 | + str = str.replace(/•/g, '•'); | ||
144 | + str = str.replace(/…/g, '…'); | ||
145 | + str = str.replace(/‰/g, '‰'); | ||
146 | + str = str.replace(/′/g, '′'); | ||
147 | + str = str.replace(/″/g, '″'); | ||
148 | + str = str.replace(/‹/g, '‹'); | ||
149 | + str = str.replace(/›/g, '›'); | ||
150 | + str = str.replace(/‾/g, '‾'); | ||
151 | + str = str.replace(/€/g, '€'); | ||
152 | + str = str.replace(/™/g, '™'); | ||
153 | + | ||
154 | + str = str.replace(/←/g, '←'); | ||
155 | + str = str.replace(/↑/g, '↑'); | ||
156 | + str = str.replace(/→/g, '→'); | ||
157 | + str = str.replace(/↓/g, '↓'); | ||
158 | + str = str.replace(/↔/g, '↔'); | ||
159 | + str = str.replace(/↵/g, '↵'); | ||
160 | + str = str.replace(/⌈/g, '⌈'); | ||
161 | + str = str.replace(/⌉/g, '⌉'); | ||
162 | + | ||
163 | + str = str.replace(/⌊/g, '⌊'); | ||
164 | + str = str.replace(/⌋/g, '⌋'); | ||
165 | + str = str.replace(/◊/g, '◊'); | ||
166 | + str = str.replace(/♠/g, '♠'); | ||
167 | + str = str.replace(/♣/g, '♣'); | ||
168 | + str = str.replace(/♥/g, '♥'); | ||
169 | + | ||
170 | + str = str.replace(/♦/g, '♦'); | ||
171 | + str = str.replace(/'/g, "'"); | ||
172 | + return str; | ||
173 | +} | ||
174 | + | ||
175 | +function strDiscode(str) { | ||
176 | + str = strNumDiscode(str); | ||
177 | + str = strGreeceDiscode(str); | ||
178 | + str = strcharacterDiscode(str); | ||
179 | + str = strOtherDiscode(str); | ||
180 | + return str; | ||
181 | +} | ||
182 | + | ||
183 | +function urlToHttpUrl(url, domain) { | ||
184 | + if (/^\/\//.test(url)) { | ||
185 | + return `https:${url}`; | ||
186 | + } else if (/^\//.test(url)) { | ||
187 | + return `https://${domain}${url}`; | ||
188 | + } | ||
189 | + return url; | ||
190 | +} | ||
191 | + | ||
192 | +export default { | ||
193 | + strDiscode, | ||
194 | + urlToHttpUrl, | ||
195 | +}; |
componentsk/u-parse/readme.md
0 → 100644
1 | +## uParse 适用于 uni-app/mpvue 的富文本解析组件 | ||
2 | + | ||
3 | +> 支持 Html、Markdown 解析,Fork自: [mpvue-wxParse](https://github.com/F-loat/mpvue-wxParse) | ||
4 | + | ||
5 | + | ||
6 | +## 属性 | ||
7 | + | ||
8 | +| 名称 | 类型 | 默认值 | 描述 | | ||
9 | +| -----------------|--------------- | ------------- | ---------------- | | ||
10 | +| loading | Boolean | false | 数据加载状态 | | ||
11 | +| className | String | — | 自定义 class 名称 | | ||
12 | +| content | String | — | 渲染内容 | | ||
13 | +| noData | String | 数据不能为空 | 空数据时的渲染展示 | | ||
14 | +| startHandler | Function | 见源码 | 自定义 parser 函数 | | ||
15 | +| endHandler | Function | null | 自定义 parser 函数 | | ||
16 | +| charsHandler | Function | null | 自定义 parser 函数 | | ||
17 | +| imageProp | Object | 见下文 | 图片相关参数 | | ||
18 | + | ||
19 | +### 自定义 parser 函数具体介绍 | ||
20 | + | ||
21 | +* 传入的参数为当前节点 `node` 对象及解析结果 `results` 对象,例如 `startHandler(node, results)` | ||
22 | +* 无需返回值,通过对传入的参数直接操作来完成需要的改动 | ||
23 | +* 自定义函数会在原解析函数处理之后执行 | ||
24 | + | ||
25 | +### imageProp 对象具体属性 | ||
26 | + | ||
27 | +| 名称 | 类型 | 默认值 | 描述 | | ||
28 | +| -----------------|--------------- | ------------- | ------------------ | | ||
29 | +| mode | String | 'aspectFit' | 图片裁剪、缩放的模式 | | ||
30 | +| padding | Number | 0 | 图片内边距 | | ||
31 | +| lazyLoad | Boolean | false | 图片懒加载 | | ||
32 | +| domain | String | '' | 图片服务域名 | | ||
33 | + | ||
34 | +## 事件 | ||
35 | + | ||
36 | +| 名称 | 参数 | 描述 | | ||
37 | +| -----------------|----------------- | ---------------- | | ||
38 | +| preview | 图片地址,原始事件 | 预览图片时触发 | | ||
39 | +| navigate | 链接地址,原始事件 | 点击链接时触发 | | ||
40 | + | ||
41 | +## 基本使用方法 | ||
42 | + | ||
43 | + | ||
44 | +``` vue | ||
45 | +<template> | ||
46 | + <div> | ||
47 | + <u-parse :content="article" @preview="preview" @navigate="navigate" /> | ||
48 | + </div> | ||
49 | +</template> | ||
50 | + | ||
51 | +<script> | ||
52 | +import uParse from '@/components/u-parse/u-parse.vue' | ||
53 | + | ||
54 | +export default { | ||
55 | + components: { | ||
56 | + uParse | ||
57 | + }, | ||
58 | + data () { | ||
59 | + return { | ||
60 | + article: '<div>我是HTML代码</div>' | ||
61 | + } | ||
62 | + }, | ||
63 | + methods: { | ||
64 | + preview(src, e) { | ||
65 | + // do something | ||
66 | + }, | ||
67 | + navigate(href, e) { | ||
68 | + // do something | ||
69 | + } | ||
70 | + } | ||
71 | +} | ||
72 | +</script> | ||
73 | + | ||
74 | +<style> | ||
75 | +@import url("@/components/u-parse/u-parse.css"); | ||
76 | +</style> | ||
77 | +``` | ||
78 | + | ||
79 | + | ||
80 | +## 渲染 Markdown | ||
81 | + | ||
82 | +> 先将 markdown 转换为 html 即可 | ||
83 | + | ||
84 | +``` | ||
85 | +npm install marked | ||
86 | +``` | ||
87 | + | ||
88 | +``` js | ||
89 | +import marked from 'marked' | ||
90 | +import uParse from '@/components/u-parse/u-parse.vue' | ||
91 | + | ||
92 | +export default { | ||
93 | + components: { | ||
94 | + uParse | ||
95 | + }, | ||
96 | + data () { | ||
97 | + return { | ||
98 | + article: marked(`#hello, markdown!`) | ||
99 | + } | ||
100 | + } | ||
101 | +} | ||
102 | +``` |
componentsk/u-parse/u-parse.css
0 → 100644
1 | +/** | ||
2 | + * author: Di (微信小程序开发工程师) | ||
3 | + * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com) | ||
4 | + * 垂直微信小程序开发交流社区 | ||
5 | + * | ||
6 | + * github地址: https://github.com/icindy/wxParse | ||
7 | + * | ||
8 | + * for: 微信小程序富文本解析 | ||
9 | + * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184 | ||
10 | + */ | ||
11 | + | ||
12 | +.wxParse { | ||
13 | + width: 100%; | ||
14 | + font-family: Helvetica, sans-serif; | ||
15 | + font-size: 30upx; | ||
16 | + color: #666; | ||
17 | + line-height: 1.8; | ||
18 | +} | ||
19 | + | ||
20 | +.wxParse view { | ||
21 | + word-break: hyphenate; | ||
22 | +} | ||
23 | + | ||
24 | +.wxParse .inline { | ||
25 | + display: inline; | ||
26 | + margin: 0; | ||
27 | + padding: 0; | ||
28 | +} | ||
29 | + | ||
30 | +.wxParse .div { | ||
31 | + margin: 0; | ||
32 | + padding: 0; | ||
33 | +} | ||
34 | + | ||
35 | +.wxParse .h1 .text { | ||
36 | + font-size: 2em; | ||
37 | + margin: 0.67em 0; | ||
38 | +} | ||
39 | +.wxParse .h2 .text { | ||
40 | + font-size: 1.5em; | ||
41 | + margin: 0.83em 0; | ||
42 | +} | ||
43 | +.wxParse .h3 .text { | ||
44 | + font-size: 1.17em; | ||
45 | + margin: 1em 0; | ||
46 | +} | ||
47 | +.wxParse .h4 .text { | ||
48 | + margin: 1.33em 0; | ||
49 | +} | ||
50 | +.wxParse .h5 .text { | ||
51 | + font-size: 0.83em; | ||
52 | + margin: 1.67em 0; | ||
53 | +} | ||
54 | +.wxParse .h6 .text { | ||
55 | + font-size: 0.67em; | ||
56 | + margin: 2.33em 0; | ||
57 | +} | ||
58 | + | ||
59 | +.wxParse .h1 .text, | ||
60 | +.wxParse .h2 .text, | ||
61 | +.wxParse .h3 .text, | ||
62 | +.wxParse .h4 .text, | ||
63 | +.wxParse .h5 .text, | ||
64 | +.wxParse .h6 .text, | ||
65 | +.wxParse .b, | ||
66 | +.wxParse .strong { | ||
67 | + font-weight: bolder; | ||
68 | +} | ||
69 | + | ||
70 | + | ||
71 | +.wxParse .p { | ||
72 | + margin: 1em 0; | ||
73 | +} | ||
74 | + | ||
75 | +.wxParse .i, | ||
76 | +.wxParse .cite, | ||
77 | +.wxParse .em, | ||
78 | +.wxParse .var, | ||
79 | +.wxParse .address { | ||
80 | + font-style: italic; | ||
81 | +} | ||
82 | + | ||
83 | +.wxParse .pre, | ||
84 | +.wxParse .tt, | ||
85 | +.wxParse .code, | ||
86 | +.wxParse .kbd, | ||
87 | +.wxParse .samp { | ||
88 | + font-family: monospace; | ||
89 | +} | ||
90 | +.wxParse .pre { | ||
91 | + overflow: auto; | ||
92 | + background: #f5f5f5; | ||
93 | + padding: 16upx; | ||
94 | + white-space: pre; | ||
95 | + margin: 1em 0upx; | ||
96 | +} | ||
97 | +.wxParse .code { | ||
98 | + display: inline; | ||
99 | + background: #f5f5f5; | ||
100 | +} | ||
101 | + | ||
102 | +.wxParse .big { | ||
103 | + font-size: 1.17em; | ||
104 | +} | ||
105 | + | ||
106 | +.wxParse .small, | ||
107 | +.wxParse .sub, | ||
108 | +.wxParse .sup { | ||
109 | + font-size: 0.83em; | ||
110 | +} | ||
111 | + | ||
112 | +.wxParse .sub { | ||
113 | + vertical-align: sub; | ||
114 | +} | ||
115 | +.wxParse .sup { | ||
116 | + vertical-align: super; | ||
117 | +} | ||
118 | + | ||
119 | +.wxParse .s, | ||
120 | +.wxParse .strike, | ||
121 | +.wxParse .del { | ||
122 | + text-decoration: line-through; | ||
123 | +} | ||
124 | + | ||
125 | +.wxParse .strong, | ||
126 | +.wxParse .s { | ||
127 | + display: inline; | ||
128 | +} | ||
129 | + | ||
130 | +.wxParse .a { | ||
131 | + color: deepskyblue; | ||
132 | +} | ||
133 | + | ||
134 | +.wxParse .video { | ||
135 | + text-align: center; | ||
136 | + margin: 22upx 0; | ||
137 | +} | ||
138 | + | ||
139 | +.wxParse .video-video { | ||
140 | + width: 100%; | ||
141 | +} | ||
142 | + | ||
143 | +.wxParse .img { | ||
144 | + display: inline-block; | ||
145 | + width: 0; | ||
146 | + height: 0; | ||
147 | + max-width: 100%; | ||
148 | + overflow: hidden; | ||
149 | +} | ||
150 | + | ||
151 | +.wxParse .blockquote { | ||
152 | + margin: 10upx 0; | ||
153 | + padding: 22upx 0 22upx 22upx; | ||
154 | + font-family: Courier, Calibri, "宋体"; | ||
155 | + background: #f5f5f5; | ||
156 | + border-left: 6upx solid #dbdbdb; | ||
157 | +} | ||
158 | +.wxParse .blockquote .p { | ||
159 | + margin: 0; | ||
160 | +} | ||
161 | + | ||
162 | +.wxParse .ul, .wxParse .ol { | ||
163 | + display: block; | ||
164 | + margin: 1em 0; | ||
165 | + padding-left: 33upx; | ||
166 | +} | ||
167 | +.wxParse .ol { | ||
168 | + list-style-type: disc; | ||
169 | +} | ||
170 | +.wxParse .ol { | ||
171 | + list-style-type: decimal; | ||
172 | +} | ||
173 | +.wxParse .ol>weixin-parse-template,.wxParse .ul>weixin-parse-template { | ||
174 | + display: list-item; | ||
175 | + align-items: baseline; | ||
176 | + text-align: match-parent; | ||
177 | +} | ||
178 | + | ||
179 | +.wxParse .ol>.li,.wxParse .ul>.li { | ||
180 | + display: list-item; | ||
181 | + align-items: baseline; | ||
182 | + text-align: match-parent; | ||
183 | +} | ||
184 | +.wxParse .ul .ul, .wxParse .ol .ul { | ||
185 | + list-style-type: circle; | ||
186 | +} | ||
187 | +.wxParse .ol .ol .ul, .wxParse .ol .ul .ul, .wxParse .ul .ol .ul, .wxParse .ul .ul .ul { | ||
188 | + list-style-type: square; | ||
189 | +} | ||
190 | + | ||
191 | +.wxParse .u { | ||
192 | + text-decoration: underline; | ||
193 | +} | ||
194 | +.wxParse .hide { | ||
195 | + display: none; | ||
196 | +} | ||
197 | +.wxParse .del { | ||
198 | + display: inline; | ||
199 | +} | ||
200 | +.wxParse .figure { | ||
201 | + overflow: hidden; | ||
202 | +} | ||
203 | + | ||
204 | +.wxParse .table { | ||
205 | + width: 100%; | ||
206 | +} | ||
207 | +.wxParse .thead, .wxParse .tfoot, .wxParse .tr { | ||
208 | + display: flex; | ||
209 | + flex-direction: row; | ||
210 | +} | ||
211 | +.wxParse .tr { | ||
212 | + width:100%; | ||
213 | + display: flex; | ||
214 | + border-right: 2upx solid #e0e0e0; | ||
215 | + border-bottom: 2upx solid #e0e0e0; | ||
216 | +} | ||
217 | +.wxParse .th, | ||
218 | +.wxParse .td { | ||
219 | + display: flex; | ||
220 | + width: 1276upx; | ||
221 | + overflow: auto; | ||
222 | + flex: 1; | ||
223 | + padding: 11upx; | ||
224 | + border-left: 2upx solid #e0e0e0; | ||
225 | +} | ||
226 | +.wxParse .td:last { | ||
227 | + border-top: 2upx solid #e0e0e0; | ||
228 | +} | ||
229 | +.wxParse .th { | ||
230 | + background: #f0f0f0; | ||
231 | + border-top: 2upx solid #e0e0e0; | ||
232 | +} |
componentsk/u-parse/u-parse.vue
0 → 100644
1 | +<!--** | ||
2 | + * forked from:https://github.com/F-loat/mpvue-wxParse | ||
3 | + * | ||
4 | + * github地址: https://github.com/dcloudio/uParse | ||
5 | + * | ||
6 | + * for: uni-app框架下 富文本解析 | ||
7 | + */--> | ||
8 | + | ||
9 | +<template> | ||
10 | +<!--基础元素--> | ||
11 | +<div class="wxParse" :class="className" v-if="!loading"> | ||
12 | + <block v-for="(node,index) of nodes" :key="index"> | ||
13 | + <wxParseTemplate :node="node" /> | ||
14 | + </block> | ||
15 | +</div> | ||
16 | +</template> | ||
17 | + | ||
18 | +<script> | ||
19 | +import HtmlToJson from './libs/html2json'; | ||
20 | +import wxParseTemplate from './components/wxParseTemplate0'; | ||
21 | + | ||
22 | +export default { | ||
23 | + name: 'wxParse', | ||
24 | + props: { | ||
25 | + loading: { | ||
26 | + type: Boolean, | ||
27 | + default: false, | ||
28 | + }, | ||
29 | + className: { | ||
30 | + type: String, | ||
31 | + default: '', | ||
32 | + }, | ||
33 | + content: { | ||
34 | + type: String, | ||
35 | + default: '', | ||
36 | + }, | ||
37 | + noData: { | ||
38 | + type: String, | ||
39 | + default: '<div style="color: red;">数据不能为空</div>', | ||
40 | + }, | ||
41 | + startHandler: { | ||
42 | + type: Function, | ||
43 | + default() { | ||
44 | + return (node) => { | ||
45 | + node.attr.class = null; | ||
46 | + node.attr.style = null; | ||
47 | + }; | ||
48 | + }, | ||
49 | + }, | ||
50 | + endHandler: { | ||
51 | + type: Function, | ||
52 | + default: null, | ||
53 | + }, | ||
54 | + charsHandler: { | ||
55 | + type: Function, | ||
56 | + default: null, | ||
57 | + }, | ||
58 | + imageProp: { | ||
59 | + type: Object, | ||
60 | + default() { | ||
61 | + return { | ||
62 | + mode: 'aspectFit', | ||
63 | + padding: 0, | ||
64 | + lazyLoad: false, | ||
65 | + domain: '', | ||
66 | + }; | ||
67 | + }, | ||
68 | + }, | ||
69 | + }, | ||
70 | + components: { | ||
71 | + wxParseTemplate, | ||
72 | + }, | ||
73 | + data() { | ||
74 | + return { | ||
75 | + imageUrls: [], | ||
76 | + }; | ||
77 | + }, | ||
78 | + computed: { | ||
79 | + nodes() { | ||
80 | + const { | ||
81 | + content, | ||
82 | + noData, | ||
83 | + imageProp, | ||
84 | + startHandler, | ||
85 | + endHandler, | ||
86 | + charsHandler, | ||
87 | + } = this; | ||
88 | + const parseData = content || noData; | ||
89 | + const customHandler = { | ||
90 | + start: startHandler, | ||
91 | + end: endHandler, | ||
92 | + chars: charsHandler, | ||
93 | + }; | ||
94 | + const results = HtmlToJson(parseData, customHandler, imageProp, this); | ||
95 | + this.imageUrls = results.imageUrls; | ||
96 | + console.log(results) | ||
97 | + return results.nodes; | ||
98 | + }, | ||
99 | + }, | ||
100 | + methods: { | ||
101 | + navigate(href, $event) { | ||
102 | + this.$emit('navigate', href, $event); | ||
103 | + }, | ||
104 | + preview(src, $event) { | ||
105 | + if (!this.imageUrls.length) return; | ||
106 | + wx.previewImage({ | ||
107 | + current: src, | ||
108 | + urls: this.imageUrls, | ||
109 | + }); | ||
110 | + this.$emit('preview', src, $event); | ||
111 | + }, | ||
112 | + removeImageUrl(src) { | ||
113 | + const { imageUrls } = this; | ||
114 | + imageUrls.splice(imageUrls.indexOf(src), 1); | ||
115 | + }, | ||
116 | + }, | ||
117 | +}; | ||
118 | +</script> |
pages/course/indexvue.vue
0 → 100644
1 | +<template> | ||
2 | + <view> | ||
3 | + <view>009987</view> | ||
4 | + <u-parse :content="article" @preview="preview" @navigate="navigate" ></u-parse> | ||
5 | + </view> | ||
6 | +</template> | ||
7 | +<script> | ||
8 | + import uParse from '@/components/u-parse/u-parse.vue' | ||
9 | + export default { | ||
10 | + components: { | ||
11 | + uParse | ||
12 | + }, | ||
13 | + data () { | ||
14 | + return { | ||
15 | + article: '<p>课程3<img src="http://fnsxcx.w.brotop.cn//uploads/20200301/3b9c208d0221efca65c619deb7f84296.jpg" style="width: 470px;"></p>' | ||
16 | + } | ||
17 | + }, | ||
18 | + methods: { | ||
19 | + preview(src, e) { | ||
20 | + // do something | ||
21 | + }, | ||
22 | + navigate(href, e) { | ||
23 | + // do something | ||
24 | + } | ||
25 | + }, | ||
26 | + onLoad() { | ||
27 | + console.log(this.article) | ||
28 | + } | ||
29 | + } | ||
30 | +</script> | ||
31 | +<style> | ||
32 | + /* @import url("../../components/u-parse/u-parse.css"); */ | ||
33 | + .img{ | ||
34 | + color:red; | ||
35 | + fon-size:20rpx; | ||
36 | + } | ||
37 | + @import url("@/components/u-parse/u-parse.css"); | ||
38 | +</style> |
static/close.png
0 → 100644
1.0 KB
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseAudio.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?af32","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?b9bf","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?4a3a","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?ee0e","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue"],"names":["name","props","node","type","Object","default"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2F;AAC3B;AACL;;;AAG3D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAwsB,CAAgB,ytBAAG,EAAC,C;;;;;;;;;;;;wFCA5tB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,cADO;AAEbC,OAAK,EAAE;AACLC,QAAI,EAAE;AACJC,UAAI,EAAEC,MADF;AAEJC,aAFI,sBAEM;AACR,eAAO,EAAP;AACD,OAJG,EADD,EAFM,E","file":"components/u-parse/components/wxParseAudio.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseAudio.vue?vue&type=template&id=423f5553&\"\nimport script from \"./wxParseAudio.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseAudio.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('423f5553', component.options)\n } else {\n api.reload('423f5553', component.options)\n }\n module.hot.accept(\"./wxParseAudio.vue?vue&type=template&id=423f5553&\", function () {\n api.rerender('423f5553', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=template&id=423f5553&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseAudio',\r\n props: {\r\n node: {\r\n type: Object,\r\n default() {\r\n return {};\r\n },\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?d269","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?5bb4","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?dcf8","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?e151","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue"],"names":["name","data","newStyleStr","preview","props","node","type","Object","default","methods","wxParseImgTap","e","src","currentTarget","dataset","parent","$parent","wxParseImgLoad","mp","detail","width","height","recal","wxAutoImageCal","imageheight","imageWidth","attr","padding","mode","styleStr","imageHeightStyle","originalWidth","originalHeight","windowWidth","$screen","results","removeImageUrl"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyF;AAC3B;AACL;;;AAGzD;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAssB,CAAgB,utBAAG,EAAC,C;;;;;;;;;;;;wFCA1tB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,YADO;AAEbC,MAFa,kBAEN;AACL,WAAO;AACLC,iBAAW,EAAE,EADR;AAELC,aAAO,EAAE,IAFJ,EAAP;;AAID,GAPY;AAQbC,OAAK,EAAE;AACLC,QAAI,EAAE;AACJC,UAAI,EAAEC,MADF;AAEJC,aAFI,sBAEM;AACR,eAAO,EAAP;AACD,OAJG,EADD,EARM;;;AAgBbC,SAAO,EAAE;AACPC,iBADO,yBACOC,CADP,EACU;AACf,UAAI,CAAC,KAAKR,OAAV,EAAmB,OADJ;AAEPS,SAFO,GAECD,CAAC,CAACE,aAAF,CAAgBC,OAFjB,CAEPF,GAFO;AAGf,UAAI,CAACA,GAAL,EAAU;AACV,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACZ,OAAR,IAAmB,OAAOY,MAAM,CAACZ,OAAd,KAA0B,UAAnD,EAA+D,CAAC;AAC/DY,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACZ,OAAP,CAAeS,GAAf,EAAoBD,CAApB;AACD,KAVM;AAWP;AACAM,kBAZO,0BAYQN,CAZR,EAYW;AACRC,SADQ,GACAD,CAAC,CAACE,aAAF,CAAgBC,OADhB,CACRF,GADQ;AAEhB,UAAI,CAACA,GAAL,EAAU,OAFM;AAGUD,OAAC,CAACO,EAAF,CAAKC,MAHf,CAGRC,KAHQ,gBAGRA,KAHQ,CAGDC,MAHC,gBAGDA,MAHC;AAIhB,UAAMC,KAAK,GAAG,KAAKC,cAAL,CAAoBH,KAApB,EAA2BC,MAA3B,CAAd,CAJgB;AAKRG,iBALQ,GAKoBF,KALpB,CAKRE,WALQ,CAKKC,UALL,GAKoBH,KALpB,CAKKG,UALL;AAMU,WAAKpB,IAAL,CAAUqB,IANpB,CAMRC,OANQ,mBAMRA,OANQ,CAMCC,IAND,mBAMCA,IAND;AAORC,cAPQ,GAOK,KAAKxB,IAPV,CAORwB,QAPQ;AAQhB,UAAMC,gBAAgB,GAAGF,IAAI,KAAK,UAAT,GAAsB,EAAtB,qBAAsCJ,WAAtC,QAAzB;AACA,WAAKtB,WAAL,aAAsB2B,QAAtB,eAAmCC,gBAAnC,sBAA+DL,UAA/D,4BAA2F,CAACE,OAA5F;AACD,KAtBM;AAuBP;AACAJ,kBAxBO,0BAwBQQ,aAxBR,EAwBuBC,cAxBvB,EAwBuC;AAC5C;AAD4C,UAEpCL,OAFoC,GAExB,KAAKtB,IAAL,CAAUqB,IAFc,CAEpCC,OAFoC;AAG5C,UAAMM,WAAW,GAAG,KAAK5B,IAAL,CAAU6B,OAAV,CAAkBd,KAAlB,GAA2B,IAAIO,OAAnD;AACA,UAAMQ,OAAO,GAAG,EAAhB;;AAEA,UAAIJ,aAAa,GAAG,EAAhB,IAAsBC,cAAc,GAAG,EAA3C,EAA+C;AACrCpB,WADqC,GAC7B,KAAKP,IAAL,CAAUqB,IADmB,CACrCd,GADqC;AAEjD,YAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,eAAM,CAACD,MAAM,CAACZ,OAAR,IAAmB,OAAOY,MAAM,CAACZ,OAAd,KAA0B,UAAnD,EAA+D;AAC9DY,gBAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,cAAM,CAACqB,cAAP,CAAsBxB,GAAtB;AACI,aAAKT,OAAL,GAAe,KAAf;AACD;;AAED;AACA,UAAI4B,aAAa,GAAGE,WAApB,EAAiC;AAC/B;AACAE,eAAO,CAACV,UAAR,GAAqBQ,WAArB;AACAE,eAAO,CAACX,WAAR,GAAsBS,WAAW,IAAID,cAAc,GAAGD,aAArB,CAAjC;AACD,OAJD,MAIO;AACL;AACAI,eAAO,CAACV,UAAR,GAAqBM,aAArB;AACAI,eAAO,CAACX,WAAR,GAAsBQ,cAAtB;AACD;;AAED,aAAOG,OAAP;AACD,KApDM,EAhBI,E","file":"components/u-parse/components/wxParseImg.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseImg.vue?vue&type=template&id=7172c800&\"\nimport script from \"./wxParseImg.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseImg.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('7172c800', component.options)\n } else {\n api.reload('7172c800', component.options)\n }\n module.hot.accept(\"./wxParseImg.vue?vue&type=template&id=7172c800&\", function () {\n api.rerender('7172c800', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=template&id=7172c800&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseImg',\r\n data() {\r\n return {\r\n newStyleStr: '',\r\n preview: true,\r\n };\r\n },\r\n props: {\r\n node: {\r\n type: Object,\r\n default() {\r\n return {};\r\n },\r\n },\r\n },\r\n methods: {\r\n wxParseImgTap(e) {\r\n if (!this.preview) return;\r\n const { src } = e.currentTarget.dataset;\r\n if (!src) return;\r\n let parent = this.$parent;\r\n while(!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法\r\n \tparent = parent.$parent;\r\n }\r\n parent.preview(src, e);\r\n },\r\n // 图片视觉宽高计算函数区\r\n wxParseImgLoad(e) {\r\n const { src } = e.currentTarget.dataset;\r\n if (!src) return;\r\n const { width, height } = e.mp.detail;\r\n const recal = this.wxAutoImageCal(width, height);\r\n const { imageheight, imageWidth } = recal;\r\n const { padding, mode } = this.node.attr;\r\n const { styleStr } = this.node;\r\n const imageHeightStyle = mode === 'widthFix' ? '' : `height: ${imageheight}px;`;\r\n this.newStyleStr = `${styleStr}; ${imageHeightStyle}; width: ${imageWidth}px; padding: 0 ${+padding}px;`;\r\n },\r\n // 计算视觉优先的图片宽高\r\n wxAutoImageCal(originalWidth, originalHeight) {\r\n // 获取图片的原始长宽\r\n const { padding } = this.node.attr;\r\n const windowWidth = this.node.$screen.width - (2 * padding);\r\n const results = {};\r\n\r\n if (originalWidth < 60 || originalHeight < 60) {\r\n const { src } = this.node.attr;\r\n\t\t\t\tlet parent = this.$parent;\r\n\t\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\r\n\t\t\t\t\tparent = parent.$parent;\r\n\t\t\t\t}\r\n\t\t\t\tparent.removeImageUrl(src);\r\n this.preview = false;\r\n }\r\n\r\n // 判断按照那种方式进行缩放\r\n if (originalWidth > windowWidth) {\r\n // 在图片width大于手机屏幕width时候\r\n results.imageWidth = windowWidth;\r\n results.imageheight = windowWidth * (originalHeight / originalWidth);\r\n } else {\r\n // 否则展示原来的数据\r\n results.imageWidth = originalWidth;\r\n results.imageheight = originalHeight;\r\n }\r\n\r\n return results;\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate0.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?6c34","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?dc2c","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?10ee","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?9ce8","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiFjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa,EAGc;AAC5B,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D,CAAC;AAC/DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate0.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate0.vue?vue&type=template&id=4cea71f3&\"\nimport script from \"./wxParseTemplate0.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate0.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4cea71f3', component.options)\n } else {\n api.reload('4cea71f3', component.options)\n }\n module.hot.accept(\"./wxParseTemplate0.vue?vue&type=template&id=4cea71f3&\", function () {\n api.rerender('4cea71f3', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate0.vue?vue&type=template&id=4cea71f3&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate0.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate0.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate1';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate0',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;// TODO currentTarget才有dataset\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate1.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?1f47","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?0d40","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?85f8","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?a89e","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate1.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate1.vue?vue&type=template&id=4cf88974&\"\nimport script from \"./wxParseTemplate1.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate1.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4cf88974', component.options)\n } else {\n api.reload('4cf88974', component.options)\n }\n module.hot.accept(\"./wxParseTemplate1.vue?vue&type=template&id=4cf88974&\", function () {\n api.rerender('4cf88974', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=template&id=4cf88974&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate2';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate1',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate10.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?001f","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?d1ec","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?bc1e","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?30df","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgG;AAC3B;AACL;;;AAGhE;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA6sB,CAAgB,8tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuEltB;AACdA,MAAI,EAAE,mBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate10.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate10.vue?vue&type=template&id=52141f6c&\"\nimport script from \"./wxParseTemplate10.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate10.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('52141f6c', component.options)\n } else {\n api.reload('52141f6c', component.options)\n }\n module.hot.accept(\"./wxParseTemplate10.vue?vue&type=template&id=52141f6c&\", function () {\n api.rerender('52141f6c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=template&id=52141f6c&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate11';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate10',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate11.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue?3822","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue?d0dc","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue?9ad9","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue?37fc","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue"],"names":["name","props","node","components","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgG;AAC3B;AACL;;;AAGhE;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA6sB,CAAgB,8tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8DltB;AACdA,MAAI,EAAE,mBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,cAAU,EAAVA,UADW;AAEXC,gBAAY,EAAZA,YAFW;AAGXC,gBAAY,EAAZA,YAHW,EALE;;AAUdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAVK,E","file":"components/u-parse/components/wxParseTemplate11.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate11.vue?vue&type=template&id=522236ed&\"\nimport script from \"./wxParseTemplate11.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate11.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('522236ed', component.options)\n } else {\n api.reload('522236ed', component.options)\n }\n module.hot.accept(\"./wxParseTemplate11.vue?vue&type=template&id=522236ed&\", function () {\n api.rerender('522236ed', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate11.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=template&id=522236ed&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate11',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate2.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue?3d40","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue?68c9","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue?2dac","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue?5f01","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate2.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate2.vue?vue&type=template&id=4d06a0f5&\"\nimport script from \"./wxParseTemplate2.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate2.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d06a0f5', component.options)\n } else {\n api.reload('4d06a0f5', component.options)\n }\n module.hot.accept(\"./wxParseTemplate2.vue?vue&type=template&id=4d06a0f5&\", function () {\n api.rerender('4d06a0f5', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate2.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=template&id=4d06a0f5&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate3';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate2',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate3.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue?61a7","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue?2569","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue?ad4b","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue?6464","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate3.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate3.vue?vue&type=template&id=4d14b876&\"\nimport script from \"./wxParseTemplate3.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate3.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d14b876', component.options)\n } else {\n api.reload('4d14b876', component.options)\n }\n module.hot.accept(\"./wxParseTemplate3.vue?vue&type=template&id=4d14b876&\", function () {\n api.rerender('4d14b876', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate3.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=template&id=4d14b876&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate4';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate3',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate4.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue?f969","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue?e4f3","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue?fc21","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue?5f29","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate4.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate4.vue?vue&type=template&id=4d22cff7&\"\nimport script from \"./wxParseTemplate4.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate4.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d22cff7', component.options)\n } else {\n api.reload('4d22cff7', component.options)\n }\n module.hot.accept(\"./wxParseTemplate4.vue?vue&type=template&id=4d22cff7&\", function () {\n api.rerender('4d22cff7', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate4.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=template&id=4d22cff7&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate5';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate4',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate5.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue?8fa6","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue?a5c4","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue?de45","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue?3cf1","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate5.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate5.vue?vue&type=template&id=4d30e778&\"\nimport script from \"./wxParseTemplate5.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate5.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d30e778', component.options)\n } else {\n api.reload('4d30e778', component.options)\n }\n module.hot.accept(\"./wxParseTemplate5.vue?vue&type=template&id=4d30e778&\", function () {\n api.rerender('4d30e778', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate5.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=template&id=4d30e778&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate6';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate5',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate6.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue?58f6","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue?8278","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue?979d","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue?0ebb","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate6.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate6.vue?vue&type=template&id=4d3efef9&\"\nimport script from \"./wxParseTemplate6.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate6.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d3efef9', component.options)\n } else {\n api.reload('4d3efef9', component.options)\n }\n module.hot.accept(\"./wxParseTemplate6.vue?vue&type=template&id=4d3efef9&\", function () {\n api.rerender('4d3efef9', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate6.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=template&id=4d3efef9&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate7';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate6',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate7.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue?0fe5","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue?d374","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue?7b22","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue?8296","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate7.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate7.vue?vue&type=template&id=4d4d167a&\"\nimport script from \"./wxParseTemplate7.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate7.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d4d167a', component.options)\n } else {\n api.reload('4d4d167a', component.options)\n }\n module.hot.accept(\"./wxParseTemplate7.vue?vue&type=template&id=4d4d167a&\", function () {\n api.rerender('4d4d167a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate7.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=template&id=4d4d167a&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate8';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate7',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate8.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue?686d","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue?761e","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue?5644","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue?083f","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate8.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate8.vue?vue&type=template&id=4d5b2dfb&\"\nimport script from \"./wxParseTemplate8.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate8.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d5b2dfb', component.options)\n } else {\n api.reload('4d5b2dfb', component.options)\n }\n module.hot.accept(\"./wxParseTemplate8.vue?vue&type=template&id=4d5b2dfb&\", function () {\n api.rerender('4d5b2dfb', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate8.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=template&id=4d5b2dfb&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate9';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate8',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate9.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue?b8e8","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue?beb4","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue?1d9d","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue?a3ff","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEjtB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"components/u-parse/components/wxParseTemplate9.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseTemplate9.vue?vue&type=template&id=4d69457c&\"\nimport script from \"./wxParseTemplate9.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate9.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4d69457c', component.options)\n } else {\n api.reload('4d69457c', component.options)\n }\n module.hot.accept(\"./wxParseTemplate9.vue?vue&type=template&id=4d69457c&\", function () {\n api.rerender('4d69457c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate9.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=template&id=4d69457c&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate10';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate9',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/components/u-parse/components/wxParseVideo.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue?1a55","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue?c135","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue?2998","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue?da91","webpack:///G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue"],"names":["name","props","node"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2F;AAC3B;AACL;;;AAG3D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAwsB,CAAgB,ytBAAG,EAAC,C;;;;;;;;;;;;wFCA5tB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,cADO;AAEbC,OAAK,EAAE;AACLC,QAAI,EAAE,EADD,EAFM,E","file":"components/u-parse/components/wxParseVideo.js","sourcesContent":["import { render, staticRenderFns } from \"./wxParseVideo.vue?vue&type=template&id=f30a1910&\"\nimport script from \"./wxParseVideo.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseVideo.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('f30a1910', component.options)\n } else {\n api.reload('f30a1910', component.options)\n }\n module.hot.accept(\"./wxParseVideo.vue?vue&type=template&id=f30a1910&\", function () {\n api.rerender('f30a1910', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/components/wxParseVideo.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=template&id=f30a1910&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseVideo',\r\n props: {\r\n node: {},\r\n },\r\n};\r\n"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/components/u-parse/u-parse.vue?b0e4","webpack:///G:/项目/program/tigerprogram/components/u-parse/u-parse.vue?7d8b","webpack:///G:/项目/program/tigerprogram/components/u-parse/u-parse.vue?6dd4","webpack:///G:/项目/program/tigerprogram/components/u-parse/u-parse.vue?bbd2","webpack:///G:/项目/program/tigerprogram/components/u-parse/u-parse.vue"],"names":["name","props","loading","type","Boolean","default","className","String","content","noData","startHandler","Function","node","attr","class","style","endHandler","charsHandler","imageProp","Object","mode","padding","lazyLoad","domain","components","wxParseTemplate","data","imageUrls","computed","nodes","parseData","customHandler","start","end","chars","results","console","log","methods","navigate","href","$event","$emit","preview","src","length","wx","previewImage","current","urls","removeImageUrl","splice","indexOf"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsF;AAC3B;AACL;;;AAGtD;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAmsB,CAAgB,otBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBvtB,0F,8FAlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;mSAKe,EACbA,IAAI,EAAE,SADO,EAEbC,KAAK,EAAE,EACLC,OAAO,EAAE,EACPC,IAAI,EAAEC,OADC,EAEPC,OAAO,EAAE,KAFF,EADJ,EAKLC,SAAS,EAAE,EACTH,IAAI,EAAEI,MADG,EAETF,OAAO,EAAE,EAFA,EALN,EASLG,OAAO,EAAE,EACPL,IAAI,EAAEI,MADC,EAEPF,OAAO,EAAE,EAFF,EATJ;AAaLI,UAAM,EAAE;AACNN,UAAI,EAAEI,MADA;AAENF,aAAO,EAAE,uCAFH,EAbH;;AAiBLK,gBAAY,EAAE;AACZP,UAAI,EAAEQ,QADM;AAEZN,aAFY,sBAEF;AACR,eAAO,UAACO,IAAD,EAAU;AACfA,cAAI,CAACC,IAAL,CAAUC,KAAV,GAAkB,IAAlB;AACAF,cAAI,CAACC,IAAL,CAAUE,KAAV,GAAkB,IAAlB;AACD,SAHD;AAID,OAPW,EAjBT;;AA0BLC,cAAU,EAAE;AACVb,UAAI,EAAEQ,QADI;AAEVN,aAAO,EAAE,IAFC,EA1BP;;AA8BLY,gBAAY,EAAE;AACZd,UAAI,EAAEQ,QADM;AAEZN,aAAO,EAAE,IAFG,EA9BT;;AAkCLa,aAAS,EAAE;AACTf,UAAI,EAAEgB,MADG;AAETd,aAFS,sBAEC;AACR,eAAO;AACLe,cAAI,EAAE,WADD;AAELC,iBAAO,EAAE,CAFJ;AAGLC,kBAAQ,EAAE,KAHL;AAILC,gBAAM,EAAE,EAJH,EAAP;;AAMD,OATQ,EAlCN,EAFM;;;AAgDbC,YAAU,EAAE;AACVC,mBAAe,EAAfA,eADU,EAhDC;;AAmDbC,MAnDa,kBAmDN;AACL,WAAO;AACLC,eAAS,EAAE,EADN,EAAP;;AAGD,GAvDY;AAwDbC,UAAQ,EAAE;AACRC,SADQ,mBACA;;AAEJrB,aAFI;;;;;;AAQF,UARE,CAEJA,OAFI,CAGJC,MAHI,GAQF,IARE,CAGJA,MAHI,CAIJS,SAJI,GAQF,IARE,CAIJA,SAJI,CAKJR,YALI,GAQF,IARE,CAKJA,YALI,CAMJM,UANI,GAQF,IARE,CAMJA,UANI,CAOJC,YAPI,GAQF,IARE,CAOJA,YAPI;AASN,UAAMa,SAAS,GAAGtB,OAAO,IAAIC,MAA7B;AACA,UAAMsB,aAAa,GAAG;AACpBC,aAAK,EAAEtB,YADa;AAEpBuB,WAAG,EAAEjB,UAFe;AAGpBkB,aAAK,EAAEjB,YAHa,EAAtB;;AAKA,UAAMkB,OAAO,GAAG,wBAAWL,SAAX,EAAsBC,aAAtB,EAAqCb,SAArC,EAAgD,IAAhD,CAAhB;AACA,WAAKS,SAAL,GAAiBQ,OAAO,CAACR,SAAzB;AACAS,aAAO,CAACC,GAAR,CAAYF,OAAZ;AACA,aAAOA,OAAO,CAACN,KAAf;AACD,KApBO,EAxDG;;AA8EbS,SAAO,EAAE;AACPC,YADO,oBACEC,IADF,EACQC,MADR,EACgB;AACrB,WAAKC,KAAL,CAAW,UAAX,EAAuBF,IAAvB,EAA6BC,MAA7B;AACD,KAHM;AAIPE,WAJO,mBAICC,GAJD,EAIMH,MAJN,EAIc;AACnB,UAAI,CAAC,KAAKd,SAAL,CAAekB,MAApB,EAA4B;AAC5BC,QAAE,CAACC,YAAH,CAAgB;AACdC,eAAO,EAAEJ,GADK;AAEdK,YAAI,EAAE,KAAKtB,SAFG,EAAhB;;AAIA,WAAKe,KAAL,CAAW,SAAX,EAAsBE,GAAtB,EAA2BH,MAA3B;AACD,KAXM;AAYPS,kBAZO,0BAYQN,GAZR,EAYa;AACVjB,eADU,GACI,IADJ,CACVA,SADU;AAElBA,eAAS,CAACwB,MAAV,CAAiBxB,SAAS,CAACyB,OAAV,CAAkBR,GAAlB,CAAjB,EAAyC,CAAzC;AACD,KAfM,EA9EI,E","file":"components/u-parse/u-parse.js","sourcesContent":["import { render, staticRenderFns } from \"./u-parse.vue?vue&type=template&id=4c06769e&\"\nimport script from \"./u-parse.vue?vue&type=script&lang=js&\"\nexport * from \"./u-parse.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('4c06769e', component.options)\n } else {\n api.reload('4c06769e', component.options)\n }\n module.hot.accept(\"./u-parse.vue?vue&type=template&id=4c06769e&\", function () {\n api.rerender('4c06769e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/components/u-parse/u-parse.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=template&id=4c06769e&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nimport HtmlToJson from './libs/html2json';\r\nimport wxParseTemplate from './components/wxParseTemplate0';\r\n\r\nexport default {\r\n name: 'wxParse',\r\n props: {\r\n loading: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n className: {\r\n type: String,\r\n default: '',\r\n },\r\n content: {\r\n type: String,\r\n default: '',\r\n },\r\n noData: {\r\n type: String,\r\n default: '<div style=\"color: red;\">数据不能为空</div>',\r\n },\r\n startHandler: {\r\n type: Function,\r\n default() {\r\n return (node) => {\r\n node.attr.class = null;\r\n node.attr.style = null;\r\n };\r\n },\r\n },\r\n endHandler: {\r\n type: Function,\r\n default: null,\r\n },\r\n charsHandler: {\r\n type: Function,\r\n default: null,\r\n },\r\n imageProp: {\r\n type: Object,\r\n default() {\r\n return {\r\n mode: 'aspectFit',\r\n padding: 0,\r\n lazyLoad: false,\r\n domain: '',\r\n };\r\n },\r\n },\r\n },\r\n components: {\r\n wxParseTemplate,\r\n },\r\n data() {\r\n return {\r\n imageUrls: [],\r\n };\r\n },\r\n computed: {\r\n nodes() {\r\n const {\r\n content,\r\n noData,\r\n imageProp,\r\n startHandler,\r\n endHandler,\r\n charsHandler,\r\n } = this;\r\n const parseData = content || noData;\r\n const customHandler = {\r\n start: startHandler,\r\n end: endHandler,\r\n chars: charsHandler,\r\n };\r\n const results = HtmlToJson(parseData, customHandler, imageProp, this);\r\n this.imageUrls = results.imageUrls;\r\n console.log(results)\r\n return results.nodes;\r\n },\r\n },\r\n methods: {\r\n navigate(href, $event) {\r\n this.$emit('navigate', href, $event);\r\n },\r\n preview(src, $event) {\r\n if (!this.imageUrls.length) return;\r\n wx.previewImage({\r\n current: src,\r\n urls: this.imageUrls,\r\n });\r\n this.$emit('preview', src, $event);\r\n },\r\n removeImageUrl(src) {\r\n const { imageUrls } = this;\r\n imageUrls.splice(imageUrls.indexOf(src), 1);\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseAudio.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue?a9c1","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue?303c","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue?5655","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue?a2b5","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue"],"names":["name","props","node","type","Object","default"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;;;AAG3D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsmB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;wFCA1nB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,cADO;AAEbC,OAAK,EAAE;AACLC,QAAI,EAAE;AACJC,UAAI,EAAEC,MADF;AAEJC,aAFI,sBAEM;AACR,eAAO,EAAP;AACD,OAJG,EADD,EAFM,E","file":"componentsk/u-parse/components/wxParseAudio.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseAudio.vue?vue&type=template&id=2c04cd1a&\"\nvar renderjs\nimport script from \"./wxParseAudio.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseAudio.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('2c04cd1a')) {\n api.createRecord('2c04cd1a', component.options)\n } else {\n api.reload('2c04cd1a', component.options)\n }\n module.hot.accept(\"./wxParseAudio.vue?vue&type=template&id=2c04cd1a&\", function () {\n api.rerender('2c04cd1a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseAudio.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=template&id=2c04cd1a&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseAudio.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseAudio',\r\n props: {\r\n node: {\r\n type: Object,\r\n default() {\r\n return {};\r\n },\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue?3855","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue?c4d7","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue?1934","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue?986d","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue"],"names":["name","data","newStyleStr","preview","props","node","type","Object","default","methods","wxParseImgTap","e","src","currentTarget","dataset","parent","$parent","wxParseImgLoad","mp","detail","width","height","recal","wxAutoImageCal","imageheight","imageWidth","attr","padding","mode","styleStr","imageHeightStyle","originalWidth","originalHeight","windowWidth","$screen","results","removeImageUrl"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;;;AAGzD;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAomB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;wFCAxnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,YADO;AAEbC,MAFa,kBAEN;AACL,WAAO;AACLC,iBAAW,EAAE,EADR;AAELC,aAAO,EAAE,IAFJ,EAAP;;AAID,GAPY;AAQbC,OAAK,EAAE;AACLC,QAAI,EAAE;AACJC,UAAI,EAAEC,MADF;AAEJC,aAFI,sBAEM;AACR,eAAO,EAAP;AACD,OAJG,EADD,EARM;;;AAgBbC,SAAO,EAAE;AACPC,iBADO,yBACOC,CADP,EACU;AACf,UAAI,CAAC,KAAKR,OAAV,EAAmB,OADJ;AAEPS,SAFO,GAECD,CAAC,CAACE,aAAF,CAAgBC,OAFjB,CAEPF,GAFO;AAGf,UAAI,CAACA,GAAL,EAAU;AACV,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACZ,OAAR,IAAmB,OAAOY,MAAM,CAACZ,OAAd,KAA0B,UAAnD,EAA+D,CAAC;AAC/DY,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACZ,OAAP,CAAeS,GAAf,EAAoBD,CAApB;AACD,KAVM;AAWP;AACAM,kBAZO,0BAYQN,CAZR,EAYW;AACRC,SADQ,GACAD,CAAC,CAACE,aAAF,CAAgBC,OADhB,CACRF,GADQ;AAEhB,UAAI,CAACA,GAAL,EAAU,OAFM;AAGUD,OAAC,CAACO,EAAF,CAAKC,MAHf,CAGRC,KAHQ,gBAGRA,KAHQ,CAGDC,MAHC,gBAGDA,MAHC;AAIhB,UAAMC,KAAK,GAAG,KAAKC,cAAL,CAAoBH,KAApB,EAA2BC,MAA3B,CAAd,CAJgB;AAKRG,iBALQ,GAKoBF,KALpB,CAKRE,WALQ,CAKKC,UALL,GAKoBH,KALpB,CAKKG,UALL;AAMU,WAAKpB,IAAL,CAAUqB,IANpB,CAMRC,OANQ,mBAMRA,OANQ,CAMCC,IAND,mBAMCA,IAND;AAORC,cAPQ,GAOK,KAAKxB,IAPV,CAORwB,QAPQ;AAQhB,UAAMC,gBAAgB,GAAGF,IAAI,KAAK,UAAT,GAAsB,EAAtB,qBAAsCJ,WAAtC,QAAzB;AACA,WAAKtB,WAAL,aAAsB2B,QAAtB,eAAmCC,gBAAnC,sBAA+DL,UAA/D,4BAA2F,CAACE,OAA5F;AACD,KAtBM;AAuBP;AACAJ,kBAxBO,0BAwBQQ,aAxBR,EAwBuBC,cAxBvB,EAwBuC;AAC5C;AAD4C,UAEpCL,OAFoC,GAExB,KAAKtB,IAAL,CAAUqB,IAFc,CAEpCC,OAFoC;AAG5C,UAAMM,WAAW,GAAG,KAAK5B,IAAL,CAAU6B,OAAV,CAAkBd,KAAlB,GAA2B,IAAIO,OAAnD;AACA,UAAMQ,OAAO,GAAG,EAAhB;;AAEA,UAAIJ,aAAa,GAAG,EAAhB,IAAsBC,cAAc,GAAG,EAA3C,EAA+C;AACrCpB,WADqC,GAC7B,KAAKP,IAAL,CAAUqB,IADmB,CACrCd,GADqC;AAEjD,YAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,eAAM,CAACD,MAAM,CAACZ,OAAR,IAAmB,OAAOY,MAAM,CAACZ,OAAd,KAA0B,UAAnD,EAA+D;AAC9DY,gBAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,cAAM,CAACqB,cAAP,CAAsBxB,GAAtB;AACI,aAAKT,OAAL,GAAe,KAAf;AACD;;AAED;AACA,UAAI4B,aAAa,GAAGE,WAApB,EAAiC;AAC/B;AACAE,eAAO,CAACV,UAAR,GAAqBQ,WAArB;AACAE,eAAO,CAACX,WAAR,GAAsBS,WAAW,IAAID,cAAc,GAAGD,aAArB,CAAjC;AACD,OAJD,MAIO;AACL;AACAI,eAAO,CAACV,UAAR,GAAqBM,aAArB;AACAI,eAAO,CAACX,WAAR,GAAsBQ,cAAtB;AACD;;AAED,aAAOG,OAAP;AACD,KApDM,EAhBI,E","file":"componentsk/u-parse/components/wxParseImg.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseImg.vue?vue&type=template&id=46339420&\"\nvar renderjs\nimport script from \"./wxParseImg.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseImg.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('46339420')) {\n api.createRecord('46339420', component.options)\n } else {\n api.reload('46339420', component.options)\n }\n module.hot.accept(\"./wxParseImg.vue?vue&type=template&id=46339420&\", function () {\n api.rerender('46339420', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseImg.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=template&id=46339420&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseImg.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseImg',\r\n data() {\r\n return {\r\n newStyleStr: '',\r\n preview: true,\r\n };\r\n },\r\n props: {\r\n node: {\r\n type: Object,\r\n default() {\r\n return {};\r\n },\r\n },\r\n },\r\n methods: {\r\n wxParseImgTap(e) {\r\n if (!this.preview) return;\r\n const { src } = e.currentTarget.dataset;\r\n if (!src) return;\r\n let parent = this.$parent;\r\n while(!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法\r\n \tparent = parent.$parent;\r\n }\r\n parent.preview(src, e);\r\n },\r\n // 图片视觉宽高计算函数区\r\n wxParseImgLoad(e) {\r\n const { src } = e.currentTarget.dataset;\r\n if (!src) return;\r\n const { width, height } = e.mp.detail;\r\n const recal = this.wxAutoImageCal(width, height);\r\n const { imageheight, imageWidth } = recal;\r\n const { padding, mode } = this.node.attr;\r\n const { styleStr } = this.node;\r\n const imageHeightStyle = mode === 'widthFix' ? '' : `height: ${imageheight}px;`;\r\n this.newStyleStr = `${styleStr}; ${imageHeightStyle}; width: ${imageWidth}px; padding: 0 ${+padding}px;`;\r\n },\r\n // 计算视觉优先的图片宽高\r\n wxAutoImageCal(originalWidth, originalHeight) {\r\n // 获取图片的原始长宽\r\n const { padding } = this.node.attr;\r\n const windowWidth = this.node.$screen.width - (2 * padding);\r\n const results = {};\r\n\r\n if (originalWidth < 60 || originalHeight < 60) {\r\n const { src } = this.node.attr;\r\n\t\t\t\tlet parent = this.$parent;\r\n\t\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\r\n\t\t\t\t\tparent = parent.$parent;\r\n\t\t\t\t}\r\n\t\t\t\tparent.removeImageUrl(src);\r\n this.preview = false;\r\n }\r\n\r\n // 判断按照那种方式进行缩放\r\n if (originalWidth > windowWidth) {\r\n // 在图片width大于手机屏幕width时候\r\n results.imageWidth = windowWidth;\r\n results.imageheight = windowWidth * (originalHeight / originalWidth);\r\n } else {\r\n // 否则展示原来的数据\r\n results.imageWidth = originalWidth;\r\n results.imageheight = originalHeight;\r\n }\r\n\r\n return results;\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate0.js.map
0 → 100644
1 | +{"version":3,"sources":[],"names":[],"mappings":"","file":"componentsk/u-parse/components/wxParseTemplate0.js","sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate1.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue?68c2","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue?c0e4","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue?ddb7","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue?b41f","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate1.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate1.vue?vue&type=template&id=b49084d8&\"\nvar renderjs\nimport script from \"./wxParseTemplate1.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate1.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b49084d8')) {\n api.createRecord('b49084d8', component.options)\n } else {\n api.reload('b49084d8', component.options)\n }\n module.hot.accept(\"./wxParseTemplate1.vue?vue&type=template&id=b49084d8&\", function () {\n api.rerender('b49084d8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate1.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=template&id=b49084d8&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate1.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate2';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate1',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate10.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue?45ef","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue?74bf","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue?82c6","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue?9940","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACqE;AACL;;;AAGhE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA2mB,CAAgB,qoBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuEhnB;AACdA,MAAI,EAAE,mBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate10.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate10.vue?vue&type=template&id=113b6f4c&\"\nvar renderjs\nimport script from \"./wxParseTemplate10.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate10.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('113b6f4c')) {\n api.createRecord('113b6f4c', component.options)\n } else {\n api.reload('113b6f4c', component.options)\n }\n module.hot.accept(\"./wxParseTemplate10.vue?vue&type=template&id=113b6f4c&\", function () {\n api.rerender('113b6f4c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate10.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=template&id=113b6f4c&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate10.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate11';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate10',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate11.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue?bc8b","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue?49d1","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue?4378","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue?6d0c","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue"],"names":["name","props","node","components","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACqE;AACL;;;AAGhE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA2mB,CAAgB,qoBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8DhnB;AACdA,MAAI,EAAE,mBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,cAAU,EAAVA,UADW;AAEXC,gBAAY,EAAZA,YAFW;AAGXC,gBAAY,EAAZA,YAHW,EALE;;AAUdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAVK,E","file":"componentsk/u-parse/components/wxParseTemplate11.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate11.vue?vue&type=template&id=114986cd&\"\nvar renderjs\nimport script from \"./wxParseTemplate11.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate11.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('114986cd')) {\n api.createRecord('114986cd', component.options)\n } else {\n api.reload('114986cd', component.options)\n }\n module.hot.accept(\"./wxParseTemplate11.vue?vue&type=template&id=114986cd&\", function () {\n api.rerender('114986cd', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate11.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=template&id=114986cd&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate11.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate11',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate2.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue?8307","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue?bb9f","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue?b2b4","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue?0fa8","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate2.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate2.vue?vue&type=template&id=b47455d6&\"\nvar renderjs\nimport script from \"./wxParseTemplate2.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate2.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b47455d6')) {\n api.createRecord('b47455d6', component.options)\n } else {\n api.reload('b47455d6', component.options)\n }\n module.hot.accept(\"./wxParseTemplate2.vue?vue&type=template&id=b47455d6&\", function () {\n api.rerender('b47455d6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate2.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=template&id=b47455d6&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate2.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate3';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate2',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate3.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue?4459","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue?dcd8","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue?1fe4","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue?cf03","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate3.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate3.vue?vue&type=template&id=b45826d4&\"\nvar renderjs\nimport script from \"./wxParseTemplate3.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate3.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b45826d4')) {\n api.createRecord('b45826d4', component.options)\n } else {\n api.reload('b45826d4', component.options)\n }\n module.hot.accept(\"./wxParseTemplate3.vue?vue&type=template&id=b45826d4&\", function () {\n api.rerender('b45826d4', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate3.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=template&id=b45826d4&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate3.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate4';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate3',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate4.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue?fde3","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue?3cdb","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue?10e9","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue?93fe","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate4.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate4.vue?vue&type=template&id=b43bf7d2&\"\nvar renderjs\nimport script from \"./wxParseTemplate4.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate4.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b43bf7d2')) {\n api.createRecord('b43bf7d2', component.options)\n } else {\n api.reload('b43bf7d2', component.options)\n }\n module.hot.accept(\"./wxParseTemplate4.vue?vue&type=template&id=b43bf7d2&\", function () {\n api.rerender('b43bf7d2', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate4.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=template&id=b43bf7d2&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate4.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate5';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate4',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate5.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue?4212","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue?9922","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue?a28b","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue?ecbd","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate5.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate5.vue?vue&type=template&id=b41fc8d0&\"\nvar renderjs\nimport script from \"./wxParseTemplate5.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate5.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b41fc8d0')) {\n api.createRecord('b41fc8d0', component.options)\n } else {\n api.reload('b41fc8d0', component.options)\n }\n module.hot.accept(\"./wxParseTemplate5.vue?vue&type=template&id=b41fc8d0&\", function () {\n api.rerender('b41fc8d0', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate5.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=template&id=b41fc8d0&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate5.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate6';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate5',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate6.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue?8a9e","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue?d911","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue?8e17","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue?a863","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate6.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate6.vue?vue&type=template&id=b40399ce&\"\nvar renderjs\nimport script from \"./wxParseTemplate6.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate6.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b40399ce')) {\n api.createRecord('b40399ce', component.options)\n } else {\n api.reload('b40399ce', component.options)\n }\n module.hot.accept(\"./wxParseTemplate6.vue?vue&type=template&id=b40399ce&\", function () {\n api.rerender('b40399ce', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate6.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=template&id=b40399ce&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate6.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate7';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate6',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate7.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue?dafc","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue?93f3","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue?c01d","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue?2fbd","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate7.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate7.vue?vue&type=template&id=b3e76acc&\"\nvar renderjs\nimport script from \"./wxParseTemplate7.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate7.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b3e76acc')) {\n api.createRecord('b3e76acc', component.options)\n } else {\n api.reload('b3e76acc', component.options)\n }\n module.hot.accept(\"./wxParseTemplate7.vue?vue&type=template&id=b3e76acc&\", function () {\n api.rerender('b3e76acc', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate7.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=template&id=b3e76acc&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate7.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate8';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate7',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate8.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue?4d92","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue?3890","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue?1a71","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue?b89f","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate8.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate8.vue?vue&type=template&id=b3cb3bca&\"\nvar renderjs\nimport script from \"./wxParseTemplate8.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate8.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b3cb3bca')) {\n api.createRecord('b3cb3bca', component.options)\n } else {\n api.reload('b3cb3bca', component.options)\n }\n module.hot.accept(\"./wxParseTemplate8.vue?vue&type=template&id=b3cb3bca&\", function () {\n api.rerender('b3cb3bca', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate8.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=template&id=b3cb3bca&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate8.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate9';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate8',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseTemplate9.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue?80e6","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue?17a4","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue?9018","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue?8ae3","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue"],"names":["name","props","node","components","wxParseTemplate","wxParseImg","wxParseVideo","wxParseAudio","methods","wxParseATap","e","href","currentTarget","dataset","parent","$parent","preview","navigate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE/mB;AACdA,MAAI,EAAE,kBADQ;AAEdC,OAAK,EAAE;AACNC,QAAI,EAAE,EADA,EAFO;;AAKdC,YAAU,EAAE;AACXC,mBAAe,EAAfA,eADW;AAEXC,cAAU,EAAVA,UAFW;AAGXC,gBAAY,EAAZA,YAHW;AAIXC,gBAAY,EAAZA,YAJW,EALE;;AAWdC,SAAO,EAAE;AACRC,eADQ,uBACIC,CADJ,EACO;;AAEbC,UAFa;AAGVD,OAAC,CAACE,aAAF,CAAgBC,OAHN,CAEbF,IAFa;AAId,UAAI,CAACA,IAAL,EAAW;AACX,UAAIG,MAAM,GAAG,KAAKC,OAAlB;AACA,aAAM,CAACD,MAAM,CAACE,OAAR,IAAmB,OAAOF,MAAM,CAACE,OAAd,KAA0B,UAAnD,EAA+D;AAC9DF,cAAM,GAAGA,MAAM,CAACC,OAAhB;AACA;AACDD,YAAM,CAACG,QAAP,CAAgBN,IAAhB,EAAsBD,CAAtB;AACA,KAXO,EAXK,E","file":"componentsk/u-parse/components/wxParseTemplate9.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseTemplate9.vue?vue&type=template&id=b3af0cc8&\"\nvar renderjs\nimport script from \"./wxParseTemplate9.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseTemplate9.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('b3af0cc8')) {\n api.createRecord('b3af0cc8', component.options)\n } else {\n api.reload('b3af0cc8', component.options)\n }\n module.hot.accept(\"./wxParseTemplate9.vue?vue&type=template&id=b3af0cc8&\", function () {\n api.rerender('b3af0cc8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseTemplate9.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=template&id=b3af0cc8&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseTemplate9.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport wxParseTemplate from './wxParseTemplate10';\nimport wxParseImg from './wxParseImg';\nimport wxParseVideo from './wxParseVideo';\nimport wxParseAudio from './wxParseAudio';\n\nexport default {\n\tname: 'wxParseTemplate9',\n\tprops: {\n\t\tnode: {},\n\t},\n\tcomponents: {\n\t\twxParseTemplate,\n\t\twxParseImg,\n\t\twxParseVideo,\n\t\twxParseAudio,\n\t},\n\tmethods: {\n\t\twxParseATap(e) {\n\t\t\tconst {\n\t\t\t\thref\n\t\t\t} = e.currentTarget.dataset;\n\t\t\tif (!href) return;\n\t\t\tlet parent = this.$parent;\n\t\t\twhile(!parent.preview || typeof parent.preview !== 'function') {\n\t\t\t\tparent = parent.$parent;\n\t\t\t}\n\t\t\tparent.navigate(href, e);\n\t\t},\n\t},\n};\n"],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/componentsk/u-parse/components/wxParseVideo.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue?c955","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue?7bc0","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue?e292","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue?e988","webpack:///E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue"],"names":["name","props","node"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;;;AAG3D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsmB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;wFCA1nB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACbA,MAAI,EAAE,cADO;AAEbC,OAAK,EAAE;AACLC,QAAI,EAAE,EADD,EAFM,E","file":"componentsk/u-parse/components/wxParseVideo.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wxParseVideo.vue?vue&type=template&id=2e393798&\"\nvar renderjs\nimport script from \"./wxParseVideo.vue?vue&type=script&lang=js&\"\nexport * from \"./wxParseVideo.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('2e393798')) {\n api.createRecord('2e393798', component.options)\n } else {\n api.reload('2e393798', component.options)\n }\n module.hot.accept(\"./wxParseVideo.vue?vue&type=template&id=2e393798&\", function () {\n api.rerender('2e393798', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/components/wxParseVideo.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=template&id=2e393798&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wxParseVideo.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nexport default {\r\n name: 'wxParseVideo',\r\n props: {\r\n node: {},\r\n },\r\n};\r\n"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue?c109","webpack:///E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue?858f","webpack:///E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue?67fd","webpack:///E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue?b346","webpack:///E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue"],"names":["name","props","loading","type","Boolean","default","className","String","content","noData","startHandler","Function","node","attr","class","style","endHandler","charsHandler","imageProp","Object","mode","padding","lazyLoad","domain","components","wxParseTemplate","data","imageUrls","computed","nodes","parseData","customHandler","start","end","chars","results","console","log","methods","navigate","href","$event","$emit","preview","src","length","wx","previewImage","current","urls","removeImageUrl","splice","indexOf"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAimB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBrnB,0F,8FAlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;qSAKe,EACbA,IAAI,EAAE,SADO,EAEbC,KAAK,EAAE,EACLC,OAAO,EAAE,EACPC,IAAI,EAAEC,OADC,EAEPC,OAAO,EAAE,KAFF,EADJ,EAKLC,SAAS,EAAE,EACTH,IAAI,EAAEI,MADG,EAETF,OAAO,EAAE,EAFA,EALN,EASLG,OAAO,EAAE,EACPL,IAAI,EAAEI,MADC,EAEPF,OAAO,EAAE,EAFF,EATJ;AAaLI,UAAM,EAAE;AACNN,UAAI,EAAEI,MADA;AAENF,aAAO,EAAE,uCAFH,EAbH;;AAiBLK,gBAAY,EAAE;AACZP,UAAI,EAAEQ,QADM;AAEZN,aAFY,sBAEF;AACR,eAAO,UAACO,IAAD,EAAU;AACfA,cAAI,CAACC,IAAL,CAAUC,KAAV,GAAkB,IAAlB;AACAF,cAAI,CAACC,IAAL,CAAUE,KAAV,GAAkB,IAAlB;AACD,SAHD;AAID,OAPW,EAjBT;;AA0BLC,cAAU,EAAE;AACVb,UAAI,EAAEQ,QADI;AAEVN,aAAO,EAAE,IAFC,EA1BP;;AA8BLY,gBAAY,EAAE;AACZd,UAAI,EAAEQ,QADM;AAEZN,aAAO,EAAE,IAFG,EA9BT;;AAkCLa,aAAS,EAAE;AACTf,UAAI,EAAEgB,MADG;AAETd,aAFS,sBAEC;AACR,eAAO;AACLe,cAAI,EAAE,WADD;AAELC,iBAAO,EAAE,CAFJ;AAGLC,kBAAQ,EAAE,KAHL;AAILC,gBAAM,EAAE,EAJH,EAAP;;AAMD,OATQ,EAlCN,EAFM;;;AAgDbC,YAAU,EAAE;AACVC,mBAAe,EAAfA,eADU,EAhDC;;AAmDbC,MAnDa,kBAmDN;AACL,WAAO;AACLC,eAAS,EAAE,EADN,EAAP;;AAGD,GAvDY;AAwDbC,UAAQ,EAAE;AACRC,SADQ,mBACA;;AAEJrB,aAFI;;;;;;AAQF,UARE,CAEJA,OAFI,CAGJC,MAHI,GAQF,IARE,CAGJA,MAHI,CAIJS,SAJI,GAQF,IARE,CAIJA,SAJI,CAKJR,YALI,GAQF,IARE,CAKJA,YALI,CAMJM,UANI,GAQF,IARE,CAMJA,UANI,CAOJC,YAPI,GAQF,IARE,CAOJA,YAPI;AASN,UAAMa,SAAS,GAAGtB,OAAO,IAAIC,MAA7B;AACA,UAAMsB,aAAa,GAAG;AACpBC,aAAK,EAAEtB,YADa;AAEpBuB,WAAG,EAAEjB,UAFe;AAGpBkB,aAAK,EAAEjB,YAHa,EAAtB;;AAKA,UAAMkB,OAAO,GAAG,wBAAWL,SAAX,EAAsBC,aAAtB,EAAqCb,SAArC,EAAgD,IAAhD,CAAhB;AACA,WAAKS,SAAL,GAAiBQ,OAAO,CAACR,SAAzB;AACAS,aAAO,CAACC,GAAR,CAAYF,OAAZ;AACA,aAAOA,OAAO,CAACN,KAAf;AACD,KApBO,EAxDG;;AA8EbS,SAAO,EAAE;AACPC,YADO,oBACEC,IADF,EACQC,MADR,EACgB;AACrB,WAAKC,KAAL,CAAW,UAAX,EAAuBF,IAAvB,EAA6BC,MAA7B;AACD,KAHM;AAIPE,WAJO,mBAICC,GAJD,EAIMH,MAJN,EAIc;AACnB,UAAI,CAAC,KAAKd,SAAL,CAAekB,MAApB,EAA4B;AAC5BC,QAAE,CAACC,YAAH,CAAgB;AACdC,eAAO,EAAEJ,GADK;AAEdK,YAAI,EAAE,KAAKtB,SAFG,EAAhB;;AAIA,WAAKe,KAAL,CAAW,SAAX,EAAsBE,GAAtB,EAA2BH,MAA3B;AACD,KAXM;AAYPS,kBAZO,0BAYQN,GAZR,EAYa;AACVjB,eADU,GACI,IADJ,CACVA,SADU;AAElBA,eAAS,CAACwB,MAAV,CAAiBxB,SAAS,CAACyB,OAAV,CAAkBR,GAAlB,CAAjB,EAAyC,CAAzC;AACD,KAfM,EA9EI,E","file":"componentsk/u-parse/u-parse.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-parse.vue?vue&type=template&id=2a0748d1&\"\nvar renderjs\nimport script from \"./u-parse.vue?vue&type=script&lang=js&\"\nexport * from \"./u-parse.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('2a0748d1')) {\n api.createRecord('2a0748d1', component.options)\n } else {\n api.reload('2a0748d1', component.options)\n }\n module.hot.accept(\"./u-parse.vue?vue&type=template&id=2a0748d1&\", function () {\n api.rerender('2a0748d1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/componentsk/u-parse/u-parse.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=template&id=2a0748d1&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-parse.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nimport HtmlToJson from './libs/html2json';\r\nimport wxParseTemplate from './components/wxParseTemplate0';\r\n\r\nexport default {\r\n name: 'wxParse',\r\n props: {\r\n loading: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n className: {\r\n type: String,\r\n default: '',\r\n },\r\n content: {\r\n type: String,\r\n default: '',\r\n },\r\n noData: {\r\n type: String,\r\n default: '<div style=\"color: red;\">数据不能为空</div>',\r\n },\r\n startHandler: {\r\n type: Function,\r\n default() {\r\n return (node) => {\r\n node.attr.class = null;\r\n node.attr.style = null;\r\n };\r\n },\r\n },\r\n endHandler: {\r\n type: Function,\r\n default: null,\r\n },\r\n charsHandler: {\r\n type: Function,\r\n default: null,\r\n },\r\n imageProp: {\r\n type: Object,\r\n default() {\r\n return {\r\n mode: 'aspectFit',\r\n padding: 0,\r\n lazyLoad: false,\r\n domain: '',\r\n };\r\n },\r\n },\r\n },\r\n components: {\r\n wxParseTemplate,\r\n },\r\n data() {\r\n return {\r\n imageUrls: [],\r\n };\r\n },\r\n computed: {\r\n nodes() {\r\n const {\r\n content,\r\n noData,\r\n imageProp,\r\n startHandler,\r\n endHandler,\r\n charsHandler,\r\n } = this;\r\n const parseData = content || noData;\r\n const customHandler = {\r\n start: startHandler,\r\n end: endHandler,\r\n chars: charsHandler,\r\n };\r\n const results = HtmlToJson(parseData, customHandler, imageProp, this);\r\n this.imageUrls = results.imageUrls;\r\n console.log(results)\r\n return results.nodes;\r\n },\r\n },\r\n methods: {\r\n navigate(href, $event) {\r\n this.$emit('navigate', href, $event);\r\n },\r\n preview(src, $event) {\r\n if (!this.imageUrls.length) return;\r\n wx.previewImage({\r\n current: src,\r\n urls: this.imageUrls,\r\n });\r\n this.$emit('preview', src, $event);\r\n },\r\n removeImageUrl(src) {\r\n const { imageUrls } = this;\r\n imageUrls.splice(imageUrls.indexOf(src), 1);\r\n },\r\n },\r\n};\r\n"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/main.js","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?b1a6","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?8fcd","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?5f44","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?0a9a","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?e74d","webpack:///G:/项目/program/tigerprogram/pages/course/indexvue.vue?e97d"],"names":["createPage","Page","components","uParse","data","article","methods","preview","src","e","navigate","href","onLoad","console","log"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,mG;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuF;AAC3B;AACL;AACa;;;AAGpE;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAosB,CAAgB,qtBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQzsB;AACbC,YAAU,EAAE;AACVC,UAAM,EAANA,MADU,EADC;;AAIbC,MAJa,kBAIL;AACN,WAAO;AACLC,aAAO,EAAE,8HADJ,EAAP;;AAGD,GARY;AASbC,SAAO,EAAE;AACPC,WADO,mBACCC,GADD,EACMC,CADN,EACS;AACd;AACD,KAHM;AAIPC,YAJO,oBAIEC,IAJF,EAIQF,CAJR,EAIW;AAChB;AACD,KANM,EATI;;AAiBbG,QAjBa,oBAiBJ;AACRC,WAAO,CAACC,GAAR,CAAY,KAAKT,OAAjB;AACA,GAnBY,E;;;;;;;;;;;;ACRf;AAAA;AAAA;AAAA;AAAy6B,CAAgB,s6BAAG,EAAC,C;;;;;;;;;;;ACA77B,uC","file":"pages/course/indexvue.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/indexvue.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./indexvue.vue?vue&type=template&id=a8597b2c&\"\nimport script from \"./indexvue.vue?vue&type=script&lang=js&\"\nexport * from \"./indexvue.vue?vue&type=script&lang=js&\"\nimport style0 from \"./indexvue.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('a8597b2c', component.options)\n } else {\n api.reload('a8597b2c', component.options)\n }\n module.hot.accept(\"./indexvue.vue?vue&type=template&id=a8597b2c&\", function () {\n api.rerender('a8597b2c', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/pages/course/indexvue.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./indexvue.vue?vue&type=template&id=a8597b2c&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./indexvue.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./indexvue.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n\nimport uParse from '@/components/u-parse/u-parse.vue'\nexport default {\n components: {\n uParse\n },\n data () {\n return {\n article: '<p>课程3<img src=\"http://fnsxcx.w.brotop.cn//uploads/20200301/3b9c208d0221efca65c619deb7f84296.jpg\" style=\"width: 470px;\"></p>'\n }\n },\n methods: {\n preview(src, e) {\n // do something\n },\n navigate(href, e) {\n // do something\n }\n },\n onLoad() {\n \tconsole.log(this.article)\n }\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./indexvue.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./indexvue.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/main.js"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,sN;AACAA,UAAU,CAACC,mBAAD,CAAV,C","file":"pages/login/loginindex.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/login/loginindex.vue'\ncreatePage(Page)"],"sourceRoot":""} |
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/u-parse/components/wxParseAudio"],{ | ||
2 | + | ||
3 | +/***/ 152: | ||
4 | +/*!*********************************************************************************!*\ | ||
5 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue ***! | ||
6 | + \*********************************************************************************/ | ||
7 | +/*! no static exports found */ | ||
8 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
9 | + | ||
10 | +"use strict"; | ||
11 | +__webpack_require__.r(__webpack_exports__); | ||
12 | +/* harmony import */ var _wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxParseAudio.vue?vue&type=template&id=423f5553& */ 153); | ||
13 | +/* harmony import */ var _wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxParseAudio.vue?vue&type=script&lang=js& */ 155); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/vue-loader/lib/runtime/componentNormalizer.js */ 14); | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +/* normalize component */ | ||
22 | + | ||
23 | +var component = Object(_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | ||
24 | + _wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
25 | + _wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
26 | + _wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
27 | + false, | ||
28 | + null, | ||
29 | + null, | ||
30 | + null | ||
31 | + | ||
32 | +) | ||
33 | + | ||
34 | +/* hot reload */ | ||
35 | +if (false) { var api; } | ||
36 | +component.options.__file = "G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue" | ||
37 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
38 | + | ||
39 | +/***/ }), | ||
40 | + | ||
41 | +/***/ 153: | ||
42 | +/*!****************************************************************************************************************!*\ | ||
43 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?vue&type=template&id=423f5553& ***! | ||
44 | + \****************************************************************************************************************/ | ||
45 | +/*! exports provided: render, staticRenderFns */ | ||
46 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
47 | + | ||
48 | +"use strict"; | ||
49 | +__webpack_require__.r(__webpack_exports__); | ||
50 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseAudio.vue?vue&type=template&id=423f5553& */ 154); | ||
51 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
52 | + | ||
53 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_template_id_423f5553___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | +/***/ }), | ||
58 | + | ||
59 | +/***/ 154: | ||
60 | +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
61 | + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?vue&type=template&id=423f5553& ***! | ||
62 | + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
63 | +/*! exports provided: render, staticRenderFns */ | ||
64 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
65 | + | ||
66 | +"use strict"; | ||
67 | +__webpack_require__.r(__webpack_exports__); | ||
68 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
69 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
70 | +var render = function() { | ||
71 | + var _vm = this | ||
72 | + var _h = _vm.$createElement | ||
73 | + var _c = _vm._self._c || _h | ||
74 | +} | ||
75 | +var staticRenderFns = [] | ||
76 | +render._withStripped = true | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | +/***/ }), | ||
81 | + | ||
82 | +/***/ 155: | ||
83 | +/*!**********************************************************************************************************!*\ | ||
84 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?vue&type=script&lang=js& ***! | ||
85 | + \**********************************************************************************************************/ | ||
86 | +/*! no static exports found */ | ||
87 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
88 | + | ||
89 | +"use strict"; | ||
90 | +__webpack_require__.r(__webpack_exports__); | ||
91 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseAudio.vue?vue&type=script&lang=js& */ 156); | ||
92 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
93 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
94 | + /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseAudio_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
95 | + | ||
96 | +/***/ }), | ||
97 | + | ||
98 | +/***/ 156: | ||
99 | +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
100 | + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseAudio.vue?vue&type=script&lang=js& ***! | ||
101 | + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
102 | +/*! no static exports found */ | ||
103 | +/***/ (function(module, exports, __webpack_require__) { | ||
104 | + | ||
105 | +"use strict"; | ||
106 | +Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | ||
107 | +// | ||
108 | +// | ||
109 | +// | ||
110 | +// | ||
111 | +// | ||
112 | +// | ||
113 | +// | ||
114 | +// | ||
115 | +// | ||
116 | +// | ||
117 | +// | ||
118 | +// | ||
119 | +// | ||
120 | +var _default2 = | ||
121 | +{ | ||
122 | + name: 'wxParseAudio', | ||
123 | + props: { | ||
124 | + node: { | ||
125 | + type: Object, | ||
126 | + default: function _default() { | ||
127 | + return {}; | ||
128 | + } } } };exports.default = _default2; | ||
129 | + | ||
130 | +/***/ }) | ||
131 | + | ||
132 | +}]); | ||
133 | +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/u-parse/components/wxParseAudio.js.map | ||
134 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
135 | + 'components/u-parse/components/wxParseAudio-create-component', | ||
136 | + { | ||
137 | + 'components/u-parse/components/wxParseAudio-create-component':(function(module, exports, __webpack_require__){ | ||
138 | + __webpack_require__('1')['createComponent'](__webpack_require__(152)) | ||
139 | + }) | ||
140 | + }, | ||
141 | + [['components/u-parse/components/wxParseAudio-create-component']] | ||
142 | +]); |
1 | +<audio class="{{[node.classStr]}}" style="{{(node.styleStr)}}" id="{{node.attr.id}}" src="{{node.attr.src}}" loop="{{node.attr.loop}}" poster="{{node.attr.poster}}" name="{{node.attr.name}}" author="{{node.attr.author}}" controls></audio> |
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/u-parse/components/wxParseImg"],{ | ||
2 | + | ||
3 | +/***/ 142: | ||
4 | +/*!*******************************************************************************!*\ | ||
5 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue ***! | ||
6 | + \*******************************************************************************/ | ||
7 | +/*! no static exports found */ | ||
8 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
9 | + | ||
10 | +"use strict"; | ||
11 | +__webpack_require__.r(__webpack_exports__); | ||
12 | +/* harmony import */ var _wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxParseImg.vue?vue&type=template&id=7172c800& */ 143); | ||
13 | +/* harmony import */ var _wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxParseImg.vue?vue&type=script&lang=js& */ 145); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/vue-loader/lib/runtime/componentNormalizer.js */ 14); | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +/* normalize component */ | ||
22 | + | ||
23 | +var component = Object(_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | ||
24 | + _wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
25 | + _wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
26 | + _wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
27 | + false, | ||
28 | + null, | ||
29 | + null, | ||
30 | + null | ||
31 | + | ||
32 | +) | ||
33 | + | ||
34 | +/* hot reload */ | ||
35 | +if (false) { var api; } | ||
36 | +component.options.__file = "G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue" | ||
37 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
38 | + | ||
39 | +/***/ }), | ||
40 | + | ||
41 | +/***/ 143: | ||
42 | +/*!**************************************************************************************************************!*\ | ||
43 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?vue&type=template&id=7172c800& ***! | ||
44 | + \**************************************************************************************************************/ | ||
45 | +/*! exports provided: render, staticRenderFns */ | ||
46 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
47 | + | ||
48 | +"use strict"; | ||
49 | +__webpack_require__.r(__webpack_exports__); | ||
50 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseImg.vue?vue&type=template&id=7172c800& */ 144); | ||
51 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
52 | + | ||
53 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_template_id_7172c800___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | +/***/ }), | ||
58 | + | ||
59 | +/***/ 144: | ||
60 | +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
61 | + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?vue&type=template&id=7172c800& ***! | ||
62 | + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
63 | +/*! exports provided: render, staticRenderFns */ | ||
64 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
65 | + | ||
66 | +"use strict"; | ||
67 | +__webpack_require__.r(__webpack_exports__); | ||
68 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
69 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
70 | +var render = function() { | ||
71 | + var _vm = this | ||
72 | + var _h = _vm.$createElement | ||
73 | + var _c = _vm._self._c || _h | ||
74 | +} | ||
75 | +var staticRenderFns = [] | ||
76 | +render._withStripped = true | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | +/***/ }), | ||
81 | + | ||
82 | +/***/ 145: | ||
83 | +/*!********************************************************************************************************!*\ | ||
84 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?vue&type=script&lang=js& ***! | ||
85 | + \********************************************************************************************************/ | ||
86 | +/*! no static exports found */ | ||
87 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
88 | + | ||
89 | +"use strict"; | ||
90 | +__webpack_require__.r(__webpack_exports__); | ||
91 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseImg.vue?vue&type=script&lang=js& */ 146); | ||
92 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
93 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
94 | + /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseImg_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
95 | + | ||
96 | +/***/ }), | ||
97 | + | ||
98 | +/***/ 146: | ||
99 | +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
100 | + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseImg.vue?vue&type=script&lang=js& ***! | ||
101 | + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
102 | +/*! no static exports found */ | ||
103 | +/***/ (function(module, exports, __webpack_require__) { | ||
104 | + | ||
105 | +"use strict"; | ||
106 | +Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | ||
107 | +// | ||
108 | +// | ||
109 | +// | ||
110 | +// | ||
111 | +// | ||
112 | +// | ||
113 | +// | ||
114 | +// | ||
115 | +// | ||
116 | +// | ||
117 | +// | ||
118 | +// | ||
119 | +var _default2 = | ||
120 | +{ | ||
121 | + name: 'wxParseImg', | ||
122 | + data: function data() { | ||
123 | + return { | ||
124 | + newStyleStr: '', | ||
125 | + preview: true }; | ||
126 | + | ||
127 | + }, | ||
128 | + props: { | ||
129 | + node: { | ||
130 | + type: Object, | ||
131 | + default: function _default() { | ||
132 | + return {}; | ||
133 | + } } }, | ||
134 | + | ||
135 | + | ||
136 | + methods: { | ||
137 | + wxParseImgTap: function wxParseImgTap(e) { | ||
138 | + if (!this.preview) return;var | ||
139 | + src = e.currentTarget.dataset.src; | ||
140 | + if (!src) return; | ||
141 | + var parent = this.$parent; | ||
142 | + while (!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法 | ||
143 | + parent = parent.$parent; | ||
144 | + } | ||
145 | + parent.preview(src, e); | ||
146 | + }, | ||
147 | + // 图片视觉宽高计算函数区 | ||
148 | + wxParseImgLoad: function wxParseImgLoad(e) {var | ||
149 | + src = e.currentTarget.dataset.src; | ||
150 | + if (!src) return;var _e$mp$detail = | ||
151 | + e.mp.detail,width = _e$mp$detail.width,height = _e$mp$detail.height; | ||
152 | + var recal = this.wxAutoImageCal(width, height);var | ||
153 | + imageheight = recal.imageheight,imageWidth = recal.imageWidth;var _this$node$attr = | ||
154 | + this.node.attr,padding = _this$node$attr.padding,mode = _this$node$attr.mode;var | ||
155 | + styleStr = this.node.styleStr; | ||
156 | + var imageHeightStyle = mode === 'widthFix' ? '' : "height: ".concat(imageheight, "px;"); | ||
157 | + this.newStyleStr = "".concat(styleStr, "; ").concat(imageHeightStyle, "; width: ").concat(imageWidth, "px; padding: 0 ").concat(+padding, "px;"); | ||
158 | + }, | ||
159 | + // 计算视觉优先的图片宽高 | ||
160 | + wxAutoImageCal: function wxAutoImageCal(originalWidth, originalHeight) { | ||
161 | + // 获取图片的原始长宽 | ||
162 | + var padding = this.node.attr.padding; | ||
163 | + var windowWidth = this.node.$screen.width - 2 * padding; | ||
164 | + var results = {}; | ||
165 | + | ||
166 | + if (originalWidth < 60 || originalHeight < 60) {var | ||
167 | + src = this.node.attr.src; | ||
168 | + var parent = this.$parent; | ||
169 | + while (!parent.preview || typeof parent.preview !== 'function') { | ||
170 | + parent = parent.$parent; | ||
171 | + } | ||
172 | + parent.removeImageUrl(src); | ||
173 | + this.preview = false; | ||
174 | + } | ||
175 | + | ||
176 | + // 判断按照那种方式进行缩放 | ||
177 | + if (originalWidth > windowWidth) { | ||
178 | + // 在图片width大于手机屏幕width时候 | ||
179 | + results.imageWidth = windowWidth; | ||
180 | + results.imageheight = windowWidth * (originalHeight / originalWidth); | ||
181 | + } else { | ||
182 | + // 否则展示原来的数据 | ||
183 | + results.imageWidth = originalWidth; | ||
184 | + results.imageheight = originalHeight; | ||
185 | + } | ||
186 | + | ||
187 | + return results; | ||
188 | + } } };exports.default = _default2; | ||
189 | + | ||
190 | +/***/ }) | ||
191 | + | ||
192 | +}]); | ||
193 | +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/u-parse/components/wxParseImg.js.map | ||
194 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
195 | + 'components/u-parse/components/wxParseImg-create-component', | ||
196 | + { | ||
197 | + 'components/u-parse/components/wxParseImg-create-component':(function(module, exports, __webpack_require__){ | ||
198 | + __webpack_require__('1')['createComponent'](__webpack_require__(142)) | ||
199 | + }) | ||
200 | + }, | ||
201 | + [['components/u-parse/components/wxParseImg-create-component']] | ||
202 | +]); |
1 | +<image class="{{[node.classStr]}}" style="{{(newStyleStr||node.styleStr)}}" mode="{{node.attr.mode}}" lazy-load="{{node.attr.lazyLoad}}" data-src="{{node.attr.src}}" src="{{node.attr.src}}" data-event-opts="{{[['tap',[['wxParseImgTap',['$event']]]],['load',[['wxParseImgLoad',['$event']]]]]}}" bindtap="__e" bindload="__e"></image> |
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/u-parse/components/wxParseTemplate0"],{ | ||
2 | + | ||
3 | +/***/ 132: | ||
4 | +/*!*************************************************************************************!*\ | ||
5 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue ***! | ||
6 | + \*************************************************************************************/ | ||
7 | +/*! no static exports found */ | ||
8 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
9 | + | ||
10 | +"use strict"; | ||
11 | +__webpack_require__.r(__webpack_exports__); | ||
12 | +/* harmony import */ var _wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxParseTemplate0.vue?vue&type=template&id=4cea71f3& */ 133); | ||
13 | +/* harmony import */ var _wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxParseTemplate0.vue?vue&type=script&lang=js& */ 135); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/vue-loader/lib/runtime/componentNormalizer.js */ 14); | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +/* normalize component */ | ||
22 | + | ||
23 | +var component = Object(_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | ||
24 | + _wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
25 | + _wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
26 | + _wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
27 | + false, | ||
28 | + null, | ||
29 | + null, | ||
30 | + null | ||
31 | + | ||
32 | +) | ||
33 | + | ||
34 | +/* hot reload */ | ||
35 | +if (false) { var api; } | ||
36 | +component.options.__file = "G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue" | ||
37 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
38 | + | ||
39 | +/***/ }), | ||
40 | + | ||
41 | +/***/ 133: | ||
42 | +/*!********************************************************************************************************************!*\ | ||
43 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?vue&type=template&id=4cea71f3& ***! | ||
44 | + \********************************************************************************************************************/ | ||
45 | +/*! exports provided: render, staticRenderFns */ | ||
46 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
47 | + | ||
48 | +"use strict"; | ||
49 | +__webpack_require__.r(__webpack_exports__); | ||
50 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate0.vue?vue&type=template&id=4cea71f3& */ 134); | ||
51 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
52 | + | ||
53 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_template_id_4cea71f3___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | +/***/ }), | ||
58 | + | ||
59 | +/***/ 134: | ||
60 | +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
61 | + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?vue&type=template&id=4cea71f3& ***! | ||
62 | + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
63 | +/*! exports provided: render, staticRenderFns */ | ||
64 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
65 | + | ||
66 | +"use strict"; | ||
67 | +__webpack_require__.r(__webpack_exports__); | ||
68 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
69 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
70 | +var render = function() { | ||
71 | + var _vm = this | ||
72 | + var _h = _vm.$createElement | ||
73 | + var _c = _vm._self._c || _h | ||
74 | +} | ||
75 | +var staticRenderFns = [] | ||
76 | +render._withStripped = true | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | +/***/ }), | ||
81 | + | ||
82 | +/***/ 135: | ||
83 | +/*!**************************************************************************************************************!*\ | ||
84 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?vue&type=script&lang=js& ***! | ||
85 | + \**************************************************************************************************************/ | ||
86 | +/*! no static exports found */ | ||
87 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
88 | + | ||
89 | +"use strict"; | ||
90 | +__webpack_require__.r(__webpack_exports__); | ||
91 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate0.vue?vue&type=script&lang=js& */ 136); | ||
92 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
93 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
94 | + /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate0_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
95 | + | ||
96 | +/***/ }), | ||
97 | + | ||
98 | +/***/ 136: | ||
99 | +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
100 | + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate0.vue?vue&type=script&lang=js& ***! | ||
101 | + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
102 | +/*! no static exports found */ | ||
103 | +/***/ (function(module, exports, __webpack_require__) { | ||
104 | + | ||
105 | +"use strict"; | ||
106 | +Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var wxParseTemplate = function wxParseTemplate() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseTemplate1 */ "components/u-parse/components/wxParseTemplate1").then(__webpack_require__.bind(null, /*! ./wxParseTemplate1 */ 137));};var wxParseImg = function wxParseImg() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseImg */ "components/u-parse/components/wxParseImg").then(__webpack_require__.bind(null, /*! ./wxParseImg */ 142));};var wxParseVideo = function wxParseVideo() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseVideo */ "components/u-parse/components/wxParseVideo").then(__webpack_require__.bind(null, /*! ./wxParseVideo */ 147));};var wxParseAudio = function wxParseAudio() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseAudio */ "components/u-parse/components/wxParseAudio").then(__webpack_require__.bind(null, /*! ./wxParseAudio */ 152));};var _default = | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | + | ||
119 | + | ||
120 | + | ||
121 | + | ||
122 | + | ||
123 | + | ||
124 | + | ||
125 | + | ||
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
168 | + | ||
169 | + | ||
170 | + | ||
171 | + | ||
172 | + | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | ||
180 | + | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + | ||
185 | + | ||
186 | + | ||
187 | +{ | ||
188 | + name: 'wxParseTemplate0', | ||
189 | + props: { | ||
190 | + node: {} }, | ||
191 | + | ||
192 | + components: { | ||
193 | + wxParseTemplate: wxParseTemplate, | ||
194 | + wxParseImg: wxParseImg, | ||
195 | + wxParseVideo: wxParseVideo, | ||
196 | + wxParseAudio: wxParseAudio }, | ||
197 | + | ||
198 | + methods: { | ||
199 | + wxParseATap: function wxParseATap(e) {var | ||
200 | + | ||
201 | + href = | ||
202 | + e.currentTarget.dataset.href; // TODO currentTarget才有dataset | ||
203 | + if (!href) return; | ||
204 | + var parent = this.$parent; | ||
205 | + while (!parent.preview || typeof parent.preview !== 'function') {// TODO 遍历获取父节点执行方法 | ||
206 | + parent = parent.$parent; | ||
207 | + } | ||
208 | + parent.navigate(href, e); | ||
209 | + } } };exports.default = _default; | ||
210 | + | ||
211 | +/***/ }) | ||
212 | + | ||
213 | +}]); | ||
214 | +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate0.js.map | ||
215 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
216 | + 'components/u-parse/components/wxParseTemplate0-create-component', | ||
217 | + { | ||
218 | + 'components/u-parse/components/wxParseTemplate0-create-component':(function(module, exports, __webpack_require__){ | ||
219 | + __webpack_require__('1')['createComponent'](__webpack_require__(132)) | ||
220 | + }) | ||
221 | + }, | ||
222 | + [['components/u-parse/components/wxParseTemplate0-create-component']] | ||
223 | +]); |
1 | +{ | ||
2 | + "usingComponents": { | ||
3 | + "weixin-parse-template": "/components/u-parse/components/wxParseTemplate1", | ||
4 | + "weixin-parse-img": "/components/u-parse/components/wxParseImg", | ||
5 | + "weixin-parse-video": "/components/u-parse/components/wxParseVideo", | ||
6 | + "weixin-parse-audio": "/components/u-parse/components/wxParseAudio" | ||
7 | + }, | ||
8 | + "component": true | ||
9 | +} |
1 | +<view><block wx:if="{{node.node=='element'}}"><block><block wx:if="{{node.tag=='button'}}"><block><button type="default" size="mini"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'1-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></button></block></block><block wx:else><block wx:if="{{node.tag=='li'}}"><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'2-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='video'}}"><block><weixin-parse-video vue-id="3" node="{{node}}" bind:__l="__l"></weixin-parse-video></block></block><block wx:else><block wx:if="{{node.tag=='audio'}}"><block><weixin-parse-audio vue-id="4" node="{{node}}" bind:__l="__l"></weixin-parse-audio></block></block><block wx:else><block wx:if="{{node.tag=='img'}}"><block><weixin-parse-img vue-id="5" node="{{node}}" bind:__l="__l"></weixin-parse-img></block></block><block wx:else><block wx:if="{{node.tag=='a'}}"><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}" data-href="{{node.attr.href}}" data-event-opts="{{[['tap',[['wxParseATap',['$event']]]]]}}" bindtap="__e"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'6-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='table'}}"><block><view class="{{['table',node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'7-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='br'}}"><block><text>\n</text></block></block><block wx:else><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'8-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block></block></block></block></block></block></block></block></block></block><block wx:else><block wx:if="{{node.node=='text'}}"><block>{{node.text}}</block></block></block></view> |
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/u-parse/components/wxParseTemplate1"],{ | ||
2 | + | ||
3 | +/***/ 137: | ||
4 | +/*!*************************************************************************************!*\ | ||
5 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue ***! | ||
6 | + \*************************************************************************************/ | ||
7 | +/*! no static exports found */ | ||
8 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
9 | + | ||
10 | +"use strict"; | ||
11 | +__webpack_require__.r(__webpack_exports__); | ||
12 | +/* harmony import */ var _wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxParseTemplate1.vue?vue&type=template&id=4cf88974& */ 138); | ||
13 | +/* harmony import */ var _wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxParseTemplate1.vue?vue&type=script&lang=js& */ 140); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/vue-loader/lib/runtime/componentNormalizer.js */ 14); | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +/* normalize component */ | ||
22 | + | ||
23 | +var component = Object(_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | ||
24 | + _wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
25 | + _wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
26 | + _wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
27 | + false, | ||
28 | + null, | ||
29 | + null, | ||
30 | + null | ||
31 | + | ||
32 | +) | ||
33 | + | ||
34 | +/* hot reload */ | ||
35 | +if (false) { var api; } | ||
36 | +component.options.__file = "G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue" | ||
37 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
38 | + | ||
39 | +/***/ }), | ||
40 | + | ||
41 | +/***/ 138: | ||
42 | +/*!********************************************************************************************************************!*\ | ||
43 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?vue&type=template&id=4cf88974& ***! | ||
44 | + \********************************************************************************************************************/ | ||
45 | +/*! exports provided: render, staticRenderFns */ | ||
46 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
47 | + | ||
48 | +"use strict"; | ||
49 | +__webpack_require__.r(__webpack_exports__); | ||
50 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate1.vue?vue&type=template&id=4cf88974& */ 139); | ||
51 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
52 | + | ||
53 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_template_id_4cf88974___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | +/***/ }), | ||
58 | + | ||
59 | +/***/ 139: | ||
60 | +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
61 | + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?vue&type=template&id=4cf88974& ***! | ||
62 | + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
63 | +/*! exports provided: render, staticRenderFns */ | ||
64 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
65 | + | ||
66 | +"use strict"; | ||
67 | +__webpack_require__.r(__webpack_exports__); | ||
68 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
69 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
70 | +var render = function() { | ||
71 | + var _vm = this | ||
72 | + var _h = _vm.$createElement | ||
73 | + var _c = _vm._self._c || _h | ||
74 | +} | ||
75 | +var staticRenderFns = [] | ||
76 | +render._withStripped = true | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | +/***/ }), | ||
81 | + | ||
82 | +/***/ 140: | ||
83 | +/*!**************************************************************************************************************!*\ | ||
84 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?vue&type=script&lang=js& ***! | ||
85 | + \**************************************************************************************************************/ | ||
86 | +/*! no static exports found */ | ||
87 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
88 | + | ||
89 | +"use strict"; | ||
90 | +__webpack_require__.r(__webpack_exports__); | ||
91 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate1.vue?vue&type=script&lang=js& */ 141); | ||
92 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
93 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
94 | + /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
95 | + | ||
96 | +/***/ }), | ||
97 | + | ||
98 | +/***/ 141: | ||
99 | +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
100 | + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate1.vue?vue&type=script&lang=js& ***! | ||
101 | + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
102 | +/*! no static exports found */ | ||
103 | +/***/ (function(module, exports, __webpack_require__) { | ||
104 | + | ||
105 | +"use strict"; | ||
106 | +Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var wxParseTemplate = function wxParseTemplate() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseTemplate2 */ "components/u-parse/components/wxParseTemplate2").then(__webpack_require__.bind(null, /*! ./wxParseTemplate2 */ 157));};var wxParseImg = function wxParseImg() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseImg */ "components/u-parse/components/wxParseImg").then(__webpack_require__.bind(null, /*! ./wxParseImg */ 142));};var wxParseVideo = function wxParseVideo() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseVideo */ "components/u-parse/components/wxParseVideo").then(__webpack_require__.bind(null, /*! ./wxParseVideo */ 147));};var wxParseAudio = function wxParseAudio() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseAudio */ "components/u-parse/components/wxParseAudio").then(__webpack_require__.bind(null, /*! ./wxParseAudio */ 152));};var _default = | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | + | ||
119 | + | ||
120 | + | ||
121 | + | ||
122 | + | ||
123 | + | ||
124 | + | ||
125 | + | ||
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
168 | + | ||
169 | + | ||
170 | + | ||
171 | + | ||
172 | + | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + | ||
177 | + | ||
178 | + | ||
179 | +{ | ||
180 | + name: 'wxParseTemplate1', | ||
181 | + props: { | ||
182 | + node: {} }, | ||
183 | + | ||
184 | + components: { | ||
185 | + wxParseTemplate: wxParseTemplate, | ||
186 | + wxParseImg: wxParseImg, | ||
187 | + wxParseVideo: wxParseVideo, | ||
188 | + wxParseAudio: wxParseAudio }, | ||
189 | + | ||
190 | + methods: { | ||
191 | + wxParseATap: function wxParseATap(e) {var | ||
192 | + | ||
193 | + href = | ||
194 | + e.currentTarget.dataset.href; | ||
195 | + if (!href) return; | ||
196 | + var parent = this.$parent; | ||
197 | + while (!parent.preview || typeof parent.preview !== 'function') { | ||
198 | + parent = parent.$parent; | ||
199 | + } | ||
200 | + parent.navigate(href, e); | ||
201 | + } } };exports.default = _default; | ||
202 | + | ||
203 | +/***/ }) | ||
204 | + | ||
205 | +}]); | ||
206 | +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate1.js.map | ||
207 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
208 | + 'components/u-parse/components/wxParseTemplate1-create-component', | ||
209 | + { | ||
210 | + 'components/u-parse/components/wxParseTemplate1-create-component':(function(module, exports, __webpack_require__){ | ||
211 | + __webpack_require__('1')['createComponent'](__webpack_require__(137)) | ||
212 | + }) | ||
213 | + }, | ||
214 | + [['components/u-parse/components/wxParseTemplate1-create-component']] | ||
215 | +]); |
1 | +{ | ||
2 | + "usingComponents": { | ||
3 | + "weixin-parse-template": "/components/u-parse/components/wxParseTemplate2", | ||
4 | + "weixin-parse-img": "/components/u-parse/components/wxParseImg", | ||
5 | + "weixin-parse-video": "/components/u-parse/components/wxParseVideo", | ||
6 | + "weixin-parse-audio": "/components/u-parse/components/wxParseAudio" | ||
7 | + }, | ||
8 | + "component": true | ||
9 | +} |
1 | +<view class="{{[node.tag=='li'?node.classStr:node.node==='text'?'text':'']}}"><block wx:if="{{node.node=='element'}}"><block><block wx:if="{{node.tag=='button'}}"><block><button type="default" size="mini"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'1-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></button></block></block><block wx:else><block wx:if="{{node.tag=='li'}}"><block><view style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'2-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='video'}}"><block><weixin-parse-video vue-id="3" node="{{node}}" bind:__l="__l"></weixin-parse-video></block></block><block wx:else><block wx:if="{{node.tag=='audio'}}"><block><weixin-parse-audio vue-id="4" node="{{node}}" bind:__l="__l"></weixin-parse-audio></block></block><block wx:else><block wx:if="{{node.tag=='img'}}"><block><weixin-parse-img vue-id="5" node="{{node}}" bind:__l="__l"></weixin-parse-img></block></block><block wx:else><block wx:if="{{node.tag=='a'}}"><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}" data-href="{{node.attr.href}}" data-event-opts="{{[['tap',[['wxParseATap',['$event']]]]]}}" bindtap="__e"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'6-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='br'}}"><block><text>\n</text></block></block><block wx:else><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'7-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block></block></block></block></block></block></block></block></block><block wx:else><block wx:if="{{node.node=='text'}}"><block>{{node.text}}</block></block></block></view> |
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/u-parse/components/wxParseTemplate10"],{ | ||
2 | + | ||
3 | +/***/ 197: | ||
4 | +/*!**************************************************************************************!*\ | ||
5 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue ***! | ||
6 | + \**************************************************************************************/ | ||
7 | +/*! no static exports found */ | ||
8 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
9 | + | ||
10 | +"use strict"; | ||
11 | +__webpack_require__.r(__webpack_exports__); | ||
12 | +/* harmony import */ var _wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxParseTemplate10.vue?vue&type=template&id=52141f6c& */ 198); | ||
13 | +/* harmony import */ var _wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxParseTemplate10.vue?vue&type=script&lang=js& */ 200); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/vue-loader/lib/runtime/componentNormalizer.js */ 14); | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +/* normalize component */ | ||
22 | + | ||
23 | +var component = Object(_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | ||
24 | + _wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
25 | + _wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
26 | + _wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
27 | + false, | ||
28 | + null, | ||
29 | + null, | ||
30 | + null | ||
31 | + | ||
32 | +) | ||
33 | + | ||
34 | +/* hot reload */ | ||
35 | +if (false) { var api; } | ||
36 | +component.options.__file = "G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue" | ||
37 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
38 | + | ||
39 | +/***/ }), | ||
40 | + | ||
41 | +/***/ 198: | ||
42 | +/*!*********************************************************************************************************************!*\ | ||
43 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?vue&type=template&id=52141f6c& ***! | ||
44 | + \*********************************************************************************************************************/ | ||
45 | +/*! exports provided: render, staticRenderFns */ | ||
46 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
47 | + | ||
48 | +"use strict"; | ||
49 | +__webpack_require__.r(__webpack_exports__); | ||
50 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate10.vue?vue&type=template&id=52141f6c& */ 199); | ||
51 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
52 | + | ||
53 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_template_id_52141f6c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | +/***/ }), | ||
58 | + | ||
59 | +/***/ 199: | ||
60 | +/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
61 | + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?vue&type=template&id=52141f6c& ***! | ||
62 | + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
63 | +/*! exports provided: render, staticRenderFns */ | ||
64 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
65 | + | ||
66 | +"use strict"; | ||
67 | +__webpack_require__.r(__webpack_exports__); | ||
68 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
69 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
70 | +var render = function() { | ||
71 | + var _vm = this | ||
72 | + var _h = _vm.$createElement | ||
73 | + var _c = _vm._self._c || _h | ||
74 | +} | ||
75 | +var staticRenderFns = [] | ||
76 | +render._withStripped = true | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | +/***/ }), | ||
81 | + | ||
82 | +/***/ 200: | ||
83 | +/*!***************************************************************************************************************!*\ | ||
84 | + !*** G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?vue&type=script&lang=js& ***! | ||
85 | + \***************************************************************************************************************/ | ||
86 | +/*! no static exports found */ | ||
87 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
88 | + | ||
89 | +"use strict"; | ||
90 | +__webpack_require__.r(__webpack_exports__); | ||
91 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wxParseTemplate10.vue?vue&type=script&lang=js& */ 201); | ||
92 | +/* harmony import */ var _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
93 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
94 | + /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_plugins_uniapp_cli_node_modules_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_custom_block_loader_index_js_ref_0_1_F_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_wxParseTemplate10_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
95 | + | ||
96 | +/***/ }), | ||
97 | + | ||
98 | +/***/ 201: | ||
99 | +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
100 | + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-custom-block-loader??ref--0-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!G:/项目/program/tigerprogram/components/u-parse/components/wxParseTemplate10.vue?vue&type=script&lang=js& ***! | ||
101 | + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
102 | +/*! no static exports found */ | ||
103 | +/***/ (function(module, exports, __webpack_require__) { | ||
104 | + | ||
105 | +"use strict"; | ||
106 | +Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var wxParseTemplate = function wxParseTemplate() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseTemplate11 */ "components/u-parse/components/wxParseTemplate11").then(__webpack_require__.bind(null, /*! ./wxParseTemplate11 */ 202));};var wxParseImg = function wxParseImg() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseImg */ "components/u-parse/components/wxParseImg").then(__webpack_require__.bind(null, /*! ./wxParseImg */ 142));};var wxParseVideo = function wxParseVideo() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseVideo */ "components/u-parse/components/wxParseVideo").then(__webpack_require__.bind(null, /*! ./wxParseVideo */ 147));};var wxParseAudio = function wxParseAudio() {return __webpack_require__.e(/*! import() | components/u-parse/components/wxParseAudio */ "components/u-parse/components/wxParseAudio").then(__webpack_require__.bind(null, /*! ./wxParseAudio */ 152));};var _default = | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | + | ||
119 | + | ||
120 | + | ||
121 | + | ||
122 | + | ||
123 | + | ||
124 | + | ||
125 | + | ||
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
168 | + | ||
169 | + | ||
170 | + | ||
171 | + | ||
172 | + | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + | ||
177 | +{ | ||
178 | + name: 'wxParseTemplate10', | ||
179 | + props: { | ||
180 | + node: {} }, | ||
181 | + | ||
182 | + components: { | ||
183 | + wxParseTemplate: wxParseTemplate, | ||
184 | + wxParseImg: wxParseImg, | ||
185 | + wxParseVideo: wxParseVideo, | ||
186 | + wxParseAudio: wxParseAudio }, | ||
187 | + | ||
188 | + methods: { | ||
189 | + wxParseATap: function wxParseATap(e) {var | ||
190 | + | ||
191 | + href = | ||
192 | + e.currentTarget.dataset.href; | ||
193 | + if (!href) return; | ||
194 | + var parent = this.$parent; | ||
195 | + while (!parent.preview || typeof parent.preview !== 'function') { | ||
196 | + parent = parent.$parent; | ||
197 | + } | ||
198 | + parent.navigate(href, e); | ||
199 | + } } };exports.default = _default; | ||
200 | + | ||
201 | +/***/ }) | ||
202 | + | ||
203 | +}]); | ||
204 | +//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/u-parse/components/wxParseTemplate10.js.map | ||
205 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
206 | + 'components/u-parse/components/wxParseTemplate10-create-component', | ||
207 | + { | ||
208 | + 'components/u-parse/components/wxParseTemplate10-create-component':(function(module, exports, __webpack_require__){ | ||
209 | + __webpack_require__('1')['createComponent'](__webpack_require__(197)) | ||
210 | + }) | ||
211 | + }, | ||
212 | + [['components/u-parse/components/wxParseTemplate10-create-component']] | ||
213 | +]); |
1 | +{ | ||
2 | + "usingComponents": { | ||
3 | + "weixin-parse-template": "/components/u-parse/components/wxParseTemplate11", | ||
4 | + "weixin-parse-img": "/components/u-parse/components/wxParseImg", | ||
5 | + "weixin-parse-video": "/components/u-parse/components/wxParseVideo", | ||
6 | + "weixin-parse-audio": "/components/u-parse/components/wxParseAudio" | ||
7 | + }, | ||
8 | + "component": true | ||
9 | +} |
1 | +<view><block wx:if="{{node.node=='element'}}"><block><block wx:if="{{node.tag=='button'}}"><block><button type="default" size="mini"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'1-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></button></block></block><block wx:else><block wx:if="{{node.tag=='li'}}"><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'2-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='video'}}"><block><weixin-parse-video vue-id="3" node="{{node}}" bind:__l="__l"></weixin-parse-video></block></block><block wx:else><block wx:if="{{node.tag=='audio'}}"><block><weixin-parse-audio vue-id="4" node="{{node}}" bind:__l="__l"></weixin-parse-audio></block></block><block wx:else><block wx:if="{{node.tag=='img'}}"><block><weixin-parse-img vue-id="5" node="{{node}}" bind:__l="__l"></weixin-parse-img></block></block><block wx:else><block wx:if="{{node.tag=='a'}}"><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}" data-href="{{node.attr.href}}" data-event-opts="{{[['tap',[['wxParseATap',['$event']]]]]}}" bindtap="__e"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'6-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block><block wx:else><block wx:if="{{node.tag=='br'}}"><block><text>\n</text></block></block><block wx:else><block><view class="{{[node.classStr]}}" style="{{(node.styleStr)}}"><block wx:for="{{node.nodes}}" wx:for-item="node" wx:for-index="index" wx:key="index"><block><weixin-parse-template vue-id="{{'7-'+index}}" node="{{node}}" bind:__l="__l"></weixin-parse-template></block></block></view></block></block></block></block></block></block></block></block></block></block><block wx:else><block wx:if="{{node.node=='text'}}"><block>{{node.text}}</block></block></block></view> |
-
请 注册 或 登录 后发表评论