正在显示
99 个修改的文件
包含
2926 行增加
和
1687 行删除
1119前端培训基础检测.docx
已删除
100644 → 0
不能预览此文件类型
api/index.js
0 → 100644
1 | +import { | ||
2 | + request | ||
3 | +} from '@/utils/request.js' | ||
4 | + | ||
5 | + | ||
6 | +// 论坛列表 /api/forum/forum/list | ||
7 | +export const getlist = (type_id, keywords, order, page, rows) => request({ | ||
8 | + url: '/api/forum/forum/list', | ||
9 | + method: 'post', | ||
10 | + data: { | ||
11 | + type_id, | ||
12 | + keywords, | ||
13 | + order, | ||
14 | + page, | ||
15 | + rows | ||
16 | + } | ||
17 | +}) | ||
18 | +//论坛搜索热词 /api/forum/forum/searchList | ||
19 | +export const searchList = (order, page, rows) => request({ | ||
20 | + url: '/api/forum/forum/searchList', | ||
21 | + method: 'post', | ||
22 | + data: { | ||
23 | + order, | ||
24 | + page, | ||
25 | + rows | ||
26 | + } | ||
27 | +}) |
1 | +<template> | ||
2 | + <view class="waterfalls-box" :style="{ height: height + 'px' }"> | ||
3 | + <!-- #ifdef MP-WEIXIN --> | ||
4 | + <view | ||
5 | + v-for="(item, index) of list" | ||
6 | + class="waterfalls-list" | ||
7 | + :key="item[idKey]" | ||
8 | + :id="'waterfalls-list-id-' + item[idKey]" | ||
9 | + :ref="'waterfalls-list-id-' + item[idKey]" | ||
10 | + :style="{ | ||
11 | + '--offset': offset + 'px', | ||
12 | + '--cols': cols, | ||
13 | + top: allPositionArr[index].top || 0, | ||
14 | + left: allPositionArr[index].left || 0, | ||
15 | + }" | ||
16 | + @click="$emit('wapper-lick', item)" | ||
17 | + > | ||
18 | + <image | ||
19 | + class="waterfalls-list-image" | ||
20 | + mode="widthFix" | ||
21 | + :class="{ single }" | ||
22 | + :style="imageStyle" | ||
23 | + :src="item[imageSrcKey] || ' '" | ||
24 | + @load="imageLoadHandle(index)" | ||
25 | + @error="imageLoadHandle(index)" | ||
26 | + @click="$emit('image-click', item)" | ||
27 | + /> | ||
28 | + <slot name="slot{{index}}" /> | ||
29 | + </view> | ||
30 | + <!-- #endif --> | ||
31 | + | ||
32 | + <!-- #ifndef MP-WEIXIN --> | ||
33 | + <view | ||
34 | + v-for="(item, index) of list" | ||
35 | + class="waterfalls-list" | ||
36 | + :key="item[idKey]" | ||
37 | + :id="'waterfalls-list-id-' + item[idKey]" | ||
38 | + :ref="'waterfalls-list-id-' + item[idKey]" | ||
39 | + :style="{ | ||
40 | + '--offset': offset + 'px', | ||
41 | + '--cols': cols, | ||
42 | + ...listStyle, | ||
43 | + ...(allPositionArr[index] || {}), | ||
44 | + }" | ||
45 | + @click="$emit('wapper-lick', item)" | ||
46 | + > | ||
47 | + <image | ||
48 | + class="waterfalls-list-image" | ||
49 | + :class="{ single }" | ||
50 | + mode="widthFix" | ||
51 | + :style="imageStyle" | ||
52 | + :src="item[imageSrcKey] || ' '" | ||
53 | + @load="imageLoadHandle(index)" | ||
54 | + @error="imageLoadHandle(index)" | ||
55 | + @click="$emit('image-click', item)" | ||
56 | + /> | ||
57 | + <slot v-bind="item" /> | ||
58 | + </view> | ||
59 | + <!-- #endif --> | ||
60 | + </view> | ||
61 | +</template> | ||
62 | +<script> | ||
63 | +export default { | ||
64 | + props: { | ||
65 | + list: { type: Array, required: true }, | ||
66 | + // offset 间距,单位为 px | ||
67 | + offset: { type: Number, default: 10 }, | ||
68 | + // 列表渲染的 key 的键名,值必须唯一,默认为 id | ||
69 | + idKey: { type: String, default: "id" }, | ||
70 | + // 图片 src 的键名 | ||
71 | + imageSrcKey: { type: String, default: "image_url" }, | ||
72 | + // 列数 | ||
73 | + cols: { type: Number, default: 2, validator: (num) => num >= 2 }, | ||
74 | + imageStyle: { type: Object }, | ||
75 | + | ||
76 | + // 是否是单独的渲染图片的样子,只控制图片圆角而已 | ||
77 | + single: { type: Boolean, default: false }, | ||
78 | + | ||
79 | + // #ifndef MP-WEIXIN | ||
80 | + listStyle: { type: Object }, | ||
81 | + // #endif | ||
82 | + }, | ||
83 | + data() { | ||
84 | + return { | ||
85 | + topArr: [], // left, right 多个时依次表示第几列的数据 | ||
86 | + allPositionArr: [], // 保存所有的位置信息 | ||
87 | + allHeightArr: [], // 保存所有的 height 信息 | ||
88 | + height: 0, // 外层包裹高度 | ||
89 | + oldNum: 0, | ||
90 | + num: 0, | ||
91 | + }; | ||
92 | + }, | ||
93 | + created() { | ||
94 | + this.refresh(); | ||
95 | + }, | ||
96 | + methods: { | ||
97 | + imageLoadHandle(index) { | ||
98 | + const id = "waterfalls-list-id-" + this.list[index][this.idKey], | ||
99 | + query = uni.createSelectorQuery().in(this); | ||
100 | + query | ||
101 | + .select("#" + id) | ||
102 | + .fields({ size: true }, (data) => { | ||
103 | + this.num++; | ||
104 | + this.$set(this.allHeightArr, index, data.height); | ||
105 | + if (this.num === this.list.length) { | ||
106 | + for (let i = this.oldNum; i < this.num; i++) { | ||
107 | + const getTopArrMsg = () => { | ||
108 | + let arrtmp = [...this.topArr].sort((a, b) => a - b); | ||
109 | + return { | ||
110 | + shorterIndex: this.topArr.indexOf(arrtmp[0]), | ||
111 | + shorterValue: arrtmp[0], | ||
112 | + longerIndex: this.topArr.indexOf(arrtmp[this.cols - 1]), | ||
113 | + longerValue: arrtmp[this.cols - 1], | ||
114 | + }; | ||
115 | + }; | ||
116 | + | ||
117 | + const { shorterIndex, shorterValue } = getTopArrMsg(); | ||
118 | + const position = { | ||
119 | + top: shorterValue + "px", | ||
120 | + left: (data.width + this.offset) * shorterIndex + "px", | ||
121 | + }; | ||
122 | + this.$set(this.allPositionArr, i, position); | ||
123 | + this.topArr[shorterIndex] = | ||
124 | + shorterValue + this.allHeightArr[i] + this.offset; | ||
125 | + this.height = getTopArrMsg().longerValue - this.offset; | ||
126 | + } | ||
127 | + this.oldNum = this.num; | ||
128 | + // 完成渲染 emit `image-load` 事件 | ||
129 | + this.$emit("image-load"); | ||
130 | + } | ||
131 | + }) | ||
132 | + .exec(); | ||
133 | + }, | ||
134 | + refresh() { | ||
135 | + let arr = []; | ||
136 | + for (let i = 0; i < this.cols; i++) { | ||
137 | + arr.push(0); | ||
138 | + } | ||
139 | + this.topArr = arr; | ||
140 | + this.num = 0; | ||
141 | + this.oldNum = 0; | ||
142 | + this.height = 0; | ||
143 | + }, | ||
144 | + }, | ||
145 | +}; | ||
146 | +</script> | ||
147 | +<style lang="scss" scoped> | ||
148 | +// 这里可以自行配置 | ||
149 | +$border-radius: 6px; | ||
150 | + | ||
151 | +.waterfalls-box { | ||
152 | + position: relative; | ||
153 | + width: 100%; | ||
154 | + overflow: hidden; | ||
155 | + .waterfalls-list { | ||
156 | + width: calc((100% - var(--offset) * (var(--cols) - 1)) / var(--cols)); | ||
157 | + position: absolute; | ||
158 | + background-color: #fff; | ||
159 | + border-radius: $border-radius; | ||
160 | + // 防止刚开始渲染时堆叠在第一幅图的地方 | ||
161 | + left: calc(-50% - var(--offset)); | ||
162 | + .waterfalls-list-image { | ||
163 | + width: 100%; | ||
164 | + will-change: transform; | ||
165 | + border-radius: $border-radius $border-radius 0 0; | ||
166 | + display: block; | ||
167 | + &.single { | ||
168 | + border-radius: $border-radius; | ||
169 | + } | ||
170 | + } | ||
171 | + } | ||
172 | +} | ||
173 | +</style> |
@@ -3,25 +3,15 @@ | @@ -3,25 +3,15 @@ | ||
3 | "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" | 3 | "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" |
4 | }, | 4 | }, |
5 | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | 5 | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
6 | - | ||
7 | { | 6 | { |
8 | - "path": "pages/index", | 7 | + "path": "pages/text3/text3", |
9 | "style": { | 8 | "style": { |
10 | "navigationBarTitleText": "", | 9 | "navigationBarTitleText": "", |
11 | "enablePullDownRefresh": false, | 10 | "enablePullDownRefresh": false, |
12 | "navigationStyle": "custom" | 11 | "navigationStyle": "custom" |
13 | } | 12 | } |
14 | - | 13 | + |
15 | } | 14 | } |
16 | - ,{ | ||
17 | - "path" : "pages/text", | ||
18 | - "style" : | ||
19 | - { | ||
20 | - "navigationBarTitleText": "", | ||
21 | - "enablePullDownRefresh": false | ||
22 | - } | ||
23 | - | ||
24 | - } | ||
25 | ], | 15 | ], |
26 | "globalStyle": { | 16 | "globalStyle": { |
27 | "navigationBarTextStyle": "black", | 17 | "navigationBarTextStyle": "black", |
pages/index.vue
已删除
100644 → 0
1 | -<template> | ||
2 | - <view class=""> | ||
3 | - <!-- S 导航栏 --> | ||
4 | - <view class="topnav"> | ||
5 | - <view class="topnavname"> | ||
6 | - <u-navbar title=" " :safeAreaInsetTop="true" :fixed="true" :placeholder="true" bgColor="transparent"> | ||
7 | - <view class="u-nav-slot" slot="left"> | ||
8 | - 大戏看北京 | ||
9 | - </view> | ||
10 | - </u-navbar> | ||
11 | - <image class="bg" src="/static/img-home-bg1.jpg" mode=""></image> | ||
12 | - </view> | ||
13 | - </view> | ||
14 | - <!-- E 导航栏 --> | ||
15 | - <!-- S 搜索框 --> | ||
16 | - <view class="bgphoto"> | ||
17 | - <img src="/static/img-home-bg2.jpg" alt=""> | ||
18 | - </view> | ||
19 | - <view class="search"> | ||
20 | - <view class="searchbox"> | ||
21 | - <view class="searchimg"><img src="/static/search.png" alt=""></view> | ||
22 | - <view class="searchtext">搜索演出、剧场关键词</view> | ||
23 | - </view> | ||
24 | - </view> | ||
25 | - <!-- E 搜索框 --> | ||
26 | - <view class="mainBox"> | ||
27 | - <!-- S 轮播图 --> | ||
28 | - <view class="swiper"> | ||
29 | - <u-swiper :list="list" @change="e => current = e.current" :autoplay="false"> | ||
30 | - <view slot="indicator" class="indicator"> | ||
31 | - <view class="indicator__dot" v-for="(item, index) in list" :key="index" | ||
32 | - :class="[index === current && 'indicator__dot--active']"> | ||
33 | - </view> | ||
34 | - </view> | ||
35 | - </u-swiper> | ||
36 | - </view> | ||
37 | - <!-- E 轮播图 --> | ||
38 | - <!--S 模块分类框 --> | ||
39 | - <view class="category"> | ||
40 | - <view class="categoryImg" v-for="(item,index) in list2"> | ||
41 | - <img :src="item.img" alt=""> | ||
42 | - <view class="">{{item.name}}</view> | ||
43 | - </view> | ||
44 | - <view class="categoryImg2"> | ||
45 | - <img src="/static/ic-ertongju.jpg" alt=""> | ||
46 | - <view class="">更多</view> | ||
47 | - </view> | ||
48 | - </view> | ||
49 | - <!--E 模块分类框 --> | ||
50 | - <!--S 今日演出 --> | ||
51 | - <view class="today"> | ||
52 | - <view class="left">今日演出</view> | ||
53 | - <view class="right"> | ||
54 | - <view class=""> 更多</view> | ||
55 | - <img src="/static/ic-arrow-more.jpg" alt=""> | ||
56 | - </view> | ||
57 | - </view> | ||
58 | - <view class="scroll"> | ||
59 | - <scroll-view class="scroll1" scroll-x="true" scroll-left="120"> | ||
60 | - <view class="scroll2" v-for="(item,index) in list3"> | ||
61 | - <img :src="item.img" alt=""> | ||
62 | - <view class="text1">{{item.cate}}《{{item.name}}》</view> | ||
63 | - <view class="text2">当前时间-{{item.time}}</view> | ||
64 | - </view> | ||
65 | - </scroll-view> | ||
66 | - </view> | ||
67 | - <!-- E 今日演出 --> | ||
68 | - <!-- S 更多演出 --> | ||
69 | - <view class="today"> | ||
70 | - <view class="left">更多演出</view> | ||
71 | - <view class="right"> | ||
72 | - <view class=""> 更多</view> | ||
73 | - <img src="/static/ic-arrow-more.jpg" alt=""> | ||
74 | - </view> | ||
75 | - </view> | ||
76 | - <view class=""> | ||
77 | - <view class="todprogram" v-for="(item,index) in list4"> | ||
78 | - <view class="drama">话剧</view> | ||
79 | - <view class="left"> | ||
80 | - <img :src="item.img" alt=""> | ||
81 | - </view> | ||
82 | - <view class="right"> | ||
83 | - <view class="nameText">{{item.cate}}《{{item.name}}》</view> | ||
84 | - <view class="timeText">{{item.starttime}}-{{item.endtime}}</view> | ||
85 | - <view class="addressText">{{item.add}} | 天桥艺术中心-多功能厅</view> | ||
86 | - <view class="priceText"><text> ¥{{item.price}}</text> 起</view> | ||
87 | - </view> | ||
88 | - </view> | ||
89 | - </view> | ||
90 | - <!-- E 更多演出 --> | ||
91 | - </view> | ||
92 | - | ||
93 | - </view> | ||
94 | -</template> | ||
95 | - | ||
96 | -<script> | ||
97 | - export default { | ||
98 | - data() { | ||
99 | - return { | ||
100 | - current: 0, | ||
101 | - keyword: '', | ||
102 | - show: false, //控制分类弹出层 | ||
103 | - //轮播图数组 | ||
104 | - list: [ | ||
105 | - '/static/banner.jpg', | ||
106 | - '/static/banner.jpg', | ||
107 | - '/static/banner.jpg', | ||
108 | - ], | ||
109 | - //分类数组 | ||
110 | - list2: [{ | ||
111 | - img: "/static/ic-ertongju.jpg", | ||
112 | - name: "话剧" | ||
113 | - }, { | ||
114 | - img: "/static/ic-ertongju.jpg", | ||
115 | - name: "戏剧" | ||
116 | - }, { | ||
117 | - img: "/static/ic-ertongju.jpg", | ||
118 | - name: "京剧" | ||
119 | - }, { | ||
120 | - img: "/static/ic-ertongju.jpg", | ||
121 | - name: "摇滚" | ||
122 | - }], | ||
123 | - //今日演出数组 | ||
124 | - list3: [{ | ||
125 | - img: "/static/goods.jpg", | ||
126 | - cate: "话剧", | ||
127 | - name: "簋街", | ||
128 | - time: "12.02" | ||
129 | - }, { | ||
130 | - img: "/static/goods.jpg", | ||
131 | - cate: "话剧", | ||
132 | - name: "簋街", | ||
133 | - time: "12.02" | ||
134 | - }, { | ||
135 | - img: "/static/goods.jpg", | ||
136 | - cate: "话剧", | ||
137 | - name: "四世同堂", | ||
138 | - time: "12.02" | ||
139 | - }, { | ||
140 | - img: "/static/goods.jpg", | ||
141 | - cate: "京剧", | ||
142 | - name: "超级英雄", | ||
143 | - time: "12.02" | ||
144 | - }, { | ||
145 | - img: "/static/goods.jpg", | ||
146 | - cate: "话剧", | ||
147 | - name: "小蝌蚪找妈妈", | ||
148 | - time: "12.02" | ||
149 | - }, { | ||
150 | - img: "/static/goods.jpg", | ||
151 | - cate: "京剧", | ||
152 | - name: "簋街", | ||
153 | - time: "12.02" | ||
154 | - }], | ||
155 | - //今日演出数组 | ||
156 | - list4: [{ | ||
157 | - img: "/static/goods.jpg", | ||
158 | - cate: "话剧", | ||
159 | - name: "簋街", | ||
160 | - starttime: "2022.04.06", | ||
161 | - endtime: "2022.05.07", | ||
162 | - add: "西城区", | ||
163 | - price: "80", | ||
164 | - | ||
165 | - }, { | ||
166 | - img: "/static/goods.jpg", | ||
167 | - cate: "话剧", | ||
168 | - name: "簋街", | ||
169 | - starttime: "2022.04.06", | ||
170 | - endtime: "2022.05.07", | ||
171 | - add: "西城区", | ||
172 | - price: "80", | ||
173 | - }, { | ||
174 | - img: "/static/goods.jpg", | ||
175 | - cate: "话剧", | ||
176 | - name: "簋街街", | ||
177 | - starttime: "2022.04.06", | ||
178 | - endtime: "2022.05.07", | ||
179 | - add: "西城区", | ||
180 | - price: "80", | ||
181 | - }, { | ||
182 | - img: "/static/goods.jpg", | ||
183 | - cate: "京剧", | ||
184 | - name: "簋街街", | ||
185 | - starttime: "2022.04.06", | ||
186 | - endtime: "2022.05.07", | ||
187 | - add: "西城区", | ||
188 | - price: "80", | ||
189 | - }, { | ||
190 | - img: "/static/goods.jpg", | ||
191 | - cate: "话剧", | ||
192 | - name: "簋街街", | ||
193 | - starttime: "2022.04.06", | ||
194 | - endtime: "2022.05.07", | ||
195 | - add: "西城区", | ||
196 | - price: "80", | ||
197 | - }, { | ||
198 | - img: "/static/goods.jpg", | ||
199 | - cate: "京剧", | ||
200 | - name: "簋街街", | ||
201 | - starttime: "2022.04.06", | ||
202 | - endtime: "2022.05.07", | ||
203 | - add: "西城区", | ||
204 | - price: "80", | ||
205 | - }] | ||
206 | - | ||
207 | - } | ||
208 | - }, | ||
209 | - onShow() {}, | ||
210 | - onLoad() { | ||
211 | - | ||
212 | - }, | ||
213 | - methods: { | ||
214 | - | ||
215 | - }, | ||
216 | - | ||
217 | - } | ||
218 | -</script> | ||
219 | - | ||
220 | -<style lang="scss"> | ||
221 | - //页面背景色 | ||
222 | - page { | ||
223 | - background: white; | ||
224 | - } | ||
225 | - | ||
226 | - //版心 | ||
227 | - .mainBox { | ||
228 | - width: 702rpx; | ||
229 | - margin: 16rpx auto 0; | ||
230 | - } | ||
231 | - | ||
232 | - // 顶部导航栏 | ||
233 | - .topnav { | ||
234 | - position: fixed; | ||
235 | - top: 0; | ||
236 | - z-index: 999999; | ||
237 | - | ||
238 | - .topnavname { | ||
239 | - width: 100%; | ||
240 | - height: 176rpx; | ||
241 | - } | ||
242 | - } | ||
243 | - | ||
244 | - .u-nav-slot { | ||
245 | - z-index: 999; | ||
246 | - color: rgba(255, 255, 255, 1); | ||
247 | - font-size: 40rpx; | ||
248 | - font-weight: 700; | ||
249 | - } | ||
250 | - | ||
251 | - //背景图片 | ||
252 | - .bgphoto { | ||
253 | - position: absolute; | ||
254 | - z-index: -1; | ||
255 | - top: 172rpx; | ||
256 | - | ||
257 | - img { | ||
258 | - width: 750rpx; | ||
259 | - height: 230rpx; | ||
260 | - margin-top: 5rpx; | ||
261 | - } | ||
262 | - } | ||
263 | - | ||
264 | - // 轮播 | ||
265 | - .indicator { | ||
266 | - @include flex(row); | ||
267 | - justify-content: center; | ||
268 | - | ||
269 | - &__dot { | ||
270 | - height: 6px; | ||
271 | - width: 6px; | ||
272 | - border-radius: 100px; | ||
273 | - background-color: rgba(255, 255, 255, 0.35); | ||
274 | - margin: 0 5px; | ||
275 | - transition: background-color 0.3s; | ||
276 | - | ||
277 | - &--active { | ||
278 | - background-color: #ffffff; | ||
279 | - } | ||
280 | - } | ||
281 | - } | ||
282 | - | ||
283 | - .indicator-num { | ||
284 | - @include flex; | ||
285 | - justify-content: center; | ||
286 | - padding: 2px 0; | ||
287 | - background-color: rgba(0, 0, 0, 0.35); | ||
288 | - width: 35px; | ||
289 | - border-radius: 100px; | ||
290 | - | ||
291 | - &__text { | ||
292 | - color: #FFFFFF; | ||
293 | - font-size: 12px; | ||
294 | - } | ||
295 | - } | ||
296 | - | ||
297 | - //搜索框 | ||
298 | - .search { | ||
299 | - margin: 188rpx 24rpx 0 24rpx; | ||
300 | - | ||
301 | - .searchbox { | ||
302 | - display: flex; | ||
303 | - align-items: center; | ||
304 | - width: 702rpx; | ||
305 | - height: 64rpx; | ||
306 | - border-radius: 38rpx; | ||
307 | - background: rgba(72, 11, 11, 0.16); | ||
308 | - | ||
309 | - img { | ||
310 | - margin-left: 24rpx; | ||
311 | - width: 32rpx; | ||
312 | - height: 32rpx; | ||
313 | - margin-top: 10rpx; | ||
314 | - } | ||
315 | - | ||
316 | - .searchtext { | ||
317 | - color: rgba(255, 255, 255, 0.85); | ||
318 | - font-size: 26rpx; | ||
319 | - margin-left: 8rpx; | ||
320 | - } | ||
321 | - } | ||
322 | - | ||
323 | - } | ||
324 | - | ||
325 | - .category { | ||
326 | - display: flex; | ||
327 | - margin: 32rpx 8rpx 40rpx; | ||
328 | - | ||
329 | - .categoryImg { | ||
330 | - flex: 1; | ||
331 | - display: flex; | ||
332 | - justify-content: center; | ||
333 | - align-items: center; | ||
334 | - flex-direction: column; | ||
335 | - color: rgba(0, 0, 0, 0.9); | ||
336 | - font-size: 24rpx; | ||
337 | - | ||
338 | - img { | ||
339 | - width: 96rpx; | ||
340 | - height: 96rpx; | ||
341 | - } | ||
342 | - } | ||
343 | - } | ||
344 | - | ||
345 | - //分类模块 | ||
346 | - .categoryImg2 { | ||
347 | - flex: 1; | ||
348 | - display: flex; | ||
349 | - justify-content: center; | ||
350 | - align-items: center; | ||
351 | - flex-direction: column; | ||
352 | - color: rgba(0, 0, 0, 0.9); | ||
353 | - font-size: 24rpx; | ||
354 | - | ||
355 | - img { | ||
356 | - width: 96rpx; | ||
357 | - height: 96rpx; | ||
358 | - } | ||
359 | - } | ||
360 | - | ||
361 | - //今日、更多演出文字 | ||
362 | - .today { | ||
363 | - display: flex; | ||
364 | - justify-content: space-between; | ||
365 | - align-items: center; | ||
366 | - margin-bottom: 16rpx; | ||
367 | - | ||
368 | - .left { | ||
369 | - color: rgba(0, 0, 0, 0.9); | ||
370 | - font-size: 36rpx; | ||
371 | - font-weight: 700; | ||
372 | - } | ||
373 | - | ||
374 | - .right { | ||
375 | - display: flex; | ||
376 | - color: rgba(0, 0, 0, 0.9); | ||
377 | - font-size: 24rpx; | ||
378 | - | ||
379 | - image { | ||
380 | - width: 16rpx; | ||
381 | - height: 32rpx; | ||
382 | - } | ||
383 | - } | ||
384 | - } | ||
385 | - | ||
386 | - //今日演出滑动 | ||
387 | - .scroll { | ||
388 | - margin-top: 16rpx; | ||
389 | - margin-bottom: 64rpx; | ||
390 | - | ||
391 | - .scroll1 { | ||
392 | - white-space: nowrap; | ||
393 | - width: 100%; | ||
394 | - | ||
395 | - .text1 { | ||
396 | - height: 64rpx; | ||
397 | - width: 194rpx; | ||
398 | - font-size: 24rpx; | ||
399 | - font-weight: 700; | ||
400 | - display: -webkit-box; | ||
401 | - overflow: hidden; | ||
402 | - text-overflow: ellipsis; | ||
403 | - word-wrap: break-word; | ||
404 | - white-space: normal !important; | ||
405 | - -webkit-line-clamp: 2; | ||
406 | - -webkit-box-orient: vertical; | ||
407 | - | ||
408 | - | ||
409 | - } | ||
410 | - | ||
411 | - .text2 { | ||
412 | - color: rgba(0, 0, 0, 0.4); | ||
413 | - font-size: 20rpx; | ||
414 | - } | ||
415 | - } | ||
416 | - | ||
417 | - .scroll2 { | ||
418 | - display: inline-block; | ||
419 | - // height: 300rpx; | ||
420 | - margin-right: 16rpx; | ||
421 | - | ||
422 | - image { | ||
423 | - width: 194rpx; | ||
424 | - height: 260rpx; | ||
425 | - border-radius: 12rpx; | ||
426 | - } | ||
427 | - } | ||
428 | - } | ||
429 | - | ||
430 | - //更多演出列表 | ||
431 | - .todprogram { | ||
432 | - position: relative; | ||
433 | - display: flex; | ||
434 | - margin-bottom: 40rpx; | ||
435 | - | ||
436 | - .left { | ||
437 | - margin-right: 16rpx; | ||
438 | - | ||
439 | - image { | ||
440 | - width: 196rpx; | ||
441 | - height: 270rpx; | ||
442 | - border-radius: 12rpx; | ||
443 | - } | ||
444 | - } | ||
445 | - | ||
446 | - .drama { | ||
447 | - background: rgba(0, 0, 0, 0.6); | ||
448 | - color: rgba(255, 255, 255, 1); | ||
449 | - font-size: 20rpx; | ||
450 | - position: absolute; | ||
451 | - top: 8rpx; | ||
452 | - left: 8rpx; | ||
453 | - padding: 0 4rpx; | ||
454 | - box-sizing: border-box; | ||
455 | - border-radius: 6rpx; | ||
456 | - } | ||
457 | - | ||
458 | - .right { | ||
459 | - display: flex; | ||
460 | - flex-direction: column; | ||
461 | - height: 270rpx; | ||
462 | - | ||
463 | - .nameText { | ||
464 | - width: 490rpx; | ||
465 | - margin-bottom: 12rpx; | ||
466 | - color: rgba(0, 0, 0, 0.9); | ||
467 | - font-size: 32rpx; | ||
468 | - font-weight: 700; | ||
469 | - overflow: hidden; | ||
470 | - text-overflow: ellipsis; | ||
471 | - display: -webkit-box; | ||
472 | - -webkit-line-clamp: 2; | ||
473 | - -webkit-box-orient: vertical; | ||
474 | - } | ||
475 | - | ||
476 | - .timeText { | ||
477 | - color: rgba(0, 0, 0, 0.4); | ||
478 | - font-size: 24rpx; | ||
479 | - margin-bottom: 12rpx; | ||
480 | - } | ||
481 | - | ||
482 | - .addressText { | ||
483 | - color: rgba(0, 0, 0, 0.4); | ||
484 | - font-size: 24rpx; | ||
485 | - margin-bottom: 94rpx; | ||
486 | - } | ||
487 | - | ||
488 | - .priceText { | ||
489 | - | ||
490 | - color: rgba(0, 0, 0, 0.4); | ||
491 | - font-size: 22rpx; | ||
492 | - | ||
493 | - text { | ||
494 | - color: rgba(244, 39, 88, 1); | ||
495 | - font-size: 24rpx; | ||
496 | - font-weight: 700; | ||
497 | - } | ||
498 | - } | ||
499 | - } | ||
500 | - } | ||
501 | - | ||
502 | - .bg { | ||
503 | - position: fixed; | ||
504 | - left: 0; | ||
505 | - top: 0; | ||
506 | - width: 100%; | ||
507 | - height: 176rpx; | ||
508 | - z-index: 1; | ||
509 | - } | ||
510 | - | ||
511 | - .u-navbar__content__left { | ||
512 | - width: 100% !important; | ||
513 | - } | ||
514 | -</style> |
pages/text.vue
已删除
100644 → 0
1 | -<template> | ||
2 | - <view> | ||
3 | - <!-- S 导航栏 --> | ||
4 | - <view class="topnav"> | ||
5 | - <view class="topnavname"> | ||
6 | - <u-navbar title=" " :safeAreaInsetTop="true" :fixed="true" :placeholder="true" bgColor="transparent"> | ||
7 | - <view class="u-nav-slot" slot="left"> | ||
8 | - 大戏看北京 | ||
9 | - </view> | ||
10 | - </u-navbar> | ||
11 | - <image class="bg" src="/static/img-home-bg1.png" mode=""></image> | ||
12 | - </view> | ||
13 | - </view> | ||
14 | - <!-- E 导航栏 --> | ||
15 | - </view> | ||
16 | -</template> | ||
17 | - | ||
18 | -<script> | ||
19 | - export default { | ||
20 | - data() { | ||
21 | - return { | ||
22 | - | ||
23 | - }; | ||
24 | - } | ||
25 | - } | ||
26 | -</script> | ||
27 | - | ||
28 | -<style lang="scss"> | ||
29 | - .topnavname { | ||
30 | - width: 100%; | ||
31 | - height: 176rpx; | ||
32 | - } | ||
33 | - | ||
34 | - .topnavname { | ||
35 | - width: 100%; | ||
36 | - height: 176rpx; | ||
37 | - } | ||
38 | - .u-nav-slot { | ||
39 | - z-index: 999; | ||
40 | - color: rgba(255, 255, 255, 1); | ||
41 | - font-size: 40rpx; | ||
42 | - font-weight: 700; | ||
43 | - } | ||
44 | -</style> |
pages/text3/text3.vue
0 → 100644
1 | +<template> | ||
2 | + <view class=""> | ||
3 | + <!--S 搜索 --> | ||
4 | + <u-navbar leftText="返回" title="88888" :safeAreaInsetTop="true" :bgColor="bgColor" :placeholder="true"> | ||
5 | + <view class="u-nav-slot" slot="left"> | ||
6 | + <image src="/static/ic-back.png" mode="" style="width: 32rpx;height: 32rpx;" @click="toIndex()"> | ||
7 | + <u-search :animation='false' placeholder="请输入商品名称" @search="search" v-model="keywords" | ||
8 | + @focus="focus" :showAction="false" :bgColor="bg"></u-search> | ||
9 | + </view> | ||
10 | + </u-navbar> | ||
11 | + <!--S 分类 --> | ||
12 | + <view class="cate"> | ||
13 | + <u-tabs :list="list1" @click="click" lineColor='#641BFD' lineWidth='40'></u-tabs> | ||
14 | + </view> | ||
15 | + <!-- S 版心 --> | ||
16 | + <view class="mainBox" v-if="status2==1"> | ||
17 | + <!--S 历史搜索 --> | ||
18 | + <view class="history" v-if="historyList.length"> | ||
19 | + <view class="histop"> | ||
20 | + <view class="topleft">历史搜索</view> | ||
21 | + <image src="../../static/ic_trash.png" mode="" @click="delHistroy"></image> | ||
22 | + </view> | ||
23 | + <view class="hisbot"> | ||
24 | + <view class="" v-for="(item,index) in historyList" :key="index" @click="tohis(item)">{{item}}</view> | ||
25 | + </view> | ||
26 | + </view> | ||
27 | + | ||
28 | + <!--S 热门搜索 --> | ||
29 | + <view class="hotsearch"> | ||
30 | + <view class="hot"> | ||
31 | + <image src="/static/ic_hot.png" mode=""></image>热门搜索 | ||
32 | + </view> | ||
33 | + <!--S 热门搜索列表 --> | ||
34 | + <view class="hotlist"> | ||
35 | + <view class="leftlist"> | ||
36 | + <view class="listitem" v-for="(item,idx) in hotlist1" :key="idx" @click="hot(item)"> | ||
37 | + <view class="index" | ||
38 | + :style="{background:idx==0?'#F33F2E':idx==1?'#F4B740':idx==2?'#A3B4E0':'#C8C9CC'}"> | ||
39 | + {{idx+1}} | ||
40 | + </view> | ||
41 | + <view class="listtext">{{item.name}}</view> | ||
42 | + </view> | ||
43 | + </view> | ||
44 | + <view class="line"> | ||
45 | + </view> | ||
46 | + <view class="rightlist" @click="hot(item)"> | ||
47 | + <view class="listitem" v-for="(item,idx) in hotlist2" :key="idx"> | ||
48 | + <view class="index">{{idx+6}}</view> | ||
49 | + <view class="listtext">{{item.name}}</view> | ||
50 | + </view> | ||
51 | + </view> | ||
52 | + </view> | ||
53 | + </view> | ||
54 | + </view> | ||
55 | + <!-- 瀑布流 --> | ||
56 | + <view class="water"> | ||
57 | + <waterfallsFlow :list="list"> | ||
58 | + <template v-slot:default="item"> | ||
59 | + <!-- 此处添加插槽内容 --> | ||
60 | + <view class="cnt"> | ||
61 | + <view class="title">{{item.title}}</view> | ||
62 | + <view class="text">{{item.text}}</view> | ||
63 | + </view> | ||
64 | + </template> | ||
65 | + </waterfallsFlow> | ||
66 | + </view> | ||
67 | + <!--S 提示框 --> | ||
68 | + <u-modal :show="show" title="提示" content='您确定要删除历史记录吗?删除后不可恢复' :showCancelButton='true' @cancel="cancelDel" | ||
69 | + @confirm="confirmDel"></u-modal> | ||
70 | + </view> | ||
71 | +</template> | ||
72 | + | ||
73 | +<script> | ||
74 | + import { | ||
75 | + searchList, | ||
76 | + getlist | ||
77 | + } from '@/api/index.js' | ||
78 | + import waterfallsFlow from "@/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue"; | ||
79 | + export default { | ||
80 | + components: { | ||
81 | + waterfallsFlow | ||
82 | + }, | ||
83 | + data() { | ||
84 | + return { | ||
85 | + bgColor: '#fff', | ||
86 | + bg: '#F6F8FA', | ||
87 | + keywords: '', | ||
88 | + historyList: [], | ||
89 | + show: false, | ||
90 | + //热门搜索 | ||
91 | + hotList: [], | ||
92 | + hotlist1: [], | ||
93 | + hotlist2: [], | ||
94 | + order: 1, | ||
95 | + page: 1, | ||
96 | + rows: 10, | ||
97 | + type_id: 1, //论坛类型 | ||
98 | + bqstatus: 1, | ||
99 | + status2: 1, | ||
100 | + list1: [{ | ||
101 | + name: '美容美发', | ||
102 | + }, { | ||
103 | + name: '长发造型', | ||
104 | + }, { | ||
105 | + name: '电影' | ||
106 | + }, { | ||
107 | + name: '科技' | ||
108 | + }, { | ||
109 | + name: '音乐' | ||
110 | + }, { | ||
111 | + name: '美食' | ||
112 | + }, { | ||
113 | + name: '文化' | ||
114 | + }, { | ||
115 | + name: '财经' | ||
116 | + }, { | ||
117 | + name: '手工' | ||
118 | + }], | ||
119 | + list: [] | ||
120 | + }; | ||
121 | + }, | ||
122 | + onShow() { | ||
123 | + uni.setStorageSync('token', '781bb514-342d-4a67-9086-758b4e6477c0') | ||
124 | + this.searchList() | ||
125 | + let historyList1 = [] | ||
126 | + if (uni.getStorageSync('histroyList')) { | ||
127 | + historyList1 = uni.getStorageSync('histroyList') | ||
128 | + } | ||
129 | + this.historyList = historyList1 | ||
130 | + }, | ||
131 | + onLoad() { | ||
132 | + | ||
133 | + }, | ||
134 | + | ||
135 | + methods: { | ||
136 | + //搜索 | ||
137 | + async getlist() { | ||
138 | + try { | ||
139 | + const res = await getlist(this.type_id, this.keywords, this.order, this.page, this.rows) | ||
140 | + this.list = res.data | ||
141 | + // 保存数据 | ||
142 | + } catch (err) { | ||
143 | + uni.showToast({ | ||
144 | + title: err, | ||
145 | + icon: 'none' | ||
146 | + }) | ||
147 | + console.log('getlist', err) | ||
148 | + } | ||
149 | + }, | ||
150 | + //热门搜索 | ||
151 | + async searchList() { | ||
152 | + try { | ||
153 | + const res = await searchList(this.order, this.page, this.rows) | ||
154 | + this.hotList = res.data | ||
155 | + this.hotlist1 = this.hotList.slice(0, 5) | ||
156 | + this.hotlist2 = this.hotList.slice(5) | ||
157 | + // 保存数据 | ||
158 | + } catch (err) { | ||
159 | + uni.showToast({ | ||
160 | + title: err, | ||
161 | + icon: 'none' | ||
162 | + }) | ||
163 | + console.log('searchList', err) | ||
164 | + } | ||
165 | + }, | ||
166 | + focus() { | ||
167 | + this.bqstatus = 1 | ||
168 | + }, | ||
169 | + search2(item) { | ||
170 | + this.keywords = item | ||
171 | + this.bqstatus = 2 | ||
172 | + this.status2 = 2 | ||
173 | + this.getlist() | ||
174 | + }, | ||
175 | + hot(item) { | ||
176 | + this.keywords = item | ||
177 | + this.bqstatus = 2 | ||
178 | + this.status2 = 2 | ||
179 | + this.getlist() | ||
180 | + }, | ||
181 | + toIndex() { | ||
182 | + | ||
183 | + }, | ||
184 | + search(e) { | ||
185 | + // console.log(e) | ||
186 | + if (e.length) { | ||
187 | + this.historyList.push(e) | ||
188 | + this.historyList = [...new Set(this.historyList)] | ||
189 | + this.isSearch = 2 | ||
190 | + this.getlist() | ||
191 | + } | ||
192 | + if (this.historyList.length > 10) { | ||
193 | + this.historyList.splice(0, 1) | ||
194 | + } | ||
195 | + uni.setStorageSync('histroyList', this.historyList) | ||
196 | + }, | ||
197 | + | ||
198 | + delHistroy() { | ||
199 | + this.show = true | ||
200 | + }, | ||
201 | + cancelDel() { | ||
202 | + this.show = false | ||
203 | + }, | ||
204 | + //确认删除 | ||
205 | + confirmDel() { | ||
206 | + this.historyList = [] | ||
207 | + this.show = false | ||
208 | + uni.clearStorageSync('histroyList') | ||
209 | + uni.showToast({ | ||
210 | + title: '删除成功' | ||
211 | + }) | ||
212 | + | ||
213 | + }, | ||
214 | + tohis(item) { | ||
215 | + this.keywords = item | ||
216 | + this.status2 = 2 | ||
217 | + this.getlist() | ||
218 | + }, | ||
219 | + click(item) { | ||
220 | + console.log('item', item); | ||
221 | + } | ||
222 | + } | ||
223 | + }; | ||
224 | +</script> | ||
225 | + | ||
226 | +<style lang="scss"> | ||
227 | + page { | ||
228 | + background: #FFFFFF; | ||
229 | + } | ||
230 | + | ||
231 | + .u-navbar__content__title.data-v-75dad532 { | ||
232 | + display: none !important; | ||
233 | + } | ||
234 | + | ||
235 | + .u-navbar { | ||
236 | + .u-nav-slot { | ||
237 | + display: flex; | ||
238 | + align-items: center; | ||
239 | + } | ||
240 | + } | ||
241 | + | ||
242 | + .u-search__content.data-v-1a326067 { | ||
243 | + margin-left: 20rpx; | ||
244 | + } | ||
245 | + | ||
246 | + .cate { | ||
247 | + background: white; | ||
248 | + } | ||
249 | + | ||
250 | + //版心内容 | ||
251 | + .mainBox { | ||
252 | + margin: 34rpx auto 0; | ||
253 | + width: 686rpx; | ||
254 | + | ||
255 | + .history { | ||
256 | + .histop { | ||
257 | + display: flex; | ||
258 | + align-items: center; | ||
259 | + justify-content: space-between; | ||
260 | + margin-top: 34rpx; | ||
261 | + margin-bottom: 32rpx; | ||
262 | + color: rgba(50, 50, 51, 1); | ||
263 | + font-size: 28rpx; | ||
264 | + font-weight: 700; | ||
265 | + text-align: left; | ||
266 | + line-height: 36rpx; | ||
267 | + | ||
268 | + image { | ||
269 | + width: 32rpx; | ||
270 | + height: 32rpx; | ||
271 | + } | ||
272 | + } | ||
273 | + | ||
274 | + .hisbot { | ||
275 | + display: flex; | ||
276 | + flex-wrap: wrap; | ||
277 | + | ||
278 | + view { | ||
279 | + padding: 0 12rpx; | ||
280 | + color: rgba(0, 0, 0, 0.9); | ||
281 | + font-size: 24rpx; | ||
282 | + line-height: 48rpx; | ||
283 | + border-radius: 154rpx; | ||
284 | + background-color: #F7F8FA; | ||
285 | + margin-right: 24rpx; | ||
286 | + } | ||
287 | + | ||
288 | + .hisbotitem { | ||
289 | + display: flex; | ||
290 | + | ||
291 | + } | ||
292 | + } | ||
293 | + } | ||
294 | + | ||
295 | + .hotsearch { | ||
296 | + margin-top: 64rpx; | ||
297 | + padding: 34rpx; | ||
298 | + box-sizing: border-box; | ||
299 | + height: 460rpx; | ||
300 | + border-radius: 20rpx; | ||
301 | + background: linear-gradient(180.1deg, rgba(254, 242, 240, 1) 0%, rgba(255, 251, 248, 1) 35%, rgba(255, 255, 255, 0) 100%); | ||
302 | + | ||
303 | + .hot { | ||
304 | + color: rgba(50, 50, 51, 1); | ||
305 | + font-size: 28rpx; | ||
306 | + font-weight: 700; | ||
307 | + margin-bottom: 40rpx; | ||
308 | + | ||
309 | + image { | ||
310 | + width: 32rpx; | ||
311 | + height: 32rpx; | ||
312 | + margin-right: 10rpx; | ||
313 | + | ||
314 | + } | ||
315 | + } | ||
316 | + | ||
317 | + .hotlist { | ||
318 | + display: flex; | ||
319 | + align-items: center; | ||
320 | + | ||
321 | + .leftlist { | ||
322 | + .listitem { | ||
323 | + display: flex; | ||
324 | + align-items: center; | ||
325 | + color: rgba(50, 50, 51, 1); | ||
326 | + font-size: 26rpx; | ||
327 | + margin-bottom: 32rpx; | ||
328 | + | ||
329 | + .listtext { | ||
330 | + width: 246rpx; | ||
331 | + width: 246rpx; | ||
332 | + overflow: hidden; | ||
333 | + text-overflow: ellipsis; | ||
334 | + white-space: nowrap; | ||
335 | + } | ||
336 | + } | ||
337 | + } | ||
338 | + | ||
339 | + .line { | ||
340 | + margin: 0 20rpx; | ||
341 | + width: 2rpx; | ||
342 | + height: 328rpx; | ||
343 | + background: #c7c9ca; | ||
344 | + } | ||
345 | + | ||
346 | + .rightlist { | ||
347 | + .listitem { | ||
348 | + display: flex; | ||
349 | + align-items: center; | ||
350 | + color: rgba(50, 50, 51, 1); | ||
351 | + font-size: 26rpx; | ||
352 | + margin-bottom: 32rpx; | ||
353 | + } | ||
354 | + | ||
355 | + .listtext { | ||
356 | + width: 246rpx; | ||
357 | + overflow: hidden; | ||
358 | + text-overflow: ellipsis; | ||
359 | + white-space: nowrap; | ||
360 | + } | ||
361 | + } | ||
362 | + } | ||
363 | + | ||
364 | + .index { | ||
365 | + // text-align: center; | ||
366 | + font-size: 20rpx; | ||
367 | + margin-right: 16rpx; | ||
368 | + width: 24rpx; | ||
369 | + height: 24rpx; | ||
370 | + color: rgba(255, 255, 255, 1); | ||
371 | + border-radius: 8rpx; | ||
372 | + background: rgba(200, 201, 204, 1); | ||
373 | + text-align: center; | ||
374 | + } | ||
375 | + | ||
376 | + } | ||
377 | + } | ||
378 | +</style> |
static/arrow.jpg
已删除
100644 → 0
282 字节
static/banner.jpg
已删除
100644 → 0
107.8 KB
static/goods.jpg
已删除
100644 → 0
32.4 KB
static/ic-back.png
0 → 100644
608 字节
static/ic-ertongju.jpg
已删除
100644 → 0
3.8 KB
static/ic-huaju.jpg
已删除
100644 → 0
3.7 KB
static/ic-more.jpg
已删除
100644 → 0
3.4 KB
static/ic-tabbar-find-n.jpg
已删除
100644 → 0
878 字节
static/ic-tabbar-home-s.jpg
已删除
100644 → 0
1.4 KB
static/ic-tabbar-my-n.jpg
已删除
100644 → 0
1007 字节
static/ic-tabbar-oder-n.jpg
已删除
100644 → 0
1.0 KB
static/ic-yinyuehui.jpg
已删除
100644 → 0
4.0 KB
static/ic-yinyueju.jpg
已删除
100644 → 0
3.7 KB
static/ic_hot.png
0 → 100644
1.6 KB
static/ic_trash.png
0 → 100644
1.1 KB
static/img-home-bg1.jpg
已删除
100644 → 0
23.8 KB
static/img-home-bg2.jpg
已删除
100644 → 0
28.9 KB
static/search.png
已删除
100644 → 0
478 字节
uni_modules/helang-waterfall/changelog.md
0 → 100644
1 | +## 1.1.6(2022-10-24) | ||
2 | +修复 初始化渲染变量取值错误问题 | ||
3 | +## 1.1.5(2022-10-24) | ||
4 | +初始化渲染增加状态条件判断 | ||
5 | +## 1.1.4(2022-10-24) | ||
6 | +修改空数据提示 | ||
7 | +## 1.1.3(2022-10-24) | ||
8 | +1、增加内容插槽 | ||
9 | + | ||
10 | +2、删除状态文本属性 | ||
11 | + | ||
12 | +3、组件创建时可触发渲染条件 | ||
13 | +## 1.1.2(2022-09-26) | ||
14 | +修改了开启布局的判断条件 | ||
15 | +## 1.1.1(2022-08-28) | ||
16 | +1、加强组件化封装 | ||
17 | + | ||
18 | +2、 完善注释和优化使用逻辑 | ||
19 | +## 1.1.0(2022-08-22) | ||
20 | +重写渲染列表逻辑 | ||
21 | +## 1.0.1(2021-06-08) | ||
22 | +修改插入方向计算方式 |
1 | +<template> | ||
2 | + <view class="waterfall-item-container"> | ||
3 | + <view class="waterfall-item" @tap="onTap"> | ||
4 | + <image :src="params.url" mode="widthFix" @load="emitHeight" @error="emitHeight"></image> | ||
5 | + <view class="content"> | ||
6 | + <view>{{params.title}}</view> | ||
7 | + <view class="money">{{params.money}}元</view> | ||
8 | + <view style="margin: 0 0 8rpx 0;"> | ||
9 | + <text class="label">{{params.label}}</text> | ||
10 | + </view> | ||
11 | + <view class="shop-name">{{params.shop}}</view> | ||
12 | + </view> | ||
13 | + </view> | ||
14 | + </view> | ||
15 | +</template> | ||
16 | + | ||
17 | +<script> | ||
18 | + export default { | ||
19 | + name:"helangWaterfallItem", | ||
20 | + options:{ | ||
21 | + virtualHost: true | ||
22 | + }, | ||
23 | + props:{ | ||
24 | + params:{ | ||
25 | + type: Object, | ||
26 | + default(){ | ||
27 | + return {} | ||
28 | + } | ||
29 | + }, | ||
30 | + tag:{ | ||
31 | + type:String | Number, | ||
32 | + default:'' | ||
33 | + }, | ||
34 | + index:{ | ||
35 | + type:Number, | ||
36 | + default:-1 | ||
37 | + } | ||
38 | + }, | ||
39 | + data() { | ||
40 | + return { | ||
41 | + | ||
42 | + }; | ||
43 | + }, | ||
44 | + methods:{ | ||
45 | + // 发出组件高度信息,在此处可以区分正确和错误的加载,给予错误的提示图片 | ||
46 | + emitHeight(e){ | ||
47 | + const query = uni.createSelectorQuery().in(this); | ||
48 | + query.select('.waterfall-item-container').boundingClientRect(data => { | ||
49 | + let height = Math.floor(data.height); | ||
50 | + this.$emit("height",height,this.$props.tag); | ||
51 | + }).exec(); | ||
52 | + }, | ||
53 | + onTap(){ | ||
54 | + this.$emit("click",this.$props.index,this.$props.tag); | ||
55 | + } | ||
56 | + } | ||
57 | + } | ||
58 | +</script> | ||
59 | + | ||
60 | +<style lang="scss" scoped> | ||
61 | +.waterfall-item{ | ||
62 | + padding: 16rpx; | ||
63 | + background-color: #fff; | ||
64 | + border-radius: 4px; | ||
65 | + font-size: 28rpx; | ||
66 | + color: #666; | ||
67 | + | ||
68 | + image{ | ||
69 | + display: block; | ||
70 | + width: 100%; | ||
71 | + // 默认设置一个图片的大约值 | ||
72 | + height: 350rpx; | ||
73 | + } | ||
74 | + | ||
75 | + .content{ | ||
76 | + margin-top: 16rpx; | ||
77 | + | ||
78 | + .money{ | ||
79 | + color: #fa3534; | ||
80 | + margin-top: 8rpx; | ||
81 | + } | ||
82 | + | ||
83 | + .label{ | ||
84 | + background-color: #fa3534; | ||
85 | + color: #fff; | ||
86 | + font-size: 20rpx; | ||
87 | + padding: 4rpx 16rpx; | ||
88 | + border-radius: 20rpx; | ||
89 | + } | ||
90 | + | ||
91 | + .shop-name{ | ||
92 | + font-size: 20rpx; | ||
93 | + color: #999; | ||
94 | + } | ||
95 | + } | ||
96 | +} | ||
97 | +</style> |
1 | +<template> | ||
2 | + <view> | ||
3 | + <view class="waterfall-box h-flex-x h-flex-2" v-if="showList"> | ||
4 | + <view> | ||
5 | + <view v-for="(item,index) in leftList" :key="item._render_id" | ||
6 | + class="list-item" | ||
7 | + :class="{'show': showPage > item._current_page }" | ||
8 | + > | ||
9 | + <helang-waterfall-item | ||
10 | + :params="item" | ||
11 | + tag="left" | ||
12 | + :index="index" | ||
13 | + @height="onHeight" | ||
14 | + @click="onClick" | ||
15 | + ></helang-waterfall-item> | ||
16 | + </view> | ||
17 | + </view> | ||
18 | + <view> | ||
19 | + <view v-for="(item,index) in rightList" :key="item._render_id" | ||
20 | + class="list-item" | ||
21 | + :class="{'show': showPage > item._current_page }" | ||
22 | + > | ||
23 | + <helang-waterfall-item | ||
24 | + :params="item" | ||
25 | + @height="onHeight" | ||
26 | + @click="onClick" | ||
27 | + tag="right" | ||
28 | + :index="index" | ||
29 | + ></helang-waterfall-item> | ||
30 | + </view> | ||
31 | + </view> | ||
32 | + </view> | ||
33 | + | ||
34 | + <slot name="default"></slot> | ||
35 | + </view> | ||
36 | +</template> | ||
37 | + | ||
38 | +<script> | ||
39 | + import helangWaterfallItem from "./waterfall-item.vue" | ||
40 | + | ||
41 | + export default { | ||
42 | + name:"helangWaterfallList", | ||
43 | + options:{ | ||
44 | + virtualHost: true | ||
45 | + }, | ||
46 | + components: { | ||
47 | + "helang-waterfall-item": helangWaterfallItem | ||
48 | + }, | ||
49 | + props:{ | ||
50 | + // 组件状态 | ||
51 | + status:{ | ||
52 | + type: String, | ||
53 | + default:'' | ||
54 | + }, | ||
55 | + // 待渲染的数据 | ||
56 | + list:{ | ||
57 | + type: Array, | ||
58 | + default(){ | ||
59 | + return []; | ||
60 | + } | ||
61 | + }, | ||
62 | + // 重置列表,设置为 true 时,瀑布流会自动重新渲染列表 | ||
63 | + reset:{ | ||
64 | + type: Boolean, | ||
65 | + default:false | ||
66 | + }, | ||
67 | + }, | ||
68 | + watch:{ | ||
69 | + "$props.status"(newValue,oldValue){ | ||
70 | + // 状态变更为 加载成功 时,执行瀑布流数据渲染 | ||
71 | + if(newValue == 'success'){ | ||
72 | + this.startRender(); | ||
73 | + }else if(!this.showList){ | ||
74 | + this.resetData(); | ||
75 | + } | ||
76 | + } | ||
77 | + }, | ||
78 | + computed:{ | ||
79 | + showList(){ | ||
80 | + return !["fail","empty"].includes(this.$props.status); | ||
81 | + } | ||
82 | + }, | ||
83 | + data() { | ||
84 | + return { | ||
85 | + // 左侧列表高度 | ||
86 | + leftHeight: 0, | ||
87 | + // 右侧列表高度 | ||
88 | + rightHeight: 0, | ||
89 | + // 左侧列表数据 | ||
90 | + leftList: [], | ||
91 | + // 右侧列表数据 | ||
92 | + rightList: [], | ||
93 | + // 待渲染列表 | ||
94 | + awaitRenderList:[], | ||
95 | + // 当前展示页码数据 | ||
96 | + showPage:1 | ||
97 | + } | ||
98 | + }, | ||
99 | + mounted() { | ||
100 | + if(this.$props.status == 'success'){ | ||
101 | + this.startRender(); | ||
102 | + } | ||
103 | + }, | ||
104 | + methods: { | ||
105 | + // 监听高度变化 | ||
106 | + onHeight(height, tag) { | ||
107 | + /** | ||
108 | + * 这个为实际渲染后 CSS 中 margin-buttom 的值,本示例默认为20rpx | ||
109 | + * 用于解决实际渲染后因为数据条数关系,高度差计算偏差的问题 | ||
110 | + * */ | ||
111 | + let marginBottom = uni.upx2px(20); | ||
112 | + | ||
113 | + // console.log(`左高:${this.leftHeight},右高:${this.rightHeight},当前高:${height},插入方向:${tag}`) | ||
114 | + | ||
115 | + if (tag == 'left') { | ||
116 | + this.leftHeight += (height + marginBottom); | ||
117 | + } else { | ||
118 | + this.rightHeight += (height + marginBottom); | ||
119 | + } | ||
120 | + this.renderList(); | ||
121 | + }, | ||
122 | + // 组件点击事件 | ||
123 | + onClick(index, tag){ | ||
124 | + // 对应的数据 | ||
125 | + if(tag == 'left'){ | ||
126 | + this.$emit("click",this.leftList[index],index,tag); | ||
127 | + }else{ | ||
128 | + this.$emit("click",this.rightList[index],index,tag); | ||
129 | + } | ||
130 | + }, | ||
131 | + // 渲染列表,这里实现瀑布流的左右分栏 | ||
132 | + renderList() { | ||
133 | + // 待渲染长度为 0 时表示已渲染完成 | ||
134 | + if(this.awaitRenderList.length < 1){ | ||
135 | + this.showPage++; | ||
136 | + this.$emit("done"); | ||
137 | + | ||
138 | + // 为防止 js 数值类型最大值溢出,当高度值大于 1亿时重置高度 | ||
139 | + if(this.leftHeight > 100000000){ | ||
140 | + if(this.leftHeight > this.rightHeight){ | ||
141 | + this.leftHeight = 2; | ||
142 | + this.rightHeight = 1; | ||
143 | + }else{ | ||
144 | + this.leftHeight = 1; | ||
145 | + this.rightHeight = 2; | ||
146 | + } | ||
147 | + } | ||
148 | + return; | ||
149 | + } | ||
150 | + let item = { | ||
151 | + ...this.awaitRenderList.splice(0,1)[0], | ||
152 | + // 当前数据添加当前页面标识 | ||
153 | + _current_page:this.showPage, | ||
154 | + // 当前数据添加一个渲染id,解决 v-for 重复会出现不执行 load 的 BUG | ||
155 | + _render_id:new Date().getTime() | ||
156 | + }; | ||
157 | + | ||
158 | + if(this.leftHeight > this.rightHeight){ | ||
159 | + this.rightList.push(item); | ||
160 | + }else{ | ||
161 | + this.leftList.push(item); | ||
162 | + } | ||
163 | + }, | ||
164 | + // 重置数据 | ||
165 | + resetData(){ | ||
166 | + this.leftHeight = 0; | ||
167 | + this.rightHeight = 0; | ||
168 | + this.leftList = []; | ||
169 | + this.rightList = []; | ||
170 | + this.awaitRenderList = []; | ||
171 | + // 当前展示页码数据 | ||
172 | + this.showPage = 1; | ||
173 | + }, | ||
174 | + // 启动渲染 | ||
175 | + startRender(){ | ||
176 | + if(!this.showList){ | ||
177 | + this.resetData(); | ||
178 | + return; | ||
179 | + } | ||
180 | + | ||
181 | + if(!this.$props.list || this.$props.list.length < 1){ | ||
182 | + console.log('河浪瀑布流插件提示:当前数据为空,不会触发列表渲染'); | ||
183 | + return; | ||
184 | + } | ||
185 | + | ||
186 | + // 若本次渲染为 重置 则先恢复组件的默认参数 | ||
187 | + if(this.$props.reset){ | ||
188 | + this.resetData(); | ||
189 | + } | ||
190 | + | ||
191 | + this.awaitRenderList = [...this.$props.list]; | ||
192 | + this.renderList(); | ||
193 | + } | ||
194 | + } | ||
195 | + } | ||
196 | +</script> | ||
197 | + | ||
198 | +<style lang="scss" scoped> | ||
199 | + .waterfall-box { | ||
200 | + padding: 20rpx 10rpx; | ||
201 | + box-sizing: border-box; | ||
202 | + | ||
203 | + >view { | ||
204 | + padding: 0 10rpx; | ||
205 | + } | ||
206 | + | ||
207 | + .list-item{ | ||
208 | + margin-bottom: 0; | ||
209 | + // 设置透明,默认是可视的 | ||
210 | + opacity: 0; | ||
211 | + // 默认超出隐藏,不影响加载中的文字显示效果 | ||
212 | + overflow: hidden; | ||
213 | + height: 0; | ||
214 | + | ||
215 | + &.show{ | ||
216 | + margin-bottom: 20rpx; | ||
217 | + opacity: 1; | ||
218 | + overflow: auto; | ||
219 | + height: auto; | ||
220 | + } | ||
221 | + } | ||
222 | + } | ||
223 | + | ||
224 | + .h-flex-x { | ||
225 | + display: flex; | ||
226 | + flex-direction: row; | ||
227 | + flex-wrap: nowrap; | ||
228 | + justify-content: flex-start; | ||
229 | + align-items: flex-start; | ||
230 | + align-content: flex-start; | ||
231 | + | ||
232 | + &.h-flex-2 { | ||
233 | + >view { | ||
234 | + width: 50%; | ||
235 | + } | ||
236 | + } | ||
237 | + } | ||
238 | +</style> |
1 | +let list = ()=>{ | ||
2 | + return new Promise((resolve,reject)=>{ | ||
3 | + setTimeout(() => { | ||
4 | + // 生成随机数方法 | ||
5 | + let random = (min = 0, max) => { | ||
6 | + return Math.floor(Math.random() * max) + min; | ||
7 | + } | ||
8 | + // 待选的图片数据 | ||
9 | + let imgs = []; | ||
10 | + // 待选的标题数据 | ||
11 | + let titles = [ | ||
12 | + '桃花坞里桃花庵,桃花庵里桃花仙;', | ||
13 | + '桃花仙人种桃树,又摘桃花卖酒钱。', | ||
14 | + '酒醒只在花前坐,酒醉还来花下眠;半醒半醉日复日,花落花开年复年。', | ||
15 | + '但愿老死花酒间,不愿鞠躬车马前;', | ||
16 | + '车尘马足富者趣,酒盏花枝贫者缘。若将富贵比贫贱,', | ||
17 | + '一在平地一在天;若将贫贱比车马,他得驱驰我得闲。', | ||
18 | + '别人笑我太疯癫,我笑他人看不穿;不见五陵豪杰墓,无花无酒锄作田。' | ||
19 | + ]; | ||
20 | + | ||
21 | + let res = []; | ||
22 | + for (let i = 0; i < 10; i++) { | ||
23 | + res.push({ | ||
24 | + id:i+1, | ||
25 | + url:`/uni_modules/helang-waterfall/static/waterfall/${random(0,3)}.jpg?t=${new Date().getTime()}`, | ||
26 | + title: titles[random(0, titles.length)], | ||
27 | + money: random(9, 9999), | ||
28 | + label:'官方自营', | ||
29 | + shop:'唐诗三百首旗舰店' | ||
30 | + }) | ||
31 | + } | ||
32 | + resolve(res); | ||
33 | + }, 500); | ||
34 | + }) | ||
35 | +} | ||
36 | + | ||
37 | +export default { | ||
38 | + getList:list | ||
39 | +} |
uni_modules/helang-waterfall/package.json
0 → 100644
1 | +{ | ||
2 | + "id": "helang-waterfall", | ||
3 | + "displayName": "瀑布流布局-waterfall", | ||
4 | + "version": "1.1.6", | ||
5 | + "description": "这是一款简单又好用的瀑布流布局模板,通过页面模板+组件的方式。充分利用组件的复用性和页面的生命周期。", | ||
6 | + "keywords": [ | ||
7 | + "瀑布流", | ||
8 | + "布局", | ||
9 | + "列表", | ||
10 | + "waterfall" | ||
11 | +], | ||
12 | + "repository": "https://gitee.com/myDarling/uniapp-extend", | ||
13 | + "engines": { | ||
14 | + "HBuilderX": "^3.2.11" | ||
15 | + }, | ||
16 | +"dcloudext": { | ||
17 | + "sale": { | ||
18 | + "regular": { | ||
19 | + "price": "0.00" | ||
20 | + }, | ||
21 | + "sourcecode": { | ||
22 | + "price": "0.00" | ||
23 | + } | ||
24 | + }, | ||
25 | + "contact": { | ||
26 | + "qq": "" | ||
27 | + }, | ||
28 | + "declaration": { | ||
29 | + "ads": "无", | ||
30 | + "data": "无", | ||
31 | + "permissions": "无" | ||
32 | + }, | ||
33 | + "npmurl": "", | ||
34 | + "type": "uniapp-template-page" | ||
35 | + }, | ||
36 | + "uni_modules": { | ||
37 | + "dependencies": [], | ||
38 | + "encrypt": [], | ||
39 | + "platforms": { | ||
40 | + "cloud": { | ||
41 | + "tcb": "y", | ||
42 | + "aliyun": "y" | ||
43 | + }, | ||
44 | + "client": { | ||
45 | + "App": { | ||
46 | + "app-vue": "y", | ||
47 | + "app-nvue": "u" | ||
48 | + }, | ||
49 | + "H5-mobile": { | ||
50 | + "Safari": "y", | ||
51 | + "Android Browser": "y", | ||
52 | + "微信浏览器(Android)": "y", | ||
53 | + "QQ浏览器(Android)": "y" | ||
54 | + }, | ||
55 | + "H5-pc": { | ||
56 | + "Chrome": "y", | ||
57 | + "IE": "y", | ||
58 | + "Edge": "y", | ||
59 | + "Firefox": "y", | ||
60 | + "Safari": "y" | ||
61 | + }, | ||
62 | + "小程序": { | ||
63 | + "微信": "y", | ||
64 | + "阿里": "y", | ||
65 | + "百度": "y", | ||
66 | + "字节跳动": "y", | ||
67 | + "QQ": "y" | ||
68 | + }, | ||
69 | + "快应用": { | ||
70 | + "华为": "y", | ||
71 | + "联盟": "y" | ||
72 | + } | ||
73 | + } | ||
74 | + } | ||
75 | + } | ||
76 | +} |
1 | +<template> | ||
2 | + <view> | ||
3 | + <helang-waterfall-list | ||
4 | + :status="waterfall.status" | ||
5 | + :list="waterfall.list" | ||
6 | + :reset="waterfall.reset" | ||
7 | + @click="onClick" | ||
8 | + @done="onDone" | ||
9 | + > | ||
10 | + <template> | ||
11 | + <view v-if="waterfall.status == 'await'"> | ||
12 | + <view class="load-txt">上拉加载更多</view> | ||
13 | + </view> | ||
14 | + <view v-else-if="waterfall.status == 'loading'"> | ||
15 | + <view class="load-txt">加载中</view> | ||
16 | + </view> | ||
17 | + <view v-else-if="waterfall.status == 'success'"> | ||
18 | + <view class="load-txt">加载中</view> | ||
19 | + </view> | ||
20 | + <view v-else-if="waterfall.status == 'finish'"> | ||
21 | + <view class="load-txt">没有更多了</view> | ||
22 | + </view> | ||
23 | + <view v-else-if="waterfall.status == 'fail'"> | ||
24 | + <image class="load-icon" src="../../static/waterfall/fail.png"></image> | ||
25 | + <view class="load-txt">出错了,请刷新重试</view> | ||
26 | + </view> | ||
27 | + <view v-else-if="waterfall.status == 'empty'"> | ||
28 | + <image class="load-icon" src="../../static/waterfall/empty.png"></image> | ||
29 | + <view class="load-txt">暂无数据</view> | ||
30 | + </view> | ||
31 | + <view v-else><!-- 别问我为什么要写一个 v-else 的空 view,不写H5平台就会有CSS生效的离谱BUG --></view> | ||
32 | + </template> | ||
33 | + </helang-waterfall-list> | ||
34 | + | ||
35 | + <view class="status-change" @tap="onStatusChange"> | ||
36 | + <view>切换<br />状态</view> | ||
37 | + </view> | ||
38 | + </view> | ||
39 | +</template> | ||
40 | + | ||
41 | +<script> | ||
42 | + import helangWaterfallList from "@/uni_modules/helang-waterfall/components/waterfall/waterfall-list" | ||
43 | + | ||
44 | + // 列表接口模拟数据 | ||
45 | + import mockData from '../../mock-data/waterfall-list.js' | ||
46 | + | ||
47 | + export default { | ||
48 | + components: { | ||
49 | + "helang-waterfall-list": helangWaterfallList | ||
50 | + }, | ||
51 | + data() { | ||
52 | + return { | ||
53 | + // 异步请求相关 | ||
54 | + ajax: { | ||
55 | + // 是否可以加载 | ||
56 | + load: true, | ||
57 | + // 每页的请求条件 | ||
58 | + rows:10, | ||
59 | + // 页码 | ||
60 | + page:1, | ||
61 | + // 数据列表 | ||
62 | + dataList:[] | ||
63 | + }, | ||
64 | + // 瀑布流组件相关 | ||
65 | + waterfall:{ | ||
66 | + status:"", | ||
67 | + reset:false, | ||
68 | + list:[] | ||
69 | + } | ||
70 | + | ||
71 | + } | ||
72 | + }, | ||
73 | + onReady() { | ||
74 | + this.getList(); | ||
75 | + }, | ||
76 | + // 触底触发 | ||
77 | + onReachBottom() { | ||
78 | + this.getList(); | ||
79 | + }, | ||
80 | + // 下拉刷新 | ||
81 | + onPullDownRefresh(){ | ||
82 | + // 正常情况下接口返回应该很会很快。故意延迟调用,让用户有在刷新的体验感 | ||
83 | + setTimeout(()=>{ | ||
84 | + this.ajax.page = 1; | ||
85 | + this.ajax.load = true; | ||
86 | + this.getList(); | ||
87 | + },800); | ||
88 | + }, | ||
89 | + methods: { | ||
90 | + // 瀑布流组件点击事件 | ||
91 | + onClick(data,index, tag){ | ||
92 | + console.log(data); | ||
93 | + let direction = { | ||
94 | + "left":'左', | ||
95 | + "right":'右' | ||
96 | + } | ||
97 | + uni.showToast({ | ||
98 | + title:`${direction[tag]}侧列表第${index+1}个被点击`, | ||
99 | + icon:'none' | ||
100 | + }) | ||
101 | + }, | ||
102 | + // 瀑布流组件渲染完成 | ||
103 | + onDone(){ | ||
104 | + // 设置组件为 非重置,这行代码保留不删即可 | ||
105 | + this.waterfall.reset = false; | ||
106 | + | ||
107 | + // 恢复 getList 方法的调用 | ||
108 | + this.ajax.load = true; | ||
109 | + this.ajax.page++; | ||
110 | + | ||
111 | + // 设置组件状态为 等待加载 | ||
112 | + this.waterfall.status = 'await'; | ||
113 | + | ||
114 | + /** | ||
115 | + * 如果你是一个追求完美的开发者,可以通过判断当前数据的长度和请求的数据长度来优化前端请求,减少不必要请求 | ||
116 | + * 不需要则删除 | ||
117 | + * */ | ||
118 | + /** | ||
119 | + if(this.ajax.dataCount >= this.ajax.rows){ | ||
120 | + this.ajax.load = true; | ||
121 | + this.ajax.page++; | ||
122 | + } | ||
123 | + */ | ||
124 | + }, | ||
125 | + // 获取数据 | ||
126 | + getList() { | ||
127 | + if (!this.ajax.load) { | ||
128 | + return; | ||
129 | + } | ||
130 | + this.ajax.load = false; | ||
131 | + | ||
132 | + // 设置状态为加载中 | ||
133 | + this.waterfall.status = 'loading'; | ||
134 | + | ||
135 | + // 请求数据, mockData.getList 示例一个 ajax 请求 | ||
136 | + mockData.getList({ | ||
137 | + pageNum:this.ajax.page, | ||
138 | + pageSize:this.ajax.rows | ||
139 | + }).then(res=>{ | ||
140 | + // 获取到的数据,请注意数据结构 | ||
141 | + console.log(res); | ||
142 | + | ||
143 | + // 第一页数据执行以下代码 | ||
144 | + if(this.ajax.page == 1){ | ||
145 | + // 关闭下拉 | ||
146 | + uni.stopPullDownRefresh(); | ||
147 | + | ||
148 | + // 设置组件状态为 重置,可供下拉刷新这类需要重置列表功能时使用 | ||
149 | + this.waterfall.reset = true; | ||
150 | + } | ||
151 | + | ||
152 | + // 数据无效时处理 | ||
153 | + if(!res || res.length < 1){ | ||
154 | + // 设置组件为 加载结束 状态 | ||
155 | + this.waterfall.status = 'finish'; | ||
156 | + return; | ||
157 | + } | ||
158 | + | ||
159 | + // 将数据赋值给瀑布流 list 属性 | ||
160 | + this.waterfall.list = res; | ||
161 | + // 设置组件为 加载成功 状态,此时瀑布流组件开始计算当前数据的布局 | ||
162 | + this.waterfall.status = 'success'; | ||
163 | + | ||
164 | + /** | ||
165 | + * 下方的代码为扩展其他功能的示例代码 可做参考,不需要可删除 | ||
166 | + * */ | ||
167 | + | ||
168 | + // 缓存当前数据给其他需要该数据的功能使用 | ||
169 | + if(this.ajax.page == 1){ | ||
170 | + this.ajax.dataList = res; | ||
171 | + }else{ | ||
172 | + this.ajax.dataList = [...this.ajax.dataList,...res]; | ||
173 | + } | ||
174 | + // 记录本次数据长度,意义请看 done 事件的回调 | ||
175 | + this.ajax.dataCount = res.length || 0; | ||
176 | + | ||
177 | + // 。。。下面不需要写代码了,等待组件渲染完成 | ||
178 | + }) | ||
179 | + }, | ||
180 | + // 导航状态切换演示监听 | ||
181 | + onStatusChange(){ | ||
182 | + uni.showActionSheet({ | ||
183 | + itemList: ['常规', '加载异常', '加载错误'], | ||
184 | + success: (res)=> { | ||
185 | + switch(res.tapIndex){ | ||
186 | + case 0: | ||
187 | + this.ajax.page = 1; | ||
188 | + this.ajax.load = true; | ||
189 | + this.getList(); | ||
190 | + break; | ||
191 | + case 1: | ||
192 | + // alert(111) | ||
193 | + this.waterfall.status = 'fail'; | ||
194 | + break; | ||
195 | + case 2: | ||
196 | + this.waterfall.status = 'empty'; | ||
197 | + break; | ||
198 | + default: | ||
199 | + } | ||
200 | + } | ||
201 | + }); | ||
202 | + }, | ||
203 | + } | ||
204 | + } | ||
205 | +</script> | ||
206 | + | ||
207 | +<style lang="scss"> | ||
208 | + page { | ||
209 | + background-color: #f3f3f3; | ||
210 | + } | ||
211 | + | ||
212 | + .load-txt{ | ||
213 | + padding: 0 0 20rpx 0; | ||
214 | + text-align: center; | ||
215 | + color: #999; | ||
216 | + font-size: 24rpx; | ||
217 | + } | ||
218 | + | ||
219 | + .load-icon{ | ||
220 | + width: 300rpx; | ||
221 | + height: 300rpx; | ||
222 | + margin: 0 auto 20rpx auto; | ||
223 | + display: block; | ||
224 | + } | ||
225 | + | ||
226 | + .status-change{ | ||
227 | + position: fixed; | ||
228 | + right: 10rpx; | ||
229 | + top: 60%; | ||
230 | + width: 80rpx; | ||
231 | + height: 80rpx; | ||
232 | + z-index: 100; | ||
233 | + font-size: 24rpx; | ||
234 | + border-radius: 50%; | ||
235 | + background-color: #0089ff; | ||
236 | + color: #fff; | ||
237 | + line-height: 1; | ||
238 | + opacity: .33; | ||
239 | + | ||
240 | + display: flex; | ||
241 | + flex-direction: row; | ||
242 | + flex-wrap: nowrap; | ||
243 | + justify-content: center; | ||
244 | + align-items: center; | ||
245 | + align-content: center; | ||
246 | + } | ||
247 | +</style> |
uni_modules/helang-waterfall/readme.md
0 → 100644
1 | +# helang-waterfall |
21.6 KB
21.5 KB
21.4 KB
16.8 KB
18.1 KB
uni_modules/wiidz-waterfall/changelog.md
0 → 100644
1 | +<!--文章--> | ||
2 | +<template> | ||
3 | + <view class="card-demo" hover-class="hoverClass" @click="open"> | ||
4 | + <image class="img-thumb" mode="aspectFill" :src="cardData.thumbnail" | ||
5 | + :style="'height:'+cardData.imgEleHeight+'px'"></image> | ||
6 | + <view :id="'block-info-' + index" class="span-info"> | ||
7 | + <text class="text-title">{{cardData.title}}</text> | ||
8 | + <view class="bar-bottom"> | ||
9 | + <view class="box-user"> | ||
10 | + <img class="img-avatar" :src="cardData.user.avatar" mode="aspectFit" alt=""> | ||
11 | + <text class="text-nickname">{{cardData.user.nickname}}</text> | ||
12 | + </view> | ||
13 | + <view class="flex-justify-end" @tap.stop="clickLike"> | ||
14 | + <img class="icon-like" :src="cardData.is_liked?imgURLs.liked:imgURLs.like" mode="aspectFit" alt=""> | ||
15 | + <text v-if="cardData.like_amount > 0" class="text-like-amount">{{cardData.like_amount}}</text> | ||
16 | + </view> | ||
17 | + </view> | ||
18 | + </view> | ||
19 | + </view> | ||
20 | +</template> | ||
21 | + | ||
22 | +<script> | ||
23 | + export default { | ||
24 | + props: { | ||
25 | + index: { | ||
26 | + type: Number, | ||
27 | + default: 0, | ||
28 | + }, | ||
29 | + cardData: { | ||
30 | + type: Object, | ||
31 | + default: function() { | ||
32 | + return { | ||
33 | + id: 1, | ||
34 | + title: "post标题", // post的标题 | ||
35 | + is_liked: false, // 是否已点赞 | ||
36 | + like_amount: 0, // 点赞数 | ||
37 | + thumbnail: "", // 预览图 | ||
38 | + author: { | ||
39 | + avatar_uri: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJiauLTAOUcvdWYKQdMte77K88xABZwK33DEu37e1WKFbwOuKaJ9IQIAiaXB596lcz8N533U0N3ue4A/132', | ||
40 | + nick_name: "测试昵称" | ||
41 | + }, // 作者信息 | ||
42 | + // imgEleHeight:0, // 单位px | ||
43 | + } | ||
44 | + } | ||
45 | + }, | ||
46 | + }, | ||
47 | + data() { | ||
48 | + return { | ||
49 | + imgURLs: { | ||
50 | + like: "https://emall-oss-center.21b.cn/icon/icon-like.png", | ||
51 | + liked: "https://emall-oss-center.21b.cn/icon/icon-liked.png", | ||
52 | + }, | ||
53 | + } | ||
54 | + }, | ||
55 | + mounted() { | ||
56 | + let that = this | ||
57 | + this.$nextTick(() => { | ||
58 | + that.$nextTick(() => { | ||
59 | + uni.createSelectorQuery().in(that).select('#block-info-' + that.index) | ||
60 | + .boundingClientRect(data => { | ||
61 | + // Tips:开启运行时压缩代码会失效 | ||
62 | + that.$emit('getInfoHeight', [that.index, data.height]) | ||
63 | + }).exec(); | ||
64 | + }) | ||
65 | + }) | ||
66 | + }, | ||
67 | + methods: { | ||
68 | + | ||
69 | + clickLike() { | ||
70 | + console.log("like") | ||
71 | + }, | ||
72 | + | ||
73 | + open() { | ||
74 | + console.log("open") | ||
75 | + }, | ||
76 | + } | ||
77 | + } | ||
78 | +</script> | ||
79 | + | ||
80 | +<style lang="scss"> | ||
81 | + .card-demo { | ||
82 | + overflow: hidden; | ||
83 | + border-radius: 16rpx; | ||
84 | + background: #fff; | ||
85 | + display: flex; | ||
86 | + justify-content: center; | ||
87 | + align-items: middle; | ||
88 | + flex-wrap: wrap; | ||
89 | + | ||
90 | + .span-user { | ||
91 | + width: 100%; | ||
92 | + } | ||
93 | + | ||
94 | + .img-avatar { | ||
95 | + width: 36rpx; | ||
96 | + height: 36rpx; | ||
97 | + min-width: 36rpx; | ||
98 | + border-radius: 100%; | ||
99 | + border-color: #fafafa; | ||
100 | + margin-right: 8rpx; | ||
101 | + } | ||
102 | + | ||
103 | + .icon-like { | ||
104 | + width: 24rpx; | ||
105 | + height: 24rpx; | ||
106 | + min-width: 24rpx; | ||
107 | + margin-right: 8rpx; | ||
108 | + } | ||
109 | + | ||
110 | + .case-name { | ||
111 | + max-width: 140rpx; | ||
112 | + overflow: hidden; | ||
113 | + text-overflow: ellipsis; | ||
114 | + white-space: nowrap; | ||
115 | + } | ||
116 | + } | ||
117 | + | ||
118 | + :host { | ||
119 | + width: 100%; | ||
120 | + } | ||
121 | + | ||
122 | + image { | ||
123 | + width: 100%; | ||
124 | + } | ||
125 | + | ||
126 | + .span-info { | ||
127 | + width: 100%; | ||
128 | + } | ||
129 | + | ||
130 | + .text-name { | ||
131 | + white-space: pre-wrap; | ||
132 | + } | ||
133 | + | ||
134 | + .img-thumb { | ||
135 | + min-width: 100%; | ||
136 | + width: 100%; | ||
137 | + height: 100%; | ||
138 | + } | ||
139 | + | ||
140 | + .span-info { | ||
141 | + padding: 16rpx; | ||
142 | + display: flex; | ||
143 | + flex-wrap: wrap; | ||
144 | + } | ||
145 | + | ||
146 | + .text-title { | ||
147 | + width: 100%; | ||
148 | + display: block; | ||
149 | + font-size: 28rpx; | ||
150 | + line-height: 150%; | ||
151 | + font-weight: bold; | ||
152 | + } | ||
153 | + | ||
154 | + | ||
155 | + .bar-bottom { | ||
156 | + display: flex; | ||
157 | + justify-content: space-between; | ||
158 | + align-items: middle; | ||
159 | + width: 100%; | ||
160 | + margin-top: 12rpx; | ||
161 | + } | ||
162 | + | ||
163 | + .box-user { | ||
164 | + display: flex; | ||
165 | + justify-content: start; | ||
166 | + } | ||
167 | + | ||
168 | + .text-nickname { | ||
169 | + display: block; | ||
170 | + width: 100%; | ||
171 | + font-size: 20rpx; | ||
172 | + line-height: 150%; | ||
173 | + color: #606266; | ||
174 | + } | ||
175 | + | ||
176 | + .text-like-amount { | ||
177 | + display: block; | ||
178 | + width: 100%; | ||
179 | + font-size: 20rpx; | ||
180 | + color: #909399; | ||
181 | + line-height: 100%; | ||
182 | + } | ||
183 | +</style> |
1 | +<!--瀑布流文章--> | ||
2 | +<template> | ||
3 | + <view> | ||
4 | + <view class="container-fall" :style="'padding:0 '+paddingOut+'rpx'"> | ||
5 | + <view v-for="(item,index) in handledListData" :key="index" :id="'column-'+index" class="column" | ||
6 | + :style="[columnStyleObj]"> | ||
7 | + <block v-for="(goods, goodsIndex) in item" :key="goodsIndex"> | ||
8 | + <DemoCard :index="goods.index" :cardData="goods" v-on:getInfoHeight="getInfoHeight" | ||
9 | + :style="'margin-bottom:'+spacing+'rpx'"></DemoCard> | ||
10 | + </block> | ||
11 | + </view> | ||
12 | + </view> | ||
13 | + </view> | ||
14 | +</template> | ||
15 | + | ||
16 | +<script> | ||
17 | + import DemoCard from "./wiidz-demo-card" | ||
18 | + import asyncPool from "tiny-async-pool"; | ||
19 | + | ||
20 | + const PostApi = require("@js/apiConsumer/post").default; | ||
21 | + const Tool = require("@js/miniHelper/tool").default; | ||
22 | + const WechatNetwork = require("@js/miniHelper/network").default; | ||
23 | + | ||
24 | + const App = getApp() | ||
25 | + const InfoDefaultHeight = 40 // 根据项目自行修改,单位px | ||
26 | + | ||
27 | + export default { | ||
28 | + name: "WaterFallGoods", | ||
29 | + components: { | ||
30 | + DemoCard | ||
31 | + }, | ||
32 | + props: { | ||
33 | + rows: { | ||
34 | + type: Array, | ||
35 | + default: [] | ||
36 | + }, | ||
37 | + paddingOut: { | ||
38 | + type: Number, | ||
39 | + default: 32 // 单位rpx | ||
40 | + }, | ||
41 | + spacing: { | ||
42 | + type: Number, | ||
43 | + default: 16 // 单位rpx | ||
44 | + }, | ||
45 | + isPull: { | ||
46 | + type: Boolean, | ||
47 | + default: false, //是否下拉刷新,是的话清除之前的数据 | ||
48 | + }, | ||
49 | + columnAmount: { | ||
50 | + type: Number, | ||
51 | + default: 2, | ||
52 | + } | ||
53 | + }, | ||
54 | + data() { | ||
55 | + return { | ||
56 | + isReset: false, //标识,是否重置 | ||
57 | + isiInitialized: false, // 标识,新加入的元素是否已初始化 | ||
58 | + isHandled: false, // 标识,新加入的元素是否已处理 | ||
59 | + trueHeights: [], // 真实高度数组 | ||
60 | + trueAmounts: [], // 真实的列行数数量,数组 | ||
61 | + mixedHeights: [], // 真假混合的高度数组(已处理的真实高度+预处理的高度) | ||
62 | + handledRows: [], // post元数据 | ||
63 | + infoHeights: [], // 按index依次存放各个元素的底部说明的高度 | ||
64 | + handledListData: [], // 二维数组,用于页面上的渲染 | ||
65 | + columnStyleObj: {}, // 样式,列 | ||
66 | + columnWidth: 0, | ||
67 | + maxHeight: 0, // 预设的单个图片元素的最高高度 | ||
68 | + requireImgWidth: 0, // oss不能读取小数,这里采用二倍图的方案(计算得) | ||
69 | + } | ||
70 | + }, | ||
71 | + computed: { | ||
72 | + // 处理过后的列表数据,主要是处理缩略图 | ||
73 | + handle() { | ||
74 | + this.reset() | ||
75 | + this.handledRows = this.rows | ||
76 | + if (!this.isiInitialized && this.handledRows.length > 0) { | ||
77 | + this.initHandledData() | ||
78 | + } | ||
79 | + }, | ||
80 | + }, | ||
81 | + methods: { | ||
82 | + // 获取列的样式 | ||
83 | + getColumnStyleObj() { | ||
84 | + // spacing 和 列数都是初始化完毕就不让调整了 | ||
85 | + let that = this | ||
86 | + let paddingOutPx = Tool.getPx(this.paddingOut) // 计算外边距 | ||
87 | + let spacingPx = Tool.getPx(this.spacing) // 计算内间距 | ||
88 | + | ||
89 | + this.columnWidth = (App.globalData.systemInfo.screenWidth - paddingOutPx * 2 - spacingPx * (this | ||
90 | + .columnAmount - 1)) / this.columnAmount //计算 瀑布流展示的宽度 | ||
91 | + this.maxHeight = this.columnWidth * 1.5 //计算瀑布流的最大高度,防止长图霸屏 | ||
92 | + | ||
93 | + this.columnStyleObj = { | ||
94 | + "width": that.columnWidth + "px", | ||
95 | + "margin-right": that.spacing + "rpx", | ||
96 | + } | ||
97 | + | ||
98 | + this.requireImgWidth = Math.round(this.columnWidth * 2) // oss 不能读取小数,这里采用二倍图的方案 | ||
99 | + }, | ||
100 | + | ||
101 | + // 初始化数据,不考虑各个元素的高度,按顺序依次填充 | ||
102 | + initHandledData() { | ||
103 | + let that = this | ||
104 | + let rows = this.handledRows | ||
105 | + let handledListData = this.handledListData | ||
106 | + let mixedHeights = this.mixedHeights | ||
107 | + let infoHeights = this.infoHeights | ||
108 | + | ||
109 | + rows.forEach((v, k) => { | ||
110 | + if (v.trueColumn == undefined) { | ||
111 | + rows[k].index = k // 标识 | ||
112 | + rows[k].imgEleWidth = parseInt(that.columnWidth); // 列的宽度 | ||
113 | + rows[k].imgEleHeight = parseInt(that.columnWidth); // 预设都是正方形 | ||
114 | + // rows[k].thumbnail = v.thumbnail_img + "?x-oss-process=image/resize,w_" + that.requireImgWidth | ||
115 | + rows[k].name = v.name_cn | ||
116 | + rows[k].price = v.lowest_price | ||
117 | + | ||
118 | + let minIndex = that.getMinHeightIndex(mixedHeights) | ||
119 | + rows[k].tempColumn = minIndex // 临时的列,记得删掉 | ||
120 | + mixedHeights[minIndex] += InfoDefaultHeight + rows[k].imgEleHeight | ||
121 | + handledListData[minIndex].push(rows[k]) | ||
122 | + infoHeights.push(0) | ||
123 | + } | ||
124 | + }) | ||
125 | + | ||
126 | + this.handledRows = rows | ||
127 | + this.mixedHeights = mixedHeights | ||
128 | + this.infoHeights = infoHeights | ||
129 | + this.handledListData = handledListData | ||
130 | + this.isiInitialized = true | ||
131 | + }, | ||
132 | + // 获取高度数组里最小的那个 | ||
133 | + getMinHeightIndex(heights) { | ||
134 | + let length = heights.length | ||
135 | + if (length === 1) { | ||
136 | + return 0 | ||
137 | + } | ||
138 | + | ||
139 | + let minIndex = 0 | ||
140 | + let minHeight = heights[minIndex] | ||
141 | + | ||
142 | + for (let i = 1; i < length; i++) { | ||
143 | + if (minHeight > heights[i]) { | ||
144 | + minHeight = heights[i] | ||
145 | + minIndex = i | ||
146 | + } | ||
147 | + } | ||
148 | + return minIndex | ||
149 | + }, | ||
150 | + getMaxHeightIndex(heights) { | ||
151 | + let length = heights.length | ||
152 | + if (length === 1) { | ||
153 | + return 0 | ||
154 | + } | ||
155 | + | ||
156 | + let maxIndex = 0 | ||
157 | + let maxHeight = heights[maxIndex] | ||
158 | + | ||
159 | + for (let i = 1; i < length; i++) { | ||
160 | + if (maxHeight < heights[i]) { | ||
161 | + maxHeight = heights[i] | ||
162 | + maxIndex = i | ||
163 | + } | ||
164 | + } | ||
165 | + return maxIndex | ||
166 | + }, | ||
167 | + // 获取高度数组里最大值 | ||
168 | + getMaxHeight(heights) { | ||
169 | + let maxHeight = heights[0] | ||
170 | + for (let i = 1; i < heights.length; i++) { | ||
171 | + if (maxHeight < heights[i]) { | ||
172 | + maxHeight = heights[i] | ||
173 | + } | ||
174 | + } | ||
175 | + return maxHeight | ||
176 | + }, | ||
177 | + // 向父节点汇报高度 | ||
178 | + reportNodeHeight(heights) { | ||
179 | + let that = this | ||
180 | + if (heights.length === 0) { | ||
181 | + return | ||
182 | + } | ||
183 | + const query = uni.createSelectorQuery().in(this); | ||
184 | + let maxIndex = that.getMaxHeightIndex(heights) | ||
185 | + query.select('#column-' + maxIndex).boundingClientRect(data => { | ||
186 | + that.$emit("getNodeHeight", data.height) | ||
187 | + }).exec(); | ||
188 | + }, | ||
189 | + // getInfoHeight:获取该元素除了图片以外,下方的信息的高度 | ||
190 | + async getInfoHeight(data) { | ||
191 | + | ||
192 | + let index = data[0] | ||
193 | + let infoHeight = data[1] | ||
194 | + | ||
195 | + let heights = this.infoHeights | ||
196 | + heights[index] = infoHeight | ||
197 | + this.infoHeights = heights | ||
198 | + | ||
199 | + if (index === this.rows.length - 1 && !this.isHandled) { | ||
200 | + // 说明最后一个也加载完了,可以开始调整顺序 | ||
201 | + await this.optimizeListData() | ||
202 | + } | ||
203 | + }, | ||
204 | + // 优化排列规则 | ||
205 | + async optimizeListData() { | ||
206 | + | ||
207 | + let that = this | ||
208 | + let rows = this.handledRows | ||
209 | + | ||
210 | + let handledListData = this.handledListData | ||
211 | + let trueHeights = this.trueHeights | ||
212 | + let trueAmounts = this.trueAmounts // 用于存放已经被调整过的项目 | ||
213 | + | ||
214 | + let unhandledRows = [] | ||
215 | + | ||
216 | + rows.forEach((v, k) => { | ||
217 | + if (v.trueColumn == undefined) { | ||
218 | + unhandledRows.push(v) | ||
219 | + } | ||
220 | + }) | ||
221 | + | ||
222 | + //【1】异步加载全部的图片 | ||
223 | + let imgURLs = [] | ||
224 | + for (let i = 0, len = unhandledRows.length; i < len; i++) { | ||
225 | + imgURLs.push(unhandledRows[i].thumbnail) | ||
226 | + } | ||
227 | + let res = await asyncPool(5, imgURLs, WechatNetwork.getImgSize); // 小程序多线程不能超过10 | ||
228 | + | ||
229 | + //【2】逐一处理 | ||
230 | + let spacingPx = Tool.getPx(this.spacing) | ||
231 | + for (let i = 0, len = unhandledRows.length; i < len; i++) { | ||
232 | + | ||
233 | + let tmp = unhandledRows[i] | ||
234 | + let size = res[i] | ||
235 | + | ||
236 | + tmp.picWidth = parseInt(size.width); // 图片真实宽度 | ||
237 | + tmp.picHeight = parseInt(size.height); // 图片真实高度 | ||
238 | + tmp.imgEleWidth = that.columnWidth // 图片元素的宽度 | ||
239 | + | ||
240 | + let per = tmp.picWidth / tmp.imgEleWidth; // 图片宽高比 | ||
241 | + tmp.imgEleHeight = tmp.picHeight / per; // 图片元素的高度 | ||
242 | + | ||
243 | + if (tmp.imgEleHeight > that.maxHeight) { | ||
244 | + tmp.imgEleHeight = that.maxHeight; //image 高度,不超过最大高度 | ||
245 | + } | ||
246 | + | ||
247 | + let minIndex = that.getMinHeightIndex(trueHeights) | ||
248 | + let infoHeight = this.infoHeights[tmp.index] | ||
249 | + tmp.trueColumn = minIndex // 真实的列 | ||
250 | + | ||
251 | + trueHeights[minIndex] += tmp.imgEleHeight + infoHeight + spacingPx // 注意计算 图片高度 + 下方信息高度 + spacing | ||
252 | + trueAmounts[minIndex]++ | ||
253 | + | ||
254 | + // 计算真实的位置 | ||
255 | + let tempRow = this.getIndex(handledListData[tmp.tempColumn], tmp.index) // 当前所处的行 | ||
256 | + | ||
257 | + handledListData[tmp.tempColumn].splice(tempRow, 1) // 删除原来的位置 | ||
258 | + handledListData[minIndex].splice(trueAmounts[minIndex], 0, | ||
259 | + tmp); // 在索引为trueAmounts[minIndex]的位置插入temp | ||
260 | + | ||
261 | + // 【附加】将handledRows里也进行修改 | ||
262 | + let handledRowIndex = this.getIndex(rows, tmp.index) // 当前所处的行 | ||
263 | + rows[handledRowIndex] = tmp | ||
264 | + } | ||
265 | + | ||
266 | + this.handledListData = handledListData | ||
267 | + this.trueAmounts = trueAmounts | ||
268 | + this.trueHeights = trueHeights | ||
269 | + this.mixedHeights = trueHeights | ||
270 | + this.isHandled = true | ||
271 | + this.handledRows = rows // 附加 | ||
272 | + | ||
273 | + this.$emit("getHandledRows", rows) | ||
274 | + | ||
275 | + // 汇报整个节点的高度 | ||
276 | + that.$nextTick(() => { | ||
277 | + that.reportNodeHeight(trueHeights) | ||
278 | + }) | ||
279 | + }, | ||
280 | + getIndex(slice, niddleIndex) { | ||
281 | + let index = -1 | ||
282 | + for (let i = 0; i < slice.length; i++) { | ||
283 | + if (slice[i].index === niddleIndex) { | ||
284 | + index = i | ||
285 | + break | ||
286 | + } | ||
287 | + } | ||
288 | + return index | ||
289 | + }, | ||
290 | + // 重置数据 | ||
291 | + reset() { | ||
292 | + if (this.isReset) { | ||
293 | + return | ||
294 | + } | ||
295 | + this.startRender() | ||
296 | + this.getColumnStyleObj() // 注意,列样式不随动 | ||
297 | + let that = this | ||
298 | + this.handledRows = [] | ||
299 | + | ||
300 | + this.handledListData = Array.from({ | ||
301 | + length: that.columnAmount | ||
302 | + }, () => []) | ||
303 | + | ||
304 | + this.heights = Array.from({ | ||
305 | + length: that.columnAmount | ||
306 | + }, () => 0) | ||
307 | + | ||
308 | + this.trueHeights = Array.from({ | ||
309 | + length: that.columnAmount | ||
310 | + }, () => 0) | ||
311 | + | ||
312 | + this.trueAmounts = Array.from({ | ||
313 | + length: that.columnAmount | ||
314 | + }, () => 0) | ||
315 | + | ||
316 | + this.mixedHeights = Array.from({ | ||
317 | + length: that.columnAmount | ||
318 | + }, () => 0) | ||
319 | + | ||
320 | + this.infoHeights = [] | ||
321 | + | ||
322 | + this.page = { | ||
323 | + now: 1, | ||
324 | + size: 10, | ||
325 | + } | ||
326 | + | ||
327 | + this.isReset = true | ||
328 | + }, | ||
329 | + // 开启渲染 | ||
330 | + startRender() { | ||
331 | + this.isHandled = false | ||
332 | + this.isiInitialized = false | ||
333 | + }, | ||
334 | + // 重新开启渲染 | ||
335 | + restartRender() { | ||
336 | + this.isReset = false | ||
337 | + this.isHandled = false | ||
338 | + this.isiInitialized = false | ||
339 | + }, | ||
340 | + } | ||
341 | + } | ||
342 | +</script> | ||
343 | + | ||
344 | +<style scoped lang="scss"> | ||
345 | + .column { | ||
346 | + display: flex; | ||
347 | + flex-direction: column; | ||
348 | + } | ||
349 | + | ||
350 | + .column:last-child { | ||
351 | + margin-right: 0 !important; | ||
352 | + } | ||
353 | + | ||
354 | + .container-fall { | ||
355 | + width: 100%; | ||
356 | + max-width: 100vw; | ||
357 | + display: flex; | ||
358 | + } | ||
359 | +</style> |
uni_modules/wiidz-waterfall/license.md
0 → 100644
1 | + Apache License | ||
2 | + Version 2.0, January 2004 | ||
3 | + http://www.apache.org/licenses/ | ||
4 | + | ||
5 | + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
6 | + | ||
7 | + 1. Definitions. | ||
8 | + | ||
9 | + "License" shall mean the terms and conditions for use, reproduction, | ||
10 | + and distribution as defined by Sections 1 through 9 of this document. | ||
11 | + | ||
12 | + "Licensor" shall mean the copyright owner or entity authorized by | ||
13 | + the copyright owner that is granting the License. | ||
14 | + | ||
15 | + "Legal Entity" shall mean the union of the acting entity and all | ||
16 | + other entities that control, are controlled by, or are under common | ||
17 | + control with that entity. For the purposes of this definition, | ||
18 | + "control" means (i) the power, direct or indirect, to cause the | ||
19 | + direction or management of such entity, whether by contract or | ||
20 | + otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
21 | + outstanding shares, or (iii) beneficial ownership of such entity. | ||
22 | + | ||
23 | + "You" (or "Your") shall mean an individual or Legal Entity | ||
24 | + exercising permissions granted by this License. | ||
25 | + | ||
26 | + "Source" form shall mean the preferred form for making modifications, | ||
27 | + including but not limited to software source code, documentation | ||
28 | + source, and configuration files. | ||
29 | + | ||
30 | + "Object" form shall mean any form resulting from mechanical | ||
31 | + transformation or translation of a Source form, including but | ||
32 | + not limited to compiled object code, generated documentation, | ||
33 | + and conversions to other media types. | ||
34 | + | ||
35 | + "Work" shall mean the work of authorship, whether in Source or | ||
36 | + Object form, made available under the License, as indicated by a | ||
37 | + copyright notice that is included in or attached to the work | ||
38 | + (an example is provided in the Appendix below). | ||
39 | + | ||
40 | + "Derivative Works" shall mean any work, whether in Source or Object | ||
41 | + form, that is based on (or derived from) the Work and for which the | ||
42 | + editorial revisions, annotations, elaborations, or other modifications | ||
43 | + represent, as a whole, an original work of authorship. For the purposes | ||
44 | + of this License, Derivative Works shall not include works that remain | ||
45 | + separable from, or merely link (or bind by name) to the interfaces of, | ||
46 | + the Work and Derivative Works thereof. | ||
47 | + | ||
48 | + "Contribution" shall mean any work of authorship, including | ||
49 | + the original version of the Work and any modifications or additions | ||
50 | + to that Work or Derivative Works thereof, that is intentionally | ||
51 | + submitted to Licensor for inclusion in the Work by the copyright owner | ||
52 | + or by an individual or Legal Entity authorized to submit on behalf of | ||
53 | + the copyright owner. For the purposes of this definition, "submitted" | ||
54 | + means any form of electronic, verbal, or written communication sent | ||
55 | + to the Licensor or its representatives, including but not limited to | ||
56 | + communication on electronic mailing lists, source code control systems, | ||
57 | + and issue tracking systems that are managed by, or on behalf of, the | ||
58 | + Licensor for the purpose of discussing and improving the Work, but | ||
59 | + excluding communication that is conspicuously marked or otherwise | ||
60 | + designated in writing by the copyright owner as "Not a Contribution." | ||
61 | + | ||
62 | + "Contributor" shall mean Licensor and any individual or Legal Entity | ||
63 | + on behalf of whom a Contribution has been received by Licensor and | ||
64 | + subsequently incorporated within the Work. | ||
65 | + | ||
66 | + 2. Grant of Copyright License. Subject to the terms and conditions of | ||
67 | + this License, each Contributor hereby grants to You a perpetual, | ||
68 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
69 | + copyright license to reproduce, prepare Derivative Works of, | ||
70 | + publicly display, publicly perform, sublicense, and distribute the | ||
71 | + Work and such Derivative Works in Source or Object form. | ||
72 | + | ||
73 | + 3. Grant of Patent License. Subject to the terms and conditions of | ||
74 | + this License, each Contributor hereby grants to You a perpetual, | ||
75 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
76 | + (except as stated in this section) patent license to make, have made, | ||
77 | + use, offer to sell, sell, import, and otherwise transfer the Work, | ||
78 | + where such license applies only to those patent claims licensable | ||
79 | + by such Contributor that are necessarily infringed by their | ||
80 | + Contribution(s) alone or by combination of their Contribution(s) | ||
81 | + with the Work to which such Contribution(s) was submitted. If You | ||
82 | + institute patent litigation against any entity (including a | ||
83 | + cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
84 | + or a Contribution incorporated within the Work constitutes direct | ||
85 | + or contributory patent infringement, then any patent licenses | ||
86 | + granted to You under this License for that Work shall terminate | ||
87 | + as of the date such litigation is filed. | ||
88 | + | ||
89 | + 4. Redistribution. You may reproduce and distribute copies of the | ||
90 | + Work or Derivative Works thereof in any medium, with or without | ||
91 | + modifications, and in Source or Object form, provided that You | ||
92 | + meet the following conditions: | ||
93 | + | ||
94 | + (a) You must give any other recipients of the Work or | ||
95 | + Derivative Works a copy of this License; and | ||
96 | + | ||
97 | + (b) You must cause any modified files to carry prominent notices | ||
98 | + stating that You changed the files; and | ||
99 | + | ||
100 | + (c) You must retain, in the Source form of any Derivative Works | ||
101 | + that You distribute, all copyright, patent, trademark, and | ||
102 | + attribution notices from the Source form of the Work, | ||
103 | + excluding those notices that do not pertain to any part of | ||
104 | + the Derivative Works; and | ||
105 | + | ||
106 | + (d) If the Work includes a "NOTICE" text file as part of its | ||
107 | + distribution, then any Derivative Works that You distribute must | ||
108 | + include a readable copy of the attribution notices contained | ||
109 | + within such NOTICE file, excluding those notices that do not | ||
110 | + pertain to any part of the Derivative Works, in at least one | ||
111 | + of the following places: within a NOTICE text file distributed | ||
112 | + as part of the Derivative Works; within the Source form or | ||
113 | + documentation, if provided along with the Derivative Works; or, | ||
114 | + within a display generated by the Derivative Works, if and | ||
115 | + wherever such third-party notices normally appear. The contents | ||
116 | + of the NOTICE file are for informational purposes only and | ||
117 | + do not modify the License. You may add Your own attribution | ||
118 | + notices within Derivative Works that You distribute, alongside | ||
119 | + or as an addendum to the NOTICE text from the Work, provided | ||
120 | + that such additional attribution notices cannot be construed | ||
121 | + as modifying the License. | ||
122 | + | ||
123 | + You may add Your own copyright statement to Your modifications and | ||
124 | + may provide additional or different license terms and conditions | ||
125 | + for use, reproduction, or distribution of Your modifications, or | ||
126 | + for any such Derivative Works as a whole, provided Your use, | ||
127 | + reproduction, and distribution of the Work otherwise complies with | ||
128 | + the conditions stated in this License. | ||
129 | + | ||
130 | + 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
131 | + any Contribution intentionally submitted for inclusion in the Work | ||
132 | + by You to the Licensor shall be under the terms and conditions of | ||
133 | + this License, without any additional terms or conditions. | ||
134 | + Notwithstanding the above, nothing herein shall supersede or modify | ||
135 | + the terms of any separate license agreement you may have executed | ||
136 | + with Licensor regarding such Contributions. | ||
137 | + | ||
138 | + 6. Trademarks. This License does not grant permission to use the trade | ||
139 | + names, trademarks, service marks, or product names of the Licensor, | ||
140 | + except as required for reasonable and customary use in describing the | ||
141 | + origin of the Work and reproducing the content of the NOTICE file. | ||
142 | + | ||
143 | + 7. Disclaimer of Warranty. Unless required by applicable law or | ||
144 | + agreed to in writing, Licensor provides the Work (and each | ||
145 | + Contributor provides its Contributions) on an "AS IS" BASIS, | ||
146 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
147 | + implied, including, without limitation, any warranties or conditions | ||
148 | + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
149 | + PARTICULAR PURPOSE. You are solely responsible for determining the | ||
150 | + appropriateness of using or redistributing the Work and assume any | ||
151 | + risks associated with Your exercise of permissions under this License. | ||
152 | + | ||
153 | + 8. Limitation of Liability. In no event and under no legal theory, | ||
154 | + whether in tort (including negligence), contract, or otherwise, | ||
155 | + unless required by applicable law (such as deliberate and grossly | ||
156 | + negligent acts) or agreed to in writing, shall any Contributor be | ||
157 | + liable to You for damages, including any direct, indirect, special, | ||
158 | + incidental, or consequential damages of any character arising as a | ||
159 | + result of this License or out of the use or inability to use the | ||
160 | + Work (including but not limited to damages for loss of goodwill, | ||
161 | + work stoppage, computer failure or malfunction, or any and all | ||
162 | + other commercial damages or losses), even if such Contributor | ||
163 | + has been advised of the possibility of such damages. | ||
164 | + | ||
165 | + 9. Accepting Warranty or Additional Liability. While redistributing | ||
166 | + the Work or Derivative Works thereof, You may choose to offer, | ||
167 | + and charge a fee for, acceptance of support, warranty, indemnity, | ||
168 | + or other liability obligations and/or rights consistent with this | ||
169 | + License. However, in accepting such obligations, You may act only | ||
170 | + on Your own behalf and on Your sole responsibility, not on behalf | ||
171 | + of any other Contributor, and only if You agree to indemnify, | ||
172 | + defend, and hold each Contributor harmless for any liability | ||
173 | + incurred by, or claims asserted against, such Contributor by reason | ||
174 | + of your accepting any such warranty or additional liability. | ||
175 | + | ||
176 | + END OF TERMS AND CONDITIONS | ||
177 | + | ||
178 | + APPENDIX: How to apply the Apache License to your work. | ||
179 | + | ||
180 | + To apply the Apache License to your work, attach the following | ||
181 | + boilerplate notice, with the fields enclosed by brackets "[]" | ||
182 | + replaced with your own identifying information. (Don't include | ||
183 | + the brackets!) The text should be enclosed in the appropriate | ||
184 | + comment syntax for the file format. We also recommend that a | ||
185 | + file or class name and description of purpose be included on the | ||
186 | + same "printed page" as the copyright notice for easier | ||
187 | + identification within third-party archives. | ||
188 | + | ||
189 | + Copyright [yyyy] [name of copyright owner] | ||
190 | + | ||
191 | + Licensed under the Apache License, Version 2.0 (the "License"); | ||
192 | + you may not use this file except in compliance with the License. | ||
193 | + You may obtain a copy of the License at | ||
194 | + | ||
195 | + http://www.apache.org/licenses/LICENSE-2.0 | ||
196 | + | ||
197 | + Unless required by applicable law or agreed to in writing, software | ||
198 | + distributed under the License is distributed on an "AS IS" BASIS, | ||
199 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
200 | + See the License for the specific language governing permissions and | ||
201 | + limitations under the License. |
uni_modules/wiidz-waterfall/package.json
0 → 100644
1 | +{ | ||
2 | + "id": "wiidz-waterfall", | ||
3 | + "displayName": "waterfall 瀑布流组件", | ||
4 | + "version": "1.1.4", | ||
5 | + "description": "瀑布流组件,应该是最好用的瀑布流组件之一。", | ||
6 | + "keywords": [ | ||
7 | + "uni-ui", | ||
8 | + "uniui", | ||
9 | + "", | ||
10 | + "waterfall", | ||
11 | + "瀑布流" | ||
12 | +], | ||
13 | + "repository": "https://github.com/dcloudio/uni-ui", | ||
14 | + "engines": { | ||
15 | + "HBuilderX": "" | ||
16 | + }, | ||
17 | + "directories": { | ||
18 | + "example": "../../temps/example_temps" | ||
19 | + }, | ||
20 | + "dcloudext": { | ||
21 | + "category": [ | ||
22 | + "前端组件", | ||
23 | + "通用组件" | ||
24 | + ], | ||
25 | + "sale": { | ||
26 | + "regular": { | ||
27 | + "price": "0.00" | ||
28 | + }, | ||
29 | + "sourcecode": { | ||
30 | + "price": "0.00" | ||
31 | + } | ||
32 | + }, | ||
33 | + "contact": { | ||
34 | + "qq": "" | ||
35 | + }, | ||
36 | + "declaration": { | ||
37 | + "ads": "无", | ||
38 | + "data": "无", | ||
39 | + "permissions": "无" | ||
40 | + }, | ||
41 | + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" | ||
42 | + }, | ||
43 | + "uni_modules": { | ||
44 | + "dependencies": [], | ||
45 | + "encrypt": [], | ||
46 | + "platforms": { | ||
47 | + "cloud": { | ||
48 | + "tcb": "y", | ||
49 | + "aliyun": "y" | ||
50 | + }, | ||
51 | + "client": { | ||
52 | + "App": { | ||
53 | + "app-vue": "y", | ||
54 | + "app-nvue": "y" | ||
55 | + }, | ||
56 | + "H5-mobile": { | ||
57 | + "Safari": "y", | ||
58 | + "Android Browser": "y", | ||
59 | + "微信浏览器(Android)": "y", | ||
60 | + "QQ浏览器(Android)": "y" | ||
61 | + }, | ||
62 | + "H5-pc": { | ||
63 | + "Chrome": "y", | ||
64 | + "IE": "y", | ||
65 | + "Edge": "y", | ||
66 | + "Firefox": "y", | ||
67 | + "Safari": "y" | ||
68 | + }, | ||
69 | + "小程序": { | ||
70 | + "微信": "y", | ||
71 | + "阿里": "y", | ||
72 | + "百度": "y", | ||
73 | + "字节跳动": "y", | ||
74 | + "QQ": "y" | ||
75 | + }, | ||
76 | + "快应用": { | ||
77 | + "华为": "u", | ||
78 | + "联盟": "u" | ||
79 | + }, | ||
80 | + "Vue": { | ||
81 | + "vue2": "y", | ||
82 | + "vue3": "y" | ||
83 | + } | ||
84 | + } | ||
85 | + } | ||
86 | + } | ||
87 | +} |
1 | +<template> | ||
2 | + <view style="margin-top:128rpx"> | ||
3 | + <wiidz-waterfall ref="Waterfall" :rows="rows" v-on:getHandledRows="getHandledRows"></wiidz-waterfall> | ||
4 | + </view> | ||
5 | +</template> | ||
6 | + | ||
7 | +<script> | ||
8 | + export default { | ||
9 | + components: {}, | ||
10 | + /** | ||
11 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
12 | + */ | ||
13 | + onPullDownRefresh: function() { | ||
14 | + this.page = { | ||
15 | + now: 1, | ||
16 | + size: 10, | ||
17 | + } | ||
18 | + this.newsList = [] | ||
19 | + this.getPostList() | ||
20 | + uni.stopPullDownRefresh() | ||
21 | + }, | ||
22 | + /** | ||
23 | + * 页面上拉触底事件的处理函数 | ||
24 | + */ | ||
25 | + onReachBottom: async function() { | ||
26 | + if (this.disabledGetMore) return | ||
27 | + let lengthBefore = this.rows.length // 翻页 | ||
28 | + | ||
29 | + let page = this.page | ||
30 | + page.now++ | ||
31 | + this.page = page | ||
32 | + await this.getRows() | ||
33 | + this.$refs.Waterfall.startRender() | ||
34 | + let lengthNow = this.rows.length | ||
35 | + if (lengthBefore == lengthNow) this.disabledGetMore = true | ||
36 | + }, | ||
37 | + mounted() { | ||
38 | + this.getRows() | ||
39 | + }, | ||
40 | + onReady() { | ||
41 | + | ||
42 | + }, | ||
43 | + data() { | ||
44 | + return { | ||
45 | + page: { | ||
46 | + now: 1, | ||
47 | + size: 10, | ||
48 | + }, | ||
49 | + disabledGetMore: false, | ||
50 | + rows: [] | ||
51 | + } | ||
52 | + }, | ||
53 | + methods: { | ||
54 | + // getrows : 获取数据 | ||
55 | + async getRows() { | ||
56 | + // 加入分页后的数据 | ||
57 | + let rows = this.rows | ||
58 | + let res = await this.simulateRemoteFunc(this.page.now, this.page.size) // 替换成具体的远程的方法 | ||
59 | + if (!res[0]) { | ||
60 | + // 错误处理 | ||
61 | + console.log("出错啦") | ||
62 | + this.disabledGetMore = true | ||
63 | + return | ||
64 | + } | ||
65 | + let temprows = res[1]; | ||
66 | + rows = rows.concat(temprows); // 拼接老数据 | ||
67 | + this.rows = rows | ||
68 | + }, | ||
69 | + getHandledRows(rows) { | ||
70 | + this.rows = rows | ||
71 | + }, | ||
72 | + // simulateRemoteFunc : 模拟方法 | ||
73 | + async simulateRemoteFunc(page_now, page_size) { | ||
74 | + let that = this | ||
75 | + await this.sleep(1) // 模拟等待 | ||
76 | + if (this.page.now >= 3) { | ||
77 | + return [false, "到底了"] | ||
78 | + } | ||
79 | + let rows = [] | ||
80 | + for (let i = 1; i <= page_size; i++) { | ||
81 | + let id = (page_now - 1) * page_size + i | ||
82 | + rows.push({ | ||
83 | + id: id, | ||
84 | + thumbnail: that.getRandomImg(), | ||
85 | + title: that.getRandomTitle(id), | ||
86 | + user: { | ||
87 | + id: 1, | ||
88 | + nickname: "test", | ||
89 | + avatar: that.getRandomAvatar(), | ||
90 | + }, | ||
91 | + }) | ||
92 | + } | ||
93 | + return [true, rows] | ||
94 | + }, | ||
95 | + getRandomImg() { | ||
96 | + let imgURLs = [ | ||
97 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/1-1.png", | ||
98 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/1-2.png", | ||
99 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/2-1.png", | ||
100 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/3-4.png", | ||
101 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/4-3.png", | ||
102 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/3-5.png", | ||
103 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/5-3.png", | ||
104 | + ] | ||
105 | + return imgURLs[Math.ceil(Math.random() * 6)] | ||
106 | + }, | ||
107 | + getRandomAvatar() { | ||
108 | + let imgURLs = [ | ||
109 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-1.png", | ||
110 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-2.png", | ||
111 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-3.png", | ||
112 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-4.png", | ||
113 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-5.png", | ||
114 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-6.png", | ||
115 | + "https://anteras-open.oss-cn-hangzhou.aliyuncs.com/imgs/avatar-7.png", | ||
116 | + ] | ||
117 | + return imgURLs[Math.ceil(Math.random() * 7)] | ||
118 | + }, | ||
119 | + getRandomTitle(index) { | ||
120 | + let title = "【" + index + "】测试标题-" | ||
121 | + let addLength = Math.ceil(Math.random() * 40) | ||
122 | + for (let i = 0; i < addLength; i++) { | ||
123 | + let ascii = Math.ceil(Math.random() * 122) | ||
124 | + title += String.fromCharCode(ascii) | ||
125 | + } | ||
126 | + return title | ||
127 | + }, | ||
128 | + sleep: function(time) { | ||
129 | + return new Promise(function(resolve, reject) { | ||
130 | + setTimeout(() => { | ||
131 | + resolve(); | ||
132 | + }, time); | ||
133 | + }); | ||
134 | + }, | ||
135 | + } | ||
136 | + } | ||
137 | +</script> | ||
138 | + | ||
139 | +<style> | ||
140 | +</style> |
uni_modules/wiidz-waterfall/readme.md
0 → 100644
1 | +# | ||
2 | + | ||
3 | +# Waterfall 瀑布流组件 | ||
4 | + | ||
5 | +本插件是以“小文章”的为例呈现组件的使用效果,使用者可以根据自身的场景,手动修改项目文件达到自身使用效果。笔者是在开发小程序的过程中,遇到了该需求,并且在插件市场使用了几款瀑布流组件,均不能达到预期目标,所以造了此轮子。 | ||
6 | + | ||
7 | +本组件具有以下几个主要优点: | ||
8 | + | ||
9 | +1. 异步加载图片,提升了响应速度 | ||
10 | +2. 小卡片内容自定义度较高,自动响应高度 | ||
11 | + | ||
12 | +--- | ||
13 | +# 一、文档结构 | ||
14 | +┏ uni_modules | ||
15 | + ┗ wiidz-waterfall | ||
16 | + ┗ components | ||
17 | + ┗ wiidz-waterfall | ||
18 | + ┣ wiidz-demo-card.vue // 卡片 | ||
19 | + ┗ wiidz-waterfall.vue // 瀑布流主体 | ||
20 | + | ||
21 | +## 二、依赖安装 | ||
22 | +本插件使用了 tiny-async-pool,请自行安装,也可以改为promise.all的方法,不需要安装依赖。 | ||
23 | + | ||
24 | +```shell | ||
25 | +npm i tiny-async-pool | ||
26 | +``` | ||
27 | + | ||
28 | + | ||
29 | +## 二、自定义范围 | ||
30 | +1. 自定义卡片样式 | ||
31 | +2. Waterfall主体的列数、外部边距、行内间距等(具体查看waterfall的props) | ||
32 | + | ||
33 | +## 三、关于图片下载失败的情况 | ||
34 | +1. 预设的图片域名是我自己的oss,和使用者的肯定不契合,可以通过开启不检验域名查看使用效果(真机上记得开启调试) | ||
35 | +2. 改为自己的图片服务器地址后,记得同步配置小程序的download域名 | ||
36 | + | ||
37 | +## 四、其他 | ||
38 | +有问题可以评论区留言,有空我会查看解答修正的,谢谢! |
1.8 KB
4.0 KB
1.7 KB
2.6 KB
3.8 KB
2.5 KB
3.5 KB
1 | -{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/15121/Desktop/xytext1119/App.vue?a5d8","uni-app:///App.vue","webpack:///C:/Users/15121/Desktop/xytext1119/App.vue?1cb7","webpack:///C:/Users/15121/Desktop/xytext1119/App.vue?4853"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","use","uView","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA;;AAE2D;;;AAG3D;;AAEA,qE,ynCANA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAIAC,aAAIC,GAAJ,CAAQC,gBAAR,EAEAF,aAAIG,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIP,YAAJ;AACLK,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACiL;AACjL,gBAAgB,2LAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAsqB,CAAgB,mrBAAG,EAAC,C;;;;;;;;;;;;ACC1rB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAywC,CAAgB,0tCAAG,EAAC,C;;;;;;;;;;ACA7xC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\n\r\n\r\nimport uView from \"uview-ui\";\r\nVue.use(uView);\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Program Files/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\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"uview-ui/index.scss\";\r\n</style>","import mod from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668843639040\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/15121/Desktop/44444/App.vue?39fd","webpack:///C:/Users/15121/Desktop/44444/App.vue?ace6","uni-app:///App.vue","webpack:///C:/Users/15121/Desktop/44444/App.vue?eb5a","webpack:///C:/Users/15121/Desktop/44444/App.vue?e134"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","use","uView","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA;;AAE2D;;;AAG3D;;AAEA,qE,ynCANA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAIAC,aAAIC,GAAJ,CAAQC,gBAAR,EAEAF,aAAIG,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIP,YAAJ;AACLK,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACiL;AACjL,gBAAgB,2LAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAsqB,CAAgB,mrBAAG,EAAC,C;;;;;;;;;;;;ACC1rB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAywC,CAAgB,0tCAAG,EAAC,C;;;;;;;;;;ACA7xC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\n\r\n\r\nimport uView from \"uview-ui\";\r\nVue.use(uView);\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Program Files/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\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"uview-ui/index.scss\";\r\n</style>","import mod from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313775\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,osBAAosB;QAC3tB;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"node-modules/uview-ui/components/u-navbar/u-navbar\":1,\"node-modules/uview-ui/components/u-swiper/u-swiper\":1,\"node-modules/uview-ui/components/u-icon/u-icon\":1,\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":1,\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":1,\"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"node-modules/uview-ui/components/u-navbar/u-navbar\":\"node-modules/uview-ui/components/u-navbar/u-navbar\",\"node-modules/uview-ui/components/u-swiper/u-swiper\":\"node-modules/uview-ui/components/u-swiper/u-swiper\",\"node-modules/uview-ui/components/u-icon/u-icon\":\"node-modules/uview-ui/components/u-icon/u-icon\",\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":\"node-modules/uview-ui/components/u-status-bar/u-status-bar\",\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\",\"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator\":\"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} | ||
1 | +{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,8HAA8H;QACrJ;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow\":\"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} |
此 diff 太大无法显示。
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?f73c","webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?97ca","webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?93b9","webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?c830","uni-app:///components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue","webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?a24a","webpack:///C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?79e9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiJ;AACjJ;AAC4E;AACL;AACsC;;;AAG7G;AACuL;AACvL,gBAAgB,2LAAU;AAC1B,EAAE,8FAAM;AACR,EAAE,+GAAM;AACR,EAAE,wHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mHAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;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;AAAytB,CAAgB,wsBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8D7uB;AACA;AACA,yCADA;AAEA;AACA,yCAHA;AAIA;AACA,0CALA;AAMA;AACA,uDAPA;AAQA;AACA,6FATA;AAUA,gCAVA;;AAYA;AACA,6CAbA,EADA;;;;;;AAoBA,MApBA,kBAoBA;AACA;AACA,gBADA,EACA;AACA,wBAFA,EAEA;AACA,sBAHA,EAGA;AACA,eAJA,EAIA;AACA,eALA;AAMA,YANA;;AAQA,GA7BA;AA8BA,SA9BA,qBA8BA;AACA;AACA,GAhCA;AAiCA;AACA,mBADA,2BACA,KADA,EACA;AACA;AACA,gDADA;AAEA;AACA,YADA,CACA,QADA;AAEA,YAFA,CAEA,cAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6DADA;AAEA,uCAFA;AAGA,yEAHA;AAIA,mDAJA;;AAMA,aARA,CADA;;AAWA,0BAXA,CAWA,YAXA,iBAWA,YAXA,CAWA,YAXA,iBAWA,YAXA;AAYA;AACA,sCADA;AAEA,qEAFA;;AAIA;AACA;AACA,+DADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OA/BA;AAgCA,UAhCA;AAiCA,KArCA;AAsCA,WAtCA,qBAsCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA/CA,EAjCA,E;;;;;;;;;;;;;AC9DA;AAAA;AAAA;AAAA;AAA42C,CAAgB,uwCAAG,EAAC,C;;;;;;;;;;;ACAh4C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true&\"\nvar renderjs\nimport script from \"./maramlee-waterfalls-flow.vue?vue&type=script&lang=js&\"\nexport * from \"./maramlee-waterfalls-flow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Program Files/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 \"b7348238\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue\"\nexport default component.exports","export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true&\"","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 \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"waterfalls-box\" :style=\"{ height: height + 'px' }\">\n <!-- #ifdef MP-WEIXIN -->\n <view\n v-for=\"(item, index) of list\"\n class=\"waterfalls-list\"\n :key=\"item[idKey]\"\n :id=\"'waterfalls-list-id-' + item[idKey]\"\n :ref=\"'waterfalls-list-id-' + item[idKey]\"\n :style=\"{\n '--offset': offset + 'px',\n '--cols': cols,\n top: allPositionArr[index].top || 0,\n left: allPositionArr[index].left || 0,\n }\"\n @click=\"$emit('wapper-lick', item)\"\n >\n <image\n class=\"waterfalls-list-image\"\n mode=\"widthFix\"\n :class=\"{ single }\"\n :style=\"imageStyle\"\n :src=\"item[imageSrcKey] || ' '\"\n @load=\"imageLoadHandle(index)\"\n @error=\"imageLoadHandle(index)\"\n @click=\"$emit('image-click', item)\"\n />\n <slot name=\"slot{{index}}\" />\n </view>\n <!-- #endif -->\n\n <!-- #ifndef MP-WEIXIN -->\n <view\n v-for=\"(item, index) of list\"\n class=\"waterfalls-list\"\n :key=\"item[idKey]\"\n :id=\"'waterfalls-list-id-' + item[idKey]\"\n :ref=\"'waterfalls-list-id-' + item[idKey]\"\n :style=\"{\n '--offset': offset + 'px',\n '--cols': cols,\n ...listStyle,\n ...(allPositionArr[index] || {}),\n }\"\n @click=\"$emit('wapper-lick', item)\"\n >\n <image\n class=\"waterfalls-list-image\"\n :class=\"{ single }\"\n mode=\"widthFix\"\n :style=\"imageStyle\"\n :src=\"item[imageSrcKey] || ' '\"\n @load=\"imageLoadHandle(index)\"\n @error=\"imageLoadHandle(index)\"\n @click=\"$emit('image-click', item)\"\n />\n <slot v-bind=\"item\" />\n </view>\n <!-- #endif -->\n </view>\n</template>\n<script>\nexport default {\n props: {\n list: { type: Array, required: true },\n // offset 间距,单位为 px\n offset: { type: Number, default: 10 },\n // 列表渲染的 key 的键名,值必须唯一,默认为 id\n idKey: { type: String, default: \"id\" },\n // 图片 src 的键名\n imageSrcKey: { type: String, default: \"image_url\" },\n // 列数\n cols: { type: Number, default: 2, validator: (num) => num >= 2 },\n imageStyle: { type: Object },\n\n // 是否是单独的渲染图片的样子,只控制图片圆角而已\n single: { type: Boolean, default: false },\n\n // #ifndef MP-WEIXIN\n listStyle: { type: Object },\n // #endif\n },\n data() {\n return {\n topArr: [], // left, right 多个时依次表示第几列的数据\n allPositionArr: [], // 保存所有的位置信息\n allHeightArr: [], // 保存所有的 height 信息\n height: 0, // 外层包裹高度\n oldNum: 0,\n num: 0,\n };\n },\n created() {\n this.refresh();\n },\n methods: {\n imageLoadHandle(index) {\n const id = \"waterfalls-list-id-\" + this.list[index][this.idKey],\n query = uni.createSelectorQuery().in(this);\n query\n .select(\"#\" + id)\n .fields({ size: true }, (data) => {\n this.num++;\n this.$set(this.allHeightArr, index, data.height);\n if (this.num === this.list.length) {\n for (let i = this.oldNum; i < this.num; i++) {\n const getTopArrMsg = () => {\n let arrtmp = [...this.topArr].sort((a, b) => a - b);\n return {\n shorterIndex: this.topArr.indexOf(arrtmp[0]),\n shorterValue: arrtmp[0],\n longerIndex: this.topArr.indexOf(arrtmp[this.cols - 1]),\n longerValue: arrtmp[this.cols - 1],\n };\n };\n\n const { shorterIndex, shorterValue } = getTopArrMsg();\n const position = {\n top: shorterValue + \"px\",\n left: (data.width + this.offset) * shorterIndex + \"px\",\n };\n this.$set(this.allPositionArr, i, position);\n this.topArr[shorterIndex] =\n shorterValue + this.allHeightArr[i] + this.offset;\n this.height = getTopArrMsg().longerValue - this.offset;\n }\n this.oldNum = this.num;\n // 完成渲染 emit `image-load` 事件\n this.$emit(\"image-load\");\n }\n })\n .exec();\n },\n refresh() {\n let arr = [];\n for (let i = 0; i < this.cols; i++) {\n arr.push(0);\n }\n this.topArr = arr;\n this.num = 0;\n this.oldNum = 0;\n this.height = 0;\n },\n },\n};\n</script>\n<style lang=\"scss\" scoped>\n// 这里可以自行配置\n$border-radius: 6px;\n\n.waterfalls-box {\n position: relative;\n width: 100%;\n overflow: hidden;\n .waterfalls-list {\n width: calc((100% - var(--offset) * (var(--cols) - 1)) / var(--cols));\n position: absolute;\n background-color: #fff;\n border-radius: $border-radius;\n // 防止刚开始渲染时堆叠在第一幅图的地方\n left: calc(-50% - var(--offset));\n .waterfalls-list-image {\n width: 100%;\n will-change: transform;\n border-radius: $border-radius $border-radius 0 0;\n display: block;\n &.single {\n border-radius: $border-radius;\n }\n }\n }\n}\n</style>\n","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669298397448\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-badge/u-badge.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?b687","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?a2ba","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?3a34","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?de0d","uni-app:///node_modules/uview-ui/components/u-badge/u-badge.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?4291","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-badge/u-badge.vue?e668"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU1vB,gF;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;kBAqBA,EACA,eADA,EAEA,sDAFA,EAGA,YACA;AACA,YAFA,sBAEA,CACA,eACA,aACA,CALA;AAMA;AACA,cAPA,wBAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA3BA;AA4BA,aA5BA,uBA4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDADA,GACA;AACA,aADA,GACA,GADA,IACA,GADA,GACA,GAFA,GAEA,UAFA;AAGA;AACA;AACA,oCAbA;;AAeA,KA5CA,EAHA,E;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAi5C,CAAgB,svCAAG,EAAC,C;;;;;;;;;;;ACAr6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-badge/u-badge.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&\"\nvar renderjs\nimport script from \"./u-badge.vue?vue&type=script&lang=js&\"\nexport * from \"./u-badge.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"662d25bf\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-badge/u-badge.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 =\n _vm.show && ((Number(_vm.value) === 0 ? _vm.showZero : true) || _vm.isDot)\n var s0 = m0\n ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle), _vm.badgeStyle])\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-badge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-badge.vue?vue&type=script&lang=js&\"","<template>\r\n\t<text\r\n\t\tv-if=\"show && ((Number(value) === 0 ? showZero : true) || isDot)\"\r\n\t\t:class=\"[isDot ? 'u-badge--dot' : 'u-badge--not-dot', inverted && 'u-badge--inverted', shape === 'horn' && 'u-badge--horn', `u-badge--${type}${inverted ? '--inverted' : ''}`]\"\r\n\t\t:style=\"[$u.addStyle(customStyle), badgeStyle]\"\r\n\t\tclass=\"u-badge\"\r\n\t>{{ isDot ? '' :showValue }}</text>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * badge 徽标数\r\n\t * @description 该组件一般用于图标右上角显示未读的消息数量,提示用户点击,有圆点和圆包含文字两种形式。\r\n\t * @tutorial https://uviewui.com/components/badge.html\r\n\t * \r\n\t * @property {Boolean} \t\t\tisDot \t\t是否显示圆点 (默认 false )\r\n\t * @property {String | Number} \tvalue \t\t显示的内容\r\n\t * @property {Boolean} \t\t\tshow \t\t是否显示 (默认 true )\r\n\t * @property {String | Number} \tmax \t\t最大值,超过最大值会显示 '{max}+' (默认999)\r\n\t * @property {String} \t\t\ttype \t\t主题类型,error|warning|success|primary (默认 'error' )\r\n\t * @property {Boolean} \t\t\tshowZero\t当数值为 0 时,是否展示 Badge (默认 false )\r\n\t * @property {String} \t\t\tbgColor \t背景颜色,优先级比type高,如设置,type参数会失效\r\n\t * @property {String} \t\t\tcolor \t\t字体颜色 (默认 '#ffffff' )\r\n\t * @property {String} \t\t\tshape \t\t徽标形状,circle-四角均为圆角,horn-左下角为直角 (默认 'circle' )\r\n\t * @property {String} \t\t\tnumberType\t设置数字的显示方式,overflow|ellipsis|limit (默认 'overflow' )\r\n\t * @property {Array}} \t\t\toffset\t\t设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效\r\n\t * @property {Boolean} \t\t\tinverted\t是否反转背景和字体颜色(默认 false )\r\n\t * @property {Boolean} \t\t\tabsolute\t是否绝对定位(默认 false )\r\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\r\n\t * @example <u-badge :type=\"type\" :count=\"count\"></u-badge>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-badge',\r\n\t\tmixins: [uni.$u.mpMixin, props, uni.$u.mixin],\r\n\t\tcomputed: {\r\n\t\t\t// 是否将badge中心与父组件右上角重合\r\n\t\t\tboxStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\treturn style;\r\n\t\t\t},\r\n\t\t\t// 整个组件的样式\r\n\t\t\tbadgeStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\tif(this.color) {\r\n\t\t\t\t\tstyle.color = this.color\r\n\t\t\t\t}\r\n\t\t\t\tif (this.bgColor && !this.inverted) {\r\n\t\t\t\t\tstyle.backgroundColor = this.bgColor\r\n\t\t\t\t}\r\n\t\t\t\tif (this.absolute) {\r\n\t\t\t\t\tstyle.position = 'absolute'\r\n\t\t\t\t\t// 如果有设置offset参数\r\n\t\t\t\t\tif(this.offset.length) {\r\n\t\t\t\t\t\t// top和right分为为offset的第一个和第二个值,如果没有第二个值,则right等于top\r\n\t\t\t\t\t\tconst top = this.offset[0]\r\n\t\t\t\t\t\tconst right = this.offset[1] || top\r\n\t\t\t\t\t\tstyle.top = uni.$u.addUnit(top)\r\n\t\t\t\t\t\tstyle.right = uni.$u.addUnit(right)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\tshowValue() {\r\n\t\t\t\tswitch (this.numberType) {\r\n\t\t\t\t\tcase \"overflow\":\r\n\t\t\t\t\t\treturn Number(this.value) > Number(this.max) ? this.max + \"+\" : this.value\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"ellipsis\":\r\n\t\t\t\t\t\treturn Number(this.value) > Number(this.max) ? \"...\" : this.value\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"limit\":\r\n\t\t\t\t\t\treturn Number(this.value) > 999 ? Number(this.value) >= 9999 ?\r\n\t\t\t\t\t\t\tMath.floor(this.value / 1e4 * 100) / 100 + \"w\" : Math.floor(this.value /\r\n\t\t\t\t\t\t\t\t1e3 * 100) / 100 + \"k\" : this.value\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\treturn Number(this.value)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t$u-badge-primary: $u-primary !default;\r\n\t$u-badge-error: $u-error !default;\r\n\t$u-badge-success: $u-success !default;\r\n\t$u-badge-info: $u-info !default;\r\n\t$u-badge-warning: $u-warning !default;\r\n\t$u-badge-dot-radius: 100px !default;\r\n\t$u-badge-dot-size: 8px !default;\r\n\t$u-badge-dot-right: 4px !default;\r\n\t$u-badge-dot-top: 0 !default;\r\n\t$u-badge-text-font-size: 11px !default;\r\n\t$u-badge-text-right: 10px !default;\r\n\t$u-badge-text-padding: 2px 5px !default;\r\n\t$u-badge-text-align: center !default;\r\n\t$u-badge-text-color: #FFFFFF !default;\r\n\r\n\t.u-badge {\r\n\t\tborder-top-right-radius: $u-badge-dot-radius;\r\n\t\tborder-top-left-radius: $u-badge-dot-radius;\r\n\t\tborder-bottom-left-radius: $u-badge-dot-radius;\r\n\t\tborder-bottom-right-radius: $u-badge-dot-radius;\r\n\t\t@include flex;\r\n\t\tline-height: $u-badge-text-font-size;\r\n\t\ttext-align: $u-badge-text-align;\r\n\t\tfont-size: $u-badge-text-font-size;\r\n\t\tcolor: $u-badge-text-color;\r\n\r\n\t\t&--dot {\r\n\t\t\theight: $u-badge-dot-size;\r\n\t\t\twidth: $u-badge-dot-size;\r\n\t\t}\r\n\t\t\r\n\t\t&--inverted {\r\n\t\t\tfont-size: 13px;\r\n\t\t}\r\n\t\t\r\n\t\t&--not-dot {\r\n\t\t\tpadding: $u-badge-text-padding;\r\n\t\t}\r\n\r\n\t\t&--horn {\r\n\t\t\tborder-bottom-left-radius: 0;\r\n\t\t}\r\n\r\n\t\t&--primary {\r\n\t\t\tbackground-color: $u-badge-primary;\r\n\t\t}\r\n\t\t\r\n\t\t&--primary--inverted {\r\n\t\t\tcolor: $u-badge-primary;\r\n\t\t}\r\n\r\n\t\t&--error {\r\n\t\t\tbackground-color: $u-badge-error;\r\n\t\t}\r\n\t\t\r\n\t\t&--error--inverted {\r\n\t\t\tcolor: $u-badge-error;\r\n\t\t}\r\n\r\n\t\t&--success {\r\n\t\t\tbackground-color: $u-badge-success;\r\n\t\t}\r\n\t\t\r\n\t\t&--success--inverted {\r\n\t\t\tcolor: $u-badge-success;\r\n\t\t}\r\n\r\n\t\t&--info {\r\n\t\t\tbackground-color: $u-badge-info;\r\n\t\t}\r\n\t\t\r\n\t\t&--info--inverted {\r\n\t\t\tcolor: $u-badge-info;\r\n\t\t}\r\n\r\n\t\t&--warning {\r\n\t\t\tbackground-color: $u-badge-warning;\r\n\t\t}\r\n\t\t\r\n\t\t&--warning--inverted {\r\n\t\t\tcolor: $u-badge-warning;\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297623880\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?20ea","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?3508","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?1362","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?0fe7","uni-app:///node_modules/uview-ui/components/u-icon/u-icon.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?d2b9","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?034a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAquB,CAAgB,srBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDzvB;;AAEA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHA;AAGA,C,CAEA;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BA,EACA,cADA,EAEA,IAFA,kBAEA,CACA,UAGA,CANA,EAOA,sDAPA,EAQA,YACA,QADA,sBACA,CACA,iBACA,kDAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAVA,CAWA;AACA;AAIA,qBACA,CAlBA,EAmBA,SAnBA,uBAmBA,CACA,eACA,UACA,mCADA,EAEA,qCAFA,EAGA,yCAHA,EAIA;AACA,qCALA,GAFA,CASA;AACA,2FAEA,aACA,CAhCA,EAiCA;AACA,SAlCA,mBAkCA,CACA,qCACA,CApCA,EAqCA,QArCA,sBAqCA,CACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,QA7CA,kBA6CA;AACA;AACA;AACA,KAhDA,EARA;;AA0DA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA1DA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAg5C,CAAgB,qvCAAG,EAAC,C;;;;;;;;;;;ACAp6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=172979f2&scoped=true&\"\nvar renderjs\nimport script from \"./u-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"172979f2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-icon/u-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.isImg\n ? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var s1 = !_vm.isImg\n ? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var g0 = _vm.label !== \"\" ? _vm.$u.addUnit(_vm.labelSize) : null\n var g1 =\n _vm.label !== \"\" && _vm.labelPos == \"right\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\" ? _vm.$u.addUnit(_vm.space) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t class=\"u-icon\"\r\n\t @tap=\"clickHandler\"\r\n\t :class=\"['u-icon--' + labelPos]\"\r\n\t>\r\n\t\t<image\r\n\t\t class=\"u-icon__img\"\r\n\t\t v-if=\"isImg\"\r\n\t\t :src=\"name\"\r\n\t\t :mode=\"imgMode\"\r\n\t\t :style=\"[imgStyle, $u.addStyle(customStyle)]\"\r\n\t\t></image>\r\n\t\t<text\r\n\t\t v-else\r\n\t\t class=\"u-icon__icon\"\r\n\t\t :class=\"uClasses\"\r\n\t\t :style=\"[iconStyle, $u.addStyle(customStyle)]\"\r\n\t\t :hover-class=\"hoverClass\"\r\n\t\t>{{icon}}</text>\r\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\r\n\t\t<text\r\n\t\t v-if=\"label !== ''\" \r\n\t\t class=\"u-icon__label\"\r\n\t\t :style=\"{\r\n\t\t\tcolor: labelColor,\r\n\t\t\tfontSize: $u.addUnit(labelSize),\r\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(space) : 0,\r\n\t\t}\"\r\n\t\t>{{ label }}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t// #ifdef APP-NVUE\r\n\t// nvue通过weex的dom模块引入字体,相关文档地址如下:\r\n\t// https://weex.apache.org/zh/docs/modules/dom.html#addrule\r\n\tconst fontUrl = 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'\r\n\tconst domModule = weex.requireModule('dom')\r\n\tdomModule.addRule('fontFace', {\r\n\t\t'fontFamily': \"uicon-iconfont\",\r\n\t\t'src': `url('${fontUrl}')`\r\n\t})\r\n\t// #endif\r\n\r\n\t// 引入图标名称,已经对应的unicode\r\n\timport icons from './icons'\r\n\t\r\n\timport props from './props.js';;\r\n\r\n\t/**\r\n\t * icon 图标\r\n\t * @description 基于字体的图标集,包含了大多数常见场景的图标。\r\n\t * @tutorial https://www.uviewui.com/components/icon.html\r\n\t * @property {String}\t\t\tname\t\t\t图标名称,见示例图标集\r\n\t * @property {String}\t\t\tcolor\t\t\t图标颜色,可接受主题色 (默认 color['u-content-color'] )\r\n\t * @property {String | Number}\tsize\t\t\t图标字体大小,单位px (默认 '16px' )\r\n\t * @property {Boolean}\t\t\tbold\t\t\t是否显示粗体 (默认 false )\r\n\t * @property {String | Number}\tindex\t\t\t点击图标的时候传递事件出去的index(用于区分点击了哪一个)\r\n\t * @property {String}\t\t\thoverClass\t\t图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网\r\n\t * @property {String}\t\t\tcustomPrefix\t自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' )\r\n\t * @property {String | Number}\tlabel\t\t\t图标右侧的label文字\r\n\t * @property {String}\t\t\tlabelPos\t\tlabel相对于图标的位置,只能right或bottom (默认 'right' )\r\n\t * @property {String | Number}\tlabelSize\t\tlabel字体大小,单位px (默认 '15px' )\r\n\t * @property {String}\t\t\tlabelColor\t\t图标右侧的label文字颜色 ( 默认 color['u-content-color'] )\r\n\t * @property {String | Number}\tspace\t\t\tlabel与图标的距离,单位px (默认 '3px' )\r\n\t * @property {String}\t\t\timgMode\t\t\t图片的mode\r\n\t * @property {String | Number}\twidth\t\t\t显示图片小图标时的宽度\r\n\t * @property {String | Number}\theight\t\t\t显示图片小图标时的高度\r\n\t * @property {String | Number}\ttop\t\t\t\t图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 )\r\n\t * @property {Boolean}\t\t\tstop\t\t\t是否阻止事件传播 (默认 false )\r\n\t * @property {Object}\t\t\tcustomStyle\t\ticon的样式,对象形式\r\n\t * @event {Function} click 点击图标时触发\r\n\t * @event {Function} touchstart 事件触摸时触发\r\n\t * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-icon',\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\tuClasses() {\r\n\t\t\t\tlet classes = []\r\n\t\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t\t// // uView的自定义图标类名为u-iconfont\r\n\t\t\t\t// if (this.customPrefix == 'uicon') {\r\n\t\t\t\t// \tclasses.push('u-iconfont')\r\n\t\t\t\t// } else {\r\n\t\t\t\t// \tclasses.push(this.customPrefix)\r\n\t\t\t\t// }\r\n\t\t\t\t// 主题色,通过类配置\r\n\t\t\t\tif (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\t\tclasses = classes.join(' ')\r\n\t\t\t\t//#endif\r\n\t\t\t\treturn classes\r\n\t\t\t},\r\n\t\t\ticonStyle() {\r\n\t\t\t\tlet style = {}\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\tfontSize: uni.$u.addUnit(this.size),\r\n\t\t\t\t\tlineHeight: uni.$u.addUnit(this.size),\r\n\t\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\t\ttop: uni.$u.addUnit(this.top)\r\n\t\t\t\t}\r\n\t\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\t\tif (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color\r\n\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\r\n\t\t\tisImg() {\r\n\t\t\t\treturn this.name.indexOf('/') !== -1\r\n\t\t\t},\r\n\t\t\timgStyle() {\r\n\t\t\t\tlet style = {}\r\n\t\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\r\n\t\t\t\tstyle.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size)\r\n\t\t\t\tstyle.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size)\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 通过图标名,查找对应的图标\r\n\t\t\ticon() {\r\n\t\t\t\t// 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码\r\n\t\t\t\treturn icons['uicon-' + this.name] || this.name\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclickHandler(e) {\r\n\t\t\t\tthis.$emit('click', this.index)\r\n\t\t\t\t// 是否阻止事件冒泡\r\n\t\t\t\tthis.stop && this.preventEvent(e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t// 变量定义\r\n\t$u-icon-primary: $u-primary !default;\r\n\t$u-icon-success: $u-success !default;\r\n\t$u-icon-info: $u-info !default;\r\n\t$u-icon-warning: $u-warning !default;\r\n\t$u-icon-error: $u-error !default;\r\n\t$u-icon-label-line-height:1 !default;\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t// 非nvue下加载字体\r\n\t@font-face {\r\n\t\tfont-family: 'uicon-iconfont';\r\n\t\tsrc: url('https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf') format('truetype');\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t.u-icon {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\talign-items: center;\r\n\r\n\t\t&--left {\r\n\t\t\tflex-direction: row-reverse;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t&--right {\r\n\t\t\tflex-direction: row;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t&--top {\r\n\t\t\tflex-direction: column-reverse;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\r\n\t\t&--bottom {\r\n\t\t\tflex-direction: column;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\r\n\t\t&__icon {\r\n\t\t\tfont-family: uicon-iconfont;\r\n\t\t\tposition: relative;\r\n\t\t\t@include flex;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\t&--primary {\r\n\t\t\t\tcolor: $u-icon-primary;\r\n\t\t\t}\r\n\r\n\t\t\t&--success {\r\n\t\t\t\tcolor: $u-icon-success;\r\n\t\t\t}\r\n\r\n\t\t\t&--error {\r\n\t\t\t\tcolor: $u-icon-error;\r\n\t\t\t}\r\n\r\n\t\t\t&--warning {\r\n\t\t\t\tcolor: $u-icon-warning;\r\n\t\t\t}\r\n\r\n\t\t\t&--info {\r\n\t\t\t\tcolor: $u-icon-info;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__img {\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\theight: auto;\r\n\t\t\twill-change: transform;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\r\n\t\t&__label {\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tline-height: $u-icon-label-line-height;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668843638981\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?a599","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?fef5","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?fb35","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?868d","uni-app:///node_modules/uview-ui/components/u-icon/u-icon.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?7575","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-icon/u-icon.vue?52e8"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAquB,CAAgB,srBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDzvB;;AAEA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHA;AAGA,C,CAEA;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BA,EACA,cADA,EAEA,IAFA,kBAEA,CACA,UAGA,CANA,EAOA,sDAPA,EAQA,YACA,QADA,sBACA,CACA,iBACA,kDAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAVA,CAWA;AACA;AAIA,qBACA,CAlBA,EAmBA,SAnBA,uBAmBA,CACA,eACA,UACA,mCADA,EAEA,qCAFA,EAGA,yCAHA,EAIA;AACA,qCALA,GAFA,CASA;AACA,2FAEA,aACA,CAhCA,EAiCA;AACA,SAlCA,mBAkCA,CACA,qCACA,CApCA,EAqCA,QArCA,sBAqCA,CACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,QA7CA,kBA6CA;AACA;AACA;AACA,KAhDA,EARA;;AA0DA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA1DA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAg5C,CAAgB,qvCAAG,EAAC,C;;;;;;;;;;;ACAp6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=172979f2&scoped=true&\"\nvar renderjs\nimport script from \"./u-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"172979f2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-icon/u-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.isImg\n ? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var s1 = !_vm.isImg\n ? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var g0 = _vm.label !== \"\" ? _vm.$u.addUnit(_vm.labelSize) : null\n var g1 =\n _vm.label !== \"\" && _vm.labelPos == \"right\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\" ? _vm.$u.addUnit(_vm.space) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t class=\"u-icon\"\r\n\t @tap=\"clickHandler\"\r\n\t :class=\"['u-icon--' + labelPos]\"\r\n\t>\r\n\t\t<image\r\n\t\t class=\"u-icon__img\"\r\n\t\t v-if=\"isImg\"\r\n\t\t :src=\"name\"\r\n\t\t :mode=\"imgMode\"\r\n\t\t :style=\"[imgStyle, $u.addStyle(customStyle)]\"\r\n\t\t></image>\r\n\t\t<text\r\n\t\t v-else\r\n\t\t class=\"u-icon__icon\"\r\n\t\t :class=\"uClasses\"\r\n\t\t :style=\"[iconStyle, $u.addStyle(customStyle)]\"\r\n\t\t :hover-class=\"hoverClass\"\r\n\t\t>{{icon}}</text>\r\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\r\n\t\t<text\r\n\t\t v-if=\"label !== ''\" \r\n\t\t class=\"u-icon__label\"\r\n\t\t :style=\"{\r\n\t\t\tcolor: labelColor,\r\n\t\t\tfontSize: $u.addUnit(labelSize),\r\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(space) : 0,\r\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(space) : 0,\r\n\t\t}\"\r\n\t\t>{{ label }}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t// #ifdef APP-NVUE\r\n\t// nvue通过weex的dom模块引入字体,相关文档地址如下:\r\n\t// https://weex.apache.org/zh/docs/modules/dom.html#addrule\r\n\tconst fontUrl = 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'\r\n\tconst domModule = weex.requireModule('dom')\r\n\tdomModule.addRule('fontFace', {\r\n\t\t'fontFamily': \"uicon-iconfont\",\r\n\t\t'src': `url('${fontUrl}')`\r\n\t})\r\n\t// #endif\r\n\r\n\t// 引入图标名称,已经对应的unicode\r\n\timport icons from './icons'\r\n\t\r\n\timport props from './props.js';;\r\n\r\n\t/**\r\n\t * icon 图标\r\n\t * @description 基于字体的图标集,包含了大多数常见场景的图标。\r\n\t * @tutorial https://www.uviewui.com/components/icon.html\r\n\t * @property {String}\t\t\tname\t\t\t图标名称,见示例图标集\r\n\t * @property {String}\t\t\tcolor\t\t\t图标颜色,可接受主题色 (默认 color['u-content-color'] )\r\n\t * @property {String | Number}\tsize\t\t\t图标字体大小,单位px (默认 '16px' )\r\n\t * @property {Boolean}\t\t\tbold\t\t\t是否显示粗体 (默认 false )\r\n\t * @property {String | Number}\tindex\t\t\t点击图标的时候传递事件出去的index(用于区分点击了哪一个)\r\n\t * @property {String}\t\t\thoverClass\t\t图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网\r\n\t * @property {String}\t\t\tcustomPrefix\t自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' )\r\n\t * @property {String | Number}\tlabel\t\t\t图标右侧的label文字\r\n\t * @property {String}\t\t\tlabelPos\t\tlabel相对于图标的位置,只能right或bottom (默认 'right' )\r\n\t * @property {String | Number}\tlabelSize\t\tlabel字体大小,单位px (默认 '15px' )\r\n\t * @property {String}\t\t\tlabelColor\t\t图标右侧的label文字颜色 ( 默认 color['u-content-color'] )\r\n\t * @property {String | Number}\tspace\t\t\tlabel与图标的距离,单位px (默认 '3px' )\r\n\t * @property {String}\t\t\timgMode\t\t\t图片的mode\r\n\t * @property {String | Number}\twidth\t\t\t显示图片小图标时的宽度\r\n\t * @property {String | Number}\theight\t\t\t显示图片小图标时的高度\r\n\t * @property {String | Number}\ttop\t\t\t\t图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 )\r\n\t * @property {Boolean}\t\t\tstop\t\t\t是否阻止事件传播 (默认 false )\r\n\t * @property {Object}\t\t\tcustomStyle\t\ticon的样式,对象形式\r\n\t * @event {Function} click 点击图标时触发\r\n\t * @event {Function} touchstart 事件触摸时触发\r\n\t * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-icon',\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\tuClasses() {\r\n\t\t\t\tlet classes = []\r\n\t\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t\t// // uView的自定义图标类名为u-iconfont\r\n\t\t\t\t// if (this.customPrefix == 'uicon') {\r\n\t\t\t\t// \tclasses.push('u-iconfont')\r\n\t\t\t\t// } else {\r\n\t\t\t\t// \tclasses.push(this.customPrefix)\r\n\t\t\t\t// }\r\n\t\t\t\t// 主题色,通过类配置\r\n\t\t\t\tif (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\t\tclasses = classes.join(' ')\r\n\t\t\t\t//#endif\r\n\t\t\t\treturn classes\r\n\t\t\t},\r\n\t\t\ticonStyle() {\r\n\t\t\t\tlet style = {}\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\tfontSize: uni.$u.addUnit(this.size),\r\n\t\t\t\t\tlineHeight: uni.$u.addUnit(this.size),\r\n\t\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\t\ttop: uni.$u.addUnit(this.top)\r\n\t\t\t\t}\r\n\t\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\t\tif (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color\r\n\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\r\n\t\t\tisImg() {\r\n\t\t\t\treturn this.name.indexOf('/') !== -1\r\n\t\t\t},\r\n\t\t\timgStyle() {\r\n\t\t\t\tlet style = {}\r\n\t\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\r\n\t\t\t\tstyle.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size)\r\n\t\t\t\tstyle.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size)\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 通过图标名,查找对应的图标\r\n\t\t\ticon() {\r\n\t\t\t\t// 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码\r\n\t\t\t\treturn icons['uicon-' + this.name] || this.name\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclickHandler(e) {\r\n\t\t\t\tthis.$emit('click', this.index)\r\n\t\t\t\t// 是否阻止事件冒泡\r\n\t\t\t\tthis.stop && this.preventEvent(e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t// 变量定义\r\n\t$u-icon-primary: $u-primary !default;\r\n\t$u-icon-success: $u-success !default;\r\n\t$u-icon-info: $u-info !default;\r\n\t$u-icon-warning: $u-warning !default;\r\n\t$u-icon-error: $u-error !default;\r\n\t$u-icon-label-line-height:1 !default;\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t// 非nvue下加载字体\r\n\t@font-face {\r\n\t\tfont-family: 'uicon-iconfont';\r\n\t\tsrc: url('https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf') format('truetype');\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t.u-icon {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\talign-items: center;\r\n\r\n\t\t&--left {\r\n\t\t\tflex-direction: row-reverse;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t&--right {\r\n\t\t\tflex-direction: row;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t&--top {\r\n\t\t\tflex-direction: column-reverse;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\r\n\t\t&--bottom {\r\n\t\t\tflex-direction: column;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\r\n\t\t&__icon {\r\n\t\t\tfont-family: uicon-iconfont;\r\n\t\t\tposition: relative;\r\n\t\t\t@include flex;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\t&--primary {\r\n\t\t\t\tcolor: $u-icon-primary;\r\n\t\t\t}\r\n\r\n\t\t\t&--success {\r\n\t\t\t\tcolor: $u-icon-success;\r\n\t\t\t}\r\n\r\n\t\t\t&--error {\r\n\t\t\t\tcolor: $u-icon-error;\r\n\t\t\t}\r\n\r\n\t\t\t&--warning {\r\n\t\t\t\tcolor: $u-icon-warning;\r\n\t\t\t}\r\n\r\n\t\t\t&--info {\r\n\t\t\t\tcolor: $u-icon-info;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__img {\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\theight: auto;\r\n\t\t\twill-change: transform;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\r\n\t\t&__label {\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tline-height: $u-icon-label-line-height;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313428\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-line/u-line.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?8b7b","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?03d3","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?481c","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?c548","uni-app:///node_modules/uview-ui/components/u-line/u-line.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?07a6","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-line/u-line.vue?70f4"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAquB,CAAgB,srBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUzvB,gF;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,cADA,EAEA,sDAFA,EAGA,YACA,SADA,uBACA,CACA,eACA,2BAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KArBA,EAHA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAg5C,CAAgB,qvCAAG,EAAC,C;;;;;;;;;;;ACAp6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-line/u-line.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-line.vue?vue&type=template&id=e778bab2&scoped=true&\"\nvar renderjs\nimport script from \"./u-line.vue?vue&type=script&lang=js&\"\nexport * from \"./u-line.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"e778bab2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-line/u-line.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=template&id=e778bab2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.lineStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t class=\"u-line\"\r\n\t :style=\"[lineStyle]\"\r\n\t>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * line 线条\r\n\t * @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单\r\n\t * @tutorial https://www.uviewui.com/components/line.html\r\n\t * @property {String}\t\t\tcolor\t\t线条的颜色 ( 默认 '#d6d7d9' )\r\n\t * @property {String | Number}\tlength\t\t长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 ( 默认 '100%' )\r\n\t * @property {String}\t\t\tdirection\t线条的方向,row-横向,col-竖向 (默认 'row' )\r\n\t * @property {Boolean}\t\t\thairline\t是否显示细线条 (默认 true )\r\n\t * @property {String | Number}\tmargin\t\t线条与上下左右元素的间距,字符串形式,如\"30px\" (默认 0 )\r\n\t * @property {Boolean}\t\t\tdashed\t\t是否虚线,true-虚线,false-实线 (默认 false )\r\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\r\n\t * @example <u-line color=\"red\"></u-line>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-line',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\tlineStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\tstyle.margin = this.margin\r\n\t\t\t\t// 如果是水平线条,边框高度为1px,再通过transform缩小一半,就是0.5px了\r\n\t\t\t\tif (this.direction === 'row') {\r\n\t\t\t\t\t// 此处采用兼容分开写,兼容nvue的写法\r\n\t\t\t\t\tstyle.borderBottomWidth = '1px'\r\n\t\t\t\t\tstyle.borderBottomStyle = this.dashed ? 'dashed' : 'solid'\r\n\t\t\t\t\tstyle.width = uni.$u.addUnit(this.length)\r\n\t\t\t\t\tif (this.hairline) style.transform = 'scaleY(0.5)'\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// 如果是竖向线条,边框宽度为1px,再通过transform缩小一半,就是0.5px了\r\n\t\t\t\t\tstyle.borderLeftWidth = '1px'\r\n\t\t\t\t\tstyle.borderLeftStyle = this.dashed ? 'dashed' : 'solid'\r\n\t\t\t\t\tstyle.height = uni.$u.addUnit(this.length)\r\n\t\t\t\t\tif (this.hairline) style.transform = 'scaleX(0.5)'\r\n\t\t\t\t}\r\n\r\n\t\t\t\tstyle.borderColor = this.color\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t.u-line {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tvertical-align: middle;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313485\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?3909","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?4286","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?4084","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?0ba0","uni-app:///node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?f638","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?61b8"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAA6uB,CAAgB,8rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4DjwB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;;;;kBAkBA,EACA,sBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA;AACA,4BACA,UADA,GAHA,EAMA;AACA;AACA,mBARA,EAQA;AACA,wBATA,EASA;AACA,oBAVA,CAUA;AAVA,MAYA,CAhBA,EAiBA,YACA;AACA;AACA;AACA,oBAJA,8BAIA,CACA,sEACA,6BACA,4DACA,CAFA,MAEA,CACA,qBACA,CANA,CAOA;AACA,KAZA,EAjBA,EA+BA,SACA,IADA,gBACA,CADA,EACA,CACA;AAQA,KAVA,EA/BA,EA2CA,OA3CA,qBA2CA,CACA,YACA,CA7CA,EA8CA,WACA,IADA,kBACA,CACA,wBAOA,CAPA,EAOA,EAPA,EAQA,CAVA,EAWA;AACA,6BAZA,uCAYA,mBACA;AACA,oCAFA,CAGA;AACA,yCAJA,CAKA;AACA,iDANA,CAOA;AACA,2DACA,yBACA,CAFA,EAGA,qDACA,0BACA,CAFA;AAGA,KA1BA,EA9CA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAw5C,CAAgB,6vCAAG,EAAC,C;;;;;;;;;;;ACA56C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&\"\nvar renderjs\nimport script from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"8ae91632\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null\n var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\n g1: g1,\n g2: g2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tclass=\"u-loading-icon\"\r\n\t\t:style=\"[$u.addStyle(customStyle)]\"\r\n\t\t:class=\"[vertical && 'u-loading-icon--vertical']\"\r\n\t\tv-if=\"show\"\r\n\t>\r\n\t\t<view\r\n\t\t\tv-if=\"!webviewHide\"\r\n\t\t\tclass=\"u-loading-icon__spinner\"\r\n\t\t\t:class=\"[`u-loading-icon__spinner--${mode}`]\"\r\n\t\t\tref=\"ani\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tcolor: color,\r\n\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\theight: $u.addUnit(size),\r\n\t\t\t\tborderTopColor: color,\r\n\t\t\t\tborderBottomColor: otherBorderColor,\r\n\t\t\t\tborderLeftColor: otherBorderColor,\r\n\t\t\t\tborderRightColor: otherBorderColor,\r\n\t\t\t\t'animation-duration': `${duration}ms`,\r\n\t\t\t\t'animation-timing-function': mode === 'semicircle' || mode === 'circle' ? timingFunction : ''\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<block v-if=\"mode === 'spinner'\">\r\n\t\t\t\t<!-- #ifndef APP-NVUE -->\r\n\t\t\t\t<view\r\n\t\t\t\t\tv-for=\"(item, index) in array12\"\r\n\t\t\t\t\t:key=\"index\"\r\n\t\t\t\t\tclass=\"u-loading-icon__dot\"\r\n\t\t\t\t>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t\t<!-- #ifdef APP-NVUE -->\r\n\t\t\t\t<!-- 此组件内部图标部分无法设置宽高,即使通过width和height配置了也无效 -->\r\n\t\t\t\t<loading-indicator\r\n\t\t\t\t\tv-if=\"!webviewHide\"\r\n\t\t\t\t\tclass=\"u-loading-indicator\"\r\n\t\t\t\t\t:animating=\"true\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tcolor: color,\r\n\t\t\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\t\t\theight: $u.addUnit(size)\r\n\t\t\t\t\t}\"\r\n\t\t\t\t/>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t\t<text\r\n\t\t\tv-if=\"text\"\r\n\t\t\tclass=\"u-loading-icon__text\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tfontSize: $u.addUnit(textSize),\r\n\t\t\t\tcolor: textColor,\r\n\t\t\t}\"\r\n\t\t>{{text}}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t// #ifdef APP-NVUE\r\n\tconst animation = weex.requireModule('animation');\r\n\t// #endif\r\n\t/**\r\n\t * loading 加载动画\r\n\t * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。\r\n\t * @tutorial https://www.uviewui.com/components/loading.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t是否显示组件 (默认 true)\r\n\t * @property {String}\t\t\tcolor\t\t\t动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color'])\r\n\t * @property {String}\t\t\ttextColor\t\t提示文本的颜色(默认color['u-tips-color'])\r\n\t * @property {Boolean}\t\t\tvertical\t\t文字和图标是否垂直排列 (默认 false )\r\n\t * @property {String}\t\t\tmode\t\t\t模式选择,见官网说明(默认 'circle' )\r\n\t * @property {String | Number}\tsize\t\t\t加载图标的大小,单位px (默认 24 )\r\n\t * @property {String | Number}\ttextSize\t\t文字大小(默认 15 )\r\n\t * @property {String | Number}\ttext\t\t\t文字内容 \r\n\t * @property {String}\t\t\ttimingFunction\t动画模式 (默认 'ease-in-out' )\r\n\t * @property {String | Number}\tduration\t\t动画执行周期时间(默认 1200)\r\n\t * @property {String}\t\t\tinactiveColor\tmode=circle时的暗边颜色 \r\n\t * @property {Object}\t\t\tcustomStyle\t\t定义需要用到的外部样式\r\n\t * @example <u-loading mode=\"circle\"></u-loading>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-loading-icon',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// Array.form可以通过一个伪数组对象创建指定长度的数组\r\n\t\t\t\t// https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from\r\n\t\t\t\tarray12: Array.from({\r\n\t\t\t\t\tlength: 12\r\n\t\t\t\t}),\r\n\t\t\t\t// 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行\r\n\t\t\t\t// 在iOS nvue上,则会一开始默认执行两个周期的动画\r\n\t\t\t\taniAngel: 360, // 动画旋转角度\r\n\t\t\t\twebviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗\r\n\t\t\t\tloading: false, // 是否运行中,针对nvue使用\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 当为circle类型时,给其另外三边设置一个更轻一些的颜色\r\n\t\t\t// 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色\r\n\t\t\t// 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好)\r\n\t\t\totherBorderColor() {\r\n\t\t\t\tconst lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80]\r\n\t\t\t\tif (this.mode === 'circle') {\r\n\t\t\t\t\treturn this.inactiveColor ? this.inactiveColor : lightColor\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn 'transparent'\r\n\t\t\t\t}\r\n\t\t\t\t// return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent'\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\t// nvue中,show为true,且为非loading状态,就重新执行动画模块\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tif (n && !this.loading) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.startAnimate()\r\n\t\t\t\t\t}, 30)\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.init()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinit() {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t\tthis.show && this.nvueAnimate()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifdef APP-PLUS \r\n\t\t\t\t\tthis.show && this.addEventListenerToWebview()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}, 20)\r\n\t\t\t},\r\n\t\t\t// 监听webview的显示与隐藏\r\n\t\t\taddEventListenerToWebview() {\r\n\t\t\t\t// webview的堆栈\r\n\t\t\t\tconst pages = getCurrentPages()\r\n\t\t\t\t// 当前页面\r\n\t\t\t\tconst page = pages[pages.length - 1]\r\n\t\t\t\t// 当前页面的webview实例\r\n\t\t\t\tconst currentWebview = page.$getAppWebview()\r\n\t\t\t\t// 监听webview的显示与隐藏,从而停止或者开始动画(为了性能)\r\n\t\t\t\tcurrentWebview.addEventListener('hide', () => {\r\n\t\t\t\t\tthis.webviewHide = true\r\n\t\t\t\t})\r\n\t\t\t\tcurrentWebview.addEventListener('show', () => {\r\n\t\t\t\t\tthis.webviewHide = false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\tnvueAnimate() {\r\n\t\t\t\t// nvue下,非spinner类型时才需要旋转,因为nvue的spinner类型,使用了weex的\r\n\t\t\t\t// loading-indicator组件,自带旋转功能\r\n\t\t\t\tthis.mode !== 'spinner' && this.startAnimate()\r\n\t\t\t},\r\n\t\t\t// 执行nvue的animate模块动画\r\n\t\t\tstartAnimate() {\r\n\t\t\t\tthis.loading = true\r\n\t\t\t\tconst ani = this.$refs.ani\r\n\t\t\t\tif (!ani) return\r\n\t\t\t\tanimation.transition(ani, {\r\n\t\t\t\t\t// 进行角度旋转\r\n\t\t\t\t\tstyles: {\r\n\t\t\t\t\t\ttransform: `rotate(${this.aniAngel}deg)`,\r\n\t\t\t\t\t\ttransformOrigin: 'center center'\r\n\t\t\t\t\t},\r\n\t\t\t\t\tduration: this.duration,\r\n\t\t\t\t\ttimingFunction: this.timingFunction,\r\n\t\t\t\t\t// delay: 10\r\n\t\t\t\t}, () => {\r\n\t\t\t\t\t// 每次增加360deg,为了让其重新旋转一周\r\n\t\t\t\t\tthis.aniAngel += 360\r\n\t\t\t\t\t// 动画结束后,继续循环执行动画,需要同时判断webviewHide变量\r\n\t\t\t\t\t// nvue安卓,页面隐藏后依然会继续执行startAnimate方法\r\n\t\t\t\t\tthis.show && !this.webviewHide ? this.startAnimate() : this.loading = false\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-loading-icon-color: #c8c9cc !default;\r\n\t$u-loading-icon-text-margin-left:4px !default;\r\n\t$u-loading-icon-text-color:$u-content-color !default;\r\n\t$u-loading-icon-text-font-size:14px !default;\r\n\t$u-loading-icon-text-line-height:20px !default;\r\n\t$u-loading-width:30px !default;\r\n\t$u-loading-height:30px !default;\r\n\t$u-loading-max-width:100% !default;\r\n\t$u-loading-max-height:100% !default;\r\n\t$u-loading-semicircle-border-width: 2px !default;\r\n\t$u-loading-semicircle-border-color:transparent !default;\r\n\t$u-loading-semicircle-border-top-right-radius: 100px !default;\r\n\t$u-loading-semicircle-border-top-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-semicircle-border-style: solid !default;\r\n\t$u-loading-circle-border-top-right-radius: 100px !default;\r\n\t$u-loading-circle-border-top-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-circle-border-width:2px !default;\r\n\t$u-loading-circle-border-top-color:#e5e5e5 !default;\r\n\t$u-loading-circle-border-right-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-bottom-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-left-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-style:solid !default;\r\n\t$u-loading-icon-host-font-size:0px !default;\r\n\t$u-loading-icon-host-line-height:1 !default;\r\n\t$u-loading-icon-vertical-margin:6px 0 0 !default;\r\n\t$u-loading-icon-dot-top:0 !default;\r\n\t$u-loading-icon-dot-left:0 !default;\r\n\t$u-loading-icon-dot-width:100% !default;\r\n\t$u-loading-icon-dot-height:100% !default;\r\n\t$u-loading-icon-dot-before-width:2px !default;\r\n\t$u-loading-icon-dot-before-height:25% !default;\r\n\t$u-loading-icon-dot-before-margin:0 auto !default;\r\n\t$u-loading-icon-dot-before-background-color:currentColor !default;\r\n\t$u-loading-icon-dot-before-border-radius:40% !default;\r\n\r\n\t.u-loading-icon {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\t// display: inline-flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: $u-loading-icon-color;\r\n\r\n\t\t&__text {\r\n\t\t\tmargin-left: $u-loading-icon-text-margin-left;\r\n\t\t\tcolor: $u-loading-icon-text-color;\r\n\t\t\tfont-size: $u-loading-icon-text-font-size;\r\n\t\t\tline-height: $u-loading-icon-text-line-height;\r\n\t\t}\r\n\r\n\t\t&__spinner {\r\n\t\t\twidth: $u-loading-width;\r\n\t\t\theight: $u-loading-height;\r\n\t\t\tposition: relative;\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tmax-width: $u-loading-max-width;\r\n\t\t\tmax-height: $u-loading-max-height;\r\n\t\t\tanimation: u-rotate 1s linear infinite;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\r\n\t\t&__spinner--semicircle {\r\n\t\t\tborder-width: $u-loading-semicircle-border-width;\r\n\t\t\tborder-color: $u-loading-semicircle-border-color;\r\n\t\t\tborder-top-right-radius: $u-loading-semicircle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-semicircle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-semicircle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-semicircle-border-bottom-right-radiu;\r\n\t\t\tborder-style: $u-loading-semicircle-border-style;\r\n\t\t}\r\n\r\n\t\t&__spinner--circle {\r\n\t\t\tborder-top-right-radius: $u-loading-circle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-circle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-circle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-circle-border-bottom-right-radiu;\r\n\t\t\tborder-width: $u-loading-circle-border-width;\r\n\t\t\tborder-top-color: $u-loading-circle-border-top-color;\r\n\t\t\tborder-right-color: $u-loading-circle-border-right-color;\r\n\t\t\tborder-bottom-color: $u-loading-circle-border-bottom-color;\r\n\t\t\tborder-left-color: $u-loading-circle-border-left-color;\r\n\t\t\tborder-style: $u-loading-circle-border-style;\r\n\t\t}\r\n\r\n\t\t&--vertical {\r\n\t\t\tflex-direction: column\r\n\t\t}\r\n\t}\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t:host {\r\n\t\tfont-size: $u-loading-icon-host-font-size;\r\n\t\tline-height: $u-loading-icon-host-line-height;\r\n\t}\r\n\r\n\t.u-loading-icon {\r\n\t\t&__spinner--spinner {\r\n\t\t\tanimation-timing-function: steps(12)\r\n\t\t}\r\n\r\n\t\t&__text:empty {\r\n\t\t\tdisplay: none\r\n\t\t}\r\n\r\n\t\t&--vertical &__text {\r\n\t\t\tmargin: $u-loading-icon-vertical-margin;\r\n\t\t\tcolor: $u-content-color;\r\n\t\t}\r\n\r\n\t\t&__dot {\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: $u-loading-icon-dot-top;\r\n\t\t\tleft: $u-loading-icon-dot-left;\r\n\t\t\twidth: $u-loading-icon-dot-width;\r\n\t\t\theight: $u-loading-icon-dot-height;\r\n\r\n\t\t\t&:before {\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\twidth: $u-loading-icon-dot-before-width;\r\n\t\t\t\theight: $u-loading-icon-dot-before-height;\r\n\t\t\t\tmargin: $u-loading-icon-dot-before-margin;\r\n\t\t\t\tbackground-color: $u-loading-icon-dot-before-background-color;\r\n\t\t\t\tborder-radius: $u-loading-icon-dot-before-border-radius;\r\n\t\t\t\tcontent: \" \"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@for $i from 1 through 12 {\r\n\t\t.u-loading-icon__dot:nth-of-type(#{$i}) {\r\n\t\t\ttransform: rotate($i * 30deg);\r\n\t\t\topacity: 1 - 0.0625 * ($i - 1);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes u-rotate {\r\n\t\t0% {\r\n\t\t\ttransform: rotate(0deg)\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: rotate(1turn)\r\n\t\t}\r\n\t}\r\n\r\n\t/* #endif */\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668843638948\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?4f09","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?8426","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?c60c","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?b0b3","uni-app:///node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?aed8","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?f33a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAA6uB,CAAgB,8rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4DjwB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;;;;kBAkBA,EACA,sBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA;AACA,4BACA,UADA,GAHA,EAMA;AACA;AACA,mBARA,EAQA;AACA,wBATA,EASA;AACA,oBAVA,CAUA;AAVA,MAYA,CAhBA,EAiBA,YACA;AACA;AACA;AACA,oBAJA,8BAIA,CACA,sEACA,6BACA,4DACA,CAFA,MAEA,CACA,qBACA,CANA,CAOA;AACA,KAZA,EAjBA,EA+BA,SACA,IADA,gBACA,CADA,EACA,CACA;AAQA,KAVA,EA/BA,EA2CA,OA3CA,qBA2CA,CACA,YACA,CA7CA,EA8CA,WACA,IADA,kBACA,CACA,wBAOA,CAPA,EAOA,EAPA,EAQA,CAVA,EAWA;AACA,6BAZA,uCAYA,mBACA;AACA,oCAFA,CAGA;AACA,yCAJA,CAKA;AACA,iDANA,CAOA;AACA,2DACA,yBACA,CAFA,EAGA,qDACA,0BACA,CAFA;AAGA,KA1BA,EA9CA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAw5C,CAAgB,6vCAAG,EAAC,C;;;;;;;;;;;ACA56C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&\"\nvar renderjs\nimport script from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"8ae91632\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null\n var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\n g1: g1,\n g2: g2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tclass=\"u-loading-icon\"\r\n\t\t:style=\"[$u.addStyle(customStyle)]\"\r\n\t\t:class=\"[vertical && 'u-loading-icon--vertical']\"\r\n\t\tv-if=\"show\"\r\n\t>\r\n\t\t<view\r\n\t\t\tv-if=\"!webviewHide\"\r\n\t\t\tclass=\"u-loading-icon__spinner\"\r\n\t\t\t:class=\"[`u-loading-icon__spinner--${mode}`]\"\r\n\t\t\tref=\"ani\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tcolor: color,\r\n\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\theight: $u.addUnit(size),\r\n\t\t\t\tborderTopColor: color,\r\n\t\t\t\tborderBottomColor: otherBorderColor,\r\n\t\t\t\tborderLeftColor: otherBorderColor,\r\n\t\t\t\tborderRightColor: otherBorderColor,\r\n\t\t\t\t'animation-duration': `${duration}ms`,\r\n\t\t\t\t'animation-timing-function': mode === 'semicircle' || mode === 'circle' ? timingFunction : ''\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<block v-if=\"mode === 'spinner'\">\r\n\t\t\t\t<!-- #ifndef APP-NVUE -->\r\n\t\t\t\t<view\r\n\t\t\t\t\tv-for=\"(item, index) in array12\"\r\n\t\t\t\t\t:key=\"index\"\r\n\t\t\t\t\tclass=\"u-loading-icon__dot\"\r\n\t\t\t\t>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t\t<!-- #ifdef APP-NVUE -->\r\n\t\t\t\t<!-- 此组件内部图标部分无法设置宽高,即使通过width和height配置了也无效 -->\r\n\t\t\t\t<loading-indicator\r\n\t\t\t\t\tv-if=\"!webviewHide\"\r\n\t\t\t\t\tclass=\"u-loading-indicator\"\r\n\t\t\t\t\t:animating=\"true\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tcolor: color,\r\n\t\t\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\t\t\theight: $u.addUnit(size)\r\n\t\t\t\t\t}\"\r\n\t\t\t\t/>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t\t<text\r\n\t\t\tv-if=\"text\"\r\n\t\t\tclass=\"u-loading-icon__text\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tfontSize: $u.addUnit(textSize),\r\n\t\t\t\tcolor: textColor,\r\n\t\t\t}\"\r\n\t\t>{{text}}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t// #ifdef APP-NVUE\r\n\tconst animation = weex.requireModule('animation');\r\n\t// #endif\r\n\t/**\r\n\t * loading 加载动画\r\n\t * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。\r\n\t * @tutorial https://www.uviewui.com/components/loading.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t是否显示组件 (默认 true)\r\n\t * @property {String}\t\t\tcolor\t\t\t动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color'])\r\n\t * @property {String}\t\t\ttextColor\t\t提示文本的颜色(默认color['u-tips-color'])\r\n\t * @property {Boolean}\t\t\tvertical\t\t文字和图标是否垂直排列 (默认 false )\r\n\t * @property {String}\t\t\tmode\t\t\t模式选择,见官网说明(默认 'circle' )\r\n\t * @property {String | Number}\tsize\t\t\t加载图标的大小,单位px (默认 24 )\r\n\t * @property {String | Number}\ttextSize\t\t文字大小(默认 15 )\r\n\t * @property {String | Number}\ttext\t\t\t文字内容 \r\n\t * @property {String}\t\t\ttimingFunction\t动画模式 (默认 'ease-in-out' )\r\n\t * @property {String | Number}\tduration\t\t动画执行周期时间(默认 1200)\r\n\t * @property {String}\t\t\tinactiveColor\tmode=circle时的暗边颜色 \r\n\t * @property {Object}\t\t\tcustomStyle\t\t定义需要用到的外部样式\r\n\t * @example <u-loading mode=\"circle\"></u-loading>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-loading-icon',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// Array.form可以通过一个伪数组对象创建指定长度的数组\r\n\t\t\t\t// https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from\r\n\t\t\t\tarray12: Array.from({\r\n\t\t\t\t\tlength: 12\r\n\t\t\t\t}),\r\n\t\t\t\t// 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行\r\n\t\t\t\t// 在iOS nvue上,则会一开始默认执行两个周期的动画\r\n\t\t\t\taniAngel: 360, // 动画旋转角度\r\n\t\t\t\twebviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗\r\n\t\t\t\tloading: false, // 是否运行中,针对nvue使用\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 当为circle类型时,给其另外三边设置一个更轻一些的颜色\r\n\t\t\t// 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色\r\n\t\t\t// 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好)\r\n\t\t\totherBorderColor() {\r\n\t\t\t\tconst lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80]\r\n\t\t\t\tif (this.mode === 'circle') {\r\n\t\t\t\t\treturn this.inactiveColor ? this.inactiveColor : lightColor\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn 'transparent'\r\n\t\t\t\t}\r\n\t\t\t\t// return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent'\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\t// nvue中,show为true,且为非loading状态,就重新执行动画模块\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tif (n && !this.loading) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.startAnimate()\r\n\t\t\t\t\t}, 30)\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.init()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinit() {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t\tthis.show && this.nvueAnimate()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifdef APP-PLUS \r\n\t\t\t\t\tthis.show && this.addEventListenerToWebview()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}, 20)\r\n\t\t\t},\r\n\t\t\t// 监听webview的显示与隐藏\r\n\t\t\taddEventListenerToWebview() {\r\n\t\t\t\t// webview的堆栈\r\n\t\t\t\tconst pages = getCurrentPages()\r\n\t\t\t\t// 当前页面\r\n\t\t\t\tconst page = pages[pages.length - 1]\r\n\t\t\t\t// 当前页面的webview实例\r\n\t\t\t\tconst currentWebview = page.$getAppWebview()\r\n\t\t\t\t// 监听webview的显示与隐藏,从而停止或者开始动画(为了性能)\r\n\t\t\t\tcurrentWebview.addEventListener('hide', () => {\r\n\t\t\t\t\tthis.webviewHide = true\r\n\t\t\t\t})\r\n\t\t\t\tcurrentWebview.addEventListener('show', () => {\r\n\t\t\t\t\tthis.webviewHide = false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\tnvueAnimate() {\r\n\t\t\t\t// nvue下,非spinner类型时才需要旋转,因为nvue的spinner类型,使用了weex的\r\n\t\t\t\t// loading-indicator组件,自带旋转功能\r\n\t\t\t\tthis.mode !== 'spinner' && this.startAnimate()\r\n\t\t\t},\r\n\t\t\t// 执行nvue的animate模块动画\r\n\t\t\tstartAnimate() {\r\n\t\t\t\tthis.loading = true\r\n\t\t\t\tconst ani = this.$refs.ani\r\n\t\t\t\tif (!ani) return\r\n\t\t\t\tanimation.transition(ani, {\r\n\t\t\t\t\t// 进行角度旋转\r\n\t\t\t\t\tstyles: {\r\n\t\t\t\t\t\ttransform: `rotate(${this.aniAngel}deg)`,\r\n\t\t\t\t\t\ttransformOrigin: 'center center'\r\n\t\t\t\t\t},\r\n\t\t\t\t\tduration: this.duration,\r\n\t\t\t\t\ttimingFunction: this.timingFunction,\r\n\t\t\t\t\t// delay: 10\r\n\t\t\t\t}, () => {\r\n\t\t\t\t\t// 每次增加360deg,为了让其重新旋转一周\r\n\t\t\t\t\tthis.aniAngel += 360\r\n\t\t\t\t\t// 动画结束后,继续循环执行动画,需要同时判断webviewHide变量\r\n\t\t\t\t\t// nvue安卓,页面隐藏后依然会继续执行startAnimate方法\r\n\t\t\t\t\tthis.show && !this.webviewHide ? this.startAnimate() : this.loading = false\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-loading-icon-color: #c8c9cc !default;\r\n\t$u-loading-icon-text-margin-left:4px !default;\r\n\t$u-loading-icon-text-color:$u-content-color !default;\r\n\t$u-loading-icon-text-font-size:14px !default;\r\n\t$u-loading-icon-text-line-height:20px !default;\r\n\t$u-loading-width:30px !default;\r\n\t$u-loading-height:30px !default;\r\n\t$u-loading-max-width:100% !default;\r\n\t$u-loading-max-height:100% !default;\r\n\t$u-loading-semicircle-border-width: 2px !default;\r\n\t$u-loading-semicircle-border-color:transparent !default;\r\n\t$u-loading-semicircle-border-top-right-radius: 100px !default;\r\n\t$u-loading-semicircle-border-top-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-semicircle-border-style: solid !default;\r\n\t$u-loading-circle-border-top-right-radius: 100px !default;\r\n\t$u-loading-circle-border-top-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-circle-border-width:2px !default;\r\n\t$u-loading-circle-border-top-color:#e5e5e5 !default;\r\n\t$u-loading-circle-border-right-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-bottom-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-left-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-style:solid !default;\r\n\t$u-loading-icon-host-font-size:0px !default;\r\n\t$u-loading-icon-host-line-height:1 !default;\r\n\t$u-loading-icon-vertical-margin:6px 0 0 !default;\r\n\t$u-loading-icon-dot-top:0 !default;\r\n\t$u-loading-icon-dot-left:0 !default;\r\n\t$u-loading-icon-dot-width:100% !default;\r\n\t$u-loading-icon-dot-height:100% !default;\r\n\t$u-loading-icon-dot-before-width:2px !default;\r\n\t$u-loading-icon-dot-before-height:25% !default;\r\n\t$u-loading-icon-dot-before-margin:0 auto !default;\r\n\t$u-loading-icon-dot-before-background-color:currentColor !default;\r\n\t$u-loading-icon-dot-before-border-radius:40% !default;\r\n\r\n\t.u-loading-icon {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\t// display: inline-flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: $u-loading-icon-color;\r\n\r\n\t\t&__text {\r\n\t\t\tmargin-left: $u-loading-icon-text-margin-left;\r\n\t\t\tcolor: $u-loading-icon-text-color;\r\n\t\t\tfont-size: $u-loading-icon-text-font-size;\r\n\t\t\tline-height: $u-loading-icon-text-line-height;\r\n\t\t}\r\n\r\n\t\t&__spinner {\r\n\t\t\twidth: $u-loading-width;\r\n\t\t\theight: $u-loading-height;\r\n\t\t\tposition: relative;\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tmax-width: $u-loading-max-width;\r\n\t\t\tmax-height: $u-loading-max-height;\r\n\t\t\tanimation: u-rotate 1s linear infinite;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\r\n\t\t&__spinner--semicircle {\r\n\t\t\tborder-width: $u-loading-semicircle-border-width;\r\n\t\t\tborder-color: $u-loading-semicircle-border-color;\r\n\t\t\tborder-top-right-radius: $u-loading-semicircle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-semicircle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-semicircle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-semicircle-border-bottom-right-radiu;\r\n\t\t\tborder-style: $u-loading-semicircle-border-style;\r\n\t\t}\r\n\r\n\t\t&__spinner--circle {\r\n\t\t\tborder-top-right-radius: $u-loading-circle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-circle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-circle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-circle-border-bottom-right-radiu;\r\n\t\t\tborder-width: $u-loading-circle-border-width;\r\n\t\t\tborder-top-color: $u-loading-circle-border-top-color;\r\n\t\t\tborder-right-color: $u-loading-circle-border-right-color;\r\n\t\t\tborder-bottom-color: $u-loading-circle-border-bottom-color;\r\n\t\t\tborder-left-color: $u-loading-circle-border-left-color;\r\n\t\t\tborder-style: $u-loading-circle-border-style;\r\n\t\t}\r\n\r\n\t\t&--vertical {\r\n\t\t\tflex-direction: column\r\n\t\t}\r\n\t}\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t:host {\r\n\t\tfont-size: $u-loading-icon-host-font-size;\r\n\t\tline-height: $u-loading-icon-host-line-height;\r\n\t}\r\n\r\n\t.u-loading-icon {\r\n\t\t&__spinner--spinner {\r\n\t\t\tanimation-timing-function: steps(12)\r\n\t\t}\r\n\r\n\t\t&__text:empty {\r\n\t\t\tdisplay: none\r\n\t\t}\r\n\r\n\t\t&--vertical &__text {\r\n\t\t\tmargin: $u-loading-icon-vertical-margin;\r\n\t\t\tcolor: $u-content-color;\r\n\t\t}\r\n\r\n\t\t&__dot {\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: $u-loading-icon-dot-top;\r\n\t\t\tleft: $u-loading-icon-dot-left;\r\n\t\t\twidth: $u-loading-icon-dot-width;\r\n\t\t\theight: $u-loading-icon-dot-height;\r\n\r\n\t\t\t&:before {\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\twidth: $u-loading-icon-dot-before-width;\r\n\t\t\t\theight: $u-loading-icon-dot-before-height;\r\n\t\t\t\tmargin: $u-loading-icon-dot-before-margin;\r\n\t\t\t\tbackground-color: $u-loading-icon-dot-before-background-color;\r\n\t\t\t\tborder-radius: $u-loading-icon-dot-before-border-radius;\r\n\t\t\t\tcontent: \" \"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@for $i from 1 through 12 {\r\n\t\t.u-loading-icon__dot:nth-of-type(#{$i}) {\r\n\t\t\ttransform: rotate($i * 30deg);\r\n\t\t\topacity: 1 - 0.0625 * ($i - 1);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes u-rotate {\r\n\t\t0% {\r\n\t\t\ttransform: rotate(0deg)\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: rotate(1turn)\r\n\t\t}\r\n\t}\r\n\r\n\t/* #endif */\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313557\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?39d7","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?46c9","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?fe7e","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?e7c6","uni-app:///node_modules/uview-ui/components/u-modal/u-modal.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?fdf2","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-modal/u-modal.vue?9eaa"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F1vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;kBAyBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,cADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,CADA,EACA,CACA;AACA;AACA,kDACA,CALA,EARA,EAeA,WACA;AACA,kBAFA,4BAEA,CACA;AACA,4BACA,oBACA,CACA,sBACA,CARA,EASA;AACA,iBAVA,2BAUA,CACA,qBACA,CAZA,EAaA;AACA;AACA;AACA;AACA;AACA,gBAlBA,0BAkBA,CACA,+BACA,oBACA,CACA,CAtBA,EAfA,E;;;;;;;;;;;;;ACtHA;AAAA;AAAA;AAAA;AAAi5C,CAAgB,svCAAG,EAAC,C;;;;;;;;;;;ACAr6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-modal/u-modal.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&\"\nvar renderjs\nimport script from \"./u-modal.vue?vue&type=script&lang=js&\"\nexport * from \"./u-modal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"713d0fd3\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-modal/u-modal.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uLine: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-line/u-line\" */ \"uview-ui/components/u-line/u-line.vue\"\n )\n },\n uLoadingIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\" */ \"uview-ui/components/u-loading-icon/u-loading-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var a0 = {\n borderRadius: \"6px\",\n overflow: \"hidden\",\n marginTop: \"-\" + _vm.$u.addUnit(_vm.negativeTop)\n }\n var g0 = _vm.$u.addUnit(_vm.width)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n a0: a0,\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=script&lang=js&\"","<template>\r\n\t<u-popup\r\n\t\tmode=\"center\"\r\n\t\t:zoom=\"zoom\"\r\n\t\t:show=\"show\"\r\n\t\t:customStyle=\"{\r\n\t\t\tborderRadius: '6px', \r\n\t\t\toverflow: 'hidden',\r\n\t\t\tmarginTop: `-${$u.addUnit(negativeTop)}`\r\n\t\t}\"\r\n\t\t:closeOnClickOverlay=\"closeOnClickOverlay\"\r\n\t\t:safeAreaInsetBottom=\"false\"\r\n\t\t:duration=\"400\"\r\n\t\t@click=\"clickHandler\"\r\n\t>\r\n\t\t<view\r\n\t\t\tclass=\"u-modal\"\r\n\t\t\t:style=\"{\r\n\t\t\t\twidth: $u.addUnit(width),\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<text\r\n\t\t\t\tclass=\"u-modal__title\"\r\n\t\t\t\tv-if=\"title\"\r\n\t\t\t>{{ title }}</text>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-modal__content\"\r\n\t\t\t\t:style=\"{\r\n\t\t\t\t\tpaddingTop: `${title ? 12 : 25}px`\r\n\t\t\t\t}\"\r\n\t\t\t>\r\n\t\t\t\t<slot>\r\n\t\t\t\t\t<text class=\"u-modal__content__text\">{{ content }}</text>\r\n\t\t\t\t</slot>\r\n\t\t\t</view>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-modal__button-group--confirm-button\"\r\n\t\t\t\tv-if=\"$slots.confirmButton\"\r\n\t\t\t>\r\n\t\t\t\t<slot name=\"confirmButton\"></slot>\r\n\t\t\t</view>\r\n\t\t\t<template v-else>\r\n\t\t\t\t<u-line></u-line>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"u-modal__button-group\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tflexDirection: buttonReverse ? 'row-reverse' : 'row'\r\n\t\t\t\t\t}\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel\"\r\n\t\t\t\t\t\t:hover-stay-time=\"150\"\r\n\t\t\t\t\t\thover-class=\"u-modal__button-group__wrapper--hover\"\r\n\t\t\t\t\t\t:class=\"[showCancelButton && !showConfirmButton && 'u-modal__button-group__wrapper--only-cancel']\"\r\n\t\t\t\t\t\tv-if=\"showCancelButton\"\r\n\t\t\t\t\t\t@tap=\"cancelHandler\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tclass=\"u-modal__button-group__wrapper__text\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tcolor: cancelColor\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t>{{ cancelText }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<u-line\r\n\t\t\t\t\t\tdirection=\"column\"\r\n\t\t\t\t\t\tv-if=\"showConfirmButton && showCancelButton\"\r\n\t\t\t\t\t></u-line>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm\"\r\n\t\t\t\t\t\t:hover-stay-time=\"150\"\r\n\t\t\t\t\t\thover-class=\"u-modal__button-group__wrapper--hover\"\r\n\t\t\t\t\t\t:class=\"[!showCancelButton && showConfirmButton && 'u-modal__button-group__wrapper--only-confirm']\"\r\n\t\t\t\t\t\tv-if=\"showConfirmButton\"\r\n\t\t\t\t\t\t@tap=\"confirmHandler\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<u-loading-icon v-if=\"loading\"></u-loading-icon>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-else\r\n\t\t\t\t\t\t\tclass=\"u-modal__button-group__wrapper__text\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tcolor: confirmColor\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t>{{ confirmText }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t</view>\r\n\t</u-popup>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * Modal 模态框\r\n\t * @description 弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作。\r\n\t * @tutorial https://www.uviewui.com/components/modul.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t\t是否显示模态框,请赋值给show (默认 false )\r\n\t * @property {String}\t\t\ttitle\t\t\t\t标题内容\r\n\t * @property {String}\t\t\tcontent\t\t\t\t模态框内容,如传入slot内容,则此参数无效\r\n\t * @property {String}\t\t\tconfirmText\t\t\t确认按钮的文字 (默认 '确认' )\r\n\t * @property {String}\t\t\tcancelText\t\t\t取消按钮的文字 (默认 '取消' )\r\n\t * @property {Boolean}\t\t\tshowConfirmButton\t是否显示确认按钮 (默认 true )\r\n\t * @property {Boolean}\t\t\tshowCancelButton\t是否显示取消按钮 (默认 false )\r\n\t * @property {String}\t\t\tconfirmColor\t\t确认按钮的颜色 (默认 '#2979ff' )\r\n\t * @property {String}\t\t\tcancelColor\t\t\t取消按钮的颜色 (默认 '#606266' )\r\n\t * @property {Boolean}\t\t\tbuttonReverse\t\t对调确认和取消的位置 (默认 false )\r\n\t * @property {Boolean}\t\t\tzoom\t\t\t\t是否开启缩放模式 (默认 true )\r\n\t * @property {Boolean}\t\t\tasyncClose\t\t\t是否异步关闭,只对确定按钮有效,见上方说明 (默认 false )\r\n\t * @property {Boolean}\t\t\tcloseOnClickOverlay\t是否允许点击遮罩关闭Modal (默认 false )\r\n\t * @property {String | Number}\tnegativeTop\t\t\t往上偏移的值,给一个负的margin-top,往上偏移,避免和键盘重合的情况,单位任意,数值则默认为px单位 (默认 0 )\r\n\t * @property {String | Number}\twidth\t\t\t\tmodal宽度,不支持百分比,可以数值,px,rpx单位 (默认 '650rpx' )\r\n\t * @property {String}\t\t\tconfirmButtonShape\t确认按钮的样式,如设置,将不会显示取消按钮\r\n\t * @event {Function} confirm\t点击确认按钮时触发\r\n\t * @event {Function} cancel\t\t点击取消按钮时触发\r\n\t * @event {Function} close\t\t点击遮罩关闭出发,closeOnClickOverlay为true有效\r\n\t * @example <u-loadmore :status=\"status\" icon-type=\"iconType\" load-text=\"loadText\" />\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-modal',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tloading: false\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\t// 为了避免第一次打开modal,又使用了异步关闭的loading\r\n\t\t\t\t// 第二次打开modal时,loading依然存在的情况\r\n\t\t\t\tif (n && this.loading) this.loading = false\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 点击确定按钮\r\n\t\t\tconfirmHandler() {\r\n\t\t\t\t// 如果配置了异步关闭,将按钮值为loading状态\r\n\t\t\t\tif (this.asyncClose) {\r\n\t\t\t\t\tthis.loading = true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('confirm')\r\n\t\t\t},\r\n\t\t\t// 点击取消按钮\r\n\t\t\tcancelHandler() {\r\n\t\t\t\tthis.$emit('cancel')\r\n\t\t\t},\r\n\t\t\t// 点击遮罩\r\n\t\t\t// 从原理上来说,modal的遮罩点击,并不是真的点击到了遮罩\r\n\t\t\t// 因为modal依赖于popup的中部弹窗类型,中部弹窗比较特殊,虽有然遮罩,但是为了让弹窗内容能flex居中\r\n\t\t\t// 多了一个透明的遮罩,此透明的遮罩会覆盖在灰色的遮罩上,所以实际上是点击不到灰色遮罩的,popup内部在\r\n\t\t\t// 透明遮罩的子元素做了.stop处理,所以点击内容区,也不会导致误触发\r\n\t\t\tclickHandler() {\r\n\t\t\t\tif (this.closeOnClickOverlay) {\r\n\t\t\t\t\tthis.$emit('close')\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-modal-border-radius: 6px;\r\n\r\n\t.u-modal {\r\n\t\twidth: 650rpx;\r\n\t\tborder-radius: $u-modal-border-radius;\r\n\t\toverflow: hidden;\r\n\r\n\t\t&__title {\r\n\t\t\tfont-size: 16px;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: $u-content-color;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding-top: 25px;\r\n\t\t}\r\n\r\n\t\t&__content {\r\n\t\t\tpadding: 12px 25px 25px 25px;\r\n\t\t\t@include flex;\r\n\t\t\tjustify-content: center;\r\n\r\n\t\t\t&__text {\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tcolor: $u-content-color;\r\n\t\t\t\tflex: 1;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__button-group {\r\n\t\t\t@include flex;\r\n\r\n\t\t\t&--confirm-button {\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tpadding: 0px 25px 15px 25px;\r\n\t\t\t}\r\n\r\n\t\t\t&__wrapper {\r\n\t\t\t\tflex: 1;\r\n\t\t\t\t@include flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\theight: 48px;\r\n\t\t\t\t\r\n\t\t\t\t&--confirm,\r\n\t\t\t\t&--only-cancel {\r\n\t\t\t\t\tborder-bottom-right-radius: $u-modal-border-radius;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t&--cancel,\r\n\t\t\t\t&--only-confirm {\r\n\t\t\t\t\tborder-bottom-left-radius: $u-modal-border-radius;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&--hover {\r\n\t\t\t\t\tbackground-color: $u-bg-color;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tcolor: $u-content-color;\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313157\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?d3c1","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?af5f","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?c155","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?1d4e","uni-app:///node_modules/uview-ui/components/u-navbar/u-navbar.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?38c1","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?7559"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAuuB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E3vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAGA,CAPA,EAQA,WACA;AACA,aAFA,uBAEA,CACA;AACA,8BACA,oBACA,mBACA,CACA,CARA,EASA;AACA,cAVA,wBAUA,CACA,yBACA,CAZA,EARA,E;;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,uvCAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-navbar/u-navbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&\"\nvar renderjs\nimport script from \"./u-navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-navbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"75dad532\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-navbar/u-navbar.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&\"","var components\ntry {\n components = {\n uStatusBar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-status-bar/u-status-bar\" */ \"uview-ui/components/u-status-bar/u-status-bar.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 =\n _vm.fixed && _vm.placeholder\n ? _vm.$u.addUnit(\n _vm.$u.getPx(_vm.height) + _vm.$u.sys().statusBarHeight,\n \"px\"\n )\n : null\n var g1 = _vm.$u.addUnit(_vm.height)\n\n var s0 = _vm.__get_style([\n {\n width: _vm.$u.addUnit(_vm.titleWidth)\n },\n _vm.$u.addStyle(_vm.titleStyle)\n ])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-navbar\">\r\n\t\t<view\r\n\t\t\tclass=\"u-navbar__placeholder\"\r\n\t\t\tv-if=\"fixed && placeholder\"\r\n\t\t\t:style=\"{\r\n\t\t\t\theight: $u.addUnit($u.getPx(height) + $u.sys().statusBarHeight,'px'),\r\n\t\t\t}\"\r\n\t\t></view>\r\n\t\t<view :class=\"[fixed && 'u-navbar--fixed']\">\r\n\t\t\t<u-status-bar\r\n\t\t\t\tv-if=\"safeAreaInsetTop\"\r\n\t\t\t\t:bgColor=\"bgColor\"\r\n\t\t\t></u-status-bar>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-navbar__content\"\r\n\t\t\t\t:class=\"[border && 'u-border-bottom']\"\r\n\t\t\t\t:style=\"{\r\n\t\t\t\t\theight: $u.addUnit(height),\r\n\t\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\t}\"\r\n\t\t\t>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"u-navbar__content__left\"\r\n\t\t\t\t\thover-class=\"u-navbar__content__left--hover\"\r\n\t\t\t\t\thover-start-time=\"150\"\r\n\t\t\t\t\t@tap=\"leftClick\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot name=\"left\">\r\n\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\tv-if=\"leftIcon\"\r\n\t\t\t\t\t\t\t:name=\"leftIcon\"\r\n\t\t\t\t\t\t\t:size=\"leftIconSize\"\r\n\t\t\t\t\t\t\t:color=\"leftIconColor\"\r\n\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"leftText\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tcolor: leftIconColor\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t\tclass=\"u-navbar__content__left__text\"\r\n\t\t\t\t\t\t>{{ leftText }}</text>\r\n\t\t\t\t\t</slot>\r\n\t\t\t\t</view>\r\n\t\t\t\t<slot name=\"center\">\r\n\t\t\t\t\t<text\r\n\t\t\t\t\t\tclass=\"u-line-1 u-navbar__content__title\"\r\n\t\t\t\t\t\t:style=\"[{\r\n\t\t\t\t\t\t\twidth: $u.addUnit(titleWidth),\r\n\t\t\t\t\t\t}, $u.addStyle(titleStyle)]\"\r\n\t\t\t\t\t>{{ title }}</text>\r\n\t\t\t\t</slot>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"u-navbar__content__right\"\r\n\t\t\t\t\tv-if=\"$slots.right || rightIcon || rightText\"\r\n\t\t\t\t\t@tap=\"rightClick\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot name=\"right\">\r\n\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\tv-if=\"rightIcon\"\r\n\t\t\t\t\t\t\t:name=\"rightIcon\"\r\n\t\t\t\t\t\t\tsize=\"20\"\r\n\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"rightText\"\r\n\t\t\t\t\t\t\tclass=\"u-navbar__content__right__text\"\r\n\t\t\t\t\t\t>{{ rightText }}</text>\r\n\t\t\t\t\t</slot>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * Navbar 自定义导航栏\r\n\t * @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uni-app带的导航栏。\r\n\t * @tutorial https://www.uviewui.com/components/navbar.html\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetTop\t是否开启顶部安全区适配 (默认 true )\r\n\t * @property {Boolean}\t\t\tplaceholder\t\t\t固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false )\r\n\t * @property {Boolean}\t\t\tfixed\t\t\t\t导航栏是否固定在顶部 (默认 false )\r\n\t * @property {Boolean}\t\t\tborder\t\t\t\t导航栏底部是否显示下边框 (默认 false )\r\n\t * @property {String}\t\t\tleftIcon\t\t\t左边返回图标的名称,只能为uView自带的图标 (默认 'arrow-left' )\r\n\t * @property {String}\t\t\tleftText\t\t\t左边的提示文字\r\n\t * @property {String}\t\t\trightText\t\t\t右边的提示文字\r\n\t * @property {String}\t\t\trightIcon\t\t\t右边返回图标的名称,只能为uView自带的图标\r\n\t * @property {String}\t\t\ttitle\t\t\t\t导航栏标题,如设置为空字符,将会隐藏标题占位区域\r\n\t * @property {String}\t\t\tbgColor\t\t\t\t导航栏背景设置 (默认 '#ffffff' )\r\n\t * @property {String | Number}\ttitleWidth\t\t\t导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' )\r\n\t * @property {String | Number}\theight\t\t\t\t导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' )\r\n\t * @property {String | Number}\tleftIconSize\t\t左侧返回图标的大小(默认 20px )\r\n\t * @property {String | Number}\tleftIconColor\t\t左侧返回图标的颜色(默认 #303133 )\r\n\t * @property {Boolean}\t autoBack\t\t\t点击左侧区域(返回图标),是否自动返回上一页(默认 false )\r\n\t * @property {Object | String}\ttitleStyle\t\t\t标题的样式,对象或字符串\r\n\t * @event {Function} leftClick\t\t点击左侧区域\r\n\t * @event {Function} rightClick\t\t点击右侧区域\r\n\t * @example <u-navbar title=\"剑未配妥,出门已是江湖\" left-text=\"返回\" right-text=\"帮助\" @click-left=\"onClickBack\" @click-right=\"onClickRight\"></u-navbar>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-navbar',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 点击左侧区域\r\n\t\t\tleftClick() {\r\n\t\t\t\t// 如果配置了autoBack,自动返回上一页\r\n\t\t\t\tthis.$emit('leftClick')\r\n\t\t\t\tif(this.autoBack) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 点击右侧区域\r\n\t\t\trightClick() {\r\n\t\t\t\tthis.$emit('rightClick')\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t.u-navbar {\r\n\r\n\t\t&--fixed {\r\n\t\t\tposition: fixed;\r\n\t\t\tleft: 0;\r\n\t\t\tright: 0;\r\n\t\t\ttop: 0;\r\n\t\t\tz-index: 11;\r\n\t\t}\r\n\r\n\t\t&__content {\r\n\t\t\t@include flex(row);\r\n\t\t\talign-items: center;\r\n\t\t\theight: 44px;\r\n\t\t\tbackground-color: #9acafc;\r\n\t\t\tposition: relative;\r\n\t\t\tjustify-content: center;\r\n\r\n\t\t\t&__left,\r\n\t\t\t&__right {\r\n\t\t\t\tpadding: 0 13px;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\t@include flex(row);\r\n\t\t\t\talign-items: center;\r\n\t\t\t}\r\n\r\n\t\t\t&__left {\r\n\t\t\t\tleft: 0;\r\n\t\t\t\t\r\n\t\t\t\t&--hover {\r\n\t\t\t\t\topacity: 0.7;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tfont-size: 15px;\r\n\t\t\t\t\tmargin-left: 3px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__title {\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tcolor: $u-main-color;\r\n\t\t\t}\r\n\r\n\t\t\t&__right {\r\n\t\t\t\tright: 0;\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tfont-size: 15px;\r\n\t\t\t\t\tmargin-left: 3px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668843638885\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?d0ea","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?4a2c","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?463e","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?5b74","uni-app:///node_modules/uview-ui/components/u-navbar/u-navbar.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?b28f","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-navbar/u-navbar.vue?9662"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAuuB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E3vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAGA,CAPA,EAQA,WACA;AACA,aAFA,uBAEA,CACA;AACA,8BACA,oBACA,mBACA,CACA,CARA,EASA;AACA,cAVA,wBAUA,CACA,yBACA,CAZA,EARA,E;;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,uvCAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-navbar/u-navbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&\"\nvar renderjs\nimport script from \"./u-navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-navbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"75dad532\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-navbar/u-navbar.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&\"","var components\ntry {\n components = {\n uStatusBar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-status-bar/u-status-bar\" */ \"uview-ui/components/u-status-bar/u-status-bar.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 =\n _vm.fixed && _vm.placeholder\n ? _vm.$u.addUnit(\n _vm.$u.getPx(_vm.height) + _vm.$u.sys().statusBarHeight,\n \"px\"\n )\n : null\n var g1 = _vm.$u.addUnit(_vm.height)\n\n var s0 = _vm.__get_style([\n {\n width: _vm.$u.addUnit(_vm.titleWidth)\n },\n _vm.$u.addStyle(_vm.titleStyle)\n ])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-navbar\">\r\n\t\t<view\r\n\t\t\tclass=\"u-navbar__placeholder\"\r\n\t\t\tv-if=\"fixed && placeholder\"\r\n\t\t\t:style=\"{\r\n\t\t\t\theight: $u.addUnit($u.getPx(height) + $u.sys().statusBarHeight,'px'),\r\n\t\t\t}\"\r\n\t\t></view>\r\n\t\t<view :class=\"[fixed && 'u-navbar--fixed']\">\r\n\t\t\t<u-status-bar\r\n\t\t\t\tv-if=\"safeAreaInsetTop\"\r\n\t\t\t\t:bgColor=\"bgColor\"\r\n\t\t\t></u-status-bar>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-navbar__content\"\r\n\t\t\t\t:class=\"[border && 'u-border-bottom']\"\r\n\t\t\t\t:style=\"{\r\n\t\t\t\t\theight: $u.addUnit(height),\r\n\t\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\t}\"\r\n\t\t\t>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"u-navbar__content__left\"\r\n\t\t\t\t\thover-class=\"u-navbar__content__left--hover\"\r\n\t\t\t\t\thover-start-time=\"150\"\r\n\t\t\t\t\t@tap=\"leftClick\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot name=\"left\">\r\n\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\tv-if=\"leftIcon\"\r\n\t\t\t\t\t\t\t:name=\"leftIcon\"\r\n\t\t\t\t\t\t\t:size=\"leftIconSize\"\r\n\t\t\t\t\t\t\t:color=\"leftIconColor\"\r\n\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"leftText\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tcolor: leftIconColor\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t\tclass=\"u-navbar__content__left__text\"\r\n\t\t\t\t\t\t>{{ leftText }}</text>\r\n\t\t\t\t\t</slot>\r\n\t\t\t\t</view>\r\n\t\t\t\t<slot name=\"center\">\r\n\t\t\t\t\t<text\r\n\t\t\t\t\t\tclass=\"u-line-1 u-navbar__content__title\"\r\n\t\t\t\t\t\t:style=\"[{\r\n\t\t\t\t\t\t\twidth: $u.addUnit(titleWidth),\r\n\t\t\t\t\t\t}, $u.addStyle(titleStyle)]\"\r\n\t\t\t\t\t>{{ title }}</text>\r\n\t\t\t\t</slot>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"u-navbar__content__right\"\r\n\t\t\t\t\tv-if=\"$slots.right || rightIcon || rightText\"\r\n\t\t\t\t\t@tap=\"rightClick\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot name=\"right\">\r\n\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\tv-if=\"rightIcon\"\r\n\t\t\t\t\t\t\t:name=\"rightIcon\"\r\n\t\t\t\t\t\t\tsize=\"20\"\r\n\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"rightText\"\r\n\t\t\t\t\t\t\tclass=\"u-navbar__content__right__text\"\r\n\t\t\t\t\t\t>{{ rightText }}</text>\r\n\t\t\t\t\t</slot>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * Navbar 自定义导航栏\r\n\t * @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uni-app带的导航栏。\r\n\t * @tutorial https://www.uviewui.com/components/navbar.html\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetTop\t是否开启顶部安全区适配 (默认 true )\r\n\t * @property {Boolean}\t\t\tplaceholder\t\t\t固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false )\r\n\t * @property {Boolean}\t\t\tfixed\t\t\t\t导航栏是否固定在顶部 (默认 false )\r\n\t * @property {Boolean}\t\t\tborder\t\t\t\t导航栏底部是否显示下边框 (默认 false )\r\n\t * @property {String}\t\t\tleftIcon\t\t\t左边返回图标的名称,只能为uView自带的图标 (默认 'arrow-left' )\r\n\t * @property {String}\t\t\tleftText\t\t\t左边的提示文字\r\n\t * @property {String}\t\t\trightText\t\t\t右边的提示文字\r\n\t * @property {String}\t\t\trightIcon\t\t\t右边返回图标的名称,只能为uView自带的图标\r\n\t * @property {String}\t\t\ttitle\t\t\t\t导航栏标题,如设置为空字符,将会隐藏标题占位区域\r\n\t * @property {String}\t\t\tbgColor\t\t\t\t导航栏背景设置 (默认 '#ffffff' )\r\n\t * @property {String | Number}\ttitleWidth\t\t\t导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' )\r\n\t * @property {String | Number}\theight\t\t\t\t导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' )\r\n\t * @property {String | Number}\tleftIconSize\t\t左侧返回图标的大小(默认 20px )\r\n\t * @property {String | Number}\tleftIconColor\t\t左侧返回图标的颜色(默认 #303133 )\r\n\t * @property {Boolean}\t autoBack\t\t\t点击左侧区域(返回图标),是否自动返回上一页(默认 false )\r\n\t * @property {Object | String}\ttitleStyle\t\t\t标题的样式,对象或字符串\r\n\t * @event {Function} leftClick\t\t点击左侧区域\r\n\t * @event {Function} rightClick\t\t点击右侧区域\r\n\t * @example <u-navbar title=\"剑未配妥,出门已是江湖\" left-text=\"返回\" right-text=\"帮助\" @click-left=\"onClickBack\" @click-right=\"onClickRight\"></u-navbar>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-navbar',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 点击左侧区域\r\n\t\t\tleftClick() {\r\n\t\t\t\t// 如果配置了autoBack,自动返回上一页\r\n\t\t\t\tthis.$emit('leftClick')\r\n\t\t\t\tif(this.autoBack) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 点击右侧区域\r\n\t\t\trightClick() {\r\n\t\t\t\tthis.$emit('rightClick')\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t.u-navbar {\r\n\r\n\t\t&--fixed {\r\n\t\t\tposition: fixed;\r\n\t\t\tleft: 0;\r\n\t\t\tright: 0;\r\n\t\t\ttop: 0;\r\n\t\t\tz-index: 11;\r\n\t\t}\r\n\r\n\t\t&__content {\r\n\t\t\t@include flex(row);\r\n\t\t\talign-items: center;\r\n\t\t\theight: 44px;\r\n\t\t\tbackground-color: #9acafc;\r\n\t\t\tposition: relative;\r\n\t\t\tjustify-content: center;\r\n\r\n\t\t\t&__left,\r\n\t\t\t&__right {\r\n\t\t\t\tpadding: 0 13px;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\t@include flex(row);\r\n\t\t\t\talign-items: center;\r\n\t\t\t}\r\n\r\n\t\t\t&__left {\r\n\t\t\t\tleft: 0;\r\n\t\t\t\t\r\n\t\t\t\t&--hover {\r\n\t\t\t\t\topacity: 0.7;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tfont-size: 15px;\r\n\t\t\t\t\tmargin-left: 3px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__title {\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tcolor: $u-main-color;\r\n\t\t\t}\r\n\r\n\t\t\t&__right {\r\n\t\t\t\tright: 0;\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tfont-size: 15px;\r\n\t\t\t\t\tmargin-left: 3px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313135\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?e648","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?f801","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?95e6","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?7104","uni-app:///node_modules/uview-ui/components/u-overlay/u-overlay.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?d2cd","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-overlay/u-overlay.vue?9986"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwuB,CAAgB,yrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACa5vB,gF;;;;;;;;;;;;AAEA;;;;;;;;;;;kBAYA,EACA,iBADA,EAEA,sDAFA,EAGA,YACA,YADA,0BACA,CACA,cACA,iBADA,EAEA,MAFA,EAGA,OAHA,EAIA,QAJA;AAKA,2BALA;AAMA,iBANA;AAOA,sEAPA;;AASA;AACA,KAZA,EAHA;;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAm5C,CAAgB,wvCAAG,EAAC,C;;;;;;;;;;;ACAv6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-overlay/u-overlay.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&\"\nvar renderjs\nimport script from \"./u-overlay.vue?vue&type=script&lang=js&\"\nexport * from \"./u-overlay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"2d8262d9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-overlay/u-overlay.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&\"","var components\ntry {\n components = {\n uTransition: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-transition/u-transition\" */ \"uview-ui/components/u-transition/u-transition.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"","<template>\r\n\t<u-transition\r\n\t :show=\"show\"\r\n\t custom-class=\"u-overlay\"\r\n\t :duration=\"duration\"\r\n\t :custom-style=\"overlayStyle\"\r\n\t @click=\"clickHandler\"\r\n\t>\r\n\t\t<slot />\r\n\t</u-transition>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\r\n\t/**\r\n\t * overlay 遮罩\r\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\r\n\t * @tutorial https://www.uviewui.com/components/overlay.html\r\n\t * @property {Boolean}\t\t\tshow\t\t是否显示遮罩(默认 false )\r\n\t * @property {String | Number}\tzIndex\t\tzIndex 层级(默认 10070 )\r\n\t * @property {String | Number}\tduration\t动画时长,单位毫秒(默认 300 )\r\n\t * @property {String | Number}\topacity\t\t不透明度值,当做rgba的第四个参数 (默认 0.5 )\r\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\r\n\t * @event {Function} click 点击遮罩发送事件\r\n\t * @example <u-overlay :show=\"show\" @click=\"show = false\"></u-overlay>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-overlay\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\toverlayStyle() {\r\n\t\t\t\tconst style = {\r\n\t\t\t\t\tposition: 'fixed',\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\tright: 0,\r\n\t\t\t\t\tzIndex: this.zIndex,\r\n\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t'background-color': `rgba(0, 0, 0, ${this.opacity})`\r\n\t\t\t\t}\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclickHandler() {\r\n\t\t\t\tthis.$emit('click')\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n $u-overlay-top:0 !default;\r\n $u-overlay-left:0 !default;\r\n $u-overlay-width:100% !default;\r\n $u-overlay-height:100% !default;\r\n $u-overlay-background-color:rgba(0, 0, 0, .7) !default;\r\n\t.u-overlay {\r\n\t\tposition: fixed;\r\n\t\ttop:$u-overlay-top;\r\n\t\tleft:$u-overlay-left;\r\n\t\twidth: $u-overlay-width;\r\n\t\theight:$u-overlay-height;\r\n\t\tbackground-color:$u-overlay-background-color;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668839822796\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?5151","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?a96d","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?8b21","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?d5ac","uni-app:///node_modules/uview-ui/components/u-overlay/u-overlay.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?629b","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-overlay/u-overlay.vue?e490"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwuB,CAAgB,yrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACa5vB,gF;;;;;;;;;;;;AAEA;;;;;;;;;;;kBAYA,EACA,iBADA,EAEA,sDAFA,EAGA,YACA,YADA,0BACA,CACA,cACA,iBADA,EAEA,MAFA,EAGA,OAHA,EAIA,QAJA;AAKA,2BALA;AAMA,iBANA;AAOA,sEAPA;;AASA;AACA,KAZA,EAHA;;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAm5C,CAAgB,wvCAAG,EAAC,C;;;;;;;;;;;ACAv6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-overlay/u-overlay.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&\"\nvar renderjs\nimport script from \"./u-overlay.vue?vue&type=script&lang=js&\"\nexport * from \"./u-overlay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"2d8262d9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-overlay/u-overlay.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&\"","var components\ntry {\n components = {\n uTransition: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-transition/u-transition\" */ \"uview-ui/components/u-transition/u-transition.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"","<template>\r\n\t<u-transition\r\n\t :show=\"show\"\r\n\t custom-class=\"u-overlay\"\r\n\t :duration=\"duration\"\r\n\t :custom-style=\"overlayStyle\"\r\n\t @click=\"clickHandler\"\r\n\t>\r\n\t\t<slot />\r\n\t</u-transition>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\r\n\t/**\r\n\t * overlay 遮罩\r\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\r\n\t * @tutorial https://www.uviewui.com/components/overlay.html\r\n\t * @property {Boolean}\t\t\tshow\t\t是否显示遮罩(默认 false )\r\n\t * @property {String | Number}\tzIndex\t\tzIndex 层级(默认 10070 )\r\n\t * @property {String | Number}\tduration\t动画时长,单位毫秒(默认 300 )\r\n\t * @property {String | Number}\topacity\t\t不透明度值,当做rgba的第四个参数 (默认 0.5 )\r\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\r\n\t * @event {Function} click 点击遮罩发送事件\r\n\t * @example <u-overlay :show=\"show\" @click=\"show = false\"></u-overlay>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-overlay\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\toverlayStyle() {\r\n\t\t\t\tconst style = {\r\n\t\t\t\t\tposition: 'fixed',\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\tright: 0,\r\n\t\t\t\t\tzIndex: this.zIndex,\r\n\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t'background-color': `rgba(0, 0, 0, ${this.opacity})`\r\n\t\t\t\t}\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclickHandler() {\r\n\t\t\t\tthis.$emit('click')\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n $u-overlay-top:0 !default;\r\n $u-overlay-left:0 !default;\r\n $u-overlay-width:100% !default;\r\n $u-overlay-height:100% !default;\r\n $u-overlay-background-color:rgba(0, 0, 0, .7) !default;\r\n\t.u-overlay {\r\n\t\tposition: fixed;\r\n\t\ttop:$u-overlay-top;\r\n\t\tleft:$u-overlay-left;\r\n\t\twidth: $u-overlay-width;\r\n\t\theight:$u-overlay-height;\r\n\t\tbackground-color:$u-overlay-background-color;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313632\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?3f9e","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?75ba","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?728a","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?9d8b","uni-app:///node_modules/uview-ui/components/u-popup/u-popup.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?d602","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-popup/u-popup.vue?7570"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+C1vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,mCADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,wBAEA,8BACA,0CAEA,CACA,CARA,EARA,EAkBA,YACA,eADA,6BACA,CACA,cACA,mBADA,EAEA,iBAFA,EAGA,eAHA,GAKA,qBACA,2BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,4BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,0BACA,iCACA,OADA,EAEA,QAFA,IAIA,CALA,MAKA,6BACA,iCACA,OADA;AAEA,kBAFA;;AAIA,OALA,MAKA;AACA;AACA,8BADA;AAEA,qCAFA;AAGA,gBAHA;AAIA,iBAJA;AAKA,kBALA;AAMA,mBANA;;AAQA;AACA,KAtCA;AAuCA,gBAvCA,0BAuCA;AACA;AACA;AACA;AAHA;;AAMA,kBANA,CAKA,cALA,eAKA,cALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA;AACA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnFA,EAlBA;;AAuGA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AACA;AACA,KANA;AAOA,SAPA,iBAOA,CAPA,EAOA;AACA;AACA,KATA;AAUA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA,gBAbA,0BAaA;AACA;AACA;AACA;AACA;AACA;AACA,KAnBA;;AAqBA,8BArBA,sCAqBA,QArBA,EAqBA;AACA;AACA;AACA,uBADA,EACA,aADA,EACA,QADA,EACA,aADA,EACA,OADA,EACA,cADA,EACA,eADA;AAEA,kBAFA,EAEA,UAFA,EAEA,cAFA,EAEA,UAFA,EAEA,cAFA,EAEA,qBAFA,EAEA,UAFA;AAGA,cAHA,EAGA,WAHA;;AAKA;AAPA,iCAQA,CARA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA;AACA;AACA,SAtBA,EAQA;AAeA;AACA,KA7CA,EAvGA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAAi5C,CAAgB,svCAAG,EAAC,C;;;;;;;;;;;ACAr6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-popup/u-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&\"\nvar renderjs\nimport script from \"./u-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./u-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"52d4ddd1\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-popup/u-popup.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&\"","var components\ntry {\n components = {\n uOverlay: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-overlay/u-overlay\" */ \"uview-ui/components/u-overlay/u-overlay.vue\"\n )\n },\n uTransition: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-transition/u-transition\" */ \"uview-ui/components/u-transition/u-transition.vue\"\n )\n },\n uStatusBar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-status-bar/u-status-bar\" */ \"uview-ui/components/u-status-bar/u-status-bar.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uSafeBottom: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\" */ \"uview-ui/components/u-safe-bottom/u-safe-bottom.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.contentStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-popup\">\r\n\t\t<u-overlay\r\n\t\t\t:show=\"show\"\r\n\t\t\t@click=\"overlayClick\"\r\n\t\t\tv-if=\"overlay\"\r\n\t\t\t:duration=\"overlayDuration\"\r\n\t\t\t:customStyle=\"overlayStyle\"\r\n\t\t\t:opacity=\"overlayOpacity\"\r\n\t\t></u-overlay>\r\n\t\t<u-transition\r\n\t\t\t:show=\"show\"\r\n\t\t\t:customStyle=\"transitionStyle\"\r\n\t\t\t:mode=\"position\"\r\n\t\t\t:duration=\"duration\"\r\n\t\t\t@afterEnter=\"afterEnter\"\r\n\t\t\t@click=\"clickHandler\"\r\n\t\t>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-popup__content\"\r\n\t\t\t\t:style=\"[contentStyle]\"\r\n\t\t\t\t@tap.stop=\"noop\"\r\n\t\t\t>\r\n\t\t\t\t<u-status-bar v-if=\"safeAreaInsetTop\"></u-status-bar>\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<view\r\n\t\t\t\t\tv-if=\"closeable\"\r\n\t\t\t\t\t@tap.stop=\"close\"\r\n\t\t\t\t\tclass=\"u-popup__content__close\"\r\n\t\t\t\t\t:class=\"['u-popup__content__close--' + closeIconPos]\"\r\n\t\t\t\t\thover-class=\"u-popup__content__close--hover\"\r\n\t\t\t\t\thover-stay-time=\"150\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\tname=\"close\"\r\n\t\t\t\t\t\tcolor=\"#909399\"\r\n\t\t\t\t\t\tsize=\"18\"\r\n\t\t\t\t\t\tbold\r\n\t\t\t\t\t></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t\t<u-safe-bottom v-if=\"safeAreaInsetBottom\"></u-safe-bottom>\r\n\t\t\t</view>\r\n\t\t</u-transition>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\r\n\t/**\r\n\t * popup 弹窗\r\n\t * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义\r\n\t * @tutorial https://www.uviewui.com/components/popup.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t\t是否展示弹窗 (默认 false )\r\n\t * @property {Boolean}\t\t\toverlay\t\t\t\t是否显示遮罩 (默认 true )\r\n\t * @property {String}\t\t\tmode\t\t\t\t弹出方向(默认 'bottom' )\r\n\t * @property {String | Number}\tduration\t\t\t动画时长,单位ms (默认 300 )\r\n\t * @property {String | Number}\toverlayDuration\t\t\t遮罩层动画时长,单位ms (默认 350 )\r\n\t * @property {Boolean}\t\t\tcloseable\t\t\t是否显示关闭图标(默认 false )\r\n\t * @property {Object | String}\toverlayStyle\t\t自定义遮罩的样式\r\n\t * @property {String | Number}\toverlayOpacity\t\t遮罩透明度,0-1之间(默认 0.5)\r\n\t * @property {Boolean}\t\t\tcloseOnClickOverlay\t点击遮罩是否关闭弹窗 (默认 true )\r\n\t * @property {String | Number}\tzIndex\t\t\t\t层级 (默认 10075 )\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetBottom\t是否为iPhoneX留出底部安全距离 (默认 true )\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetTop\t是否留出顶部安全距离(状态栏高度) (默认 false )\r\n\t * @property {String}\t\t\tcloseIconPos\t\t自定义关闭图标位置(默认 'top-right' )\r\n\t * @property {String | Number}\tround\t\t\t\t圆角值(默认 0)\r\n\t * @property {Boolean}\t\t\tzoom\t\t\t\t当mode=center时 是否开启缩放(默认 true )\r\n\t * @property {Object}\t\t\tcustomStyle\t\t\t组件的样式,对象形式\r\n\t * @event {Function} open 弹出层打开\r\n\t * @event {Function} close 弹出层收起\r\n\t * @example <u-popup v-model=\"show\"><text>出淤泥而不染,濯清涟而不妖</text></u-popup>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-popup',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toverlayDuration: this.duration + 50\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(newValue, oldValue) {\r\n\t\t\t\tif (newValue === true) {\r\n\t\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\t\tconst children = this.$children\r\n\t\t\t\t\tthis.retryComputedComponentRect(children)\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\ttransitionStyle() {\r\n\t\t\t\tconst style = {\r\n\t\t\t\t\tzIndex: this.zIndex,\r\n\t\t\t\t\tposition: 'fixed',\r\n\t\t\t\t\tdisplay: 'flex',\r\n\t\t\t\t}\r\n\t\t\t\tstyle[this.mode] = 0\r\n\t\t\t\tif (this.mode === 'left') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'right') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'top') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'bottom') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'center') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\talignItems: 'center',\r\n\t\t\t\t\t\t'justify-content': 'center',\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0,\r\n\t\t\t\t\t\tbottom: 0\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcontentStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 通过设备信息的safeAreaInsets值来判断是否需要预留顶部状态栏和底部安全局的位置\r\n\t\t\t\t// 不使用css方案,是因为nvue不支持css的iPhoneX安全区查询属性\r\n\t\t\t\tconst {\r\n\t\t\t\t\tsafeAreaInsets\r\n\t\t\t\t} = uni.$u.sys()\r\n\t\t\t\tif (this.mode !== 'center') {\r\n\t\t\t\t\tstyle.flex = 1\r\n\t\t\t\t}\r\n\t\t\t\t// 背景色,一般用于设置为transparent,去除默认的白色背景\r\n\t\t\t\tif (this.bgColor) {\r\n\t\t\t\t\tstyle.backgroundColor = this.bgColor\r\n\t\t\t\t}\r\n\t\t\t\tif(this.round) {\r\n\t\t\t\t\tconst value = uni.$u.addUnit(this.round)\r\n\t\t\t\t\tif(this.mode === 'top') {\r\n\t\t\t\t\t\tstyle.borderBottomLeftRadius = value\r\n\t\t\t\t\t\tstyle.borderBottomRightRadius = value\r\n\t\t\t\t\t} else if(this.mode === 'bottom') {\r\n\t\t\t\t\t\tstyle.borderTopLeftRadius = value\r\n\t\t\t\t\t\tstyle.borderTopRightRadius = value\r\n\t\t\t\t\t} else if(this.mode === 'center') {\r\n\t\t\t\t\t\tstyle.borderRadius = value\r\n\t\t\t\t\t} \r\n\t\t\t\t}\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t},\r\n\t\t\tposition() {\r\n\t\t\t\tif (this.mode === 'center') {\r\n\t\t\t\t\treturn this.zoom ? 'fade-zoom' : 'fade'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'left') {\r\n\t\t\t\t\treturn 'slide-left'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'right') {\r\n\t\t\t\t\treturn 'slide-right'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'bottom') {\r\n\t\t\t\t\treturn 'slide-up'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'top') {\r\n\t\t\t\t\treturn 'slide-down'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 点击遮罩\r\n\t\t\toverlayClick() {\r\n\t\t\t\tif (this.closeOnClickOverlay) {\r\n\t\t\t\t\tthis.$emit('close')\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tclose(e) {\r\n\t\t\t\tthis.$emit('close')\r\n\t\t\t},\r\n\t\t\tafterEnter() {\r\n\t\t\t\tthis.$emit('open')\r\n\t\t\t},\r\n\t\t\tclickHandler() {\r\n\t\t\t\t// 由于中部弹出时,其u-transition占据了整个页面相当于遮罩,此时需要发出遮罩点击事件,是否无法通过点击遮罩关闭弹窗\r\n\t\t\t\tif(this.mode === 'center') {\r\n\t\t\t\t\tthis.overlayClick()\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('click')\r\n\t\t\t},\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\tretryComputedComponentRect(children) {\r\n\t\t\t\t// 组件内部需要计算节点的组件\r\n\t\t\t\tconst names = ['u-calendar-month', 'u-album', 'u-collapse-item', 'u-dropdown', 'u-index-item', 'u-index-list',\r\n\t\t\t\t\t'u-line-progress', 'u-list-item', 'u-rate', 'u-read-more', 'u-row', 'u-row-notice', 'u-scroll-list',\r\n\t\t\t\t\t'u-skeleton', 'u-slider', 'u-steps-item', 'u-sticky', 'u-subsection', 'u-swipe-action-item', 'u-tabbar',\r\n\t\t\t\t\t'u-tabs', 'u-tooltip'\r\n\t\t\t\t]\r\n\t\t\t\t// 历遍所有的子组件节点\r\n\t\t\t\tfor (let i = 0; i < children.length; i++) {\r\n\t\t\t\t\tconst child = children[i]\r\n\t\t\t\t\t// 拿到子组件的子组件\r\n\t\t\t\t\tconst grandChild = child.$children\r\n\t\t\t\t\t// 判断如果在需要重新初始化的组件数组中名中,并且存在init方法的话,则执行\r\n\t\t\t\t\tif (names.includes(child.$options.name) && typeof child?.init === 'function') {\r\n\t\t\t\t\t\t// 需要进行一定的延时,因为初始化页面需要时间\r\n\t\t\t\t\t\tuni.$u.sleep(50).then(() => {\r\n\t\t\t\t\t\t\tchild.init()\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// 如果子组件还有孙组件,进行递归历遍\r\n\t\t\t\t\tif (grandChild.length) {\r\n\t\t\t\t\t\tthis.retryComputedComponentRect(grandChild)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-popup-flex:1 !default;\r\n\t$u-popup-content-background-color: #fff !default;\r\n\r\n\t.u-popup {\r\n\t\tflex: $u-popup-flex;\r\n\r\n\t\t&__content {\r\n\t\t\tbackground-color: $u-popup-content-background-color;\r\n\t\t\tposition: relative;\r\n\r\n\t\t\t&--round-top {\r\n\t\t\t\tborder-top-left-radius: 0;\r\n\t\t\t\tborder-top-right-radius: 0;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-left {\r\n\t\t\t\tborder-top-left-radius: 0;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 0;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-right {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 0;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-bottom {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 0;\r\n\t\t\t\tborder-bottom-right-radius: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-center {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close {\r\n\t\t\t\tposition: absolute;\r\n\r\n\t\t\t\t&--hover {\r\n\t\t\t\t\topacity: 0.4;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__close--top-left {\r\n\t\t\t\ttop: 15px;\r\n\t\t\t\tleft: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--top-right {\r\n\t\t\t\ttop: 15px;\r\n\t\t\t\tright: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--bottom-left {\r\n\t\t\t\tbottom: 15px;\r\n\t\t\t\tleft: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--bottom-right {\r\n\t\t\t\tright: 15px;\r\n\t\t\t\tbottom: 15px;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668839822726\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?2579","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?10bb","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?7e91","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?9b43","uni-app:///node_modules/uview-ui/components/u-popup/u-popup.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?0af0","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-popup/u-popup.vue?30e3"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+C1vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,mCADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,wBAEA,8BACA,0CAEA,CACA,CARA,EARA,EAkBA,YACA,eADA,6BACA,CACA,cACA,mBADA,EAEA,iBAFA,EAGA,eAHA,GAKA,qBACA,2BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,4BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,0BACA,iCACA,OADA,EAEA,QAFA,IAIA,CALA,MAKA,6BACA,iCACA,OADA;AAEA,kBAFA;;AAIA,OALA,MAKA;AACA;AACA,8BADA;AAEA,qCAFA;AAGA,gBAHA;AAIA,iBAJA;AAKA,kBALA;AAMA,mBANA;;AAQA;AACA,KAtCA;AAuCA,gBAvCA,0BAuCA;AACA;AACA;AACA;AAHA;;AAMA,kBANA,CAKA,cALA,eAKA,cALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA;AACA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnFA,EAlBA;;AAuGA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AACA;AACA,KANA;AAOA,SAPA,iBAOA,CAPA,EAOA;AACA;AACA,KATA;AAUA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA,gBAbA,0BAaA;AACA;AACA;AACA;AACA;AACA;AACA,KAnBA;;AAqBA,8BArBA,sCAqBA,QArBA,EAqBA;AACA;AACA;AACA,uBADA,EACA,aADA,EACA,QADA,EACA,aADA,EACA,OADA,EACA,cADA,EACA,eADA;AAEA,kBAFA,EAEA,UAFA,EAEA,cAFA,EAEA,UAFA,EAEA,cAFA,EAEA,qBAFA,EAEA,UAFA;AAGA,cAHA,EAGA,WAHA;;AAKA;AAPA,iCAQA,CARA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA;AACA;AACA,SAtBA,EAQA;AAeA;AACA,KA7CA,EAvGA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAAi5C,CAAgB,svCAAG,EAAC,C;;;;;;;;;;;ACAr6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-popup/u-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&\"\nvar renderjs\nimport script from \"./u-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./u-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"52d4ddd1\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-popup/u-popup.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&\"","var components\ntry {\n components = {\n uOverlay: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-overlay/u-overlay\" */ \"uview-ui/components/u-overlay/u-overlay.vue\"\n )\n },\n uTransition: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-transition/u-transition\" */ \"uview-ui/components/u-transition/u-transition.vue\"\n )\n },\n uStatusBar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-status-bar/u-status-bar\" */ \"uview-ui/components/u-status-bar/u-status-bar.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uSafeBottom: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\" */ \"uview-ui/components/u-safe-bottom/u-safe-bottom.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.contentStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-popup\">\r\n\t\t<u-overlay\r\n\t\t\t:show=\"show\"\r\n\t\t\t@click=\"overlayClick\"\r\n\t\t\tv-if=\"overlay\"\r\n\t\t\t:duration=\"overlayDuration\"\r\n\t\t\t:customStyle=\"overlayStyle\"\r\n\t\t\t:opacity=\"overlayOpacity\"\r\n\t\t></u-overlay>\r\n\t\t<u-transition\r\n\t\t\t:show=\"show\"\r\n\t\t\t:customStyle=\"transitionStyle\"\r\n\t\t\t:mode=\"position\"\r\n\t\t\t:duration=\"duration\"\r\n\t\t\t@afterEnter=\"afterEnter\"\r\n\t\t\t@click=\"clickHandler\"\r\n\t\t>\r\n\t\t\t<view\r\n\t\t\t\tclass=\"u-popup__content\"\r\n\t\t\t\t:style=\"[contentStyle]\"\r\n\t\t\t\t@tap.stop=\"noop\"\r\n\t\t\t>\r\n\t\t\t\t<u-status-bar v-if=\"safeAreaInsetTop\"></u-status-bar>\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<view\r\n\t\t\t\t\tv-if=\"closeable\"\r\n\t\t\t\t\t@tap.stop=\"close\"\r\n\t\t\t\t\tclass=\"u-popup__content__close\"\r\n\t\t\t\t\t:class=\"['u-popup__content__close--' + closeIconPos]\"\r\n\t\t\t\t\thover-class=\"u-popup__content__close--hover\"\r\n\t\t\t\t\thover-stay-time=\"150\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\tname=\"close\"\r\n\t\t\t\t\t\tcolor=\"#909399\"\r\n\t\t\t\t\t\tsize=\"18\"\r\n\t\t\t\t\t\tbold\r\n\t\t\t\t\t></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t\t<u-safe-bottom v-if=\"safeAreaInsetBottom\"></u-safe-bottom>\r\n\t\t\t</view>\r\n\t\t</u-transition>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\r\n\t/**\r\n\t * popup 弹窗\r\n\t * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义\r\n\t * @tutorial https://www.uviewui.com/components/popup.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t\t是否展示弹窗 (默认 false )\r\n\t * @property {Boolean}\t\t\toverlay\t\t\t\t是否显示遮罩 (默认 true )\r\n\t * @property {String}\t\t\tmode\t\t\t\t弹出方向(默认 'bottom' )\r\n\t * @property {String | Number}\tduration\t\t\t动画时长,单位ms (默认 300 )\r\n\t * @property {String | Number}\toverlayDuration\t\t\t遮罩层动画时长,单位ms (默认 350 )\r\n\t * @property {Boolean}\t\t\tcloseable\t\t\t是否显示关闭图标(默认 false )\r\n\t * @property {Object | String}\toverlayStyle\t\t自定义遮罩的样式\r\n\t * @property {String | Number}\toverlayOpacity\t\t遮罩透明度,0-1之间(默认 0.5)\r\n\t * @property {Boolean}\t\t\tcloseOnClickOverlay\t点击遮罩是否关闭弹窗 (默认 true )\r\n\t * @property {String | Number}\tzIndex\t\t\t\t层级 (默认 10075 )\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetBottom\t是否为iPhoneX留出底部安全距离 (默认 true )\r\n\t * @property {Boolean}\t\t\tsafeAreaInsetTop\t是否留出顶部安全距离(状态栏高度) (默认 false )\r\n\t * @property {String}\t\t\tcloseIconPos\t\t自定义关闭图标位置(默认 'top-right' )\r\n\t * @property {String | Number}\tround\t\t\t\t圆角值(默认 0)\r\n\t * @property {Boolean}\t\t\tzoom\t\t\t\t当mode=center时 是否开启缩放(默认 true )\r\n\t * @property {Object}\t\t\tcustomStyle\t\t\t组件的样式,对象形式\r\n\t * @event {Function} open 弹出层打开\r\n\t * @event {Function} close 弹出层收起\r\n\t * @example <u-popup v-model=\"show\"><text>出淤泥而不染,濯清涟而不妖</text></u-popup>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-popup',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toverlayDuration: this.duration + 50\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(newValue, oldValue) {\r\n\t\t\t\tif (newValue === true) {\r\n\t\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\t\tconst children = this.$children\r\n\t\t\t\t\tthis.retryComputedComponentRect(children)\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\ttransitionStyle() {\r\n\t\t\t\tconst style = {\r\n\t\t\t\t\tzIndex: this.zIndex,\r\n\t\t\t\t\tposition: 'fixed',\r\n\t\t\t\t\tdisplay: 'flex',\r\n\t\t\t\t}\r\n\t\t\t\tstyle[this.mode] = 0\r\n\t\t\t\tif (this.mode === 'left') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'right') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tbottom: 0,\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'top') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'bottom') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.mode === 'center') {\r\n\t\t\t\t\treturn uni.$u.deepMerge(style, {\r\n\t\t\t\t\t\talignItems: 'center',\r\n\t\t\t\t\t\t'justify-content': 'center',\r\n\t\t\t\t\t\ttop: 0,\r\n\t\t\t\t\t\tleft: 0,\r\n\t\t\t\t\t\tright: 0,\r\n\t\t\t\t\t\tbottom: 0\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcontentStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 通过设备信息的safeAreaInsets值来判断是否需要预留顶部状态栏和底部安全局的位置\r\n\t\t\t\t// 不使用css方案,是因为nvue不支持css的iPhoneX安全区查询属性\r\n\t\t\t\tconst {\r\n\t\t\t\t\tsafeAreaInsets\r\n\t\t\t\t} = uni.$u.sys()\r\n\t\t\t\tif (this.mode !== 'center') {\r\n\t\t\t\t\tstyle.flex = 1\r\n\t\t\t\t}\r\n\t\t\t\t// 背景色,一般用于设置为transparent,去除默认的白色背景\r\n\t\t\t\tif (this.bgColor) {\r\n\t\t\t\t\tstyle.backgroundColor = this.bgColor\r\n\t\t\t\t}\r\n\t\t\t\tif(this.round) {\r\n\t\t\t\t\tconst value = uni.$u.addUnit(this.round)\r\n\t\t\t\t\tif(this.mode === 'top') {\r\n\t\t\t\t\t\tstyle.borderBottomLeftRadius = value\r\n\t\t\t\t\t\tstyle.borderBottomRightRadius = value\r\n\t\t\t\t\t} else if(this.mode === 'bottom') {\r\n\t\t\t\t\t\tstyle.borderTopLeftRadius = value\r\n\t\t\t\t\t\tstyle.borderTopRightRadius = value\r\n\t\t\t\t\t} else if(this.mode === 'center') {\r\n\t\t\t\t\t\tstyle.borderRadius = value\r\n\t\t\t\t\t} \r\n\t\t\t\t}\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t},\r\n\t\t\tposition() {\r\n\t\t\t\tif (this.mode === 'center') {\r\n\t\t\t\t\treturn this.zoom ? 'fade-zoom' : 'fade'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'left') {\r\n\t\t\t\t\treturn 'slide-left'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'right') {\r\n\t\t\t\t\treturn 'slide-right'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'bottom') {\r\n\t\t\t\t\treturn 'slide-up'\r\n\t\t\t\t}\r\n\t\t\t\tif (this.mode === 'top') {\r\n\t\t\t\t\treturn 'slide-down'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 点击遮罩\r\n\t\t\toverlayClick() {\r\n\t\t\t\tif (this.closeOnClickOverlay) {\r\n\t\t\t\t\tthis.$emit('close')\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tclose(e) {\r\n\t\t\t\tthis.$emit('close')\r\n\t\t\t},\r\n\t\t\tafterEnter() {\r\n\t\t\t\tthis.$emit('open')\r\n\t\t\t},\r\n\t\t\tclickHandler() {\r\n\t\t\t\t// 由于中部弹出时,其u-transition占据了整个页面相当于遮罩,此时需要发出遮罩点击事件,是否无法通过点击遮罩关闭弹窗\r\n\t\t\t\tif(this.mode === 'center') {\r\n\t\t\t\t\tthis.overlayClick()\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('click')\r\n\t\t\t},\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\tretryComputedComponentRect(children) {\r\n\t\t\t\t// 组件内部需要计算节点的组件\r\n\t\t\t\tconst names = ['u-calendar-month', 'u-album', 'u-collapse-item', 'u-dropdown', 'u-index-item', 'u-index-list',\r\n\t\t\t\t\t'u-line-progress', 'u-list-item', 'u-rate', 'u-read-more', 'u-row', 'u-row-notice', 'u-scroll-list',\r\n\t\t\t\t\t'u-skeleton', 'u-slider', 'u-steps-item', 'u-sticky', 'u-subsection', 'u-swipe-action-item', 'u-tabbar',\r\n\t\t\t\t\t'u-tabs', 'u-tooltip'\r\n\t\t\t\t]\r\n\t\t\t\t// 历遍所有的子组件节点\r\n\t\t\t\tfor (let i = 0; i < children.length; i++) {\r\n\t\t\t\t\tconst child = children[i]\r\n\t\t\t\t\t// 拿到子组件的子组件\r\n\t\t\t\t\tconst grandChild = child.$children\r\n\t\t\t\t\t// 判断如果在需要重新初始化的组件数组中名中,并且存在init方法的话,则执行\r\n\t\t\t\t\tif (names.includes(child.$options.name) && typeof child?.init === 'function') {\r\n\t\t\t\t\t\t// 需要进行一定的延时,因为初始化页面需要时间\r\n\t\t\t\t\t\tuni.$u.sleep(50).then(() => {\r\n\t\t\t\t\t\t\tchild.init()\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// 如果子组件还有孙组件,进行递归历遍\r\n\t\t\t\t\tif (grandChild.length) {\r\n\t\t\t\t\t\tthis.retryComputedComponentRect(grandChild)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-popup-flex:1 !default;\r\n\t$u-popup-content-background-color: #fff !default;\r\n\r\n\t.u-popup {\r\n\t\tflex: $u-popup-flex;\r\n\r\n\t\t&__content {\r\n\t\t\tbackground-color: $u-popup-content-background-color;\r\n\t\t\tposition: relative;\r\n\r\n\t\t\t&--round-top {\r\n\t\t\t\tborder-top-left-radius: 0;\r\n\t\t\t\tborder-top-right-radius: 0;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-left {\r\n\t\t\t\tborder-top-left-radius: 0;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 0;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-right {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 0;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-bottom {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 0;\r\n\t\t\t\tborder-bottom-right-radius: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&--round-center {\r\n\t\t\t\tborder-top-left-radius: 10px;\r\n\t\t\t\tborder-top-right-radius: 10px;\r\n\t\t\t\tborder-bottom-left-radius: 10px;\r\n\t\t\t\tborder-bottom-right-radius: 10px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close {\r\n\t\t\t\tposition: absolute;\r\n\r\n\t\t\t\t&--hover {\r\n\t\t\t\t\topacity: 0.4;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__close--top-left {\r\n\t\t\t\ttop: 15px;\r\n\t\t\t\tleft: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--top-right {\r\n\t\t\t\ttop: 15px;\r\n\t\t\t\tright: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--bottom-left {\r\n\t\t\t\tbottom: 15px;\r\n\t\t\t\tleft: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t&__close--bottom-right {\r\n\t\t\t\tright: 15px;\r\n\t\t\t\tbottom: 15px;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313405\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?b306","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?20d0","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?7d2e","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?1e24","uni-app:///node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?af59","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?cc76"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA4uB,CAAgB,6rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUhwB,gF;;;;;;;;;AACA;;;;;;;;;kBAUA,EACA,qBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,uBADA,EAEA,aAFA;AAIA,GARA;AASA;AACA,SADA,mBACA;AACA;;;;;AAKA;AACA,KARA,EATA;;AAmBA,SAnBA,qBAmBA;;;;;AAKA,GAxBA,E;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAu5C,CAAgB,4vCAAG,EAAC,C;;;;;;;;;;;ACA36C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&\"\nvar renderjs\nimport script from \"./u-safe-bottom.vue?vue&type=script&lang=js&\"\nexport * from \"./u-safe-bottom.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"758fd84f\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.style])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tclass=\"u-safe-bottom\"\r\n\t\t:style=\"[style]\"\r\n\t\t:class=\"[!isNvue && 'u-safe-area-inset-bottom']\"\r\n\t>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from \"./props.js\";\r\n\t/**\r\n\t * SafeBottom 底部安全区\r\n\t * @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。\r\n\t * @tutorial https://www.uviewui.com/components/safeAreaInset.html\r\n\t * @property {type}\t\tprop_name\r\n\t * @property {Object}\tcustomStyle\t定义需要用到的外部样式\r\n\t *\r\n\t * @event {Function()}\r\n\t * @example <u-status-bar></u-status-bar>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-safe-bottom\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tsafeAreaBottomHeight: 0,\r\n\t\t\t\tisNvue: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tstyle() {\r\n\t\t\t\tconst style = {};\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t// nvue下,高度使用js计算填充\r\n\t\t\t\tstyle.height = uni.$u.addUnit(uni.$u.sys().safeAreaInsets.bottom, 'px');\r\n\t\t\t\t// #endif\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));\r\n\t\t\t},\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\t// 标识为是否nvue\r\n\t\t\tthis.isNvue = true;\r\n\t\t\t// #endif\r\n\t\t},\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.u-safe-bottom {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668839822871\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?016b","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?c46c","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?72fd","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?5dd3","uni-app:///node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?6684","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?8422"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA4uB,CAAgB,6rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUhwB,gF;;;;;;;;;AACA;;;;;;;;;kBAUA,EACA,qBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,uBADA,EAEA,aAFA;AAIA,GARA;AASA;AACA,SADA,mBACA;AACA;;;;;AAKA;AACA,KARA,EATA;;AAmBA,SAnBA,qBAmBA;;;;;AAKA,GAxBA,E;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAu5C,CAAgB,4vCAAG,EAAC,C;;;;;;;;;;;ACA36C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&\"\nvar renderjs\nimport script from \"./u-safe-bottom.vue?vue&type=script&lang=js&\"\nexport * from \"./u-safe-bottom.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"758fd84f\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.style])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tclass=\"u-safe-bottom\"\r\n\t\t:style=\"[style]\"\r\n\t\t:class=\"[!isNvue && 'u-safe-area-inset-bottom']\"\r\n\t>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from \"./props.js\";\r\n\t/**\r\n\t * SafeBottom 底部安全区\r\n\t * @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。\r\n\t * @tutorial https://www.uviewui.com/components/safeAreaInset.html\r\n\t * @property {type}\t\tprop_name\r\n\t * @property {Object}\tcustomStyle\t定义需要用到的外部样式\r\n\t *\r\n\t * @event {Function()}\r\n\t * @example <u-status-bar></u-status-bar>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-safe-bottom\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tsafeAreaBottomHeight: 0,\r\n\t\t\t\tisNvue: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tstyle() {\r\n\t\t\t\tconst style = {};\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t// nvue下,高度使用js计算填充\r\n\t\t\t\tstyle.height = uni.$u.addUnit(uni.$u.sys().safeAreaInsets.bottom, 'px');\r\n\t\t\t\t// #endif\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));\r\n\t\t\t},\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\t// 标识为是否nvue\r\n\t\t\tthis.isNvue = true;\r\n\t\t\t// #endif\r\n\t\t},\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.u-safe-bottom {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313665\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-search/u-search.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?1bdd","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?9346","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?4e9d","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?08ca","uni-app:///node_modules/uview-ui/components/u-search/u-search.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?b965","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-search/u-search.vue?00f4"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AAAA;AAAA;AAAA;AAAuuB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0E3vB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmCA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,WADA,EAEA,gBAFA,EAEA;AACA,iBAHA,EAIA;AACA,yBALA,CAMA;AACA;AAPA,MASA,CAbA,EAcA,SACA,OADA,mBACA,IADA,EACA,CACA;AACA,gCAFA,CAGA;AACA,iCACA,CANA,EAOA,SACA,eADA,EAEA,OAFA,mBAEA,IAFA,EAEA,CACA,oBACA,CAJA,EAPA,EAdA,EA4BA,YACA,aADA,2BACA,CACA,0CACA,CAHA,EA5BA,EAiCA,WACA;AACA,eAFA,uBAEA,CAFA,EAEA,CACA,8BACA,CAJA,EAKA;AACA;AACA,SAPA,mBAOA,kBACA,kBADA,CAEA;AACA,kCACA,qBACA,CAFA,EAGA,CAbA,EAcA;AACA,UAfA,kBAeA,CAfA,EAeA,CACA,qCACA,KACA;AACA,2BACA,CAHA,CAGA,YACA,CArBA,EAsBA;AACA,UAvBA,oBAuBA,CACA,mCACA,KACA;AACA,2BACA,CAHA,CAGA,YACA,CA7BA,EA8BA;AACA,YA/BA,sBA+BA,CACA,oBADA,CAEA;AACA,8DACA,kCACA,CApCA,EAqCA;AACA,QAtCA,kBAsCA,oBACA;AACA;AACA,8BACA,uBACA,CAFA,EAEA,GAFA,EAGA,kBACA,iCACA,CA9CA,EA+CA;AACA,gBAhDA,0BAgDA,CACA,uCACA,CAlDA,EAmDA;AACA,aApDA,uBAoDA,CACA,wBACA,CAtDA,EAjCA,E;;;;;;;;;;;;;AC/GA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,uvCAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-search/u-search.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-search.vue?vue&type=template&id=1a326067&scoped=true&\"\nvar renderjs\nimport script from \"./u-search.vue?vue&type=script&lang=js&\"\nexport * from \"./u-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-search.vue?vue&type=style&index=0&id=1a326067&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"1a326067\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-search/u-search.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-search.vue?vue&type=template&id=1a326067&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([\n {\n margin: _vm.margin\n },\n _vm.$u.addStyle(_vm.customStyle)\n ])\n\n var s1 = _vm.__get_style([\n {\n textAlign: _vm.inputAlign,\n color: _vm.color,\n backgroundColor: _vm.bgColor,\n height: _vm.$u.addUnit(_vm.height)\n },\n _vm.inputStyle\n ])\n\n var s2 = _vm.__get_style([_vm.actionStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-search.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t class=\"u-search\"\r\n\t @tap=\"clickHandler\"\r\n\t :style=\"[{\r\n\t\t\tmargin: margin,\r\n\t\t}, $u.addStyle(customStyle)]\"\r\n\t>\r\n\t\t<view\r\n\t\t class=\"u-search__content\"\r\n\t\t :style=\"{\r\n\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\tborderRadius: shape == 'round' ? '100px' : '4px',\r\n\t\t\t\tborderColor: borderColor,\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<template v-if=\"$slots.label || label !== null\">\r\n\t\t\t\t<slot name=\"label\">\r\n\t\t\t\t\t<text class=\"u-search__content__label\">{{ label }}</text>\r\n\t\t\t\t</slot>\r\n\t\t\t</template>\r\n\t\t\t<view class=\"u-search__content__icon\">\r\n\t\t\t\t<u-icon\r\n\t\t\t\t\t@tap=\"clickIcon\"\r\n\t\t\t\t :size=\"searchIconSize\"\r\n\t\t\t\t :name=\"searchIcon\"\r\n\t\t\t\t :color=\"searchIconColor ? searchIconColor : color\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t</view>\r\n\t\t\t<input\r\n\t\t\t confirm-type=\"search\"\r\n\t\t\t @blur=\"blur\"\r\n\t\t\t :value=\"value\"\r\n\t\t\t @confirm=\"search\"\r\n\t\t\t @input=\"inputChange\"\r\n\t\t\t :disabled=\"disabled\"\r\n\t\t\t @focus=\"getFocus\"\r\n\t\t\t :focus=\"focus\"\r\n\t\t\t :maxlength=\"maxlength\"\r\n\t\t\t placeholder-class=\"u-search__content__input--placeholder\"\r\n\t\t\t :placeholder=\"placeholder\"\r\n\t\t\t :placeholder-style=\"`color: ${placeholderColor}`\"\r\n\t\t\t class=\"u-search__content__input\"\r\n\t\t\t type=\"text\"\r\n\t\t\t :style=\"[{\r\n\t\t\t\t\ttextAlign: inputAlign,\r\n\t\t\t\t\tcolor: color,\r\n\t\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\t\theight: $u.addUnit(height)\r\n\t\t\t\t}, inputStyle]\"\r\n\t\t\t/>\r\n\t\t\t<view\r\n\t\t\t class=\"u-search__content__icon u-search__content__close\"\r\n\t\t\t v-if=\"keyword && clearabled && focused\"\r\n\t\t\t @tap=\"clear\"\r\n\t\t\t>\r\n\t\t\t\t<u-icon\r\n\t\t\t\t name=\"close\"\r\n\t\t\t\t size=\"11\"\r\n\t\t\t\t color=\"#ffffff\"\r\n\t\t\t\t\tcustomStyle=\"line-height: 12px\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<text\r\n\t\t :style=\"[actionStyle]\"\r\n\t\t class=\"u-search__action\"\r\n\t\t :class=\"[(showActionBtn || show) && 'u-search__action--active']\"\r\n\t\t @tap.stop.prevent=\"custom\"\r\n\t\t>{{ actionText }}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\r\n\t/**\r\n\t * search 搜索框\r\n\t * @description 搜索组件,集成了常见搜索框所需功能,用户可以一键引入,开箱即用。\r\n\t * @tutorial https://www.uviewui.com/components/search.html\r\n\t * @property {String}\t\t\tshape\t\t\t\t搜索框形状,round-圆形,square-方形(默认 'round' )\r\n\t * @property {String}\t\t\tbgColor\t\t\t\t搜索框背景颜色(默认 '#f2f2f2' )\r\n\t * @property {String}\t\t\tplaceholder\t\t\t占位文字内容(默认 '请输入关键字' )\r\n\t * @property {Boolean}\t\t\tclearabled\t\t\t是否启用清除控件(默认 true )\r\n\t * @property {Boolean}\t\t\tfocus\t\t\t\t是否自动获得焦点(默认 false )\r\n\t * @property {Boolean}\t\t\tshowAction\t\t\t是否显示右侧控件(默认 true )\r\n\t * @property {Object}\t\t\tactionStyle\t\t\t右侧控件的样式,对象形式\r\n\t * @property {String}\t\t\tactionText\t\t\t右侧控件文字(默认 '搜索' )\r\n\t * @property {String}\t\t\tinputAlign\t\t\t输入框内容水平对齐方式 (默认 'left' )\r\n\t * @property {Object}\t\t\tinputStyle\t\t\t自定义输入框样式,对象形式\r\n\t * @property {Boolean}\t\t\tdisabled\t\t\t是否启用输入框(默认 false )\r\n\t * @property {String}\t\t\tborderColor\t\t\t边框颜色,配置了颜色,才会有边框 (默认 'transparent' )\r\n\t * @property {String}\t\t\tsearchIconColor\t\t搜索图标的颜色,默认同输入框字体颜色 (默认 '#909399' )\r\n\t * @property {Number | String}\tsearchIconSize 搜索图标的字体,默认22\r\n\t * @property {String}\t\t\tcolor\t\t\t\t输入框字体颜色(默认 '#606266' )\r\n\t * @property {String}\t\t\tplaceholderColor\tplaceholder的颜色(默认 '#909399' )\r\n\t * @property {String}\t\t\tsearchIcon\t\t\t输入框左边的图标,可以为uView图标名称或图片路径 (默认 'search' )\r\n\t * @property {String}\t\t\tmargin\t\t\t\t组件与其他上下左右元素之间的距离,带单位的字符串形式,如\"30px\" (默认 '0' )\r\n\t * @property {Boolean} \t\t\tanimation\t\t\t是否开启动画,见上方说明(默认 false )\r\n\t * @property {String}\t\t\tvalue\t\t\t\t输入框初始值\r\n\t * @property {String | Number}\tmaxlength\t\t\t输入框最大能输入的长度,-1为不限制长度 (默认 '-1' )\r\n\t * @property {String | Number}\theight\t\t\t\t输入框高度,单位px(默认 64 )\r\n\t * @property {String | Number}\tlabel\t\t\t\t搜索框左边显示内容\r\n\t * @property {Object}\t\t\tcustomStyle\t\t\t定义需要用到的外部样式\r\n\t *\r\n\t * @event {Function} change 输入框内容发生变化时触发\r\n\t * @event {Function} search 用户确定搜索时触发,用户按回车键,或者手机键盘右下角的\"搜索\"键时触发\r\n\t * @event {Function} custom 用户点击右侧控件时触发\r\n\t * @event {Function} clear 用户点击清除按钮时触发\r\n\t * @example <u-search placeholder=\"日照香炉生紫烟\" v-model=\"keyword\"></u-search>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-search\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tkeyword: '',\r\n\t\t\t\tshowClear: false, // 是否显示右边的清除图标\r\n\t\t\t\tshow: false,\r\n\t\t\t\t// 标记input当前状态是否处于聚焦中,如果是,才会显示右侧的清除控件\r\n\t\t\t\tfocused: this.focus\r\n\t\t\t\t// 绑定输入框的值\r\n\t\t\t\t// inputValue: this.value\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tkeyword(nVal) {\r\n\t\t\t\t// 双向绑定值,让v-model绑定的值双向变化\r\n\t\t\t\tthis.$emit('input', nVal);\r\n\t\t\t\t// 触发change事件,事件效果和v-model双向绑定的效果一样,让用户多一个选择\r\n\t\t\t\tthis.$emit('change', nVal);\r\n\t\t\t},\r\n\t\t\tvalue: {\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(nVal) {\r\n\t\t\t\t\tthis.keyword = nVal;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tshowActionBtn() {\r\n\t\t\t\treturn !this.animation && this.showAction\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化\r\n\t\t\tinputChange(e) {\r\n\t\t\t\tthis.keyword = e.detail.value;\r\n\t\t\t},\r\n\t\t\t// 清空输入\r\n\t\t\t// 也可以作为用户通过this.$refs形式调用清空输入框内容\r\n\t\t\tclear() {\r\n\t\t\t\tthis.keyword = '';\r\n\t\t\t\t// 延后发出事件,避免在父组件监听clear事件时,value为更新前的值(不为空)\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.$emit('clear');\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 确定搜索\r\n\t\t\tsearch(e) {\r\n\t\t\t\tthis.$emit('search', e.detail.value);\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// 收起键盘\r\n\t\t\t\t\tuni.hideKeyboard();\r\n\t\t\t\t} catch (e) {}\r\n\t\t\t},\r\n\t\t\t// 点击右边自定义按钮的事件\r\n\t\t\tcustom() {\r\n\t\t\t\tthis.$emit('custom', this.keyword);\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// 收起键盘\r\n\t\t\t\t\tuni.hideKeyboard();\r\n\t\t\t\t} catch (e) {}\r\n\t\t\t},\r\n\t\t\t// 获取焦点\r\n\t\t\tgetFocus() {\r\n\t\t\t\tthis.focused = true;\r\n\t\t\t\t// 开启右侧搜索按钮展开的动画效果\r\n\t\t\t\tif (this.animation && this.showAction) this.show = true;\r\n\t\t\t\tthis.$emit('focus', this.keyword);\r\n\t\t\t},\r\n\t\t\t// 失去焦点\r\n\t\t\tblur() {\r\n\t\t\t\t// 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错\r\n\t\t\t\t// 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.focused = false;\r\n\t\t\t\t}, 100)\r\n\t\t\t\tthis.show = false;\r\n\t\t\t\tthis.$emit('blur', this.keyword);\r\n\t\t\t},\r\n\t\t\t// 点击搜索框,只有disabled=true时才发出事件,因为禁止了输入,意味着是想跳转真正的搜索页\r\n\t\t\tclickHandler() {\r\n\t\t\t\tif (this.disabled) this.$emit('click');\r\n\t\t\t},\r\n\t\t\t// 点击左边图标\r\n\t\t\tclickIcon() {\r\n\t\t\t\tthis.$emit('clickIcon');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"../../libs/css/components.scss\";\r\n$u-search-content-padding: 0 10px !default;\r\n$u-search-label-color: $u-main-color !default;\r\n$u-search-label-font-size: 14px !default;\r\n$u-search-label-margin: 0 4px !default;\r\n$u-search-close-size: 20px !default;\r\n$u-search-close-radius: 100px !default;\r\n$u-search-close-bgColor: #C6C7CB !default;\r\n$u-search-close-transform: scale(0.82) !default;\r\n$u-search-input-font-size: 14px !default;\r\n$u-search-input-margin: 0 5px !default;\r\n$u-search-input-color: $u-main-color !default;\r\n$u-search-input-placeholder-color: $u-tips-color !default;\r\n$u-search-action-font-size: 14px !default;\r\n$u-search-action-color: $u-main-color !default;\r\n$u-search-action-width: 0 !default;\r\n$u-search-action-active-width: 40px !default;\r\n$u-search-action-margin-left: 5px !default;\r\n\r\n/* #ifdef H5 */\r\n// iOS15在H5下,hx的某些版本,input type=search时,会多了一个搜索图标,进行移除\r\n[type=\"search\"]::-webkit-search-decoration {\r\n display: none;\r\n}\r\n/* #endif */\r\n\r\n.u-search {\r\n\t@include flex(row);\r\n\talign-items: center;\r\n\tflex: 1;\r\n\r\n\t&__content {\r\n\t\t@include flex;\r\n\t\talign-items: center;\r\n\t\tpadding: $u-search-content-padding;\r\n\t\tflex: 1;\r\n\t\tjustify-content: space-between;\r\n\t\tborder-width: 1px;\r\n\t\tborder-color: transparent;\r\n\t\tborder-style: solid;\r\n\t\toverflow: hidden;\r\n\r\n\t\t&__icon {\r\n\t\t\t@include flex;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t&__label {\r\n\t\t\tcolor: $u-search-label-color;\r\n\t\t\tfont-size: $u-search-label-font-size;\r\n\t\t\tmargin: $u-search-label-margin;\r\n\t\t}\r\n\r\n\t\t&__close {\r\n\t\t\twidth: $u-search-close-size;\r\n\t\t\theight: $u-search-close-size;\r\n\t\t\tborder-top-left-radius: $u-search-close-radius;\r\n\t\t\tborder-top-right-radius: $u-search-close-radius;\r\n\t\t\tborder-bottom-left-radius: $u-search-close-radius;\r\n\t\t\tborder-bottom-right-radius: $u-search-close-radius;\r\n\t\t\tbackground-color: $u-search-close-bgColor;\r\n\t\t\t@include flex(row);\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\ttransform: $u-search-close-transform;\r\n\t\t}\r\n\r\n\t\t&__input {\r\n\t\t\tflex: 1;\r\n\t\t\tfont-size: $u-search-input-font-size;\r\n\t\t\tline-height: 1;\r\n\t\t\tmargin: $u-search-input-margin;\r\n\t\t\tcolor: $u-search-input-color;\r\n\r\n\t\t\t&--placeholder {\r\n\t\t\t\tcolor: $u-search-input-placeholder-color;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t&__action {\r\n\t\tfont-size: $u-search-action-font-size;\r\n\t\tcolor: $u-search-action-color;\r\n\t\twidth: $u-search-action-width;\r\n\t\toverflow: hidden;\r\n\t\ttransition-property: width;\r\n\t\ttransition-duration: 0.3s;\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twhite-space: nowrap;\r\n\t\t/* #endif */\r\n\t\ttext-align: center;\r\n\r\n\t\t&--active {\r\n\t\t\twidth: $u-search-action-active-width;\r\n\t\t\tmargin-left: $u-search-action-margin-left;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-search.vue?vue&type=style&index=0&id=1a326067&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-search.vue?vue&type=style&index=0&id=1a326067&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313202\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?c9ef","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?cf2f","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?d26f","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?cc80","uni-app:///node_modules/uview-ui/components/u-status-bar/u-status-bar.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?ef6d","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?5681"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA2uB,CAAgB,4rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU/vB,gF;;;;;;;;;AACA;;;;;;;kBAQA,EACA,oBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAEA,CANA,EAOA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EAPA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAs5C,CAAgB,2vCAAG,EAAC,C;;;;;;;;;;;ACA16C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-status-bar/u-status-bar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&\"\nvar renderjs\nimport script from \"./u-status-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-status-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"3c8c2ae7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-status-bar/u-status-bar.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.style])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t :style=\"[style]\"\r\n\t class=\"u-status-bar\"\r\n\t>\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * StatbusBar 状态栏占位\r\n\t * @description 本组件主要用于状态填充,比如在自定导航栏的时候,它会自动适配一个恰当的状态栏高度。\r\n\t * @tutorial https://uviewui.com/components/statusBar.html\r\n\t * @property {String}\t\t\tbgColor\t\t\t背景色 (默认 'transparent' )\r\n\t * @property {String | Object}\tcustomStyle\t\t自定义样式 \r\n\t * @example <u-status-bar></u-status-bar>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-status-bar',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tstyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式\r\n\t\t\t\tstyle.height = uni.$u.addUnit(uni.$u.sys().statusBarHeight, 'px')\r\n\t\t\t\tstyle.backgroundColor = this.bgColor\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.u-status-bar {\r\n\t\t// nvue会默认100%,如果nvue下,显式写100%的话,会导致宽度不为100%而异常\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668843638908\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?e799","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?d7f3","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?b8b6","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?9741","uni-app:///node_modules/uview-ui/components/u-status-bar/u-status-bar.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?e8e0","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?8db9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA2uB,CAAgB,4rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU/vB,gF;;;;;;;;;AACA;;;;;;;kBAQA,EACA,oBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAEA,CANA,EAOA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EAPA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAs5C,CAAgB,2vCAAG,EAAC,C;;;;;;;;;;;ACA16C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-status-bar/u-status-bar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&\"\nvar renderjs\nimport script from \"./u-status-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-status-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"3c8c2ae7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-status-bar/u-status-bar.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.style])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t :style=\"[style]\"\r\n\t class=\"u-status-bar\"\r\n\t>\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * StatbusBar 状态栏占位\r\n\t * @description 本组件主要用于状态填充,比如在自定导航栏的时候,它会自动适配一个恰当的状态栏高度。\r\n\t * @tutorial https://uviewui.com/components/statusBar.html\r\n\t * @property {String}\t\t\tbgColor\t\t\t背景色 (默认 'transparent' )\r\n\t * @property {String | Object}\tcustomStyle\t\t自定义样式 \r\n\t * @example <u-status-bar></u-status-bar>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-status-bar',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tstyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式\r\n\t\t\t\tstyle.height = uni.$u.addUnit(uni.$u.sys().statusBarHeight, 'px')\r\n\t\t\t\tstyle.backgroundColor = this.bgColor\r\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.u-status-bar {\r\n\t\t// nvue会默认100%,如果nvue下,显式写100%的话,会导致宽度不为100%而异常\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313178\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-tabs/u-tabs.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?d1e7","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?2400","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?d90a","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?f551","uni-app:///node_modules/uview-ui/components/u-tabs/u-tabs.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?b31f","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-tabs/u-tabs.vue?5a5e"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAquB,CAAgB,srBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsFzvB,gF;AACA;;;;;;;;;;;AAWA;AACA,gBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA,qBADA;AAEA,mBAFA;AAGA,wBAHA;AAIA,uBAJA;AAKA;AACA,eADA,EALA;;AAQA,qBARA;AASA,mBATA;;AAWA,GAfA;AAgBA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA,OAVA,EADA;;AAaA;AACA,QAdA,kBAcA;AACA;AACA;AACA,OAFA;AAGA,KAlBA,EAhBA;;AAoCA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,4BAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OAXA;AAYA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA,KAjBA,EApCA;;AAuDA,SAvDA,qBAuDA;AACA,4BADA;AAEA,GAzDA;AA0DA;AACA,eADA,yBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA,wDAFA,EAEA,CAFA;AAGA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA,SAFA,EAEA,EAFA;AAGA;AACA,KAzBA;AA0BA;AACA,aA3BA,qBA2BA,CA3BA,EA2BA;;;;;;;;;;AAUA,KArCA;AAsCA;AACA,gBAvCA,wBAuCA,IAvCA,EAuCA,KAvCA,EAuCA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA,KArDA;AAsDA,QAtDA,kBAsDA;AACA;AACA;AACA,OAFA;AAGA,KA1DA;AA2DA,iBA3DA,2BA2DA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA;AACA;AACA,OAJA,EAIA,CAJA;AAKA;AACA;AACA;AACA;AACA,WADA,IACA,CADA,GACA,sBADA;AAEA;AACA;AACA;AACA,KA5EA;AA6EA;AACA,UA9EA,oBA8EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA;AAMA;AACA;AACA;AACA,OAZA;AAaA,KAhGA;AAiGA;AACA,eAlGA,yBAkGA;AACA;AACA;AACA,OAFA;AAGA,KAtGA;AAuGA;AACA,kBAxGA,4BAwGA;AACA;AACA;AACA,eADA,GACA,IADA;AAEA;AACA,OAJA;AAKA,KA9GA;AA+GA;AACA,aAhHA,qBAgHA,EAhHA,EAgHA,IAhHA,EAgHA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAJA;;;;;;;;;;;;AAgBA,KApIA,EA1DA,E;;;;;;;;;;;;;AClGA;AAAA;AAAA;AAAA;AAAg5C,CAAgB,qvCAAG,EAAC,C;;;;;;;;;;;ACAp6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-tabs/u-tabs.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&\"\nvar renderjs\nimport script from \"./u-tabs.vue?vue&type=script&lang=js&\"\nexport * from \"./u-tabs.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"0de61367\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-tabs/u-tabs.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&\"","var components\ntry {\n components = {\n uBadge: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-badge/u-badge\" */ \"uview-ui/components/u-badge/u-badge.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([\n _vm.$u.addStyle(_vm.itemStyle),\n {\n flex: _vm.scrollable ? \"\" : 1\n }\n ])\n\n var l0 = _vm.__map(_vm.list, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var s1 = _vm.__get_style([_vm.textStyle(index)])\n\n return {\n $orig: $orig,\n s1: s1\n }\n })\n\n var g0 = _vm.$u.addUnit(_vm.lineWidth)\n var g1 = _vm.$u.addUnit(_vm.lineHeight)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n l0: l0,\n g0: g0,\n g1: g1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-tabs.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-tabs.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-tabs\">\r\n\t\t<view class=\"u-tabs__wrapper\">\r\n\t\t\t<slot name=\"left\" />\r\n\t\t\t<view class=\"u-tabs__wrapper__scroll-view-wrapper\">\r\n\t\t\t\t<scroll-view\r\n\t\t\t\t\t:scroll-x=\"scrollable\"\r\n\t\t\t\t\t:scroll-left=\"scrollLeft\"\r\n\t\t\t\t\tscroll-with-animation\r\n\t\t\t\t\tclass=\"u-tabs__wrapper__scroll-view\"\r\n\t\t\t\t\t:show-scrollbar=\"false\"\r\n\t\t\t\t\tref=\"u-tabs__wrapper__scroll-view\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"u-tabs__wrapper__nav\"\r\n\t\t\t\t\t\tref=\"u-tabs__wrapper__nav\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\tclass=\"u-tabs__wrapper__nav__item\"\r\n\t\t\t\t\t\t\tv-for=\"(item, index) in list\"\r\n\t\t\t\t\t\t\t:key=\"index\"\r\n\t\t\t\t\t\t\t@tap=\"clickHandler(item, index)\"\r\n\t\t\t\t\t\t\t:ref=\"`u-tabs__wrapper__nav__item-${index}`\"\r\n\t\t\t\t\t\t\t:style=\"[$u.addStyle(itemStyle), {flex: scrollable ? '' : 1}]\"\r\n\t\t\t\t\t\t\t:class=\"[`u-tabs__wrapper__nav__item-${index}`, item.disabled && 'u-tabs__wrapper__nav__item--disabled']\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\t\t:class=\"[item.disabled && 'u-tabs__wrapper__nav__item__text--disabled']\"\r\n\t\t\t\t\t\t\t\tclass=\"u-tabs__wrapper__nav__item__text\"\r\n\t\t\t\t\t\t\t\t:style=\"[textStyle(index)]\"\r\n\t\t\t\t\t\t\t>{{ item[keyName] }}</text>\r\n\t\t\t\t\t\t\t<u-badge\r\n\t\t\t\t\t\t\t\t:show=\"!!(item.badge && (item.badge.show || item.badge.isDot || item.badge.value))\"\r\n\t\t\t\t\t\t\t\t:isDot=\"item.badge && item.badge.isDot || propsBadge.isDot\"\r\n\t\t\t\t\t\t\t\t:value=\"item.badge && item.badge.value || propsBadge.value\"\r\n\t\t\t\t\t\t\t\t:max=\"item.badge && item.badge.max || propsBadge.max\"\r\n\t\t\t\t\t\t\t\t:type=\"item.badge && item.badge.type || propsBadge.type\"\r\n\t\t\t\t\t\t\t\t:showZero=\"item.badge && item.badge.showZero || propsBadge.showZero\"\r\n\t\t\t\t\t\t\t\t:bgColor=\"item.badge && item.badge.bgColor || propsBadge.bgColor\"\r\n\t\t\t\t\t\t\t\t:color=\"item.badge && item.badge.color || propsBadge.color\"\r\n\t\t\t\t\t\t\t\t:shape=\"item.badge && item.badge.shape || propsBadge.shape\"\r\n\t\t\t\t\t\t\t\t:numberType=\"item.badge && item.badge.numberType || propsBadge.numberType\"\r\n\t\t\t\t\t\t\t\t:inverted=\"item.badge && item.badge.inverted || propsBadge.inverted\"\r\n\t\t\t\t\t\t\t\tcustomStyle=\"margin-left: 4px;\"\r\n\t\t\t\t\t\t\t></u-badge>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<!-- #ifdef APP-NVUE -->\r\n\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\tclass=\"u-tabs__wrapper__nav__line\"\r\n\t\t\t\t\t\t\tref=\"u-tabs__wrapper__nav__line\"\r\n\t\t\t\t\t\t\t:style=\"[{\r\n\t\t\t\t\t\t\t\t\twidth: $u.addUnit(lineWidth),\r\n\t\t\t\t\t\t\t\t\theight: $u.addUnit(lineHeight),\r\n\t\t\t\t\t\t\t\t\tbackground: lineColor,\r\n\t\t\t\t\t\t\t\t\tbackgroundSize: lineBgSize,\r\n\t\t\t\t\t\t\t\t}]\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t\t\t<!-- #ifndef APP-NVUE -->\r\n\t\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\t\tclass=\"u-tabs__wrapper__nav__line\"\r\n\t\t\t\t\t\t\t\tref=\"u-tabs__wrapper__nav__line\"\r\n\t\t\t\t\t\t\t\t:style=\"[{\r\n\t\t\t\t\t\t\t\t\t\twidth: $u.addUnit(lineWidth),\r\n\t\t\t\t\t\t\t\t\t\ttransform: `translate(${lineOffsetLeft}px)`,\r\n\t\t\t\t\t\t\t\t\t\ttransitionDuration: `${firstTime ? 0 : duration}ms`,\r\n\t\t\t\t\t\t\t\t\t\theight: $u.addUnit(lineHeight),\r\n\t\t\t\t\t\t\t\t\t\tbackground: lineColor,\r\n\t\t\t\t\t\t\t\t\t\tbackgroundSize: lineBgSize,\r\n\t\t\t\t\t\t\t\t\t}]\"\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<slot name=\"right\" />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t// #ifdef APP-NVUE\r\n\tconst animation = uni.requireNativePlugin('animation')\r\n\tconst dom = uni.requireNativePlugin('dom')\r\n\t// #endif\r\n\timport props from './props.js';\r\n\t/**\r\n\t * Tabs 标签\r\n\t * @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。\r\n\t * @tutorial https://www.uviewui.com/components/tabs.html\r\n\t * @property {String | Number}\tduration\t\t\t滑块移动一次所需的时间,单位秒(默认 200 )\r\n\t * @property {String | Number}\tswierWidth\t\t\tswiper的宽度(默认 '750rpx' )\r\n\t * @property {String}\tkeyName\t 从`list`元素对象中读取的键名(默认 'name' )\r\n\t * @event {Function(index)} change 标签改变时触发 index: 点击了第几个tab,索引从0开始\r\n\t * @event {Function(index)} click 点击标签时触发 index: 点击了第几个tab,索引从0开始\r\n\t * @example <u-tabs :list=\"list\" :is-scroll=\"false\" :current=\"current\" @change=\"change\"></u-tabs>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-tabs',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tfirstTime: true,\r\n\t\t\t\tscrollLeft: 0,\r\n\t\t\t\tscrollViewWidth: 0,\r\n\t\t\t\tlineOffsetLeft: 0,\r\n\t\t\t\ttabsRect: {\r\n\t\t\t\t\tleft: 0\r\n\t\t\t\t},\r\n\t\t\t\tinnerCurrent: 0,\r\n\t\t\t\tmoving: false,\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tcurrent: {\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler (newValue, oldValue) {\r\n\t\t\t\t\t// 内外部值不相等时,才尝试移动滑块\r\n\t\t\t\t\tif (newValue !== this.innerCurrent) {\r\n\t\t\t\t\t\tthis.innerCurrent = newValue\r\n\t\t\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t\t\tthis.resize()\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// list变化时,重新渲染list各项信息\r\n\t\t\tlist() {\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.resize()\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\ttextStyle() {\r\n\t\t\t\treturn index => {\r\n\t\t\t\t\tconst style = {}\r\n\t\t\t\t\t// 取当期是否激活的样式\r\n\t\t\t\t\tconst customeStyle = index === this.innerCurrent ? uni.$u.addStyle(this.activeStyle) : uni.$u\r\n\t\t\t\t\t\t.addStyle(\r\n\t\t\t\t\t\t\tthis.inactiveStyle)\r\n\t\t\t\t\t// 如果当前菜单被禁用,则加上对应颜色,需要在此做处理,是因为nvue下,无法在style样式中通过!import覆盖标签的内联样式\r\n\t\t\t\t\tif (this.list[index].disabled) {\r\n\t\t\t\t\t\tstyle.color = '#c8c9cc'\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn uni.$u.deepMerge(customeStyle, style)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tpropsBadge() {\r\n\t\t\t\treturn uni.$u.props.badge\r\n\t\t\t}\r\n\t\t},\r\n\t\tasync mounted() {\r\n\t\t\tthis.init()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tsetLineLeft() {\r\n\t\t\t\tconst tabItem = this.list[this.innerCurrent];\r\n\t\t\t\tif (!tabItem) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 获取滑块该移动的位置\r\n\t\t\t\tlet lineOffsetLeft = this.list\r\n\t\t\t\t\t.slice(0, this.innerCurrent)\r\n\t\t\t\t\t.reduce((total, curr) => total + curr.rect.width, 0);\r\n // 获取下划线的数值px表示法\r\n\t\t\t\tconst lineWidth = uni.$u.getPx(this.lineWidth);\r\n\t\t\t\tthis.lineOffsetLeft = lineOffsetLeft + (tabItem.rect.width - lineWidth) / 2\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t// 第一次移动滑块,无需过渡时间\r\n\t\t\t\tthis.animation(this.lineOffsetLeft, this.firstTime ? 0 : parseInt(this.duration))\r\n\t\t\t\t// #endif\r\n\r\n\t\t\t\t// 如果是第一次执行此方法,让滑块在初始化时,瞬间滑动到第一个tab item的中间\r\n\t\t\t\t// 这里需要一个定时器,因为在非nvue下,是直接通过style绑定过渡时间,需要等其过渡完成后,再设置为false(非第一次移动滑块)\r\n\t\t\t\tif (this.firstTime) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.firstTime = false\r\n\t\t\t\t\t}, 10);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// nvue下设置滑块的位置\r\n\t\t\tanimation(x, duration = 0) {\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tconst ref = this.$refs['u-tabs__wrapper__nav__line']\r\n\t\t\t\tanimation.transition(ref, {\r\n\t\t\t\t\tstyles: {\r\n\t\t\t\t\t\ttransform: `translateX(${x}px)`\r\n\t\t\t\t\t},\r\n\t\t\t\t\tduration\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\t// 点击某一个标签\r\n\t\t\tclickHandler(item, index) {\r\n\t\t\t\t// 因为标签可能为disabled状态,所以click是一定会发出的,但是change事件是需要可用的状态才发出\r\n\t\t\t\tthis.$emit('click', {\r\n\t\t\t\t\t...item,\r\n\t\t\t\t\tindex\r\n\t\t\t\t})\r\n\t\t\t\t// 如果disabled状态,返回\r\n\t\t\t\tif (item.disabled) return\r\n\t\t\t\tthis.innerCurrent = index\r\n\t\t\t\tthis.resize()\r\n\t\t\t\tthis.$emit('change', {\r\n\t\t\t\t\t...item,\r\n\t\t\t\t\tindex\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tinit() {\r\n\t\t\t\tuni.$u.sleep().then(() => {\r\n\t\t\t\t\tthis.resize()\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsetScrollLeft() {\r\n\t\t\t\t// 当前活动tab的布局信息,有tab菜单的width和left(为元素左边界到父元素左边界的距离)等信息\r\n\t\t\t\tconst tabRect = this.list[this.innerCurrent]\r\n\t\t\t\t// 累加得到当前item到左边的距离\r\n\t\t\t\tconst offsetLeft = this.list\r\n\t\t\t\t\t.slice(0, this.innerCurrent)\r\n\t\t\t\t\t.reduce((total, curr) => {\r\n\t\t\t\t\t\treturn total + curr.rect.width\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t// 此处为屏幕宽度\r\n\t\t\t\tconst windowWidth = uni.$u.sys().windowWidth\r\n\t\t\t\t// 将活动的tabs-item移动到屏幕正中间,实际上是对scroll-view的移动\r\n\t\t\t\tlet scrollLeft = offsetLeft - (this.tabsRect.width - tabRect.rect.width) / 2 - (windowWidth - this.tabsRect\r\n\t\t\t\t\t.right) / 2 + this.tabsRect.left / 2\r\n\t\t\t\t// 这里做一个限制,限制scrollLeft的最大值为整个scroll-view宽度减去tabs组件的宽度\r\n\t\t\t\tscrollLeft = Math.min(scrollLeft, this.scrollViewWidth - this.tabsRect.width)\r\n\t\t\t\tthis.scrollLeft = Math.max(0, scrollLeft)\r\n\t\t\t},\r\n\t\t\t// 获取所有标签的尺寸\r\n\t\t\tresize() {\r\n\t\t\t\t// 如果不存在list,则不处理\r\n\t\t\t\tif(this.list.length === 0) {\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tPromise.all([this.getTabsRect(), this.getAllItemRect()]).then(([tabsRect, itemRect = []]) => {\r\n\t\t\t\t\tthis.tabsRect = tabsRect\r\n\t\t\t\t\tthis.scrollViewWidth = 0\r\n\t\t\t\t\titemRect.map((item, index) => {\r\n\t\t\t\t\t\t// 计算scroll-view的宽度,这里\r\n\t\t\t\t\t\tthis.scrollViewWidth += item.width\r\n\t\t\t\t\t\t// 另外计算每一个item的中心点X轴坐标\r\n\t\t\t\t\t\tthis.list[index].rect = item\r\n\t\t\t\t\t})\r\n\t\t\t\t\t// 获取了tabs的尺寸之后,设置滑块的位置\r\n\t\t\t\t\tthis.setLineLeft()\r\n\t\t\t\t\tthis.setScrollLeft()\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 获取导航菜单的尺寸\r\n\t\t\tgetTabsRect() {\r\n\t\t\t\treturn new Promise(resolve => {\r\n\t\t\t\t\tthis.queryRect('u-tabs__wrapper__scroll-view').then(size => resolve(size))\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 获取所有标签的尺寸\r\n\t\t\tgetAllItemRect() {\r\n\t\t\t\treturn new Promise(resolve => {\r\n\t\t\t\t\tconst promiseAllArr = this.list.map((item, index) => this.queryRect(\r\n\t\t\t\t\t\t`u-tabs__wrapper__nav__item-${index}`, true))\r\n\t\t\t\t\tPromise.all(promiseAllArr).then(sizes => resolve(sizes))\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 获取各个标签的尺寸\r\n\t\t\tqueryRect(el, item) {\r\n\t\t\t\t// #ifndef APP-NVUE\r\n\t\t\t\t// $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://www.uviewui.com/js/getRect.html\r\n\t\t\t\t// 组件内部一般用this.$uGetRect,对外的为uni.$u.getRect,二者功能一致,名称不同\r\n\t\t\t\treturn new Promise(resolve => {\r\n\t\t\t\t\tthis.$uGetRect(`.${el}`).then(size => {\r\n\t\t\t\t\t\tresolve(size)\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t// nvue下,使用dom模块查询元素高度\r\n\t\t\t\t// 返回一个promise,让调用此方法的主体能使用then回调\r\n\t\t\t\treturn new Promise(resolve => {\r\n\t\t\t\t\tdom.getComponentRect(item ? this.$refs[el][0] : this.$refs[el], res => {\r\n\t\t\t\t\t\tresolve(res.size)\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\r\n\t.u-tabs {\r\n\r\n\t\t&__wrapper {\r\n\t\t\t@include flex;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\t&__scroll-view-wrapper {\r\n\t\t\t\tflex: 1;\r\n\t\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\t\toverflow: auto hidden;\r\n\t\t\t\t/* #endif */\r\n\t\t\t}\r\n\r\n\t\t\t&__scroll-view {\r\n\t\t\t\t@include flex;\r\n\t\t\t\tflex: 1;\r\n\t\t\t}\r\n\r\n\t\t\t&__nav {\r\n\t\t\t\t@include flex;\r\n\t\t\t\tposition: relative;\r\n\r\n\t\t\t\t&__item {\r\n\t\t\t\t\tpadding: 0 11px;\r\n\t\t\t\t\t@include flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: center;\r\n\r\n\t\t\t\t\t&--disabled {\r\n\t\t\t\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\t\t\t\tcursor: not-allowed;\r\n\t\t\t\t\t\t/* #endif */\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t&__text {\r\n\t\t\t\t\t\tfont-size: 15px;\r\n\t\t\t\t\t\tcolor: $u-content-color;\r\n\r\n\t\t\t\t\t\t&--disabled {\r\n\t\t\t\t\t\t\tcolor: $u-disabled-color !important;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__line {\r\n\t\t\t\t\theight: 3px;\r\n\t\t\t\t\tbackground: $u-primary;\r\n\t\t\t\t\twidth: 30px;\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\tbottom: 2px;\r\n\t\t\t\t\tborder-radius: 100px;\r\n\t\t\t\t\ttransition-property: transform;\r\n\t\t\t\t\ttransition-duration: 300ms;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297623719\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?2dac","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?2979","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?eb54","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?6663","uni-app:///node_modules/uview-ui/components/u-transition/u-transition.vue","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?0048","webpack:///C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-transition/u-transition.vue?2dce"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAA2uB,CAAgB,4rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACe/vB;;AAEA,0F;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA,sBADA;AAEA,MAFA,kBAEA;AACA;AACA,mBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,4BAJA,EAIA;AACA,oBALA,EAKA;AACA,iBANA,CAMA;AANA;AAQA,GAXA;AAYA;AACA,cADA,wBACA;AACA,eADA,GACA,IADA,CACA,SADA,CACA,WADA,GACA,IADA,CACA,WADA;AAEA;;AAEA,0DAFA;AAGA;AACA,qDAJA;;;AAOA,kCAPA;AAQA,eARA;;AAUA,KAbA,EAZA;;AA2BA;AACA,6EA5BA;AA6BA;AACA;AACA,aADA,mBACA,MADA,EACA;AACA;;;;;AAKA;;AAEA,OATA;AAUA;AACA,qBAXA,EADA,EA7BA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAs5C,CAAgB,2vCAAG,EAAC,C;;;;;;;;;;;ACA16C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-transition/u-transition.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&\"\nvar renderjs\nimport script from \"./u-transition.vue?vue&type=script&lang=js&\"\nexport * from \"./u-transition.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"39e33bf2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-transition/u-transition.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.inited ? _vm.__get_style([_vm.mergeStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tv-if=\"inited\"\r\n\t\tclass=\"u-transition\"\r\n\t\tref=\"u-transition\"\r\n\t\t@tap=\"clickHandler\"\r\n\t\t:class=\"classes\"\r\n\t\t:style=\"[mergeStyle]\"\r\n\t\t@touchmove=\"noop\"\r\n\t>\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport props from './props.js';\r\n// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入\r\nimport transition from \"./transition.js\";\r\n/**\r\n * transition 动画组件\r\n * @description\r\n * @tutorial\r\n * @property {String}\t\t\tshow\t\t\t是否展示组件 (默认 false )\r\n * @property {String}\t\t\tmode\t\t\t使用的动画模式 (默认 'fade' )\r\n * @property {String | Number}\tduration\t\t动画的执行时间,单位ms (默认 '300' )\r\n * @property {String}\t\t\ttimingFunction\t使用的动画过渡函数 (默认 'ease-out' )\r\n * @property {Object}\t\t\tcustomStyle\t\t自定义样式\r\n * @event {Function} before-enter\t进入前触发\r\n * @event {Function} enter\t\t\t进入中触发\r\n * @event {Function} after-enter\t进入后触发\r\n * @event {Function} before-leave\t离开前触发\r\n * @event {Function} leave\t\t\t离开中触发\r\n * @event {Function} after-leave\t离开后触发\r\n * @example\r\n */\r\nexport default {\r\n\tname: 'u-transition',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tinited: false, // 是否显示/隐藏组件\r\n\t\t\tviewStyle: {}, // 组件内部的样式\r\n\t\t\tstatus: '', // 记录组件动画的状态\r\n\t\t\ttransitionEnded: false, // 组件是否结束的标记\r\n\t\t\tdisplay: false, // 组件是否展示\r\n\t\t\tclasses: '', // 应用的类名\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t mergeStyle() {\r\n\t const { viewStyle, customStyle } = this\r\n\t return {\r\n\t // #ifndef APP-NVUE\r\n\t transitionDuration: `${this.duration}ms`,\r\n\t // display: `${this.display ? '' : 'none'}`,\r\n\t\t\t\ttransitionTimingFunction: this.timingFunction,\r\n\t // #endif\r\n\t\t\t\t// 避免自定义样式影响到动画属性,所以写在viewStyle前面\r\n\t ...uni.$u.addStyle(customStyle),\r\n\t ...viewStyle\r\n\t }\r\n\t }\r\n\t},\r\n\t// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象\r\n\tmixins: [uni.$u.mpMixin, uni.$u.mixin, transition, props],\r\n\twatch: {\r\n\t\tshow: {\r\n\t\t\thandler(newVal) {\r\n\t\t\t\t// vue和nvue分别执行不同的方法\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tnewVal ? this.nvueEnter() : this.nvueLeave()\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef APP-NVUE\r\n\t\t\t\tnewVal ? this.vueEnter() : this.vueLeave()\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\t// 表示同时监听初始化时的props的show的意思\r\n\t\t\timmediate: true\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import '../../libs/css/components.scss';\r\n\r\n/* #ifndef APP-NVUE */\r\n// vue版本动画相关的样式抽离在外部文件\r\n@import './vue.ani-style.scss';\r\n/* #endif */\r\n\r\n.u-transition {}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668839822943\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?6ca6","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?5bab","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?c4ce","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?b05d","uni-app:///node_modules/uview-ui/components/u-transition/u-transition.vue","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?752f","webpack:///C:/Users/15121/Desktop/44444/node_modules/uview-ui/components/u-transition/u-transition.vue?dbc4"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAA2uB,CAAgB,4rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACe/vB;;AAEA,0F;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA,sBADA;AAEA,MAFA,kBAEA;AACA;AACA,mBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,4BAJA,EAIA;AACA,oBALA,EAKA;AACA,iBANA,CAMA;AANA;AAQA,GAXA;AAYA;AACA,cADA,wBACA;AACA,eADA,GACA,IADA,CACA,SADA,CACA,WADA,GACA,IADA,CACA,WADA;AAEA;;AAEA,0DAFA;AAGA;AACA,qDAJA;;;AAOA,kCAPA;AAQA,eARA;;AAUA,KAbA,EAZA;;AA2BA;AACA,6EA5BA;AA6BA;AACA;AACA,aADA,mBACA,MADA,EACA;AACA;;;;;AAKA;;AAEA,OATA;AAUA;AACA,qBAXA,EADA,EA7BA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAs5C,CAAgB,2vCAAG,EAAC,C;;;;;;;;;;;ACA16C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-transition/u-transition.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&\"\nvar renderjs\nimport script from \"./u-transition.vue?vue&type=script&lang=js&\"\nexport * from \"./u-transition.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"39e33bf2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-transition/u-transition.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.inited ? _vm.__get_style([_vm.mergeStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tv-if=\"inited\"\r\n\t\tclass=\"u-transition\"\r\n\t\tref=\"u-transition\"\r\n\t\t@tap=\"clickHandler\"\r\n\t\t:class=\"classes\"\r\n\t\t:style=\"[mergeStyle]\"\r\n\t\t@touchmove=\"noop\"\r\n\t>\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport props from './props.js';\r\n// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入\r\nimport transition from \"./transition.js\";\r\n/**\r\n * transition 动画组件\r\n * @description\r\n * @tutorial\r\n * @property {String}\t\t\tshow\t\t\t是否展示组件 (默认 false )\r\n * @property {String}\t\t\tmode\t\t\t使用的动画模式 (默认 'fade' )\r\n * @property {String | Number}\tduration\t\t动画的执行时间,单位ms (默认 '300' )\r\n * @property {String}\t\t\ttimingFunction\t使用的动画过渡函数 (默认 'ease-out' )\r\n * @property {Object}\t\t\tcustomStyle\t\t自定义样式\r\n * @event {Function} before-enter\t进入前触发\r\n * @event {Function} enter\t\t\t进入中触发\r\n * @event {Function} after-enter\t进入后触发\r\n * @event {Function} before-leave\t离开前触发\r\n * @event {Function} leave\t\t\t离开中触发\r\n * @event {Function} after-leave\t离开后触发\r\n * @example\r\n */\r\nexport default {\r\n\tname: 'u-transition',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tinited: false, // 是否显示/隐藏组件\r\n\t\t\tviewStyle: {}, // 组件内部的样式\r\n\t\t\tstatus: '', // 记录组件动画的状态\r\n\t\t\ttransitionEnded: false, // 组件是否结束的标记\r\n\t\t\tdisplay: false, // 组件是否展示\r\n\t\t\tclasses: '', // 应用的类名\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t mergeStyle() {\r\n\t const { viewStyle, customStyle } = this\r\n\t return {\r\n\t // #ifndef APP-NVUE\r\n\t transitionDuration: `${this.duration}ms`,\r\n\t // display: `${this.display ? '' : 'none'}`,\r\n\t\t\t\ttransitionTimingFunction: this.timingFunction,\r\n\t // #endif\r\n\t\t\t\t// 避免自定义样式影响到动画属性,所以写在viewStyle前面\r\n\t ...uni.$u.addStyle(customStyle),\r\n\t ...viewStyle\r\n\t }\r\n\t }\r\n\t},\r\n\t// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象\r\n\tmixins: [uni.$u.mpMixin, uni.$u.mixin, transition, props],\r\n\twatch: {\r\n\t\tshow: {\r\n\t\t\thandler(newVal) {\r\n\t\t\t\t// vue和nvue分别执行不同的方法\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tnewVal ? this.nvueEnter() : this.nvueLeave()\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef APP-NVUE\r\n\t\t\t\tnewVal ? this.vueEnter() : this.vueLeave()\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\t// 表示同时监听初始化时的props的show的意思\r\n\t\t\timmediate: true\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import '../../libs/css/components.scss';\r\n\r\n/* #ifndef APP-NVUE */\r\n// vue版本动画相关的样式抽离在外部文件\r\n@import './vue.ani-style.scss';\r\n/* #endif */\r\n\r\n.u-transition {}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669297313706\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?6a5a","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?4c8f","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?55fd","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?c89e","uni-app:///pages/index.vue","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?7c84","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?cbc3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,uF,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAurB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgG3sB;AACA,MADA,kBACA;AACA;AACA,gBADA;AAEA,iBAFA;AAGA,iBAHA,EAGA;AACA;AACA;AACA,0BADA;AAEA,0BAFA;AAGA,0BAHA,CALA;;AAUA;AACA;AACA,sCADA;AAEA,kBAFA;AAGA;AACA,sCADA;AAEA,kBAFA,EAHA;AAMA;AACA,sCADA;AAEA,kBAFA,EANA;AASA;AACA,sCADA;AAEA,kBAFA,EATA,CAXA;;AAwBA;AACA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA;AAKA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA,EALA;AAUA;AACA,gCADA;AAEA,kBAFA;AAGA,oBAHA;AAIA,qBAJA,EAVA;AAeA;AACA,gCADA;AAEA,kBAFA;AAGA,oBAHA;AAIA,qBAJA,EAfA;AAoBA;AACA,gCADA;AAEA,kBAFA;AAGA,sBAHA;AAIA,qBAJA,EApBA;AAyBA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA,EAzBA,CAzBA;;AAwDA;AACA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA;;AASA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EATA;AAiBA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAjBA;AAyBA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAzBA;AAiCA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAjCA;AAyCA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAzCA,CAzDA;;;;AA6GA,GA/GA;AAgHA,QAhHA,oBAgHA,EAhHA;AAiHA,QAjHA,oBAiHA;;AAEA,GAnHA;AAoHA,aApHA,E;;;;;;;;;;;;AChGA;AAAA;AAAA;AAAA;AAAsyC,CAAgB,4tCAAG,EAAC,C;;;;;;;;;;;ACA1zC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=2a183b29&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Program Files/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\ncomponent.options.__file = \"pages/index.vue\"\nexport default component.exports","export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=2a183b29&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.current = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<!-- S 导航栏 -->\r\n\t\t<view class=\"topnav\">\r\n\t\t\t<view class=\"topnavname\">\r\n\t\t\t\t<u-navbar title=\" \" :safeAreaInsetTop=\"true\" :fixed=\"true\" :placeholder=\"true\" bgColor=\"transparent\">\r\n\t\t\t\t\t<view class=\"u-nav-slot\" slot=\"left\">\r\n\t\t\t\t\t\t大戏看北京\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-navbar>\r\n\t\t\t\t<image class=\"bg\" src=\"/static/img-home-bg1.jpg\" mode=\"\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- E 导航栏 -->\r\n\t\t<!-- S 搜索框 -->\r\n\t\t<view class=\"bgphoto\">\r\n\t\t\t<img src=\"/static/img-home-bg2.jpg\" alt=\"\">\r\n\t\t</view>\r\n\t\t<view class=\"search\">\r\n\t\t\t<view class=\"searchbox\">\r\n\t\t\t\t<view class=\"searchimg\"><img src=\"/static/search.png\" alt=\"\"></view>\r\n\t\t\t\t<view class=\"searchtext\">搜索演出、剧场关键词</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- E 搜索框 -->\r\n\t\t<view class=\"mainBox\">\r\n\t\t\t<!-- S 轮播图 -->\r\n\t\t\t<view class=\"swiper\">\r\n\t\t\t\t<u-swiper :list=\"list\" @change=\"e => current = e.current\" :autoplay=\"false\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator\">\r\n\t\t\t\t\t\t<view class=\"indicator__dot\" v-for=\"(item, index) in list\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[index === current && 'indicator__dot--active']\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 轮播图 -->\r\n\t\t\t<!--S 模块分类框 -->\r\n\t\t\t<view class=\"category\">\r\n\t\t\t\t<view class=\"categoryImg\" v-for=\"(item,index) in list2\">\r\n\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t<view class=\"\">{{item.name}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"categoryImg2\">\r\n\t\t\t\t\t<img src=\"/static/ic-ertongju.jpg\" alt=\"\">\r\n\t\t\t\t\t<view class=\"\">更多</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!--E 模块分类框 -->\r\n\t\t\t<!--S 今日演出 -->\r\n\t\t\t<view class=\"today\">\r\n\t\t\t\t<view class=\"left\">今日演出</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<view class=\"\"> 更多</view>\r\n\t\t\t\t\t<img src=\"/static/ic-arrow-more.jpg\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"scroll\">\r\n\t\t\t\t<scroll-view class=\"scroll1\" scroll-x=\"true\" scroll-left=\"120\">\r\n\t\t\t\t\t<view class=\"scroll2\" v-for=\"(item,index) in list3\">\r\n\t\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t\t<view class=\"text1\">{{item.cate}}《{{item.name}}》</view>\r\n\t\t\t\t\t\t<view class=\"text2\">当前时间-{{item.time}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 今日演出 -->\r\n\t\t\t<!-- S 更多演出 -->\r\n\t\t\t<view class=\"today\">\r\n\t\t\t\t<view class=\"left\">更多演出</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<view class=\"\"> 更多</view>\r\n\t\t\t\t\t<img src=\"/static/ic-arrow-more.jpg\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<view class=\"todprogram\" v-for=\"(item,index) in list4\">\r\n\t\t\t\t\t<view class=\"drama\">话剧</view>\r\n\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t<view class=\"nameText\">{{item.cate}}《{{item.name}}》</view>\r\n\t\t\t\t\t\t<view class=\"timeText\">{{item.starttime}}-{{item.endtime}}</view>\r\n\t\t\t\t\t\t<view class=\"addressText\">{{item.add}} | 天桥艺术中心-多功能厅</view>\r\n\t\t\t\t\t\t<view class=\"priceText\"><text> ¥{{item.price}}</text> 起</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 更多演出 -->\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tkeyword: '',\r\n\t\t\t\tshow: false, //控制分类弹出层\r\n\t\t\t\t//轮播图数组\r\n\t\t\t\tlist: [\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t],\r\n\t\t\t\t//分类数组\r\n\t\t\t\tlist2: [{\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"话剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"戏剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"京剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"摇滚\"\r\n\t\t\t\t}],\r\n\t\t\t\t//今日演出数组\r\n\t\t\t\tlist3: [{\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"四世同堂\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"超级英雄\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"小蝌蚪找妈妈\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}],\r\n\t\t\t\t//今日演出数组\r\n\t\t\t\tlist4: [{\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}]\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t//页面背景色\r\n\tpage {\r\n\t\tbackground: white;\r\n\t}\r\n\r\n\t//版心\r\n\t.mainBox {\r\n\t\twidth: 702rpx;\r\n\t\tmargin: 16rpx auto 0;\r\n\t}\r\n\r\n\t// 顶部导航栏\r\n\t.topnav {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tz-index: 999999;\r\n\r\n\t\t.topnavname {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 176rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.u-nav-slot {\r\n\t\tz-index: 999;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 40rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t//背景图片\r\n\t.bgphoto {\r\n\t\tposition: absolute;\r\n\t\tz-index: -1;\r\n\t\ttop: 172rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 230rpx;\r\n\t\t\tmargin-top: 5rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t// 轮播\r\n\t.indicator {\r\n\t\t@include flex(row);\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__dot {\r\n\t\t\theight: 6px;\r\n\t\t\twidth: 6px;\r\n\t\t\tborder-radius: 100px;\r\n\t\t\tbackground-color: rgba(255, 255, 255, 0.35);\r\n\t\t\tmargin: 0 5px;\r\n\t\t\ttransition: background-color 0.3s;\r\n\r\n\t\t\t&--active {\r\n\t\t\t\tbackground-color: #ffffff;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.indicator-num {\r\n\t\t@include flex;\r\n\t\tjustify-content: center;\r\n\t\tpadding: 2px 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.35);\r\n\t\twidth: 35px;\r\n\t\tborder-radius: 100px;\r\n\r\n\t\t&__text {\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tfont-size: 12px;\r\n\t\t}\r\n\t}\r\n\r\n\t//搜索框\r\n\t.search {\r\n\t\tmargin: 188rpx 24rpx 0 24rpx;\r\n\r\n\t\t.searchbox {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 64rpx;\r\n\t\t\tborder-radius: 38rpx;\r\n\t\t\tbackground: rgba(72, 11, 11, 0.16);\r\n\r\n\t\t\timg {\r\n\t\t\t\tmargin-left: 24rpx;\r\n\t\t\t\twidth: 32rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.searchtext {\r\n\t\t\t\tcolor: rgba(255, 255, 255, 0.85);\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tmargin-left: 8rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t.category {\r\n\t\tdisplay: flex;\r\n\t\tmargin: 32rpx 8rpx 40rpx;\r\n\r\n\t\t.categoryImg {\r\n\t\t\tflex: 1;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tflex-direction: column;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 24rpx;\r\n\r\n\t\t\timg {\r\n\t\t\t\twidth: 96rpx;\r\n\t\t\t\theight: 96rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//分类模块\r\n\t.categoryImg2 {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 24rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 96rpx;\r\n\t\t\theight: 96rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t//今日、更多演出文字\r\n\t.today {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tmargin-bottom: 16rpx;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 36rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 24rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 16rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//今日演出滑动\r\n\t.scroll {\r\n\t\tmargin-top: 16rpx;\r\n\t\tmargin-bottom: 64rpx;\r\n\r\n\t\t.scroll1 {\r\n\t\t\twhite-space: nowrap;\r\n\t\t\twidth: 100%;\r\n\r\n\t\t\t.text1 {\r\n\t\t\t\theight: 64rpx;\r\n\t\t\t\twidth: 194rpx;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\tword-wrap: break-word;\r\n\t\t\t\twhite-space: normal !important;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.text2 {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.scroll2 {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\t// height: 300rpx;\r\n\t\t\tmargin-right: 16rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 194rpx;\r\n\t\t\t\theight: 260rpx;\r\n\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//更多演出列表\r\n\t.todprogram {\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tmargin-bottom: 40rpx;\r\n\r\n\t\t.left {\r\n\t\t\tmargin-right: 16rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 196rpx;\r\n\t\t\t\theight: 270rpx;\r\n\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.drama {\r\n\t\t\tbackground: rgba(0, 0, 0, 0.6);\r\n\t\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\t\tfont-size: 20rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 8rpx;\r\n\t\t\tleft: 8rpx;\r\n\t\t\tpadding: 0 4rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tborder-radius: 6rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\theight: 270rpx;\r\n\r\n\t\t\t.nameText {\r\n\t\t\t\twidth: 490rpx;\r\n\t\t\t\tmargin-bottom: 12rpx;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t}\r\n\r\n\t\t\t.timeText {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin-bottom: 12rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.addressText {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin-bottom: 94rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.priceText {\r\n\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 22rpx;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tcolor: rgba(244, 39, 88, 1);\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tfont-weight: 700;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.bg {\r\n\t\tposition: fixed;\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 176rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n\r\n\t.u-navbar__content__left {\r\n\t\twidth: 100% !important;\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668845257933\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | ||
1 | +{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?4c8f","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?55fd","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?c89e","uni-app:///pages/index.vue","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?7c84","webpack:///C:/Users/15121/Desktop/xytext1119/pages/index.vue?cbc3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,uF,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAurB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgG3sB;AACA,MADA,kBACA;AACA;AACA,gBADA;AAEA,iBAFA;AAGA,iBAHA,EAGA;AACA;AACA;AACA,0BADA;AAEA,0BAFA;AAGA,0BAHA,CALA;;AAUA;AACA;AACA,sCADA;AAEA,kBAFA;AAGA;AACA,sCADA;AAEA,kBAFA,EAHA;AAMA;AACA,sCADA;AAEA,kBAFA,EANA;AASA;AACA,sCADA;AAEA,kBAFA,EATA,CAXA;;AAwBA;AACA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA;AAKA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA,EALA;AAUA;AACA,gCADA;AAEA,kBAFA;AAGA,oBAHA;AAIA,qBAJA,EAVA;AAeA;AACA,gCADA;AAEA,kBAFA;AAGA,oBAHA;AAIA,qBAJA,EAfA;AAoBA;AACA,gCADA;AAEA,kBAFA;AAGA,sBAHA;AAIA,qBAJA,EApBA;AAyBA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,qBAJA,EAzBA,CAzBA;;AAwDA;AACA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA;;AASA;AACA,gCADA;AAEA,kBAFA;AAGA,kBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EATA;AAiBA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAjBA;AAyBA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAzBA;AAiCA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAjCA;AAyCA;AACA,gCADA;AAEA,kBAFA;AAGA,mBAHA;AAIA,+BAJA;AAKA,6BALA;AAMA,kBANA;AAOA,mBAPA,EAzCA,CAzDA;;;;AA6GA,GA/GA;AAgHA,QAhHA,oBAgHA,EAhHA;AAiHA,QAjHA,oBAiHA;;AAEA,GAnHA;AAoHA,aApHA,E;;;;;;;;;;;;AChGA;AAAA;AAAA;AAAA;AAAsyC,CAAgB,4tCAAG,EAAC,C;;;;;;;;;;;ACA1zC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=2a183b29&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Program Files/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\ncomponent.options.__file = \"pages/index.vue\"\nexport default component.exports","export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=2a183b29&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.current = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<!-- S 导航栏 -->\r\n\t\t<view class=\"topnav\">\r\n\t\t\t<view class=\"topnavname\">\r\n\t\t\t\t<u-navbar title=\" \" :safeAreaInsetTop=\"true\" :fixed=\"true\" :placeholder=\"true\" bgColor=\"transparent\">\r\n\t\t\t\t\t<view class=\"u-nav-slot\" slot=\"left\">\r\n\t\t\t\t\t\t大戏看北京\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-navbar>\r\n\t\t\t\t<image class=\"bg\" src=\"/static/img-home-bg1.jpg\" mode=\"\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- E 导航栏 -->\r\n\t\t<!-- S 搜索框 -->\r\n\t\t<view class=\"bgphoto\">\r\n\t\t\t<img src=\"/static/img-home-bg2.jpg\" alt=\"\">\r\n\t\t</view>\r\n\t\t<view class=\"search\">\r\n\t\t\t<view class=\"searchbox\">\r\n\t\t\t\t<view class=\"searchimg\"><img src=\"/static/search.png\" alt=\"\"></view>\r\n\t\t\t\t<view class=\"searchtext\">搜索演出、剧场关键词</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- E 搜索框 -->\r\n\t\t<view class=\"mainBox\">\r\n\t\t\t<!-- S 轮播图 -->\r\n\t\t\t<view class=\"swiper\">\r\n\t\t\t\t<u-swiper :list=\"list\" @change=\"e => current = e.current\" :autoplay=\"false\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator\">\r\n\t\t\t\t\t\t<view class=\"indicator__dot\" v-for=\"(item, index) in list\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[index === current && 'indicator__dot--active']\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 轮播图 -->\r\n\t\t\t<!--S 模块分类框 -->\r\n\t\t\t<view class=\"category\">\r\n\t\t\t\t<view class=\"categoryImg\" v-for=\"(item,index) in list2\">\r\n\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t<view class=\"\">{{item.name}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"categoryImg2\">\r\n\t\t\t\t\t<img src=\"/static/ic-ertongju.jpg\" alt=\"\">\r\n\t\t\t\t\t<view class=\"\">更多</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!--E 模块分类框 -->\r\n\t\t\t<!--S 今日演出 -->\r\n\t\t\t<view class=\"today\">\r\n\t\t\t\t<view class=\"left\">今日演出</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<view class=\"\"> 更多</view>\r\n\t\t\t\t\t<img src=\"/static/ic-arrow-more.jpg\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"scroll\">\r\n\t\t\t\t<scroll-view class=\"scroll1\" scroll-x=\"true\" scroll-left=\"120\">\r\n\t\t\t\t\t<view class=\"scroll2\" v-for=\"(item,index) in list3\">\r\n\t\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t\t<view class=\"text1\">{{item.cate}}《{{item.name}}》</view>\r\n\t\t\t\t\t\t<view class=\"text2\">当前时间-{{item.time}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 今日演出 -->\r\n\t\t\t<!-- S 更多演出 -->\r\n\t\t\t<view class=\"today\">\r\n\t\t\t\t<view class=\"left\">更多演出</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<view class=\"\"> 更多</view>\r\n\t\t\t\t\t<img src=\"/static/ic-arrow-more.jpg\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<view class=\"todprogram\" v-for=\"(item,index) in list4\">\r\n\t\t\t\t\t<view class=\"drama\">话剧</view>\r\n\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t<img :src=\"item.img\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t<view class=\"nameText\">{{item.cate}}《{{item.name}}》</view>\r\n\t\t\t\t\t\t<view class=\"timeText\">{{item.starttime}}-{{item.endtime}}</view>\r\n\t\t\t\t\t\t<view class=\"addressText\">{{item.add}} | 天桥艺术中心-多功能厅</view>\r\n\t\t\t\t\t\t<view class=\"priceText\"><text> ¥{{item.price}}</text> 起</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- E 更多演出 -->\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tkeyword: '',\r\n\t\t\t\tshow: false, //控制分类弹出层\r\n\t\t\t\t//轮播图数组\r\n\t\t\t\tlist: [\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t\t'/static/banner.jpg',\r\n\t\t\t\t],\r\n\t\t\t\t//分类数组\r\n\t\t\t\tlist2: [{\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"话剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"戏剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"京剧\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/ic-ertongju.jpg\",\r\n\t\t\t\t\tname: \"摇滚\"\r\n\t\t\t\t}],\r\n\t\t\t\t//今日演出数组\r\n\t\t\t\tlist3: [{\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"四世同堂\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"超级英雄\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"小蝌蚪找妈妈\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\ttime: \"12.02\"\r\n\t\t\t\t}],\r\n\t\t\t\t//今日演出数组\r\n\t\t\t\tlist4: [{\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"话剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\timg: \"/static/goods.jpg\",\r\n\t\t\t\t\tcate: \"京剧\",\r\n\t\t\t\t\tname: \"簋街街\",\r\n\t\t\t\t\tstarttime: \"2022.04.06\",\r\n\t\t\t\t\tendtime: \"2022.05.07\",\r\n\t\t\t\t\tadd: \"西城区\",\r\n\t\t\t\t\tprice: \"80\",\r\n\t\t\t\t}]\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t//页面背景色\r\n\tpage {\r\n\t\tbackground: white;\r\n\t}\r\n\r\n\t//版心\r\n\t.mainBox {\r\n\t\twidth: 702rpx;\r\n\t\tmargin: 16rpx auto 0;\r\n\t}\r\n\r\n\t// 顶部导航栏\r\n\t.topnav {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tz-index: 999999;\r\n\r\n\t\t.topnavname {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 176rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.u-nav-slot {\r\n\t\tz-index: 999;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 40rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t//背景图片\r\n\t.bgphoto {\r\n\t\tposition: absolute;\r\n\t\tz-index: -1;\r\n\t\ttop: 172rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 230rpx;\r\n\t\t\tmargin-top: 5rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t// 轮播\r\n\t.indicator {\r\n\t\t@include flex(row);\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__dot {\r\n\t\t\theight: 6px;\r\n\t\t\twidth: 6px;\r\n\t\t\tborder-radius: 100px;\r\n\t\t\tbackground-color: rgba(255, 255, 255, 0.35);\r\n\t\t\tmargin: 0 5px;\r\n\t\t\ttransition: background-color 0.3s;\r\n\r\n\t\t\t&--active {\r\n\t\t\t\tbackground-color: #ffffff;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.indicator-num {\r\n\t\t@include flex;\r\n\t\tjustify-content: center;\r\n\t\tpadding: 2px 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.35);\r\n\t\twidth: 35px;\r\n\t\tborder-radius: 100px;\r\n\r\n\t\t&__text {\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tfont-size: 12px;\r\n\t\t}\r\n\t}\r\n\r\n\t//搜索框\r\n\t.search {\r\n\t\tmargin: 188rpx 24rpx 0 24rpx;\r\n\r\n\t\t.searchbox {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 64rpx;\r\n\t\t\tborder-radius: 38rpx;\r\n\t\t\tbackground: rgba(72, 11, 11, 0.16);\r\n\r\n\t\t\timg {\r\n\t\t\t\tmargin-left: 24rpx;\r\n\t\t\t\twidth: 32rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.searchtext {\r\n\t\t\t\tcolor: rgba(255, 255, 255, 0.85);\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tmargin-left: 8rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t.category {\r\n\t\tdisplay: flex;\r\n\t\tmargin: 32rpx 8rpx 40rpx;\r\n\r\n\t\t.categoryImg {\r\n\t\t\tflex: 1;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tflex-direction: column;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 24rpx;\r\n\r\n\t\t\timg {\r\n\t\t\t\twidth: 96rpx;\r\n\t\t\t\theight: 96rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//分类模块\r\n\t.categoryImg2 {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 24rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 96rpx;\r\n\t\t\theight: 96rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t//今日、更多演出文字\r\n\t.today {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tmargin-bottom: 16rpx;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 36rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 24rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 16rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//今日演出滑动\r\n\t.scroll {\r\n\t\tmargin-top: 16rpx;\r\n\t\tmargin-bottom: 64rpx;\r\n\r\n\t\t.scroll1 {\r\n\t\t\twhite-space: nowrap;\r\n\t\t\twidth: 100%;\r\n\r\n\t\t\t.text1 {\r\n\t\t\t\theight: 64rpx;\r\n\t\t\t\twidth: 194rpx;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\tword-wrap: break-word;\r\n\t\t\t\twhite-space: normal !important;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.text2 {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.scroll2 {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\t// height: 300rpx;\r\n\t\t\tmargin-right: 16rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 194rpx;\r\n\t\t\t\theight: 260rpx;\r\n\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//更多演出列表\r\n\t.todprogram {\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tmargin-bottom: 40rpx;\r\n\r\n\t\t.left {\r\n\t\t\tmargin-right: 16rpx;\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 196rpx;\r\n\t\t\t\theight: 270rpx;\r\n\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.drama {\r\n\t\t\tbackground: rgba(0, 0, 0, 0.6);\r\n\t\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\t\tfont-size: 20rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 8rpx;\r\n\t\t\tleft: 8rpx;\r\n\t\t\tpadding: 0 4rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tborder-radius: 6rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\theight: 270rpx;\r\n\r\n\t\t\t.nameText {\r\n\t\t\t\twidth: 490rpx;\r\n\t\t\t\tmargin-bottom: 12rpx;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t}\r\n\r\n\t\t\t.timeText {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin-bottom: 12rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.addressText {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin-bottom: 94rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.priceText {\r\n\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 22rpx;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tcolor: rgba(244, 39, 88, 1);\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tfont-weight: 700;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.bg {\r\n\t\tposition: fixed;\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 176rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n\r\n\t.u-navbar__content__left {\r\n\t\twidth: 100% !important;\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1668847915736\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | +{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?4975","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?7500","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?af8d","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?4798","uni-app:///pages/result/result.vue","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?53fe","webpack:///C:/Users/15121/Desktop/text3/pages/result/result.vue?ed05"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,gG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AACuL;AACvL,gBAAgB,2LAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,2aAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAusB,CAAgB,srBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmC3tB;AACA,MADA,kBACA;AACA;AACA,qBADA;AAEA,qCAFA;AAGA;AACA,oBADA;AAEA;AACA,oBADA,EAFA;AAIA;AACA,kBADA,EAJA;AAMA;AACA,kBADA,EANA;AAQA;AACA,kBADA,EARA;AAUA;AACA,kBADA,EAVA;AAYA;AACA,kBADA,EAZA;AAcA;AACA,kBADA,EAdA;AAgBA;AACA,kBADA,EAhBA,CAHA;;;AAuBA,GAzBA;AA0BA;AACA,SADA,iBACA,IADA,EACA;AACA;AACA,KAHA,EA1BA,E;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAk0C,CAAgB,6tCAAG,EAAC,C;;;;;;;;;;;ACAt1C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/result/result.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/result/result.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./result.vue?vue&type=template&id=8b0659b4&\"\nvar renderjs\nimport script from \"./result.vue?vue&type=script&lang=js&\"\nexport * from \"./result.vue?vue&type=script&lang=js&\"\nimport style0 from \"./result.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Program Files/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\ncomponent.options.__file = \"pages/result/result.vue\"\nexport default component.exports","export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./result.vue?vue&type=template&id=8b0659b4&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n customWaterfallsFlow: function() {\n return import(\n /* webpackChunkName: \"uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow\" */ \"@/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./result.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./result.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!--S 搜索 -->\r\n\t\t<u-navbar leftText=\"返回\" title=\"1\" :safeAreaInsetTop=\"true\" :bgColor=\"bgColor\" :placeholder=\"true\">\r\n\t\t\t<view class=\"u-nav-slot\" slot=\"left\">\r\n\t\t\t\t<u-search :animation='false' placeholder=\"请输入商品名称\" @search=\"search\" v-model=\"keyword\"\r\n\t\t\t\t\t:showAction=\"false\" :bgColor=\"bgColor1\"></u-search>\r\n\t\t\t</view>\r\n\t\t</u-navbar>\r\n\t\t\r\n\t\t<!-- 瀑布流 -->\r\n\t\t<custom-waterfalls-flow :value=\"list\" @imageClick=\"imageClick\">\r\n\t\t\t<!-- #ifdef MP-WEIXIN -->\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"title\">5555</view>\r\n\t\t\t\t<view class=\"desc\">所属分类:55555</view>\r\n\t\t\t\t<view> 55555</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- #endif -->\r\n\t\t\t<!-- #ifndef MP-WEIXIN -->\r\n\t\t\t<template v-slot:default=\"item\">\r\n\t\t\t\t<view class=\"item\">\r\n\t\t\t\t\t<view class=\"title\">5555</view>\r\n\t\t\t\t\t<view class=\"desc\">所属分类:55555</view>\r\n\t\t\t\t\t<view> 55555</view>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<!-- #endif -->\r\n\t\t</custom-waterfalls-flow>\r\n\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbgColor: '#fff',\r\n\t\t\t\tbgColor1: 'rgba(247,248,250,1)',\r\n\t\t\t\tlist1: [{\r\n\t\t\t\t\tname: '美容美发',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '长发造型',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '电影'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '科技'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '音乐'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '美食'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '文化'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '财经'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '手工'\r\n\t\t\t\t}]\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclick(item) {\r\n\t\t\t\tconsole.log('item', item);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: #F6F9F8;\r\n\t}\r\n\r\n\t.u-navbar__content__title.data-v-75dad532 {\r\n\t\tdisplay: none !important;\r\n\t}\r\n\r\n\t.u-navbar {\r\n\t\t.u-nav-slot {\r\n\t\t\tdisplay: flex;\r\n\t\t}\r\n\t}\r\n\r\n\t.u-search__content.data-v-1a326067 {\r\n\t\tmargin-left: 20rpx;\r\n\t}\r\n\r\n\t.top {\r\n\t\tbackground: #fff;\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./result.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./result.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669284284807\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | +{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/15121/Desktop/44444/pages/text3/text3.vue?9046","webpack:///C:/Users/15121/Desktop/44444/pages/text3/text3.vue?f223","webpack:///C:/Users/15121/Desktop/44444/pages/text3/text3.vue?c209","uni-app:///pages/text3/text3.vue","webpack:///C:/Users/15121/Desktop/44444/pages/text3/text3.vue?eb0a","webpack:///C:/Users/15121/Desktop/44444/pages/text3/text3.vue?9690"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,4F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACuL;AACvL,gBAAgB,2LAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAssB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyE1tB,4D;;;;;AAKA;AACA;AACA,kCADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,qBADA;AAEA,mBAFA;AAGA,kBAHA;AAIA,qBAJA;AAKA,iBALA;AAMA;AACA,iBAPA;AAQA,kBARA;AASA,kBATA;AAUA,cAVA;AAWA,aAXA;AAYA,cAZA;AAaA,gBAbA,EAaA;AACA,iBAdA;AAeA,gBAfA;AAgBA;AACA,oBADA;AAEA;AACA,oBADA,EAFA;AAIA;AACA,kBADA,EAJA;AAMA;AACA,kBADA,EANA;AAQA;AACA,kBADA,EARA;AAUA;AACA,kBADA,EAVA;AAYA;AACA,kBADA,EAZA;AAcA;AACA,kBADA,EAdA;AAgBA;AACA,kBADA,EAhBA,CAhBA;;AAmCA,cAnCA;;AAqCA,GA1CA;AA2CA,QA3CA,oBA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAnDA;AAoDA,QApDA,oBAoDA;;AAEA,GAtDA;;AAwDA;AACA;AACA,WAFA,qBAEA;;AAEA,yGAFA,SAEA,GAFA;AAGA;AACA;AAJA;AAMA;AACA,oCADA;AAEA,8BAFA;;AAIA,oDAVA;;AAYA,KAdA;AAeA;AACA,cAhBA,wBAgBA;;AAEA,gFAFA,SAEA,GAFA;AAGA;AACA;AACA;AACA;AANA;AAQA;AACA,qCADA;AAEA,8BAFA;;AAIA,wDAZA;;AAcA,KA9BA;AA+BA,SA/BA,mBA+BA;AACA;AACA,KAjCA;AAkCA,WAlCA,mBAkCA,IAlCA,EAkCA;AACA;AACA;AACA;AACA;AACA,KAvCA;AAwCA,OAxCA,eAwCA,IAxCA,EAwCA;AACA;AACA;AACA;AACA;AACA,KA7CA;AA8CA,WA9CA,qBA8CA;;AAEA,KAhDA;AAiDA,UAjDA,kBAiDA,CAjDA,EAiDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7DA;;AA+DA,cA/DA,wBA+DA;AACA;AACA,KAjEA;AAkEA,aAlEA,uBAkEA;AACA;AACA,KApEA;AAqEA;AACA,cAtEA,wBAsEA;AACA;AACA;AACA;AACA;AACA,qBADA;;;AAIA,KA9EA;AA+EA,SA/EA,iBA+EA,IA/EA,EA+EA;AACA;AACA;AACA;AACA,KAnFA;AAoFA,SApFA,iBAoFA,IApFA,EAoFA;AACA;AACA,KAtFA,EAxDA,E;;;;;;;;;;;;;AC9EA;AAAA;AAAA;AAAA;AAAi0C,CAAgB,4tCAAG,EAAC,C;;;;;;;;;;;ACAr1C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/text3/text3.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/text3/text3.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./text3.vue?vue&type=template&id=b844a8d8&\"\nvar renderjs\nimport script from \"./text3.vue?vue&type=script&lang=js&\"\nexport * from \"./text3.vue?vue&type=script&lang=js&\"\nimport style0 from \"./text3.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Program Files/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\ncomponent.options.__file = \"pages/text3/text3.vue\"\nexport default component.exports","export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./text3.vue?vue&type=template&id=b844a8d8&\"","var render = function () {}\nvar staticRenderFns = []\nvar recyclableRender\nvar components\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./text3.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./text3.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<!--S 搜索 -->\r\n\t\t<u-navbar leftText=\"返回\" title=\"88888\" :safeAreaInsetTop=\"true\" :bgColor=\"bgColor\" :placeholder=\"true\">\r\n\t\t\t<view class=\"u-nav-slot\" slot=\"left\">\r\n\t\t\t\t<image src=\"/static/ic-back.png\" mode=\"\" style=\"width: 32rpx;height: 32rpx;\" @click=\"toIndex()\">\r\n\t\t\t\t\t<u-search :animation='false' placeholder=\"请输入商品名称\" @search=\"search\" v-model=\"keywords\"\r\n\t\t\t\t\t\t@focus=\"focus\" :showAction=\"false\" :bgColor=\"bg\"></u-search>\r\n\t\t\t</view>\r\n\t\t</u-navbar>\r\n\t\t<!--S 分类 -->\r\n\t\t<view class=\"cate\">\r\n\t\t\t<u-tabs :list=\"list1\" @click=\"click\" lineColor='#641BFD' lineWidth='40'></u-tabs>\r\n\t\t</view>\r\n\t\t<!-- S 版心 -->\r\n\t\t<view class=\"mainBox\" v-if=\"status2==1\">\r\n\t\t\t<!--S 历史搜索 -->\r\n\t\t\t<view class=\"history\" v-if=\"historyList.length\">\r\n\t\t\t\t<view class=\"histop\">\r\n\t\t\t\t\t<view class=\"topleft\">历史搜索</view>\r\n\t\t\t\t\t<image src=\"../../static/ic_trash.png\" mode=\"\" @click=\"delHistroy\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"hisbot\">\r\n\t\t\t\t\t<view class=\"\" v-for=\"(item,index) in historyList\" :key=\"index\" @click=\"tohis(item)\">{{item}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<!--S 热门搜索 -->\r\n\t\t\t<view class=\"hotsearch\">\r\n\t\t\t\t<view class=\"hot\">\r\n\t\t\t\t\t<image src=\"/static/ic_hot.png\" mode=\"\"></image>热门搜索\r\n\t\t\t\t</view>\r\n\t\t\t\t<!--S 热门搜索列表 -->\r\n\t\t\t\t<view class=\"hotlist\">\r\n\t\t\t\t\t<view class=\"leftlist\">\r\n\t\t\t\t\t\t<view class=\"listitem\" v-for=\"(item,idx) in hotlist1\" :key=\"idx\" @click=\"hot(item)\">\r\n\t\t\t\t\t\t\t<view class=\"index\"\r\n\t\t\t\t\t\t\t\t:style=\"{background:idx==0?'#F33F2E':idx==1?'#F4B740':idx==2?'#A3B4E0':'#C8C9CC'}\">\r\n\t\t\t\t\t\t\t\t{{idx+1}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"listtext\">{{item.name}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"line\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"rightlist\" @click=\"hot(item)\">\r\n\t\t\t\t\t\t<view class=\"listitem\" v-for=\"(item,idx) in hotlist2\" :key=\"idx\">\r\n\t\t\t\t\t\t\t<view class=\"index\">{{idx+6}}</view>\r\n\t\t\t\t\t\t\t<view class=\"listtext\">{{item.name}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 瀑布流 -->\r\n\t\t<view class=\"water\">\r\n\t\t\t<waterfallsFlow :list=\"list\">\r\n\t\t\t\t<template v-slot:default=\"item\">\r\n\t\t\t\t\t<!-- 此处添加插槽内容 -->\r\n\t\t\t\t\t<view class=\"cnt\">\r\n\t\t\t\t\t\t<view class=\"title\">{{item.title}}</view>\r\n\t\t\t\t\t\t<view class=\"text\">{{item.text}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</template>\r\n\t\t\t</waterfallsFlow>\r\n\t\t</view>\r\n\t\t<!--S 提示框 -->\r\n\t\t<u-modal :show=\"show\" title=\"提示\" content='您确定要删除历史记录吗?删除后不可恢复' :showCancelButton='true' @cancel=\"cancelDel\"\r\n\t\t\t@confirm=\"confirmDel\"></u-modal>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tsearchList,\r\n\t\tgetlist\r\n\t} from '@/api/index.js'\r\n\timport waterfallsFlow from \"@/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue\";\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\twaterfallsFlow\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbgColor: '#fff',\r\n\t\t\t\tbg: '#F6F8FA',\r\n\t\t\t\tkeywords: '',\r\n\t\t\t\thistoryList: [],\r\n\t\t\t\tshow: false,\r\n\t\t\t\t//热门搜索\r\n\t\t\t\thotList: [],\r\n\t\t\t\thotlist1: [],\r\n\t\t\t\thotlist2: [],\r\n\t\t\t\torder: 1,\r\n\t\t\t\tpage: 1,\r\n\t\t\t\trows: 10,\r\n\t\t\t\ttype_id: 1, //论坛类型\r\n\t\t\t\tbqstatus: 1,\r\n\t\t\t\tstatus2: 1,\r\n\t\t\t\tlist1: [{\r\n\t\t\t\t\tname: '美容美发',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '长发造型',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '电影'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '科技'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '音乐'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '美食'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '文化'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '财经'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '手工'\r\n\t\t\t\t}],\r\n\t\t\t\tlist: []\r\n\t\t\t};\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tuni.setStorageSync('token', '781bb514-342d-4a67-9086-758b4e6477c0')\r\n\t\t\tthis.searchList()\r\n\t\t\tlet historyList1 = []\r\n\t\t\tif (uni.getStorageSync('histroyList')) {\r\n\t\t\t\thistoryList1 = uni.getStorageSync('histroyList')\r\n\t\t\t}\r\n\t\t\tthis.historyList = historyList1\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\t//搜索\r\n\t\t\tasync getlist() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconst res = await getlist(this.type_id, this.keywords, this.order, this.page, this.rows)\r\n\t\t\t\t\tthis.list = res.data\r\n\t\t\t\t\t// 保存数据\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: err,\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tconsole.log('getlist', err)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//热门搜索\r\n\t\t\tasync searchList() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconst res = await searchList(this.order, this.page, this.rows)\r\n\t\t\t\t\tthis.hotList = res.data\r\n\t\t\t\t\tthis.hotlist1 = this.hotList.slice(0, 5)\r\n\t\t\t\t\tthis.hotlist2 = this.hotList.slice(5)\r\n\t\t\t\t\t// 保存数据\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: err,\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tconsole.log('searchList', err)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfocus() {\r\n\t\t\t\tthis.bqstatus = 1\r\n\t\t\t},\r\n\t\t\tsearch2(item) {\r\n\t\t\t\tthis.keywords = item\r\n\t\t\t\tthis.bqstatus = 2\r\n\t\t\t\tthis.status2 = 2\r\n\t\t\t\tthis.getlist()\r\n\t\t\t},\r\n\t\t\thot(item) {\r\n\t\t\t\tthis.keywords = item\r\n\t\t\t\tthis.bqstatus = 2\r\n\t\t\t\tthis.status2 = 2\r\n\t\t\t\tthis.getlist()\r\n\t\t\t},\r\n\t\t\ttoIndex() {\r\n\r\n\t\t\t},\r\n\t\t\tsearch(e) {\r\n\t\t\t\t// console.log(e)\r\n\t\t\t\tif (e.length) {\r\n\t\t\t\t\tthis.historyList.push(e)\r\n\t\t\t\t\tthis.historyList = [...new Set(this.historyList)]\r\n\t\t\t\t\tthis.isSearch = 2\r\n\t\t\t\t\tthis.getlist()\r\n\t\t\t\t}\r\n\t\t\t\tif (this.historyList.length > 10) {\r\n\t\t\t\t\tthis.historyList.splice(0, 1)\r\n\t\t\t\t}\r\n\t\t\t\tuni.setStorageSync('histroyList', this.historyList)\r\n\t\t\t},\r\n\r\n\t\t\tdelHistroy() {\r\n\t\t\t\tthis.show = true\r\n\t\t\t},\r\n\t\t\tcancelDel() {\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\t//确认删除\r\n\t\t\tconfirmDel() {\r\n\t\t\t\tthis.historyList = []\r\n\t\t\t\tthis.show = false\r\n\t\t\t\tuni.clearStorageSync('histroyList')\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '删除成功'\r\n\t\t\t\t})\r\n\r\n\t\t\t},\r\n\t\t\ttohis(item) {\r\n\t\t\t\tthis.keywords = item\r\n\t\t\t\tthis.status2 = 2\r\n\t\t\t\tthis.getlist()\r\n\t\t\t},\r\n\t\t\tclick(item) {\r\n\t\t\t\tconsole.log('item', item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: #FFFFFF;\r\n\t}\r\n\r\n\t.u-navbar__content__title.data-v-75dad532 {\r\n\t\tdisplay: none !important;\r\n\t}\r\n\r\n\t.u-navbar {\r\n\t\t.u-nav-slot {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\r\n\t.u-search__content.data-v-1a326067 {\r\n\t\tmargin-left: 20rpx;\r\n\t}\r\n\r\n\t.cate {\r\n\t\tbackground: white;\r\n\t}\r\n\r\n\t//版心内容\r\n\t.mainBox {\r\n\t\tmargin: 34rpx auto 0;\r\n\t\twidth: 686rpx;\r\n\r\n\t\t.history {\r\n\t\t\t.histop {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tmargin-top: 34rpx;\r\n\t\t\t\tmargin-bottom: 32rpx;\r\n\t\t\t\tcolor: rgba(50, 50, 51, 1);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tline-height: 36rpx;\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 32rpx;\r\n\t\t\t\t\theight: 32rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.hisbot {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-wrap: wrap;\r\n\r\n\t\t\t\tview {\r\n\t\t\t\t\tpadding: 0 12rpx;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tline-height: 48rpx;\r\n\t\t\t\t\tborder-radius: 154rpx;\r\n\t\t\t\t\tbackground-color: #F7F8FA;\r\n\t\t\t\t\tmargin-right: 24rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.hisbotitem {\r\n\t\t\t\t\tdisplay: flex;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.hotsearch {\r\n\t\t\tmargin-top: 64rpx;\r\n\t\t\tpadding: 34rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\theight: 460rpx;\r\n\t\t\tborder-radius: 20rpx;\r\n\t\t\tbackground: linear-gradient(180.1deg, rgba(254, 242, 240, 1) 0%, rgba(255, 251, 248, 1) 35%, rgba(255, 255, 255, 0) 100%);\r\n\r\n\t\t\t.hot {\r\n\t\t\t\tcolor: rgba(50, 50, 51, 1);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\tmargin-bottom: 40rpx;\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 32rpx;\r\n\t\t\t\t\theight: 32rpx;\r\n\t\t\t\t\tmargin-right: 10rpx;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.hotlist {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t.leftlist {\r\n\t\t\t\t\t.listitem {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tcolor: rgba(50, 50, 51, 1);\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tmargin-bottom: 32rpx;\r\n\r\n\t\t\t\t\t\t.listtext {\r\n\t\t\t\t\t\t\twidth: 246rpx;\r\n\t\t\t\t\t\t\twidth: 246rpx;\r\n\t\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.line {\r\n\t\t\t\t\tmargin: 0 20rpx;\r\n\t\t\t\t\twidth: 2rpx;\r\n\t\t\t\t\theight: 328rpx;\r\n\t\t\t\t\tbackground: #c7c9ca;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.rightlist {\r\n\t\t\t\t\t.listitem {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tcolor: rgba(50, 50, 51, 1);\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tmargin-bottom: 32rpx;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.listtext {\r\n\t\t\t\t\t\twidth: 246rpx;\r\n\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.index {\r\n\t\t\t\t// text-align: center;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tmargin-right: 16rpx;\r\n\t\t\t\twidth: 24rpx;\r\n\t\t\t\theight: 24rpx;\r\n\t\t\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\tbackground: rgba(200, 201, 204, 1);\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./text3.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./text3.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669298470452\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?927f","webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?f5aa","webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?4248","webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?7328","uni-app:///uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue","webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?31b9","webpack:///C:/Users/15121/Desktop/text3/uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue?7779"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+I;AAC/I;AAC0E;AACL;AACsC;;;AAG3G;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,4FAAM;AACR,EAAE,6GAAM;AACR,EAAE,sHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iHAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AAAqvB,CAAgB,ssBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoCzwB;AACA;AACA,gBADA;AAEA;AACA,4BADA;AAEA,gBAFA,EAFA;;AAMA;AACA,4BADA;AAEA,gBAFA,EANA;;AAUA;AACA,4BADA;AAEA,gBAFA,EAVA;;AAcA;AACA,oBADA;AAEA,sBAFA,EAdA;;AAkBA;AACA,oBADA;AAEA,qBAFA,EAlBA;;AAsBA;AACA,4BADA;AAEA,gBAFA,EAtBA;;AA0BA;AACA,kBADA,EA1BA,EADA;;;AA+BA,MA/BA,kBA+BA;AACA;AACA;AACA,0CADA;AAEA,iDAFA;AAGA,iEAHA;AAIA,+BAJA;AAKA,uBALA,EADA;;AAQA,YARA;AASA;AACA,gCADA;AAEA,gCAFA;AAGA,kCAHA,EATA;;AAcA,cAdA,EAcA;AACA,oBAfA;AAgBA,iBAhBA;AAiBA,qBAjBA;AAkBA,iBAlBA;AAmBA,sBAnBA;;AAqBA,GArDA;AAsDA;AACA;AACA,KAFA,eAEA;AACA;AACA;AACA,KALA;AAMA;AACA,KAPA,eAOA;AACA;AACA;AACA,KAVA;AAWA;AACA,MAZA,gBAYA;AACA;AACA,KAdA,EAtDA;;AAsEA,SAtEA,qBAsEA;AACA;AACA;AACA,GAzEA;AA0EA;AACA;AACA,cAFA,wBAEA;AACA;AACA;AACA;;AAEA;AACA,2DADA;AAEA;AACA;AACA;AACA,WALA;;;;;;;;;;;;AAiBA;AACA,KAzBA;AA0BA;AACA,WA3BA,qBA2BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAlBA,EAkBA,CAlBA;AAmBA,KAnDA;AAoDA,eApDA,uBAoDA,KApDA,EAoDA;AACA;AACA,KAtDA;AAuDA,UAvDA,kBAuDA,QAvDA,EAuDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAlEA;AAmEA,UAnEA,kBAmEA,CAnEA,EAmEA,CAnEA,EAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7EA;AA8EA;AACA,sBA/EA,gCA+EA;AACA;AACA,2BADA;AAEA,SAFA;AAGA;AACA;AACA;AACA,WAFA,EAEA,IAFA,CAEA;AACA;AACA;AACA;AACA,WANA,EAJA,EAEA;AASA;AACA,OAZA;AAaA,KA7FA;AA8FA,aA9FA,qBA8FA,CA9FA,EA8FA,IA9FA,EA8FA;AACA,wCADA;AAEA,0EAFA;AAGA;AACA,gCAJA;AAKA,qBALA;;AAOA,6CAPA,SAOA,YAPA;AAQA,iBARA,GAQA,6DARA;AASA;AACA;AACA,6BAXA;AAYA,KA1GA;AA2GA;AACA,WA5GA,mBA4GA,IA5GA,EA4GA,CA5GA,EA4GA;AACA;AACA;AACA;AACA;AACA,KAjHA;AAkHA;AACA,YAnHA,oBAmHA,IAnHA,EAmHA,CAnHA,EAmHA;AACA;AACA;AACA;AACA;AACA;AACA,KAzHA;AA0HA;AACA,UA3HA,oBA2HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA,MAIA;AACA;AACA;AACA;AACA;AACA,KA3IA;AA4IA;AACA,eA7IA,uBA6IA,IA7IA,EA6IA;AACA;AACA,KA/IA;AAgJA;AACA,cAjJA,sBAiJA,IAjJA,EAiJA;AACA;AACA,KAnJA,EA1EA;;AA+NA;AACA;AACA,gBADA;AAEA,aAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAFA;AAGA,aAPA,MAOA;AACA;AACA;AACA,WAZA;AAaA,SAdA,EAcA,EAdA;AAeA,OAlBA,EADA;;AAqBA,UArBA,kBAqBA,QArBA,EAqBA;AACA;AACA,KAvBA,EA/NA,E;;;;;;;;;;;;;ACpCA;AAAA;AAAA;AAAA;AAAg6C,CAAgB,qwCAAG,EAAC,C;;;;;;;;;;;ACAp7C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./custom-waterfalls-flow.vue?vue&type=template&id=ddfcbb1c&scoped=true&\"\nvar renderjs\nimport script from \"./custom-waterfalls-flow.vue?vue&type=script&lang=js&\"\nexport * from \"./custom-waterfalls-flow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./custom-waterfalls-flow.vue?vue&type=style&index=0&id=ddfcbb1c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"ddfcbb1c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/custom-waterfalls-flow/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./custom-waterfalls-flow.vue?vue&type=template&id=ddfcbb1c&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l1 = _vm.__map(_vm.data.column, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var s0 = _vm.__get_style([_vm.s1])\n\n var l0 = _vm.columnValue(index)\n return {\n $orig: $orig,\n s0: s0,\n l0: l0\n }\n })\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event, item2) {\n var _temp = arguments[arguments.length - 1].currentTarget.dataset,\n _temp2 = _temp.eventParams || _temp[\"event-params\"],\n item2 = _temp2.item2\n\n var _temp, _temp2\n\n $event.stopPropagation()\n return _vm.wapperClick(item2)\n }\n\n _vm.e1 = function($event, item2, index) {\n var _temp3 = arguments[arguments.length - 1].currentTarget.dataset,\n _temp4 = _temp3.eventParams || _temp3[\"event-params\"],\n item2 = _temp4.item2,\n index = _temp4.index\n\n var _temp3, _temp4\n\n return _vm.imgLoad(item2, index + 1)\n }\n\n _vm.e2 = function($event, item2, index) {\n var _temp5 = arguments[arguments.length - 1].currentTarget.dataset,\n _temp6 = _temp5.eventParams || _temp5[\"event-params\"],\n item2 = _temp6.item2,\n index = _temp6.index\n\n var _temp5, _temp6\n\n return _vm.imgError(item2, index + 1)\n }\n\n _vm.e3 = function($event, item2) {\n var _temp7 = arguments[arguments.length - 1].currentTarget.dataset,\n _temp8 = _temp7.eventParams || _temp7[\"event-params\"],\n item2 = _temp8.item2\n\n var _temp7, _temp8\n\n $event.stopPropagation()\n return _vm.imageClick(item2)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l1: l1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./custom-waterfalls-flow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./custom-waterfalls-flow.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"waterfalls-flow\">\r\n\t\t<view v-for=\"(item,index) in data.column\" :key=\"index\" class=\"waterfalls-flow-column\" :id=\"`waterfalls_flow_column_${index+1}`\" :msg=\"msg\" :style=\"{'width':w,'margin-left':index==0?0:m}\">\r\n\t\t\t<view :class=\"['column-value',{'column-value-show':item2.o}]\" v-for=\"(item2,index2) in columnValue(index)\" :key=\"index2\" :style=\"[s1]\" @click.stop=\"wapperClick(item2)\">\r\n\t\t\t\t<view class=\"inner\" v-if=\"data.seat==1\">\r\n\t\t\t\t\t<!-- #ifdef MP-WEIXIN -->\r\n\t\t\t\t\t<!-- #ifdef VUE2 -->\r\n\t\t\t\t\t<slot name=\"slot{{item2.index}}\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #ifdef VUE3 -->\r\n\t\t\t\t\t<slot :name=\"`slot${item2.index}`\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #ifndef MP-WEIXIN -->\r\n\t\t\t\t\t<slot v-bind=\"item2\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t</view>\r\n\t\t\t\t<image :class=\"['img',{'img-hide':item2[hideImageKey]==true||item2[hideImageKey]==1},{'img-error':!item2[data.imageKey]}]\" :src=\"item2[data.imageKey]\" mode=\"widthFix\" @load=\"imgLoad(item2,index+1)\" @error=\"imgError(item2,index+1)\" @click.stop=\"imageClick(item2)\"></image>\r\n\t\t\t\t<view class=\"inner\" v-if=\"data.seat==2\">\r\n\t\t\t\t\t<!-- #ifdef MP-WEIXIN -->\r\n\t\t\t\t\t<!-- #ifdef VUE2 -->\r\n\t\t\t\t\t<slot name=\"slot{{item2.index}}\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #ifdef VUE3 -->\r\n\t\t\t\t\t<slot :name=\"`slot${item2.index}`\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #ifndef MP-WEIXIN -->\r\n\t\t\t\t\t<slot v-bind=\"item2\"></slot>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n<script>\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\tvalue: Array,\r\n\t\t\tcolumn: { // 列的数量 \r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 2\r\n\t\t\t},\r\n\t\t\tmaxColumn: { // 最大列数 \r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 5\r\n\t\t\t},\r\n\t\t\tcolumnSpace: { // 列之间的间距 百分比\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 2\r\n\t\t\t},\r\n\t\t\timageKey: { // 图片key\r\n\t\t\t\ttype: [String],\r\n\t\t\t\tdefault: 'image'\r\n\t\t\t},\r\n\t\t\thideImageKey: { // 隐藏图片key\r\n\t\t\t\ttype: [String],\r\n\t\t\t\tdefault: 'hide'\r\n\t\t\t},\r\n\t\t\tseat: { // 文本的位置,1图片之上 2图片之下\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 2\r\n\t\t\t},\r\n\t\t\tlistStyle: { // 单个展示项的样式:eg:{'background':'red'}\r\n\t\t\t\ttype: Object\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tlist: this.value ? this.value : [],\r\n\t\t\t\t\tcolumn: this.column < 2 ? 2 : this.column,\r\n\t\t\t\t\tcolumnSpace: this.columnSpace <= 5 ? this.columnSpace : 5,\r\n\t\t\t\t\timageKey: this.imageKey,\r\n\t\t\t\t\tseat: this.seat\r\n\t\t\t\t},\r\n\t\t\t\tmsg: 0,\r\n\t\t\t\tlistInitStyle: {\r\n\t\t\t\t\t'border-radius': '12rpx',\r\n\t\t\t\t\t'margin-bottom': '20rpx',\r\n\t\t\t\t\t'background-color': '#fff'\r\n\t\t\t\t},\r\n\t\t\t\tadds: [], //预置数据\r\n\t\t\t\tisLoaded: true,\r\n\t\t\t\tcurIndex: 0,\r\n\t\t\t\tisRefresh: true,\r\n\t\t\t\tflag: false,\r\n\t\t\t\trefreshDatas: []\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 计算列宽\r\n\t\t\tw() {\r\n\t\t\t\tconst column_rate = `${100 / this.data.column - (+this.data.columnSpace)}%`;\r\n\t\t\t\treturn column_rate;\r\n\t\t\t},\r\n\t\t\t// 计算margin\r\n\t\t\tm() {\r\n\t\t\t\tconst column_margin = `${(100-(100 / this.data.column - (+this.data.columnSpace)).toFixed(5)*this.data.column)/(this.data.column-1)}%`;\r\n\t\t\t\treturn column_margin;\r\n\t\t\t},\r\n\t\t\t// list样式\r\n\t\t\ts1() {\r\n\t\t\t\treturn { ...this.listInitStyle, ...this.listStyle };\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 初始化\r\n\t\t\tthis.refresh();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 预加载图片\r\n\t\t\tloadImages(idx = 0) {\r\n\t\t\t\tlet count = 0;\r\n\t\t\t\tconst newList = this.data.list.filter((item, index) => index >= idx);\r\n\t\t\t\tfor (let i = 0; i < newList.length; i++) {\r\n\t\t\t\t\t// #ifndef APP-PLUS\r\n\t\t\t\t\tuni.getImageInfo({\r\n\t\t\t\t\t\tsrc: `${newList[i][this.imageKey]}.jpg`,\r\n\t\t\t\t\t\tcomplete: res => {\r\n\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\tif (count == newList.length) this.initValue(idx);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifdef APP-PLUS\r\n\t\t\t\t\tplus.io.getImageInfo({\r\n\t\t\t\t\t\tsrc: `${newList[i][this.imageKey]}.jpg`,\r\n\t\t\t\t\t\tcomplete: res => {\r\n\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\tif (count == newList.length) this.initValue(idx);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 刷新\r\n\t\t\trefresh() {\r\n\t\t\t\tif (!this.isLoaded) {\r\n\t\t\t\t\tthis.refreshDatas = this.value;\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t};\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.refreshDatas = [];\r\n\t\t\t\t\tthis.isRefresh = true;\r\n\t\t\t\t\tthis.adds = [];\r\n\t\t\t\t\tthis.data.list = this.value ? this.value : [];\r\n\t\t\t\t\tthis.data.column = this.column < 2 ? 2 : this.column >= this.maxColumn ? this.maxColumn : this.column;\r\n\t\t\t\t\tthis.data.columnSpace = this.columnSpace <= 5 ? this.columnSpace : 5;\r\n\t\t\t\t\tthis.data.imageKey = this.imageKey;\r\n\t\t\t\t\tthis.data.seat = this.seat;\r\n\t\t\t\t\tthis.curIndex = 0;\r\n\t\t\t\t\t// 每列的数据初始化\r\n\t\t\t\t\tfor (let i = 1; i <= this.data.column; i++) {\r\n\t\t\t\t\t\tthis.data[`column_${i}_values`] = [];\r\n\t\t\t\t\t\tthis.msg++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t\tthis.initValue(this.curIndex, 'refresh==>');\r\n\t\t\t\t\t})\r\n\t\t\t\t}, 1)\r\n\t\t\t},\r\n\t\t\tcolumnValue(index) {\r\n\t\t\t\treturn this.data[`column_${index+1}_values`];\r\n\t\t\t},\r\n\t\t\tchange(newValue) {\r\n\t\t\t\tfor (let i = 0; i < this.data.list.length; i++) {\r\n\t\t\t\t\tconst cv = this.data[`column_${this.data.list[i].column}_values`];\r\n\t\t\t\t\tfor (let j = 0; j < cv.length; j++) {\r\n\t\t\t\t\t\tif (newValue[i] && i === cv[j].index) {\r\n\t\t\t\t\t\t\tthis.data[`column_${this.data.list[i].column}_values`][j] = Object.assign(cv[j], newValue[i]);\r\n\t\t\t\t\t\t\tthis.msg++;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgetMin(a, s) {\r\n\t\t\t\tlet m = a[0][s];\r\n\t\t\t\tlet mo = a[0];\r\n\t\t\t\tfor (var i = a.length - 1; i >= 0; i--) {\r\n\t\t\t\t\tif (a[i][s] < m) {\r\n\t\t\t\t\t\tm = a[i][s];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tmo = a.filter(i => i[s] == m);\r\n\t\t\t\treturn mo[0];\r\n\t\t\t},\r\n\t\t\t// 计算每列的高度\r\n\t\t\tgetMinColumnHeight() {\r\n\t\t\t\treturn new Promise(resolve => {\r\n\t\t\t\t\tconst heightArr = [];\r\n\t\t\t\t\tfor (let i = 1; i <= this.data.column; i++) {\r\n\t\t\t\t\t\tconst query = uni.createSelectorQuery().in(this);\r\n\t\t\t\t\t\tquery.select(`#waterfalls_flow_column_${i}`).boundingClientRect(data => {\r\n\t\t\t\t\t\t\theightArr.push({ column: i, height: data.height });\r\n\t\t\t\t\t\t}).exec(() => {\r\n\t\t\t\t\t\t\tif (this.data.column <= heightArr.length) {\r\n\t\t\t\t\t\t\t\tresolve(this.getMin(heightArr, 'height'));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync initValue(i, from) {\r\n\t\t\t\tthis.isLoaded = false;\r\n\t\t\t\tif (i >= this.data.list.length || this.refreshDatas.length) {\r\n\t\t\t\t\tthis.msg++;\r\n\t\t\t\t\tthis.loaded();\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tconst minHeightRes = await this.getMinColumnHeight();\r\n\t\t\t\tconst c = this.data[`column_${minHeightRes.column}_values`];\r\n\t\t\t\tthis.data.list[i].column = minHeightRes.column;\r\n\t\t\t\tc.push({ ...this.data.list[i], cIndex: c.length, index: i, o: 0 });\r\n\t\t\t\tthis.msg++;\r\n\t\t\t},\r\n\t\t\t// 图片加载完成\r\n\t\t\timgLoad(item, c) {\r\n\t\t\t\tconst i = item.index;\r\n\t\t\t\titem.o = 1;\r\n\t\t\t\tthis.$set(this.data[`column_${c}_values`], item.cIndex, JSON.parse(JSON.stringify(item)));\r\n\t\t\t\tthis.initValue(i + 1);\r\n\t\t\t},\r\n\t\t\t// 图片加载失败\r\n\t\t\timgError(item, c) {\r\n\t\t\t\tconst i = item.index;\r\n\t\t\t\titem.o = 1;\r\n\t\t\t\titem[this.data.imageKey] = null;\r\n\t\t\t\tthis.$set(this.data[`column_${c}_values`], item.cIndex, JSON.parse(JSON.stringify(item)));\r\n\t\t\t\tthis.initValue(i + 1);\r\n\t\t\t},\r\n\t\t\t// 渲染结束\r\n\t\t\tloaded() {\r\n\t\t\t\tif (this.refreshDatas.length) {\r\n\t\t\t\t\tthis.isLoaded = true;\r\n\t\t\t\t\tthis.refresh();\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tthis.curIndex = this.data.list.length;\r\n\t\t\t\tif (this.adds.length) {\r\n\t\t\t\t\tthis.data.list = this.adds[0];\r\n\t\t\t\t\tthis.adds.splice(0, 1);\r\n\t\t\t\t\tthis.initValue(this.curIndex);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (this.data.list.length) this.$emit('loaded');\r\n\t\t\t\t\tthis.isLoaded = true;\r\n\t\t\t\t\tthis.isRefresh = false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 单项点击事件\r\n\t\t\twapperClick(item) {\r\n\t\t\t\tthis.$emit('wapperClick', item);\r\n\t\t\t},\r\n\t\t\t// 图片点击事件\r\n\t\t\timageClick(item) {\r\n\t\t\t\tthis.$emit('imageClick', item);\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tvalue: {\r\n\t\t\t\tdeep: true,\r\n\t\t\t\thandler(newValue, oldValue) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t\t\tif (this.isRefresh) return false;\r\n\t\t\t\t\t\t\tif (this.isLoaded) {\r\n\t\t\t\t\t\t\t\t// if (newValue.length <= this.curIndex) return this.refresh();\r\n\t\t\t\t\t\t\t\tif (newValue.length <= this.curIndex) return this.change(newValue);\r\n\t\t\t\t\t\t\t\tthis.data.list = newValue;\r\n\t\t\t\t\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t\t\t\t\tthis.initValue(this.curIndex, 'watch==>');\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tthis.adds.push(newValue);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 10)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcolumn(newValue) {\r\n\t\t\t\tthis.refresh();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t.waterfalls-flow {\r\n\t\toverflow: hidden;\r\n\r\n\t\t&-column {\r\n\t\t\tfloat: left;\r\n\t\t}\r\n\t}\r\n\r\n\t.column-value {\r\n\t\twidth: 100%;\r\n\t\tfont-size: 0;\r\n\t\toverflow: hidden;\r\n\t\ttransition: opacity .4s;\r\n\t\topacity: 0;\r\n\r\n\t\t&-show {\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\r\n\t\t.inner {\r\n\t\t\tfont-size: 30rpx;\r\n\t\t}\r\n\r\n\t\t.img {\r\n\t\t\twidth: 100%;\r\n\r\n\t\t\t&-hide {\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\r\n\t\t\t&-error {\r\n\t\t\t\tbackground: #f2f2f2 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAiAQMAAAAatXkPAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAAIZJREFUCNdlzjEKwkAUBNAfEGyCuYBkLyLuxRYW2SKlV1JSeA2tUiZg4YrLjv9PGsHqNTPMSAQuyAJgRDHSyvBPwtZoSJXakeJI9iuRLGDygdl6V0yKDtyMAeMPZySj8yfD+UapvRPj2JOwkyAooSV5IwdDjPdCPspe8LyTl9IKJvDETKKRv6vnlUasgg0fAAAAAElFTkSuQmCC) no-repeat center center;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./custom-waterfalls-flow.vue?vue&type=style&index=0&id=ddfcbb1c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./custom-waterfalls-flow.vue?vue&type=style&index=0&id=ddfcbb1c&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669282946549\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | +{"version":3,"sources":["webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?5491","webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?b940","webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?2657","webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?f07a","uni-app:///uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue","webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?5c1b","webpack:///C:/Users/15121/Desktop/text3/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue?b7c3"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AAC6L;AAC7L,gBAAgB,2LAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;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;AAA4uB,CAAgB,6rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8BhwB;AACA;AACA;AACA,CAFA,EAEA,EAFA;;AAIA;;;;;;;;;;;;;;;;;;AAkBA;AACA,qBADA;AAEA;AACA;AACA;AACA,kBAFA;AAGA,qBAHA,EADA;;AAMA;AACA,mBADA;AAEA,mBAFA,EANA;;AAUA;AACA,kBADA;AAEA,qBAFA,EAVA;;AAcA;AACA,kBADA;AAEA,iBAFA,EAdA;;AAkBA;AACA,kBADA;AAEA,wBAFA,EAlBA;;AAsBA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,+BADA;AAEA,mCAFA;AAGA,kCAHA;;AAKA,OARA,EAtBA,EAFA;;;AAmCA,MAnCA,kBAmCA;AACA;AACA,wBADA;AAEA,wBAFA;;AAIA,GAxCA;;AA0CA;AACA,iBADA,2BACA;AACA;AACA,KAHA,EA1CA;;;AAgDA,SAhDA,qBAgDA;;;;;;;;;;;;AAYA,GA5DA;AA6DA;AACA,WADA,qBACA;AACA;AACA;AACA,6BADA,EADA;;;AAKA,KAPA,EA7DA,E;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAu5C,CAAgB,4vCAAG,EAAC,C;;;;;;;;;;;ACA36C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-load-more.vue?vue&type=template&id=90d4256a&scoped=true&\"\nvar renderjs\nimport script from \"./uni-load-more.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-load-more.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-load-more.vue?vue&type=style&index=0&id=90d4256a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Program Files/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 \"90d4256a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-load-more.vue?vue&type=template&id=90d4256a&scoped=true&\"","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 \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-load-more.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-load-more.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-load-more\" @click=\"onClick\">\r\n\t\t<!-- #ifdef APP-NVUE -->\r\n\t\t<loading-indicator v-if=\"!webviewHide && status === 'loading' && showIcon\" :style=\"{color: color,width:iconSize+'px',height:iconSize+'px'}\" :animating=\"true\" class=\"uni-load-more__img uni-load-more__img--nvue\"></loading-indicator>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifdef H5 -->\r\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"25 25 50 50\" v-if=\"!webviewHide && (iconType==='circle' || iconType==='auto' && platform === 'android') && status === 'loading' && showIcon\"\r\n\t\t:style=\"{width:iconSize+'px',height:iconSize+'px'}\" class=\"uni-load-more__img uni-load-more__img--android-H5\">\r\n\t\t\t<circle cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" :style=\"{color:color}\" :stroke-width=\"3\"></circle>\r\n\t\t</svg>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifndef APP-NVUE || H5 -->\r\n\t\t<view v-if=\"!webviewHide && (iconType==='circle' || iconType==='auto' && platform === 'android') && status === 'loading' && showIcon\"\r\n\t\t:style=\"{width:iconSize+'px',height:iconSize+'px'}\" class=\"uni-load-more__img uni-load-more__img--android-MP\">\r\n\t\t\t<view :style=\"{borderTopColor:color,borderTopWidth:iconSize/12}\"></view>\r\n\t\t\t<view :style=\"{borderTopColor:color,borderTopWidth:iconSize/12}\"></view>\r\n\t\t\t<view :style=\"{borderTopColor:color,borderTopWidth:iconSize/12}\"></view>\r\n\t\t</view>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifndef APP-NVUE -->\r\n\t\t<view v-else-if=\"!webviewHide && status === 'loading' && showIcon\" :style=\"{width:iconSize+'px',height:iconSize+'px'}\" class=\"uni-load-more__img uni-load-more__img--ios-H5\">\n\t\t\t<image src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzlBMzU3OTlEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzlBMzU3OUFEOUM0MTFFOUI0NTZDNERBQURBQzI4RkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDOUEzNTc5N0Q5QzQxMUU5QjQ1NkM0REFBREFDMjhGRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDOUEzNTc5OEQ5QzQxMUU5QjQ1NkM0REFBREFDMjhGRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pt+ALSwAAA6CSURBVHja1FsLkFZVHb98LM+F5bHL8khA1iSeiyQBCRM+YGqKUnnJTDLGI0BGZlKDIU2MMglUiDApEZvSsZnQtBRJtKwQNKQMFYeRDR10WOLd8ljYXdh+v8v5fR3Od+797t1dnOnO/Ofce77z+J//+b/P+ZqtXbs2sJ9MJhNUV1cHJ06cCJo3bx7EPc2aNcvpy7pWrVoF+/fvDyoqKoI2bdoE9fX1F7TjN8a+EXBn/fkfvw942Tf+wYMHg9mzZwfjxo0LDhw4EPa1x2MbFw/fOGfPng1qa2tzcCkILsLDydq2bRsunpOTMM7TD/W/tZDZhPdeKD+yGxHhdu3aBV27dg3OnDlzMVANMheLAO3btw8KCwuDmpoaX5OxbgUIMEq7K8IcPnw4KCsrC/r37x8cP378/4cAXAB3vqSkJMuiDhTkw+XcuXNhOWbMmKBly5YhUT8xArhyFvP0BfwRsAuwxJZJsm/nzp2DTp06he/OU+cZ64K6o0ePBkOHDg2GDx8e6gEbJ5Q/NHNuAJQ1hgBeHUDlR7nVTkY8rQAvAi4z34vR/mPs1FoRsaCgIJThI0eOBC1atEiFGGV+5MiRoS45efJkqFjJFXV1dQuA012m2WcwTw98fy6CqBdsaiIO4CScrGPHjvk4odhavPquRtFWXEC25VgkREKOCh/qDSq+vn37htzD/mZTOmOc5U7zKzBPEedygWshcDyWvs30igAbU+6oyMgJBCFhwQE0fccxN60Ay9iebbjoDh06hMowjQxT4fXq1SskArmHZpkArvixp/kWzHdMeArExSJEaiXIjjRjRJ4DaAGWpibLzXN3Fm1vA5teBgh3j1Rv3bp1YgKwPdmf2p9zcyNYYgPKMfY0T5f5nNYdw158nJ8QawW4CLKwiOBSEgO/hok2eBydR+3dYH+PLxA5J8Vv0KBBwenTp0P2JWAx6+yFEBfs8lMY+y0SWMBNI9E4ThKi58VKTg3FQZS1RQF1cz27eC0QHMu+3E0SkUowjhVt5VdaWhp07949ZHv2Qd1EjDXM2cla1M0nl3GxAs3J9yREzyTdFVKVFOaE9qRA8GM0WebRuo9JGZKA7Mv2SeS/Z8+eoQ9BArMfFrLGo6jvxbhHbJZnKX2Rzz1O7QhJJ9Cs2ZMaWIyq/zhdeqPNfIoHd58clIQD+JSXl4dKlyIAuBdVXZwFVWKspSSoxE++h8x4k3uCnEhE4I5KwRiFWGOU0QWKiCYLbdoRMRKAu2kQ9vkfLU6dOhX06NEjlH+yMRZSinnuyWnYosVcji8CEA/6Cg2JF+IIUBqnGKUTCNwtwBN4f89RiK1R96DEgO2o0NDmtEdvVFdVVYV+P3UAPUEs6GFwV3PHmXkD4vh74iDFJysVI/MlaQhwKeBNTLYX5VuA8T4/gZxA4MRGFxDB6R7OmYPfyykGRJbyie+XnGYnQIC/coH9+vULiYrxrkL9ZA9+0ykaHIfEpM7ge8TiJ2CsHYwyMfafAF1yCGBHYIbCVDjDjKt7BeB51D+LgQa6OkG7IDYEEtvQ7lnXLKLtLdLuJBpE4gPUXcW2+PkZwOex+4cGDhwYDBkyRL7/HFcEwUGPo/8uWRUpYnfxGHco8HkewLHLyYmAawAPuIFZxhOpDfJQ8gbUv41yORAptMWBNr6oqMhWird5+u+iHmBb2nhjDV7HWBNQTgK8y11l5NetWzc5ULscAtSj7nbNI0skhWeUZCc0W4nyH/jO4Vz0u1IeYhbk4AiwM6tjxIWByHsoZ9qcIBPJd/y+DwPfBESOmCa/QF3WiZHucLlEDpNxcNhmheEOPgdQNx6/VZFQzFZ5TN08AHXQt2Ii3EdyFuUsPtTcGPhW5iMiCNELvz+Gdn9huG4HUJaW/w3g0wxV0XaG7arG2WeKiUWYM4Y7GO5ezshTARbbWGw/DvXkpp/ivVvE0JVoMxN4rpGzJMhE5Pl+xlATsDIqikP9F9D2z3h9nOksEUFhK+qO4rcPkoalMQ/HqJLIyb3F3JdjrCcw1yZ8joyJLR5gCo54etlag7qIoeNh1N1BRYj3DTFJ0elotxPlVzkGuYAmL0VSJVGAJA41c4Z6A3BzTLfn0HYwYKEI6CUAMzZEWvLsIcQOo1AmmyyM72nHJCfYsogflGV6jEk9vyQZXSuq6w4c16NsGcGZbwOPr+H1RkOk2LEzjNepxQkihHSCQ4ynAYNRx2zMKV92CQMWqj8J0BRE8EShxRFN6YrfCRhC0x3r/Zm4IbQCcmJoV0kMamllccR6FjHqUC5F2R/wS2dcymOlfAKOS4KmzQb5cpNC2MC7JhVn5wjXoJ44rYhLh8n0eXOCorJxa7POjbSlCGVczr34/RsAmrcvo9s+wGp3tzVhntxiXiJ4nvEYb4FJkf0O8HocAePmLvCxnL0AORraVekJk6TYjDabRVXfRE2lCN1h6ZQRN1+InUbsCpKwoBZHh0dODN9JBCUffItXxEavTQkUtnfTVAplCWL3JISz29h4NjotnuSsQKJCk8dF+kJR6RARjrqFVmfPnj3ZbK8cIJ0msd6jgHPGtfVTQ8VLmlvh4mct9sobRmPic0DyDQQnx/NlfYUgyz59+oScsH379pAwXABD32nTpoUHIToESeI5mnbE/UqDdyLcafEBf2MCqgC7NwxIbMREJQ0g4D4sfJwnD+AmRrII05cfMWJE+L1169bQr+fip06dGp4oJ83lmYd5wj/EmMa4TaHivo4EeCguYZBnkB5g2aWA69OIEnUHOaGysjIYMGBAMGnSpODYsWPZwCpFmm4lNq+4gSLQA7jcX8DwtjEyRC8wjabnXEx9kfWnTJkSJkAo90xpJVV+FmcVNeYAF5zWngS4C4O91MBxmAv8blLEpbjI5sz9MTdAhcgkCT1RO8mZkAjfiYpTEvStAS53Uw1vAiUGgZ3GpuQEYvoiBqlIan7kSDHnTwJQFNiPu0+5VxCVYhcZIjNrdXUDdp+Eq5AZ3Gkg8QAyVZRZIk4Tl4QAbF9cXJxNYZMAtAokgs4BrNxEpCtteXg7DDTMDKYNSuQdKsnJBek7HxewvxaosWxLYXtw+cJp18217wql4aKCfBNoEu0O5VU+PhctJ0YeXD4C6JQpyrlpSLTojpGGGN5YwNziChdIZLk4lvLcFJ9jMX3QdiImY9bmGQU+TRUL5CHITTRlgF8D9ouD1MfmLoEPl5xokIumZ2cfgMpHt47IW9N64Hsh7wQYYjyIugWuF5fCqYncXRd5vPMWyizzvhi/32+nvG0dZc9vR6fZOu0md5e+uC408FvKSIOZwXlGvxPv95izA2Vtvg1xKFWARI+vMX66HUhpQQb643uW1bSjuTWyw2SBvDrBvjFic1eGGlz5esq3ko9uSIlBRqPuFcCv8F4WIcN12nVaBd0SaYwI6PDDImR11JkqgHcPmQssjxIn6bUshygDFJUTxPMpHk+jfjPgupgdnYV2R/g7xSjtpah8RJBewhwf0gGK6XI92u4wXFEU40afJ4DN4h5LcAd+40HI3JgJecuT0c062W0i2hQJUTcxan3/CMW1PF2K6bbA+Daz4xRs1D3Br1Cm0OihKCqizW78/nXAF/G5TXrEcVzaNMH6CyMswqsAHqDyDLEyou8lwOXnKF8DjI6KjV3KzMBiXkDH8ij/H214J5A596ekrZ3F0zXlWeL7+P5eUrNo3/QwC15uxthuzidy7DzKRwEDaAViiDgKbTbz7CJnzo0bN7pIfIiid8SuPwn25o3QCmpnyjlZkyxPP8EomCJzrGb7GJMx7tNsq4MT2xMUYaiErZOluTzKsnz3gwCeCZyVRZJfYplNEokEjwrPtxlxjeYAk+F1F74VAzPxQRNYYdtpOUvWs8J1sGhBJMNsb7igN8plJs1eSmLIhLKE4rvaCX27gOhLpLOsIzJ7qn/i+wZzcvSOZ23/du8TZjwV8zHIXoP4R3ifBxiFz1dcVpa3aPntPE+c6TmIWE9EtcMmAcPdWAhYhAXxcLOQi9L1WhD1Sc8p1d2oL7XGiRKp8F4A2i8K/nfI+y/gsTDJ/YC/8+AD5Uh04KHiGl+cIFPnBDDrPMjwRGkLXyxO4VGbfQWnDH2v0bVWE3C9QOXlepbgjEfIJQI6XDG3z5ahD9cw2pS78ipB85wyScNTvsVzlzzhL8/jRrnmVjfFJK/m3m4nj9vbgQTguT8XZTjsm672R5uJKEaQmBI/c58gyus8ZDagLpEVSJBIyHp4jn++xqPV71OgQgJYEWOtZ/haxRtKmWOBu8xdBLftWltsY84zE6WIEy/eIOWL+BaayMx+KHtL7EAkqdNDLiEXmEMUHniedtJqg9HmZtfvt26vNi0BdG3Ft3g8ZOf7PAu59TxtzivLNIekyi+wD1i8CuUiD9FXAa8C+/xS3JPmZnomyc7H+fb4/Se0bk41Fel621r4cgVxbq91V4jVqwB7HTe2M7jgB+QWHavZkDRPmZcASoZEmBx6i75bGjPcMdL4/VKGFAGWZkGzPG0XAbdL9A81G5LOmUnC9hHKJeO7dcUMjblSl12867ElFTtaGl20xvvLGPdVz/8TVuU7y0x1PG7vtNg24oz9Uo/Z412++VFWI7Fcog9tu9Lm6gvRmIPv9x1xmQAu6RDkXtbOtlGEmpgD5Nvnyc0dcv0EE6cfdi1HmhMf9wDF3k3gtRvEedhxjpgfqPb9PU9iEJHnyOUA7bQUXh6kq/D7l2iTjWv7XOD530BDr8jIrus+srXjt4MzumJMHuTsBa63YKE1+RR5lBjEikCCnWKWiHdzOgKO+nRIBAF88za/IFmJ3eMZov4CYxGBabcpGL8EYx+SeMXJeRwHNsV/h+vdxeuhEpN3ZyNY78Gm2fknJxVGhyjixPiQvVkNzT1elD9Py/aTAL64Hb9vcYmC9zfdXdT/C1LeGbg4rnBaAihDFJH12W5ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII=\"\n\t\t\t\t\t\t mode=\"widthFix\"></image>\n\t\t</view>\r\n\t\t<!-- #endif -->\r\n\t\t<text class=\"uni-load-more__text\" :style=\"{color: color}\">{{ status === 'more' ? contentText.contentdown : status === 'loading' ? contentText.contentrefresh : contentText.contentnomore }}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\n\tlet platform\n\tsetTimeout(() => {\n\t\t\tplatform = uni.getSystemInfoSync().platform\n\t}, 16)\n\n\t/**\n\t * LoadMore 加载更多\n\t * @description 用于列表中,做滚动加载使用,展示 loading 的各种状态\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=29\n\t * @property {String} status = [more|loading|noMore] loading 的状态\n\t * \t@value more loading前\n\t * \t@value loading loading中\n\t * \t@value noMore 没有更多了\n\t * @property {Number} iconSize 指定图标大小\n\t * @property {Boolean} iconSize = [true|false] 是否显示 loading 图标\n\t * @property {String} iconType = [snow|circle|auto] 指定图标样式\n\t * \t@value snow ios雪花加载样式\n\t * \t@value circle 安卓唤醒加载样式\n\t * \t@value auto 根据平台自动选择加载样式\n\t * @property {String} color 图标和文字颜色\n\t * @property {Object} contentText 各状态文字说明,值为:{contentdown: \"上拉显示更多\",contentrefresh: \"正在加载...\",contentnomore: \"没有更多数据了\"}\n\t * @event {Function} clickLoadMore 点击加载更多时触发\n\t */\r\n\texport default {\r\n\t\tname: 'UniLoadMore',\r\n\t\tprops: {\r\n\t\t\tstatus: {\r\n\t\t\t\t// 上拉的状态:more-loading前;loading-loading中;noMore-没有更多了\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'more'\r\n\t\t\t},\r\n\t\t\tshowIcon: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\ticonType: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'auto'\r\n\t\t\t},\r\n\t\t\ticonSize: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 24\r\n\t\t\t},\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#777777'\r\n\t\t\t},\r\n\t\t\tcontentText: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tcontentdown: '上拉显示更多',\r\n\t\t\t\t\t\tcontentrefresh: '正在加载...',\r\n\t\t\t\t\t\tcontentnomore: '没有更多数据了'\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n webviewHide: false,\r\n\t\t\t\tplatform: platform\r\n\t\t\t}\r\n\t\t},\n\t\t// #ifndef APP-NVUE\n\t\tcomputed:{\n\t\t\ticonSnowWidth(){\n\t\t\t\treturn (Math.floor(this.iconSize/24)||1)*2\n\t\t\t}\n\t\t},\n\t\t// #endif\r\n\t\tmounted() {\r\n\t\t\t// #ifdef APP-PLUS\r\n\t\t\tvar pages = getCurrentPages();\r\n\t\t\tvar page = pages[pages.length - 1];\r\n\t\t\tvar currentWebview = page.$getAppWebview();\r\n\t\t\tcurrentWebview.addEventListener('hide', () => {\r\n\t\t\t\tthis.webviewHide = true\r\n\t\t\t})\r\n\t\t\tcurrentWebview.addEventListener('show', () => {\r\n\t\t\t\tthis.webviewHide = false\r\n\t\t\t})\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tonClick() {\r\n\t\t\t\tthis.$emit('clickLoadMore', {\r\n\t\t\t\t\tdetail: {\r\n\t\t\t\t\t\tstatus: this.status,\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n\t.uni-load-more {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\theight: 40px;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.uni-load-more__text {\r\n\t\tfont-size: 15px;\r\n\t}\r\n\r\n\t.uni-load-more__img {\r\n\t\twidth: 24px;\r\n\t\theight: 24px;\r\n\t\tmargin-right: 8px;\r\n\t}\r\n\r\n\t.uni-load-more__img--nvue {\r\n\t\tcolor: #666666;\r\n\t}\r\n\r\n\t.uni-load-more__img--android,\r\n\t.uni-load-more__img--ios {\r\n\t\twidth: 24px;\r\n\t\theight: 24px;\r\n\t\ttransform: rotate(0deg);\r\n\t}\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t.uni-load-more__img--android {\r\n\t\tanimation: loading-ios 1s 0s linear infinite;\r\n\t}\r\n\r\n\t@keyframes loading-android {\r\n\t\t0% {\r\n\t\t\ttransform: rotate(0deg);\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\ttransform: rotate(360deg);\r\n\t\t}\r\n\t}\r\n\n\t.uni-load-more__img--ios-H5 {\n\t\tposition: relative;\n\t\tanimation: loading-ios-H5 1s 0s step-end infinite;\n\t}\n\n\t.uni-load-more__img--ios-H5>image {\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tleft: 0;\n\t\ttop: 0;\n\t}\n\n\t@keyframes loading-ios-H5 {\n\t\t0% {\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\n\t\t8% {\n\t\t\ttransform: rotate(30deg);\n\t\t}\n\n\t\t16% {\n\t\t\ttransform: rotate(60deg);\n\t\t}\n\n\t\t24% {\n\t\t\ttransform: rotate(90deg);\n\t\t}\n\n\t\t32% {\n\t\t\ttransform: rotate(120deg);\n\t\t}\n\n\t\t40% {\n\t\t\ttransform: rotate(150deg);\n\t\t}\n\n\t\t48% {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\n\t\t56% {\n\t\t\ttransform: rotate(210deg);\n\t\t}\n\n\t\t64% {\n\t\t\ttransform: rotate(240deg);\n\t\t}\n\n\t\t73% {\n\t\t\ttransform: rotate(270deg);\n\t\t}\n\n\t\t82% {\n\t\t\ttransform: rotate(300deg);\n\t\t}\n\n\t\t91% {\n\t\t\ttransform: rotate(330deg);\n\t\t}\n\n\t\t100% {\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t/* #ifdef H5 */\r\n\t.uni-load-more__img--android-H5 {\r\n\t\tanimation: loading-android-H5-rotate 2s linear infinite;\r\n\t\ttransform-origin: center center;\r\n\t}\r\n\r\n\t.uni-load-more__img--android-H5>circle {\r\n\t\tdisplay: inline-block;\r\n\t\tanimation: loading-android-H5-dash 1.5s ease-in-out infinite;\r\n\t\tstroke: currentColor;\r\n\t\tstroke-linecap: round;\r\n\t}\r\n\r\n\t@keyframes loading-android-H5-rotate {\r\n\t\t0% {\r\n\t\t\ttransform: rotate(0deg);\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\ttransform: rotate(360deg);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes loading-android-H5-dash {\r\n\t\t0% {\r\n\t\t\tstroke-dasharray: 1, 200;\r\n\t\t\tstroke-dashoffset: 0;\r\n\t\t}\r\n\r\n\t\t50% {\r\n\t\t\tstroke-dasharray: 90, 150;\r\n\t\t\tstroke-dashoffset: -40;\r\n\t\t}\r\n\r\n\t\t100% {\r\n\t\t\tstroke-dasharray: 90, 150;\r\n\t\t\tstroke-dashoffset: -120;\r\n\t\t}\r\n\t}\r\n\r\n\t/* #endif */\n\n\t/* #ifndef APP-NVUE || H5 */\n\t.uni-load-more__img--android-MP {\n\t\tposition: relative;\n\t\twidth: 24px;\n\t\theight: 24px;\n\t\ttransform: rotate(0deg);\r\n\t\tanimation: loading-ios 1s 0s ease infinite;\n\t}\n\n\t.uni-load-more__img--android-MP>view {\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tborder: solid 2px transparent;\n\t\tborder-top: solid 2px #777777;\n\t\ttransform-origin: center;\n\t}\n\n\t.uni-load-more__img--android-MP>view:nth-child(1){\n\t\tanimation: loading-android-MP-1 1s 0s linear infinite;\n\t}\n\n\t.uni-load-more__img--android-MP>view:nth-child(2){\n\t\tanimation: loading-android-MP-2 1s 0s linear infinite;\n\t}\n\n\t.uni-load-more__img--android-MP>view:nth-child(3){\n\t\tanimation: loading-android-MP-3 1s 0s linear infinite;\n\t}\n\n\t@keyframes loading-android {\n\t\t0% {\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\n\t\t100% {\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\n\n\t@keyframes loading-android-MP-1{\n\t\t0%{\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\t\t50%{\n\t\t\ttransform: rotate(90deg);\n\t\t}\n\t\t100%{\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\n\t@keyframes loading-android-MP-2{\n\t\t0%{\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\t\t50%{\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\t\t100%{\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\n\t@keyframes loading-android-MP-3{\n\t\t0%{\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\t\t50%{\n\t\t\ttransform: rotate(270deg);\n\t\t}\n\t\t100%{\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\n\t/* #endif */\r\n</style>\n","import mod from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-load-more.vue?vue&type=style&index=0&id=90d4256a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-load-more.vue?vue&type=style&index=0&id=90d4256a&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669274799844\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |
1 | (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],[ | 1 | (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],[ |
2 | /* 0 */ | 2 | /* 0 */ |
3 | -/*!*************************************************!*\ | ||
4 | - !*** C:/Users/15121/Desktop/xytext1119/main.js ***! | ||
5 | - \*************************************************/ | 3 | +/*!********************************************!*\ |
4 | + !*** C:/Users/15121/Desktop/44444/main.js ***! | ||
5 | + \********************************************/ | ||
6 | /*! no static exports found */ | 6 | /*! no static exports found */ |
7 | /***/ (function(module, exports, __webpack_require__) { | 7 | /***/ (function(module, exports, __webpack_require__) { |
8 | 8 | ||
@@ -30,9 +30,9 @@ createApp(app).$mount(); | @@ -30,9 +30,9 @@ createApp(app).$mount(); | ||
30 | /* 4 */, | 30 | /* 4 */, |
31 | /* 5 */, | 31 | /* 5 */, |
32 | /* 6 */ | 32 | /* 6 */ |
33 | -/*!*************************************************!*\ | ||
34 | - !*** C:/Users/15121/Desktop/xytext1119/App.vue ***! | ||
35 | - \*************************************************/ | 33 | +/*!********************************************!*\ |
34 | + !*** C:/Users/15121/Desktop/44444/App.vue ***! | ||
35 | + \********************************************/ | ||
36 | /*! no static exports found */ | 36 | /*! no static exports found */ |
37 | /***/ (function(module, __webpack_exports__, __webpack_require__) { | 37 | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
38 | 38 | ||
@@ -69,9 +69,9 @@ component.options.__file = "App.vue" | @@ -69,9 +69,9 @@ component.options.__file = "App.vue" | ||
69 | 69 | ||
70 | /***/ }), | 70 | /***/ }), |
71 | /* 7 */ | 71 | /* 7 */ |
72 | -/*!**************************************************************************!*\ | ||
73 | - !*** C:/Users/15121/Desktop/xytext1119/App.vue?vue&type=script&lang=js& ***! | ||
74 | - \**************************************************************************/ | 72 | +/*!*********************************************************************!*\ |
73 | + !*** C:/Users/15121/Desktop/44444/App.vue?vue&type=script&lang=js& ***! | ||
74 | + \*********************************************************************/ | ||
75 | /*! no static exports found */ | 75 | /*! no static exports found */ |
76 | /***/ (function(module, __webpack_exports__, __webpack_require__) { | 76 | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
77 | 77 | ||
@@ -84,9 +84,9 @@ __webpack_require__.r(__webpack_exports__); | @@ -84,9 +84,9 @@ __webpack_require__.r(__webpack_exports__); | ||
84 | 84 | ||
85 | /***/ }), | 85 | /***/ }), |
86 | /* 8 */ | 86 | /* 8 */ |
87 | -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
88 | - !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/App.vue?vue&type=script&lang=js& ***! | ||
89 | - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | 87 | +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
88 | + !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/44444/App.vue?vue&type=script&lang=js& ***! | ||
89 | + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
90 | /*! no static exports found */ | 90 | /*! no static exports found */ |
91 | /***/ (function(module, exports, __webpack_require__) { | 91 | /***/ (function(module, exports, __webpack_require__) { |
92 | 92 | ||
@@ -105,9 +105,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default = | @@ -105,9 +105,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default = | ||
105 | 105 | ||
106 | /***/ }), | 106 | /***/ }), |
107 | /* 9 */ | 107 | /* 9 */ |
108 | -/*!***********************************************************************************!*\ | ||
109 | - !*** C:/Users/15121/Desktop/xytext1119/App.vue?vue&type=style&index=0&lang=scss& ***! | ||
110 | - \***********************************************************************************/ | 108 | +/*!******************************************************************************!*\ |
109 | + !*** C:/Users/15121/Desktop/44444/App.vue?vue&type=style&index=0&lang=scss& ***! | ||
110 | + \******************************************************************************/ | ||
111 | /*! no static exports found */ | 111 | /*! no static exports found */ |
112 | /***/ (function(module, __webpack_exports__, __webpack_require__) { | 112 | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
113 | 113 | ||
@@ -120,9 +120,9 @@ __webpack_require__.r(__webpack_exports__); | @@ -120,9 +120,9 @@ __webpack_require__.r(__webpack_exports__); | ||
120 | 120 | ||
121 | /***/ }), | 121 | /***/ }), |
122 | /* 10 */ | 122 | /* 10 */ |
123 | -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
124 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/App.vue?vue&type=style&index=0&lang=scss& ***! | ||
125 | - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | 123 | +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
124 | + !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/44444/App.vue?vue&type=style&index=0&lang=scss& ***! | ||
125 | + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
126 | /*! no static exports found */ | 126 | /*! no static exports found */ |
127 | /***/ (function(module, exports, __webpack_require__) { | 127 | /***/ (function(module, exports, __webpack_require__) { |
128 | 128 |
@@ -105,11 +105,11 @@ | @@ -105,11 +105,11 @@ | ||
105 | /******/ | 105 | /******/ |
106 | /******/ | 106 | /******/ |
107 | /******/ // mini-css-extract-plugin CSS loading | 107 | /******/ // mini-css-extract-plugin CSS loading |
108 | -/******/ var cssChunks = {"node-modules/uview-ui/components/u-navbar/u-navbar":1,"node-modules/uview-ui/components/u-swiper/u-swiper":1,"node-modules/uview-ui/components/u-icon/u-icon":1,"node-modules/uview-ui/components/u-status-bar/u-status-bar":1,"node-modules/uview-ui/components/u-loading-icon/u-loading-icon":1,"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator":1}; | 108 | +/******/ var cssChunks = {"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow":1}; |
109 | /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); | 109 | /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); |
110 | /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { | 110 | /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { |
111 | /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) { | 111 | /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) { |
112 | -/******/ var href = "" + ({"node-modules/uview-ui/components/u-navbar/u-navbar":"node-modules/uview-ui/components/u-navbar/u-navbar","node-modules/uview-ui/components/u-swiper/u-swiper":"node-modules/uview-ui/components/u-swiper/u-swiper","node-modules/uview-ui/components/u-icon/u-icon":"node-modules/uview-ui/components/u-icon/u-icon","node-modules/uview-ui/components/u-status-bar/u-status-bar":"node-modules/uview-ui/components/u-status-bar/u-status-bar","node-modules/uview-ui/components/u-loading-icon/u-loading-icon":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon","node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator":"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator"}[chunkId]||chunkId) + ".wxss"; | 112 | +/******/ var href = "" + ({"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow":"components/maramlee-waterfalls-flow/maramlee-waterfalls-flow"}[chunkId]||chunkId) + ".wxss"; |
113 | /******/ var fullhref = __webpack_require__.p + href; | 113 | /******/ var fullhref = __webpack_require__.p + href; |
114 | /******/ var existingLinkTags = document.getElementsByTagName("link"); | 114 | /******/ var existingLinkTags = document.getElementsByTagName("link"); |
115 | /******/ for(var i = 0; i < existingLinkTags.length; i++) { | 115 | /******/ for(var i = 0; i < existingLinkTags.length; i++) { |
此 diff 太大无法显示。
unpackage/dist/dev/mp-weixin/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.js
0 → 100644
1 | +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/maramlee-waterfalls-flow/maramlee-waterfalls-flow"],{ | ||
2 | + | ||
3 | +/***/ 268: | ||
4 | +/*!*****************************************************************************************************!*\ | ||
5 | + !*** C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.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 _maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true& */ 269); | ||
13 | +/* harmony import */ var _maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./maramlee-waterfalls-flow.vue?vue&type=script&lang=js& */ 271); | ||
14 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _maramlee_waterfalls_flow_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 _maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | +/* harmony import */ var _maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true& */ 273); | ||
16 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11); | ||
17 | + | ||
18 | +var renderjs | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | +/* normalize component */ | ||
25 | + | ||
26 | +var component = Object(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | ||
27 | + _maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
28 | + _maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
29 | + _maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
30 | + false, | ||
31 | + null, | ||
32 | + "b7348238", | ||
33 | + null, | ||
34 | + false, | ||
35 | + _maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | ||
36 | + renderjs | ||
37 | +) | ||
38 | + | ||
39 | +component.options.__file = "components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue" | ||
40 | +/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
41 | + | ||
42 | +/***/ }), | ||
43 | + | ||
44 | +/***/ 269: | ||
45 | +/*!************************************************************************************************************************************************!*\ | ||
46 | + !*** C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true& ***! | ||
47 | + \************************************************************************************************************************************************/ | ||
48 | +/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
49 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
50 | + | ||
51 | +"use strict"; | ||
52 | +__webpack_require__.r(__webpack_exports__); | ||
53 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true& */ 270); | ||
54 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
55 | + | ||
56 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
57 | + | ||
58 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | ||
59 | + | ||
60 | +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_template_id_b7348238_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | +/***/ }), | ||
65 | + | ||
66 | +/***/ 270: | ||
67 | +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
68 | + !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/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/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=template&id=b7348238&scoped=true& ***! | ||
69 | + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
70 | +/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
71 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
72 | + | ||
73 | +"use strict"; | ||
74 | +__webpack_require__.r(__webpack_exports__); | ||
75 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
76 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
77 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | ||
78 | +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | ||
79 | +var components | ||
80 | +var render = function() { | ||
81 | + var _vm = this | ||
82 | + var _h = _vm.$createElement | ||
83 | + var _c = _vm._self._c || _h | ||
84 | +} | ||
85 | +var recyclableRender = false | ||
86 | +var staticRenderFns = [] | ||
87 | +render._withStripped = true | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | +/***/ }), | ||
92 | + | ||
93 | +/***/ 271: | ||
94 | +/*!******************************************************************************************************************************!*\ | ||
95 | + !*** C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=script&lang=js& ***! | ||
96 | + \******************************************************************************************************************************/ | ||
97 | +/*! no static exports found */ | ||
98 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
99 | + | ||
100 | +"use strict"; | ||
101 | +__webpack_require__.r(__webpack_exports__); | ||
102 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=script&lang=js& */ 272); | ||
103 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
104 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_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 _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
105 | + /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
106 | + | ||
107 | +/***/ }), | ||
108 | + | ||
109 | +/***/ 272: | ||
110 | +/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
111 | + !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=script&lang=js& ***! | ||
112 | + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
113 | +/*! no static exports found */ | ||
114 | +/***/ (function(module, exports, __webpack_require__) { | ||
115 | + | ||
116 | +"use strict"; | ||
117 | +/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;function _toConsumableArray(arr) {return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();}function _nonIterableSpread() {throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _iterableToArray(iter) {if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);}function _arrayWithoutHoles(arr) {if (Array.isArray(arr)) return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;} // | ||
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 | +var _default = | ||
179 | +{ | ||
180 | + props: { | ||
181 | + list: { type: Array, required: true }, | ||
182 | + // offset 间距,单位为 px | ||
183 | + offset: { type: Number, default: 10 }, | ||
184 | + // 列表渲染的 key 的键名,值必须唯一,默认为 id | ||
185 | + idKey: { type: String, default: "id" }, | ||
186 | + // 图片 src 的键名 | ||
187 | + imageSrcKey: { type: String, default: "image_url" }, | ||
188 | + // 列数 | ||
189 | + cols: { type: Number, default: 2, validator: function validator(num) {return num >= 2;} }, | ||
190 | + imageStyle: { type: Object }, | ||
191 | + | ||
192 | + // 是否是单独的渲染图片的样子,只控制图片圆角而已 | ||
193 | + single: { type: Boolean, default: false } }, | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | ||
199 | + data: function data() { | ||
200 | + return { | ||
201 | + topArr: [], // left, right 多个时依次表示第几列的数据 | ||
202 | + allPositionArr: [], // 保存所有的位置信息 | ||
203 | + allHeightArr: [], // 保存所有的 height 信息 | ||
204 | + height: 0, // 外层包裹高度 | ||
205 | + oldNum: 0, | ||
206 | + num: 0 }; | ||
207 | + | ||
208 | + }, | ||
209 | + created: function created() { | ||
210 | + this.refresh(); | ||
211 | + }, | ||
212 | + methods: { | ||
213 | + imageLoadHandle: function imageLoadHandle(index) {var _this = this; | ||
214 | + var id = "waterfalls-list-id-" + this.list[index][this.idKey], | ||
215 | + query = uni.createSelectorQuery().in(this); | ||
216 | + query. | ||
217 | + select("#" + id). | ||
218 | + fields({ size: true }, function (data) { | ||
219 | + _this.num++; | ||
220 | + _this.$set(_this.allHeightArr, index, data.height); | ||
221 | + if (_this.num === _this.list.length) { | ||
222 | + for (var i = _this.oldNum; i < _this.num; i++) { | ||
223 | + var getTopArrMsg = function getTopArrMsg() { | ||
224 | + var arrtmp = _toConsumableArray(_this.topArr).sort(function (a, b) {return a - b;}); | ||
225 | + return { | ||
226 | + shorterIndex: _this.topArr.indexOf(arrtmp[0]), | ||
227 | + shorterValue: arrtmp[0], | ||
228 | + longerIndex: _this.topArr.indexOf(arrtmp[_this.cols - 1]), | ||
229 | + longerValue: arrtmp[_this.cols - 1] }; | ||
230 | + | ||
231 | + };var _getTopArrMsg = | ||
232 | + | ||
233 | + getTopArrMsg(),shorterIndex = _getTopArrMsg.shorterIndex,shorterValue = _getTopArrMsg.shorterValue; | ||
234 | + var position = { | ||
235 | + top: shorterValue + "px", | ||
236 | + left: (data.width + _this.offset) * shorterIndex + "px" }; | ||
237 | + | ||
238 | + _this.$set(_this.allPositionArr, i, position); | ||
239 | + _this.topArr[shorterIndex] = | ||
240 | + shorterValue + _this.allHeightArr[i] + _this.offset; | ||
241 | + _this.height = getTopArrMsg().longerValue - _this.offset; | ||
242 | + } | ||
243 | + _this.oldNum = _this.num; | ||
244 | + // 完成渲染 emit `image-load` 事件 | ||
245 | + _this.$emit("image-load"); | ||
246 | + } | ||
247 | + }). | ||
248 | + exec(); | ||
249 | + }, | ||
250 | + refresh: function refresh() { | ||
251 | + var arr = []; | ||
252 | + for (var i = 0; i < this.cols; i++) { | ||
253 | + arr.push(0); | ||
254 | + } | ||
255 | + this.topArr = arr; | ||
256 | + this.num = 0; | ||
257 | + this.oldNum = 0; | ||
258 | + this.height = 0; | ||
259 | + } } };exports.default = _default; | ||
260 | +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | ||
261 | + | ||
262 | +/***/ }), | ||
263 | + | ||
264 | +/***/ 273: | ||
265 | +/*!***************************************************************************************************************************************************************!*\ | ||
266 | + !*** C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true& ***! | ||
267 | + \***************************************************************************************************************************************************************/ | ||
268 | +/*! no static exports found */ | ||
269 | +/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
270 | + | ||
271 | +"use strict"; | ||
272 | +__webpack_require__.r(__webpack_exports__); | ||
273 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true& */ 274); | ||
274 | +/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
275 | +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
276 | + /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_maramlee_waterfalls_flow_vue_vue_type_style_index_0_id_b7348238_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
277 | + | ||
278 | +/***/ }), | ||
279 | + | ||
280 | +/***/ 274: | ||
281 | +/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
282 | + !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/44444/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue?vue&type=style&index=0&id=b7348238&lang=scss&scoped=true& ***! | ||
283 | + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
284 | +/*! no static exports found */ | ||
285 | +/***/ (function(module, exports, __webpack_require__) { | ||
286 | + | ||
287 | +// extracted by mini-css-extract-plugin | ||
288 | + if(false) { var cssReload; } | ||
289 | + | ||
290 | + | ||
291 | +/***/ }) | ||
292 | + | ||
293 | +}]); | ||
294 | +//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.js.map | ||
295 | +;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
296 | + 'components/maramlee-waterfalls-flow/maramlee-waterfalls-flow-create-component', | ||
297 | + { | ||
298 | + 'components/maramlee-waterfalls-flow/maramlee-waterfalls-flow-create-component':(function(module, exports, __webpack_require__){ | ||
299 | + __webpack_require__('1')['createComponent'](__webpack_require__(268)) | ||
300 | + }) | ||
301 | + }, | ||
302 | + [['components/maramlee-waterfalls-flow/maramlee-waterfalls-flow-create-component']] | ||
303 | +]); |
unpackage/dist/dev/mp-weixin/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.wxml
0 → 100644
1 | +<view class="waterfalls-box data-v-b7348238" style="{{'height:'+(height+'px')+';'}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="idKey"><view class="waterfalls-list data-v-b7348238 vue-ref-in-for" style="{{'--offset:'+(offset+'px')+';'+('--cols:'+(cols)+';')+('top:'+(allPositionArr[index].top||0)+';')+('left:'+(allPositionArr[index].left||0)+';')}}" id="{{'waterfalls-list-id-'+item[idKey]}}" data-ref="{{'waterfalls-list-id-'+item[idKey]}}" data-event-opts="{{[['tap',[['$emit',['wapper-lick','$0'],[[['list',''+idKey+'',item[idKey]]]]]]]]}}" bindtap="__e"><image class="{{['waterfalls-list-image','data-v-b7348238',(single)?'single':'']}}" style="{{(imageStyle)}}" mode="widthFix" src="{{item[imageSrcKey]||' '}}" data-event-opts="{{[['load',[['imageLoadHandle',[index]]]],['error',[['imageLoadHandle',[index]]]],['tap',[['$emit',['image-click','$0'],[[['list',''+idKey+'',item[idKey]]]]]]]]}}" bindload="__e" binderror="__e" bindtap="__e"></image><slot name="slot{{index}}"></slot></view></block></view> |
unpackage/dist/dev/mp-weixin/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.wxss
0 → 100644
1 | +@charset "UTF-8"; | ||
2 | +/** | ||
3 | + * 这里是uni-app内置的常用样式变量 | ||
4 | + * | ||
5 | + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
6 | + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
7 | + * | ||
8 | + */ | ||
9 | +/** | ||
10 | + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
11 | + * | ||
12 | + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
13 | + */ | ||
14 | +/* 颜色变量 */ | ||
15 | +/* uni.scss */ | ||
16 | +/* 行为相关颜色 */ | ||
17 | +/* 文字基本颜色 */ | ||
18 | +/* 背景颜色 */ | ||
19 | +/* 边框颜色 */ | ||
20 | +/* 尺寸变量 */ | ||
21 | +/* 文字尺寸 */ | ||
22 | +/* 图片尺寸 */ | ||
23 | +/* Border Radius */ | ||
24 | +/* 水平间距 */ | ||
25 | +/* 垂直间距 */ | ||
26 | +/* 透明度 */ | ||
27 | +/* 文章场景相关 */ | ||
28 | +.waterfalls-box.data-v-b7348238 { | ||
29 | + position: relative; | ||
30 | + width: 100%; | ||
31 | + overflow: hidden; | ||
32 | +} | ||
33 | +.waterfalls-box .waterfalls-list.data-v-b7348238 { | ||
34 | + width: calc((100% - var(--offset) * (var(--cols) - 1)) / var(--cols)); | ||
35 | + position: absolute; | ||
36 | + background-color: #fff; | ||
37 | + border-radius: 6px; | ||
38 | + left: calc(-50% - var(--offset)); | ||
39 | +} | ||
40 | +.waterfalls-box .waterfalls-list .waterfalls-list-image.data-v-b7348238 { | ||
41 | + width: 100%; | ||
42 | + will-change: transform; | ||
43 | + border-radius: 6px 6px 0 0; | ||
44 | + display: block; | ||
45 | +} | ||
46 | +.waterfalls-box .waterfalls-list .waterfalls-list-image.single.data-v-b7348238 { | ||
47 | + border-radius: 6px; | ||
48 | +} | ||
49 | + |
1 | +Component({}) |
1 | +<block wx:if="{{$root.m0}}"><text class="{{['u-badge','data-v-662d25bf',isDot?'u-badge--dot':'u-badge--not-dot',inverted&&'u-badge--inverted',shape==='horn'&&'u-badge--horn','u-badge--'+type+(inverted?'--inverted':'')]}}" style="{{$root.s0}}">{{isDot?'':showValue}}</text></block> |
1 | +@charset "UTF-8"; | ||
2 | +/** | ||
3 | + * 这里是uni-app内置的常用样式变量 | ||
4 | + * | ||
5 | + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
6 | + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
7 | + * | ||
8 | + */ | ||
9 | +/** | ||
10 | + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
11 | + * | ||
12 | + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
13 | + */ | ||
14 | +/* 颜色变量 */ | ||
15 | +/* uni.scss */ | ||
16 | +/* 行为相关颜色 */ | ||
17 | +/* 文字基本颜色 */ | ||
18 | +/* 背景颜色 */ | ||
19 | +/* 边框颜色 */ | ||
20 | +/* 尺寸变量 */ | ||
21 | +/* 文字尺寸 */ | ||
22 | +/* 图片尺寸 */ | ||
23 | +/* Border Radius */ | ||
24 | +/* 水平间距 */ | ||
25 | +/* 垂直间距 */ | ||
26 | +/* 透明度 */ | ||
27 | +/* 文章场景相关 */ | ||
28 | +view.data-v-662d25bf, scroll-view.data-v-662d25bf, swiper-item.data-v-662d25bf { | ||
29 | + display: flex; | ||
30 | + flex-direction: column; | ||
31 | + flex-shrink: 0; | ||
32 | + flex-grow: 0; | ||
33 | + flex-basis: auto; | ||
34 | + align-items: stretch; | ||
35 | + align-content: flex-start; | ||
36 | +} | ||
37 | +.u-badge.data-v-662d25bf { | ||
38 | + border-top-right-radius: 100px; | ||
39 | + border-top-left-radius: 100px; | ||
40 | + border-bottom-left-radius: 100px; | ||
41 | + border-bottom-right-radius: 100px; | ||
42 | + display: flex; | ||
43 | + flex-direction: row; | ||
44 | + line-height: 11px; | ||
45 | + text-align: center; | ||
46 | + font-size: 11px; | ||
47 | + color: #FFFFFF; | ||
48 | +} | ||
49 | +.u-badge--dot.data-v-662d25bf { | ||
50 | + height: 8px; | ||
51 | + width: 8px; | ||
52 | +} | ||
53 | +.u-badge--inverted.data-v-662d25bf { | ||
54 | + font-size: 13px; | ||
55 | +} | ||
56 | +.u-badge--not-dot.data-v-662d25bf { | ||
57 | + padding: 2px 5px; | ||
58 | +} | ||
59 | +.u-badge--horn.data-v-662d25bf { | ||
60 | + border-bottom-left-radius: 0; | ||
61 | +} | ||
62 | +.u-badge--primary.data-v-662d25bf { | ||
63 | + background-color: #3c9cff; | ||
64 | +} | ||
65 | +.u-badge--primary--inverted.data-v-662d25bf { | ||
66 | + color: #3c9cff; | ||
67 | +} | ||
68 | +.u-badge--error.data-v-662d25bf { | ||
69 | + background-color: #f56c6c; | ||
70 | +} | ||
71 | +.u-badge--error--inverted.data-v-662d25bf { | ||
72 | + color: #f56c6c; | ||
73 | +} | ||
74 | +.u-badge--success.data-v-662d25bf { | ||
75 | + background-color: #5ac725; | ||
76 | +} | ||
77 | +.u-badge--success--inverted.data-v-662d25bf { | ||
78 | + color: #5ac725; | ||
79 | +} | ||
80 | +.u-badge--info.data-v-662d25bf { | ||
81 | + background-color: #909399; | ||
82 | +} | ||
83 | +.u-badge--info--inverted.data-v-662d25bf { | ||
84 | + color: #909399; | ||
85 | +} | ||
86 | +.u-badge--warning.data-v-662d25bf { | ||
87 | + background-color: #f9ae3d; | ||
88 | +} | ||
89 | +.u-badge--warning--inverted.data-v-662d25bf { | ||
90 | + color: #f9ae3d; | ||
91 | +} | ||
92 | + |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-icon/u-icon"],{ | ||
2 | - | ||
3 | -/***/ 178: | ||
4 | -/*!********************************************************************************************!*\ | ||
5 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.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 _u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-icon.vue?vue&type=template&id=172979f2&scoped=true& */ 179); | ||
13 | -/* harmony import */ var _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-icon.vue?vue&type=script&lang=js& */ 181); | ||
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_icon_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 _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | -/* harmony import */ var _u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true& */ 185); | ||
16 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11); | ||
17 | - | ||
18 | -var renderjs | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | -/* normalize component */ | ||
25 | - | ||
26 | -var component = Object(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | ||
27 | - _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
28 | - _u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
29 | - _u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
30 | - false, | ||
31 | - null, | ||
32 | - "172979f2", | ||
33 | - null, | ||
34 | - false, | ||
35 | - _u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | ||
36 | - renderjs | ||
37 | -) | ||
38 | - | ||
39 | -component.options.__file = "node_modules/uview-ui/components/u-icon/u-icon.vue" | ||
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
41 | - | ||
42 | -/***/ }), | ||
43 | - | ||
44 | -/***/ 179: | ||
45 | -/*!***************************************************************************************************************************************!*\ | ||
46 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=template&id=172979f2&scoped=true& ***! | ||
47 | - \***************************************************************************************************************************************/ | ||
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
50 | - | ||
51 | -"use strict"; | ||
52 | -__webpack_require__.r(__webpack_exports__); | ||
53 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true& */ 180); | ||
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
55 | - | ||
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
57 | - | ||
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | ||
59 | - | ||
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | -/***/ }), | ||
65 | - | ||
66 | -/***/ 180: | ||
67 | -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/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/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=template&id=172979f2&scoped=true& ***! | ||
69 | - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
72 | - | ||
73 | -"use strict"; | ||
74 | -__webpack_require__.r(__webpack_exports__); | ||
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | ||
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | ||
79 | -var components | ||
80 | -var render = function() { | ||
81 | - var _vm = this | ||
82 | - var _h = _vm.$createElement | ||
83 | - var _c = _vm._self._c || _h | ||
84 | - var s0 = _vm.isImg | ||
85 | - ? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)]) | ||
86 | - : null | ||
87 | - var s1 = !_vm.isImg | ||
88 | - ? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)]) | ||
89 | - : null | ||
90 | - var g0 = _vm.label !== "" ? _vm.$u.addUnit(_vm.labelSize) : null | ||
91 | - var g1 = | ||
92 | - _vm.label !== "" && _vm.labelPos == "right" | ||
93 | - ? _vm.$u.addUnit(_vm.space) | ||
94 | - : null | ||
95 | - var g2 = | ||
96 | - _vm.label !== "" && _vm.labelPos == "bottom" | ||
97 | - ? _vm.$u.addUnit(_vm.space) | ||
98 | - : null | ||
99 | - var g3 = | ||
100 | - _vm.label !== "" && _vm.labelPos == "left" | ||
101 | - ? _vm.$u.addUnit(_vm.space) | ||
102 | - : null | ||
103 | - var g4 = | ||
104 | - _vm.label !== "" && _vm.labelPos == "top" ? _vm.$u.addUnit(_vm.space) : null | ||
105 | - _vm.$mp.data = Object.assign( | ||
106 | - {}, | ||
107 | - { | ||
108 | - $root: { | ||
109 | - s0: s0, | ||
110 | - s1: s1, | ||
111 | - g0: g0, | ||
112 | - g1: g1, | ||
113 | - g2: g2, | ||
114 | - g3: g3, | ||
115 | - g4: g4 | ||
116 | - } | ||
117 | - } | ||
118 | - ) | ||
119 | -} | ||
120 | -var recyclableRender = false | ||
121 | -var staticRenderFns = [] | ||
122 | -render._withStripped = true | ||
123 | - | ||
124 | - | ||
125 | - | ||
126 | -/***/ }), | ||
127 | - | ||
128 | -/***/ 181: | ||
129 | -/*!*********************************************************************************************************************!*\ | ||
130 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=script&lang=js& ***! | ||
131 | - \*********************************************************************************************************************/ | ||
132 | -/*! no static exports found */ | ||
133 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
134 | - | ||
135 | -"use strict"; | ||
136 | -__webpack_require__.r(__webpack_exports__); | ||
137 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js& */ 182); | ||
138 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
139 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_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 _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
140 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
141 | - | ||
142 | -/***/ }), | ||
143 | - | ||
144 | -/***/ 182: | ||
145 | -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
146 | - !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=script&lang=js& ***! | ||
147 | - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
148 | -/*! no static exports found */ | ||
149 | -/***/ (function(module, exports, __webpack_require__) { | ||
150 | - | ||
151 | -"use strict"; | ||
152 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | ||
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 | - | ||
189 | - | ||
190 | - | ||
191 | - | ||
192 | - | ||
193 | - | ||
194 | - | ||
195 | - | ||
196 | - | ||
197 | - | ||
198 | - | ||
199 | - | ||
200 | - | ||
201 | -var _icons = _interopRequireDefault(__webpack_require__(/*! ./icons */ 183)); | ||
202 | - | ||
203 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 184));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | ||
204 | -// | ||
205 | -// | ||
206 | -// | ||
207 | -// | ||
208 | -// | ||
209 | -// | ||
210 | -// | ||
211 | -// | ||
212 | -// | ||
213 | -// | ||
214 | -// | ||
215 | -// | ||
216 | -// | ||
217 | -// | ||
218 | -// | ||
219 | -// | ||
220 | -// | ||
221 | -// | ||
222 | -// | ||
223 | -// | ||
224 | -// | ||
225 | -// | ||
226 | -// | ||
227 | -// | ||
228 | -// | ||
229 | -// | ||
230 | -// | ||
231 | -// | ||
232 | -// | ||
233 | -// | ||
234 | -// | ||
235 | -// | ||
236 | -// | ||
237 | -// | ||
238 | -// | ||
239 | -// 引入图标名称,已经对应的unicode | ||
240 | -; /** | ||
241 | - * icon 图标 | ||
242 | - * @description 基于字体的图标集,包含了大多数常见场景的图标。 | ||
243 | - * @tutorial https://www.uviewui.com/components/icon.html | ||
244 | - * @property {String} name 图标名称,见示例图标集 | ||
245 | - * @property {String} color 图标颜色,可接受主题色 (默认 color['u-content-color'] ) | ||
246 | - * @property {String | Number} size 图标字体大小,单位px (默认 '16px' ) | ||
247 | - * @property {Boolean} bold 是否显示粗体 (默认 false ) | ||
248 | - * @property {String | Number} index 点击图标的时候传递事件出去的index(用于区分点击了哪一个) | ||
249 | - * @property {String} hoverClass 图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网 | ||
250 | - * @property {String} customPrefix 自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' ) | ||
251 | - * @property {String | Number} label 图标右侧的label文字 | ||
252 | - * @property {String} labelPos label相对于图标的位置,只能right或bottom (默认 'right' ) | ||
253 | - * @property {String | Number} labelSize label字体大小,单位px (默认 '15px' ) | ||
254 | - * @property {String} labelColor 图标右侧的label文字颜色 ( 默认 color['u-content-color'] ) | ||
255 | - * @property {String | Number} space label与图标的距离,单位px (默认 '3px' ) | ||
256 | - * @property {String} imgMode 图片的mode | ||
257 | - * @property {String | Number} width 显示图片小图标时的宽度 | ||
258 | - * @property {String | Number} height 显示图片小图标时的高度 | ||
259 | - * @property {String | Number} top 图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 ) | ||
260 | - * @property {Boolean} stop 是否阻止事件传播 (默认 false ) | ||
261 | - * @property {Object} customStyle icon的样式,对象形式 | ||
262 | - * @event {Function} click 点击图标时触发 | ||
263 | - * @event {Function} touchstart 事件触摸时触发 | ||
264 | - * @example <u-icon name="photo" color="#2979ff" size="28"></u-icon> | ||
265 | - */var _default = { name: 'u-icon', data: function data() {return {};}, mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], computed: { uClasses: function uClasses() {var classes = [];classes.push(this.customPrefix + '-' + this.name); // // uView的自定义图标类名为u-iconfont | ||
266 | - // if (this.customPrefix == 'uicon') { | ||
267 | - // classes.push('u-iconfont') | ||
268 | - // } else { | ||
269 | - // classes.push(this.customPrefix) | ||
270 | - // } | ||
271 | - // 主题色,通过类配置 | ||
272 | - if (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color); // 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别 | ||
273 | - // 故需将其拆成一个字符串的形式,通过空格隔开各个类名 | ||
274 | - return classes;}, iconStyle: function iconStyle() {var style = {};style = { fontSize: uni.$u.addUnit(this.size), lineHeight: uni.$u.addUnit(this.size), fontWeight: this.bold ? 'bold' : 'normal', // 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 | ||
275 | - top: uni.$u.addUnit(this.top) }; // 非主题色值时,才当作颜色值 | ||
276 | - if (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color;return style;}, // 判断传入的name属性,是否图片路径,只要带有"/"均认为是图片形式 | ||
277 | - isImg: function isImg() {return this.name.indexOf('/') !== -1;}, imgStyle: function imgStyle() {var style = {}; | ||
278 | - // 如果设置width和height属性,则优先使用,否则使用size属性 | ||
279 | - style.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size); | ||
280 | - style.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size); | ||
281 | - return style; | ||
282 | - }, | ||
283 | - // 通过图标名,查找对应的图标 | ||
284 | - icon: function icon() { | ||
285 | - // 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码 | ||
286 | - return _icons.default['uicon-' + this.name] || this.name; | ||
287 | - } }, | ||
288 | - | ||
289 | - methods: { | ||
290 | - clickHandler: function clickHandler(e) { | ||
291 | - this.$emit('click', this.index); | ||
292 | - // 是否阻止事件冒泡 | ||
293 | - this.stop && this.preventEvent(e); | ||
294 | - } } };exports.default = _default; | ||
295 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | ||
296 | - | ||
297 | -/***/ }), | ||
298 | - | ||
299 | -/***/ 185: | ||
300 | -/*!******************************************************************************************************************************************************!*\ | ||
301 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true& ***! | ||
302 | - \******************************************************************************************************************************************************/ | ||
303 | -/*! no static exports found */ | ||
304 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
305 | - | ||
306 | -"use strict"; | ||
307 | -__webpack_require__.r(__webpack_exports__); | ||
308 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true& */ 186); | ||
309 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
310 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
311 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
312 | - | ||
313 | -/***/ }), | ||
314 | - | ||
315 | -/***/ 186: | ||
316 | -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
317 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true& ***! | ||
318 | - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
319 | -/*! no static exports found */ | ||
320 | -/***/ (function(module, exports, __webpack_require__) { | ||
321 | - | ||
322 | -// extracted by mini-css-extract-plugin | ||
323 | - if(false) { var cssReload; } | ||
324 | - | ||
325 | - | ||
326 | -/***/ }) | ||
327 | - | ||
328 | -}]); | ||
329 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js.map | ||
330 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
331 | - 'node-modules/uview-ui/components/u-icon/u-icon-create-component', | ||
332 | - { | ||
333 | - 'node-modules/uview-ui/components/u-icon/u-icon-create-component':(function(module, exports, __webpack_require__){ | ||
334 | - __webpack_require__('1')['createComponent'](__webpack_require__(178)) | ||
335 | - }) | ||
336 | - }, | ||
337 | - [['node-modules/uview-ui/components/u-icon/u-icon-create-component']] | ||
338 | -]); | 1 | +Component({}) |
1 | +Component({}) |
1 | +<view class="u-line data-v-e778bab2" style="{{$root.s0}}"></view> |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | /* 垂直间距 */ | 25 | /* 垂直间距 */ |
26 | /* 透明度 */ | 26 | /* 透明度 */ |
27 | /* 文章场景相关 */ | 27 | /* 文章场景相关 */ |
28 | -view.data-v-647f6c67, scroll-view.data-v-647f6c67, swiper-item.data-v-647f6c67 { | 28 | +view.data-v-e778bab2, scroll-view.data-v-e778bab2, swiper-item.data-v-e778bab2 { |
29 | display: flex; | 29 | display: flex; |
30 | flex-direction: column; | 30 | flex-direction: column; |
31 | flex-shrink: 0; | 31 | flex-shrink: 0; |
@@ -34,30 +34,7 @@ view.data-v-647f6c67, scroll-view.data-v-647f6c67, swiper-item.data-v-647f6c67 { | @@ -34,30 +34,7 @@ view.data-v-647f6c67, scroll-view.data-v-647f6c67, swiper-item.data-v-647f6c67 { | ||
34 | align-items: stretch; | 34 | align-items: stretch; |
35 | align-content: flex-start; | 35 | align-content: flex-start; |
36 | } | 36 | } |
37 | -.u-swiper-indicator__wrapper.data-v-647f6c67 { | ||
38 | - display: flex; | ||
39 | - flex-direction: row; | ||
40 | -} | ||
41 | -.u-swiper-indicator__wrapper--line.data-v-647f6c67 { | ||
42 | - border-radius: 100px; | ||
43 | - height: 4px; | ||
44 | -} | ||
45 | -.u-swiper-indicator__wrapper--line__bar.data-v-647f6c67 { | ||
46 | - width: 22px; | ||
47 | - height: 4px; | ||
48 | - border-radius: 100px; | ||
49 | - background-color: #FFFFFF; | ||
50 | - transition: -webkit-transform 0.3s; | ||
51 | - transition: transform 0.3s; | ||
52 | - transition: transform 0.3s, -webkit-transform 0.3s; | ||
53 | -} | ||
54 | -.u-swiper-indicator__wrapper__dot.data-v-647f6c67 { | ||
55 | - width: 5px; | ||
56 | - height: 5px; | ||
57 | - border-radius: 100px; | ||
58 | - margin: 0 4px; | ||
59 | -} | ||
60 | -.u-swiper-indicator__wrapper__dot--active.data-v-647f6c67 { | ||
61 | - width: 12px; | 37 | +.u-line.data-v-e778bab2 { |
38 | + vertical-align: middle; | ||
62 | } | 39 | } |
63 | 40 |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-loading-icon/u-loading-icon"],{ | ||
2 | - | ||
3 | -/***/ 187: | ||
4 | -/*!************************************************************************************************************!*\ | ||
5 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.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 _u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true& */ 188); | ||
13 | -/* harmony import */ var _u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-loading-icon.vue?vue&type=script&lang=js& */ 190); | ||
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_loading_icon_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 _u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | -/* harmony import */ var _u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true& */ 193); | ||
16 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11); | ||
17 | - | ||
18 | -var renderjs | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | -/* normalize component */ | ||
25 | - | ||
26 | -var component = Object(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | ||
27 | - _u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
28 | - _u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
29 | - _u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
30 | - false, | ||
31 | - null, | ||
32 | - "8ae91632", | ||
33 | - null, | ||
34 | - false, | ||
35 | - _u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | ||
36 | - renderjs | ||
37 | -) | ||
38 | - | ||
39 | -component.options.__file = "node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue" | ||
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
41 | - | ||
42 | -/***/ }), | ||
43 | - | ||
44 | -/***/ 188: | ||
45 | -/*!*******************************************************************************************************************************************************!*\ | ||
46 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true& ***! | ||
47 | - \*******************************************************************************************************************************************************/ | ||
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
50 | - | ||
51 | -"use strict"; | ||
52 | -__webpack_require__.r(__webpack_exports__); | ||
53 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true& */ 189); | ||
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
55 | - | ||
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
57 | - | ||
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | ||
59 | - | ||
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_template_id_8ae91632_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | -/***/ }), | ||
65 | - | ||
66 | -/***/ 189: | ||
67 | -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/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/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true& ***! | ||
69 | - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
72 | - | ||
73 | -"use strict"; | ||
74 | -__webpack_require__.r(__webpack_exports__); | ||
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | ||
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | ||
79 | -var components | ||
80 | -var render = function() { | ||
81 | - var _vm = this | ||
82 | - var _h = _vm.$createElement | ||
83 | - var _c = _vm._self._c || _h | ||
84 | - var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null | ||
85 | - var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null | ||
86 | - var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null | ||
87 | - var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null | ||
88 | - _vm.$mp.data = Object.assign( | ||
89 | - {}, | ||
90 | - { | ||
91 | - $root: { | ||
92 | - s0: s0, | ||
93 | - g0: g0, | ||
94 | - g1: g1, | ||
95 | - g2: g2 | ||
96 | - } | ||
97 | - } | ||
98 | - ) | ||
99 | -} | ||
100 | -var recyclableRender = false | ||
101 | -var staticRenderFns = [] | ||
102 | -render._withStripped = true | ||
103 | - | ||
104 | - | ||
105 | - | ||
106 | -/***/ }), | ||
107 | - | ||
108 | -/***/ 190: | ||
109 | -/*!*************************************************************************************************************************************!*\ | ||
110 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=script&lang=js& ***! | ||
111 | - \*************************************************************************************************************************************/ | ||
112 | -/*! no static exports found */ | ||
113 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
114 | - | ||
115 | -"use strict"; | ||
116 | -__webpack_require__.r(__webpack_exports__); | ||
117 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js& */ 191); | ||
118 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
119 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_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 _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
120 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
121 | - | ||
122 | -/***/ }), | ||
123 | - | ||
124 | -/***/ 191: | ||
125 | -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
126 | - !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=script&lang=js& ***! | ||
127 | - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
128 | -/*! no static exports found */ | ||
129 | -/***/ (function(module, exports, __webpack_require__) { | ||
130 | - | ||
131 | -"use strict"; | ||
132 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | ||
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 | - | ||
189 | - | ||
190 | - | ||
191 | - | ||
192 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 192));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | ||
193 | -// | ||
194 | -// | ||
195 | -// | ||
196 | -// | ||
197 | -// | ||
198 | -// | ||
199 | -// | ||
200 | -// | ||
201 | -// | ||
202 | -// | ||
203 | -// | ||
204 | -// | ||
205 | -// | ||
206 | -// | ||
207 | -// | ||
208 | -// | ||
209 | -// | ||
210 | -// | ||
211 | -// | ||
212 | -// | ||
213 | -// | ||
214 | -// | ||
215 | -// | ||
216 | -// | ||
217 | -// | ||
218 | -// | ||
219 | -// | ||
220 | -// | ||
221 | -// | ||
222 | -// | ||
223 | -// | ||
224 | -// | ||
225 | -// | ||
226 | -// | ||
227 | -// | ||
228 | -// | ||
229 | -// | ||
230 | -// | ||
231 | -// | ||
232 | -// | ||
233 | -// | ||
234 | -// | ||
235 | -// | ||
236 | -// | ||
237 | -// | ||
238 | -// | ||
239 | -// | ||
240 | -// | ||
241 | -// | ||
242 | -// | ||
243 | -// | ||
244 | -// | ||
245 | -// | ||
246 | -// | ||
247 | -// | ||
248 | -// | ||
249 | -// | ||
250 | -// | ||
251 | -/** | ||
252 | - * loading 加载动画 | ||
253 | - * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。 | ||
254 | - * @tutorial https://www.uviewui.com/components/loading.html | ||
255 | - * @property {Boolean} show 是否显示组件 (默认 true) | ||
256 | - * @property {String} color 动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color']) | ||
257 | - * @property {String} textColor 提示文本的颜色(默认color['u-tips-color']) | ||
258 | - * @property {Boolean} vertical 文字和图标是否垂直排列 (默认 false ) | ||
259 | - * @property {String} mode 模式选择,见官网说明(默认 'circle' ) | ||
260 | - * @property {String | Number} size 加载图标的大小,单位px (默认 24 ) | ||
261 | - * @property {String | Number} textSize 文字大小(默认 15 ) | ||
262 | - * @property {String | Number} text 文字内容 | ||
263 | - * @property {String} timingFunction 动画模式 (默认 'ease-in-out' ) | ||
264 | - * @property {String | Number} duration 动画执行周期时间(默认 1200) | ||
265 | - * @property {String} inactiveColor mode=circle时的暗边颜色 | ||
266 | - * @property {Object} customStyle 定义需要用到的外部样式 | ||
267 | - * @example <u-loading mode="circle"></u-loading> | ||
268 | - */var _default = { name: 'u-loading-icon', mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], data: function data() {return { // Array.form可以通过一个伪数组对象创建指定长度的数组 | ||
269 | - // https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from | ||
270 | - array12: Array.from({ length: 12 }), // 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行 | ||
271 | - // 在iOS nvue上,则会一开始默认执行两个周期的动画 | ||
272 | - aniAngel: 360, // 动画旋转角度 | ||
273 | - webviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗 | ||
274 | - loading: false // 是否运行中,针对nvue使用 | ||
275 | - };}, computed: { // 当为circle类型时,给其另外三边设置一个更轻一些的颜色 | ||
276 | - // 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色 | ||
277 | - // 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好) | ||
278 | - otherBorderColor: function otherBorderColor() {var lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80];if (this.mode === 'circle') {return this.inactiveColor ? this.inactiveColor : lightColor;} else {return 'transparent';} // return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent' | ||
279 | - } }, watch: { show: function show(n) {// nvue中,show为true,且为非loading状态,就重新执行动画模块 | ||
280 | - } }, mounted: function mounted() {this.init();}, methods: { init: function init() {setTimeout(function () {}, 20);}, // 监听webview的显示与隐藏 | ||
281 | - addEventListenerToWebview: function addEventListenerToWebview() {var _this = this; // webview的堆栈 | ||
282 | - var pages = getCurrentPages(); // 当前页面 | ||
283 | - var page = pages[pages.length - 1]; // 当前页面的webview实例 | ||
284 | - var currentWebview = page.$getAppWebview(); // 监听webview的显示与隐藏,从而停止或者开始动画(为了性能) | ||
285 | - currentWebview.addEventListener('hide', function () {_this.webviewHide = true;});currentWebview.addEventListener('show', function () {_this.webviewHide = false;}); | ||
286 | - } } };exports.default = _default; | ||
287 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | ||
288 | - | ||
289 | -/***/ }), | ||
290 | - | ||
291 | -/***/ 193: | ||
292 | -/*!**********************************************************************************************************************************************************************!*\ | ||
293 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true& ***! | ||
294 | - \**********************************************************************************************************************************************************************/ | ||
295 | -/*! no static exports found */ | ||
296 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
297 | - | ||
298 | -"use strict"; | ||
299 | -__webpack_require__.r(__webpack_exports__); | ||
300 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true& */ 194); | ||
301 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
302 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
303 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_icon_vue_vue_type_style_index_0_id_8ae91632_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
304 | - | ||
305 | -/***/ }), | ||
306 | - | ||
307 | -/***/ 194: | ||
308 | -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
309 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true& ***! | ||
310 | - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
311 | -/*! no static exports found */ | ||
312 | -/***/ (function(module, exports, __webpack_require__) { | ||
313 | - | ||
314 | -// extracted by mini-css-extract-plugin | ||
315 | - if(false) { var cssReload; } | ||
316 | - | ||
317 | - | ||
318 | -/***/ }) | ||
319 | - | ||
320 | -}]); | ||
321 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map | ||
322 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
323 | - 'node-modules/uview-ui/components/u-loading-icon/u-loading-icon-create-component', | ||
324 | - { | ||
325 | - 'node-modules/uview-ui/components/u-loading-icon/u-loading-icon-create-component':(function(module, exports, __webpack_require__){ | ||
326 | - __webpack_require__('1')['createComponent'](__webpack_require__(187)) | ||
327 | - }) | ||
328 | - }, | ||
329 | - [['node-modules/uview-ui/components/u-loading-icon/u-loading-icon-create-component']] | ||
330 | -]); | 1 | +Component({}) |
1 | +Component({}) |
1 | { | 1 | { |
2 | "component": true, | 2 | "component": true, |
3 | "usingComponents": { | 3 | "usingComponents": { |
4 | - "u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon", | ||
5 | - "u-swiper-indicator": "/node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator" | 4 | + "u-popup": "/node-modules/uview-ui/components/u-popup/u-popup", |
5 | + "u-line": "/node-modules/uview-ui/components/u-line/u-line", | ||
6 | + "u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon" | ||
6 | } | 7 | } |
7 | } | 8 | } |
1 | +<u-popup vue-id="64f5513e-1" mode="center" zoom="{{zoom}}" show="{{show}}" customStyle="{{$root.a0}}" closeOnClickOverlay="{{closeOnClickOverlay}}" safeAreaInsetBottom="{{false}}" duration="{{400}}" data-event-opts="{{[['^click',[['clickHandler']]]]}}" bind:click="__e" class="data-v-713d0fd3" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-modal data-v-713d0fd3" style="{{'width:'+($root.g0)+';'}}"><block wx:if="{{title}}"><text class="u-modal__title data-v-713d0fd3">{{title}}</text></block><view class="u-modal__content data-v-713d0fd3" style="{{'padding-top:'+((title?12:25)+'px')+';'}}"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text class="u-modal__content__text data-v-713d0fd3">{{content}}</text></block></view><block wx:if="{{$slots.confirmButton}}"><view class="u-modal__button-group--confirm-button data-v-713d0fd3"><slot name="confirmButton"></slot></view></block><block wx:else><u-line vue-id="{{('64f5513e-2')+','+('64f5513e-1')}}" class="data-v-713d0fd3" bind:__l="__l"></u-line><view class="u-modal__button-group data-v-713d0fd3" style="{{'flex-direction:'+(buttonReverse?'row-reverse':'row')+';'}}"><block wx:if="{{showCancelButton}}"><view class="{{['u-modal__button-group__wrapper','u-modal__button-group__wrapper--cancel','data-v-713d0fd3',showCancelButton&&!showConfirmButton&&'u-modal__button-group__wrapper--only-cancel']}}" hover-stay-time="{{150}}" hover-class="u-modal__button-group__wrapper--hover" data-event-opts="{{[['tap',[['cancelHandler',['$event']]]]]}}" bindtap="__e"><text class="u-modal__button-group__wrapper__text data-v-713d0fd3" style="{{'color:'+(cancelColor)+';'}}">{{cancelText}}</text></view></block><block wx:if="{{showConfirmButton&&showCancelButton}}"><u-line vue-id="{{('64f5513e-3')+','+('64f5513e-1')}}" direction="column" class="data-v-713d0fd3" bind:__l="__l"></u-line></block><block wx:if="{{showConfirmButton}}"><view class="{{['u-modal__button-group__wrapper','u-modal__button-group__wrapper--confirm','data-v-713d0fd3',!showCancelButton&&showConfirmButton&&'u-modal__button-group__wrapper--only-confirm']}}" hover-stay-time="{{150}}" hover-class="u-modal__button-group__wrapper--hover" data-event-opts="{{[['tap',[['confirmHandler',['$event']]]]]}}" bindtap="__e"><block wx:if="{{loading}}"><u-loading-icon vue-id="{{('64f5513e-4')+','+('64f5513e-1')}}" class="data-v-713d0fd3" bind:__l="__l"></u-loading-icon></block><block wx:else><text class="u-modal__button-group__wrapper__text data-v-713d0fd3" style="{{'color:'+(confirmColor)+';'}}">{{confirmText}}</text></block></view></block></view></block></view></u-popup> |
1 | +@charset "UTF-8"; | ||
2 | +/** | ||
3 | + * 这里是uni-app内置的常用样式变量 | ||
4 | + * | ||
5 | + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
6 | + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
7 | + * | ||
8 | + */ | ||
9 | +/** | ||
10 | + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
11 | + * | ||
12 | + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
13 | + */ | ||
14 | +/* 颜色变量 */ | ||
15 | +/* uni.scss */ | ||
16 | +/* 行为相关颜色 */ | ||
17 | +/* 文字基本颜色 */ | ||
18 | +/* 背景颜色 */ | ||
19 | +/* 边框颜色 */ | ||
20 | +/* 尺寸变量 */ | ||
21 | +/* 文字尺寸 */ | ||
22 | +/* 图片尺寸 */ | ||
23 | +/* Border Radius */ | ||
24 | +/* 水平间距 */ | ||
25 | +/* 垂直间距 */ | ||
26 | +/* 透明度 */ | ||
27 | +/* 文章场景相关 */ | ||
28 | +view.data-v-713d0fd3, scroll-view.data-v-713d0fd3, swiper-item.data-v-713d0fd3 { | ||
29 | + display: flex; | ||
30 | + flex-direction: column; | ||
31 | + flex-shrink: 0; | ||
32 | + flex-grow: 0; | ||
33 | + flex-basis: auto; | ||
34 | + align-items: stretch; | ||
35 | + align-content: flex-start; | ||
36 | +} | ||
37 | +.u-modal.data-v-713d0fd3 { | ||
38 | + width: 650rpx; | ||
39 | + border-radius: 6px; | ||
40 | + overflow: hidden; | ||
41 | +} | ||
42 | +.u-modal__title.data-v-713d0fd3 { | ||
43 | + font-size: 16px; | ||
44 | + font-weight: bold; | ||
45 | + color: #606266; | ||
46 | + text-align: center; | ||
47 | + padding-top: 25px; | ||
48 | +} | ||
49 | +.u-modal__content.data-v-713d0fd3 { | ||
50 | + padding: 12px 25px 25px 25px; | ||
51 | + display: flex; | ||
52 | + flex-direction: row; | ||
53 | + justify-content: center; | ||
54 | +} | ||
55 | +.u-modal__content__text.data-v-713d0fd3 { | ||
56 | + font-size: 15px; | ||
57 | + color: #606266; | ||
58 | + flex: 1; | ||
59 | +} | ||
60 | +.u-modal__button-group.data-v-713d0fd3 { | ||
61 | + display: flex; | ||
62 | + flex-direction: row; | ||
63 | +} | ||
64 | +.u-modal__button-group--confirm-button.data-v-713d0fd3 { | ||
65 | + flex-direction: column; | ||
66 | + padding: 0px 25px 15px 25px; | ||
67 | +} | ||
68 | +.u-modal__button-group__wrapper.data-v-713d0fd3 { | ||
69 | + flex: 1; | ||
70 | + display: flex; | ||
71 | + flex-direction: row; | ||
72 | + justify-content: center; | ||
73 | + align-items: center; | ||
74 | + height: 48px; | ||
75 | +} | ||
76 | +.u-modal__button-group__wrapper--confirm.data-v-713d0fd3, .u-modal__button-group__wrapper--only-cancel.data-v-713d0fd3 { | ||
77 | + border-bottom-right-radius: 6px; | ||
78 | +} | ||
79 | +.u-modal__button-group__wrapper--cancel.data-v-713d0fd3, .u-modal__button-group__wrapper--only-confirm.data-v-713d0fd3 { | ||
80 | + border-bottom-left-radius: 6px; | ||
81 | +} | ||
82 | +.u-modal__button-group__wrapper--hover.data-v-713d0fd3 { | ||
83 | + background-color: #f3f4f6; | ||
84 | +} | ||
85 | +.u-modal__button-group__wrapper__text.data-v-713d0fd3 { | ||
86 | + color: #606266; | ||
87 | + font-size: 16px; | ||
88 | + text-align: center; | ||
89 | +} | ||
90 | + |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-navbar/u-navbar"],{ | ||
2 | - | ||
3 | -/***/ 154: | ||
4 | -/*!************************************************************************************************!*\ | ||
5 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.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 _u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-navbar.vue?vue&type=template&id=75dad532&scoped=true& */ 155); | ||
13 | -/* harmony import */ var _u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-navbar.vue?vue&type=script&lang=js& */ 157); | ||
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_navbar_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 _u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
15 | -/* harmony import */ var _u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true& */ 160); | ||
16 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11); | ||
17 | - | ||
18 | -var renderjs | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | -/* normalize component */ | ||
25 | - | ||
26 | -var component = Object(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | ||
27 | - _u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | ||
28 | - _u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | ||
29 | - _u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | ||
30 | - false, | ||
31 | - null, | ||
32 | - "75dad532", | ||
33 | - null, | ||
34 | - false, | ||
35 | - _u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | ||
36 | - renderjs | ||
37 | -) | ||
38 | - | ||
39 | -component.options.__file = "node_modules/uview-ui/components/u-navbar/u-navbar.vue" | ||
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | ||
41 | - | ||
42 | -/***/ }), | ||
43 | - | ||
44 | -/***/ 155: | ||
45 | -/*!*******************************************************************************************************************************************!*\ | ||
46 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=template&id=75dad532&scoped=true& ***! | ||
47 | - \*******************************************************************************************************************************************/ | ||
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
50 | - | ||
51 | -"use strict"; | ||
52 | -__webpack_require__.r(__webpack_exports__); | ||
53 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=template&id=75dad532&scoped=true& */ 156); | ||
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | ||
55 | - | ||
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | ||
57 | - | ||
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | ||
59 | - | ||
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_template_id_75dad532_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | -/***/ }), | ||
65 | - | ||
66 | -/***/ 156: | ||
67 | -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/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/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=template&id=75dad532&scoped=true& ***! | ||
69 | - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | ||
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
72 | - | ||
73 | -"use strict"; | ||
74 | -__webpack_require__.r(__webpack_exports__); | ||
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | ||
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | ||
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | ||
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | ||
79 | -var components | ||
80 | -try { | ||
81 | - components = { | ||
82 | - uStatusBar: function() { | ||
83 | - return Promise.all(/*! import() | node-modules/uview-ui/components/u-status-bar/u-status-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-status-bar/u-status-bar")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-status-bar/u-status-bar.vue */ 170)) | ||
84 | - }, | ||
85 | - uIcon: function() { | ||
86 | - return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 178)) | ||
87 | - } | ||
88 | - } | ||
89 | -} catch (e) { | ||
90 | - if ( | ||
91 | - e.message.indexOf("Cannot find module") !== -1 && | ||
92 | - e.message.indexOf(".vue") !== -1 | ||
93 | - ) { | ||
94 | - console.error(e.message) | ||
95 | - console.error("1. 排查组件名称拼写是否正确") | ||
96 | - console.error( | ||
97 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | ||
98 | - ) | ||
99 | - console.error( | ||
100 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | ||
101 | - ) | ||
102 | - } else { | ||
103 | - throw e | ||
104 | - } | ||
105 | -} | ||
106 | -var render = function() { | ||
107 | - var _vm = this | ||
108 | - var _h = _vm.$createElement | ||
109 | - var _c = _vm._self._c || _h | ||
110 | - var g0 = | ||
111 | - _vm.fixed && _vm.placeholder | ||
112 | - ? _vm.$u.addUnit( | ||
113 | - _vm.$u.getPx(_vm.height) + _vm.$u.sys().statusBarHeight, | ||
114 | - "px" | ||
115 | - ) | ||
116 | - : null | ||
117 | - var g1 = _vm.$u.addUnit(_vm.height) | ||
118 | - | ||
119 | - var s0 = _vm.__get_style([ | ||
120 | - { | ||
121 | - width: _vm.$u.addUnit(_vm.titleWidth) | ||
122 | - }, | ||
123 | - _vm.$u.addStyle(_vm.titleStyle) | ||
124 | - ]) | ||
125 | - | ||
126 | - _vm.$mp.data = Object.assign( | ||
127 | - {}, | ||
128 | - { | ||
129 | - $root: { | ||
130 | - g0: g0, | ||
131 | - g1: g1, | ||
132 | - s0: s0 | ||
133 | - } | ||
134 | - } | ||
135 | - ) | ||
136 | -} | ||
137 | -var recyclableRender = false | ||
138 | -var staticRenderFns = [] | ||
139 | -render._withStripped = true | ||
140 | - | ||
141 | - | ||
142 | - | ||
143 | -/***/ }), | ||
144 | - | ||
145 | -/***/ 157: | ||
146 | -/*!*************************************************************************************************************************!*\ | ||
147 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=script&lang=js& ***! | ||
148 | - \*************************************************************************************************************************/ | ||
149 | -/*! no static exports found */ | ||
150 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
151 | - | ||
152 | -"use strict"; | ||
153 | -__webpack_require__.r(__webpack_exports__); | ||
154 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=script&lang=js& */ 158); | ||
155 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | ||
156 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_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 _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
157 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
158 | - | ||
159 | -/***/ }), | ||
160 | - | ||
161 | -/***/ 158: | ||
162 | -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
163 | - !*** ./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/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=script&lang=js& ***! | ||
164 | - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
165 | -/*! no static exports found */ | ||
166 | -/***/ (function(module, exports, __webpack_require__) { | ||
167 | - | ||
168 | -"use strict"; | ||
169 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | ||
170 | - | ||
171 | - | ||
172 | - | ||
173 | - | ||
174 | - | ||
175 | - | ||
176 | - | ||
177 | - | ||
178 | - | ||
179 | - | ||
180 | - | ||
181 | - | ||
182 | - | ||
183 | - | ||
184 | - | ||
185 | - | ||
186 | - | ||
187 | - | ||
188 | - | ||
189 | - | ||
190 | - | ||
191 | - | ||
192 | - | ||
193 | - | ||
194 | - | ||
195 | - | ||
196 | - | ||
197 | - | ||
198 | - | ||
199 | - | ||
200 | - | ||
201 | - | ||
202 | - | ||
203 | - | ||
204 | - | ||
205 | - | ||
206 | - | ||
207 | - | ||
208 | - | ||
209 | - | ||
210 | - | ||
211 | - | ||
212 | - | ||
213 | - | ||
214 | - | ||
215 | - | ||
216 | - | ||
217 | - | ||
218 | - | ||
219 | - | ||
220 | - | ||
221 | - | ||
222 | - | ||
223 | - | ||
224 | - | ||
225 | - | ||
226 | - | ||
227 | - | ||
228 | - | ||
229 | - | ||
230 | - | ||
231 | - | ||
232 | - | ||
233 | - | ||
234 | - | ||
235 | - | ||
236 | - | ||
237 | - | ||
238 | - | ||
239 | - | ||
240 | - | ||
241 | - | ||
242 | - | ||
243 | - | ||
244 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 159));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | ||
245 | -// | ||
246 | -// | ||
247 | -// | ||
248 | -// | ||
249 | -// | ||
250 | -// | ||
251 | -// | ||
252 | -// | ||
253 | -// | ||
254 | -// | ||
255 | -// | ||
256 | -// | ||
257 | -// | ||
258 | -// | ||
259 | -// | ||
260 | -// | ||
261 | -// | ||
262 | -// | ||
263 | -// | ||
264 | -// | ||
265 | -// | ||
266 | -// | ||
267 | -// | ||
268 | -// | ||
269 | -// | ||
270 | -// | ||
271 | -// | ||
272 | -// | ||
273 | -// | ||
274 | -// | ||
275 | -// | ||
276 | -// | ||
277 | -// | ||
278 | -// | ||
279 | -// | ||
280 | -// | ||
281 | -// | ||
282 | -// | ||
283 | -// | ||
284 | -// | ||
285 | -// | ||
286 | -// | ||
287 | -// | ||
288 | -// | ||
289 | -// | ||
290 | -// | ||
291 | -// | ||
292 | -// | ||
293 | -// | ||
294 | -// | ||
295 | -// | ||
296 | -// | ||
297 | -// | ||
298 | -// | ||
299 | -// | ||
300 | -// | ||
301 | -// | ||
302 | -// | ||
303 | -// | ||
304 | -// | ||
305 | -// | ||
306 | -// | ||
307 | -// | ||
308 | -// | ||
309 | -// | ||
310 | -// | ||
311 | -// | ||
312 | -// | ||
313 | -// | ||
314 | -// | ||
315 | -// | ||
316 | -// | ||
317 | -// | ||
318 | -/** | ||
319 | - * Navbar 自定义导航栏 | ||
320 | - * @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uni-app带的导航栏。 | ||
321 | - * @tutorial https://www.uviewui.com/components/navbar.html | ||
322 | - * @property {Boolean} safeAreaInsetTop 是否开启顶部安全区适配 (默认 true ) | ||
323 | - * @property {Boolean} placeholder 固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false ) | ||
324 | - * @property {Boolean} fixed 导航栏是否固定在顶部 (默认 false ) | ||
325 | - * @property {Boolean} border 导航栏底部是否显示下边框 (默认 false ) | ||
326 | - * @property {String} leftIcon 左边返回图标的名称,只能为uView自带的图标 (默认 'arrow-left' ) | ||
327 | - * @property {String} leftText 左边的提示文字 | ||
328 | - * @property {String} rightText 右边的提示文字 | ||
329 | - * @property {String} rightIcon 右边返回图标的名称,只能为uView自带的图标 | ||
330 | - * @property {String} title 导航栏标题,如设置为空字符,将会隐藏标题占位区域 | ||
331 | - * @property {String} bgColor 导航栏背景设置 (默认 '#ffffff' ) | ||
332 | - * @property {String | Number} titleWidth 导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' ) | ||
333 | - * @property {String | Number} height 导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' ) | ||
334 | - * @property {String | Number} leftIconSize 左侧返回图标的大小(默认 20px ) | ||
335 | - * @property {String | Number} leftIconColor 左侧返回图标的颜色(默认 #303133 ) | ||
336 | - * @property {Boolean} autoBack 点击左侧区域(返回图标),是否自动返回上一页(默认 false ) | ||
337 | - * @property {Object | String} titleStyle 标题的样式,对象或字符串 | ||
338 | - * @event {Function} leftClick 点击左侧区域 | ||
339 | - * @event {Function} rightClick 点击右侧区域 | ||
340 | - * @example <u-navbar title="剑未配妥,出门已是江湖" left-text="返回" right-text="帮助" @click-left="onClickBack" @click-right="onClickRight"></u-navbar> | ||
341 | - */var _default = { name: 'u-navbar', mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], data: function data() {return {};}, methods: { // 点击左侧区域 | ||
342 | - leftClick: function leftClick() {// 如果配置了autoBack,自动返回上一页 | ||
343 | - this.$emit('leftClick');if (this.autoBack) {uni.navigateBack();}}, // 点击右侧区域 | ||
344 | - rightClick: function rightClick() {this.$emit('rightClick');} } };exports.default = _default; | ||
345 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | ||
346 | - | ||
347 | -/***/ }), | ||
348 | - | ||
349 | -/***/ 160: | ||
350 | -/*!**********************************************************************************************************************************************************!*\ | ||
351 | - !*** C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true& ***! | ||
352 | - \**********************************************************************************************************************************************************/ | ||
353 | -/*! no static exports found */ | ||
354 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
355 | - | ||
356 | -"use strict"; | ||
357 | -__webpack_require__.r(__webpack_exports__); | ||
358 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true& */ 161); | ||
359 | -/* harmony import */ var _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
360 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | ||
361 | - /* harmony default export */ __webpack_exports__["default"] = (_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Program_Files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_navbar_vue_vue_type_style_index_0_id_75dad532_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
362 | - | ||
363 | -/***/ }), | ||
364 | - | ||
365 | -/***/ 161: | ||
366 | -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | ||
367 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/15121/Desktop/xytext1119/node_modules/uview-ui/components/u-navbar/u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true& ***! | ||
368 | - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | ||
369 | -/*! no static exports found */ | ||
370 | -/***/ (function(module, exports, __webpack_require__) { | ||
371 | - | ||
372 | -// extracted by mini-css-extract-plugin | ||
373 | - if(false) { var cssReload; } | ||
374 | - | ||
375 | - | ||
376 | -/***/ }) | ||
377 | - | ||
378 | -}]); | ||
379 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-navbar/u-navbar.js.map | ||
380 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | ||
381 | - 'node-modules/uview-ui/components/u-navbar/u-navbar-create-component', | ||
382 | - { | ||
383 | - 'node-modules/uview-ui/components/u-navbar/u-navbar-create-component':(function(module, exports, __webpack_require__){ | ||
384 | - __webpack_require__('1')['createComponent'](__webpack_require__(154)) | ||
385 | - }) | ||
386 | - }, | ||
387 | - [['node-modules/uview-ui/components/u-navbar/u-navbar-create-component']] | ||
388 | -]); | 1 | +Component({}) |
1 | +Component({}) |
1 | +<u-transition vue-id="255863ca-1" show="{{show}}" custom-class="u-overlay" duration="{{duration}}" custom-style="{{overlayStyle}}" data-event-opts="{{[['^click',[['clickHandler']]]]}}" bind:click="__e" class="data-v-2d8262d9" bind:__l="__l" vue-slots="{{['default']}}"><slot></slot></u-transition> |
-
请 注册 或 登录 后发表评论