Commit 19569f2b9e9290f0ceeedeffc65fb0bda9e5e051
1 parent
237535d0
购买券
Showing
15 changed files
with
845 additions
and
177 deletions
main.js
... | ... | @@ -11,6 +11,60 @@ Vue.prototype.$backgroundAudioData = { |
11 | 11 | playTime: 0, |
12 | 12 | formatedPlayTime: '00:00:00' |
13 | 13 | } |
14 | + | |
15 | +Vue.filter('priceFormat', function(value, arg) { | |
16 | + return (value / 100).toFixed(2) | |
17 | +}) | |
18 | + | |
19 | +Vue.filter('timeFormat', function(value, arg) { | |
20 | + | |
21 | + var time = ''; | |
22 | + if (null != value && "" != value) { | |
23 | + var timer = parseInt(value); | |
24 | + if (timer == 0) { | |
25 | + return '0秒'; | |
26 | + } | |
27 | + var days = parseInt(timer / (60 * 60 * 24)); | |
28 | + var hours = parseInt((timer % (60 * 60 * 24)) / (60 * 60)); | |
29 | + var minutes = parseInt((timer % (60 * 60)) / (60)) | |
30 | + var seconds = parseInt(timer % (60)); | |
31 | + if (days > 0) { | |
32 | + time = time + days +'天'; | |
33 | + } | |
34 | + if (hours > 0) { | |
35 | + time = time + hours +'小时'; | |
36 | + } | |
37 | + if (minutes > 0) { | |
38 | + time = time + minutes +'分钟'; | |
39 | + } | |
40 | + if (seconds > 0) { | |
41 | + time = time + seconds +'秒'; | |
42 | + } | |
43 | + return time; | |
44 | + } | |
45 | + return time; | |
46 | + | |
47 | +}) | |
48 | + | |
49 | +Vue.prototype.getGlobalUser = function(key) { | |
50 | + var userInfo = uni.getStorageSync("globalUser"); | |
51 | + if (userInfo != null && userInfo != "" && userInfo != undefined) { | |
52 | + return userInfo; | |
53 | + } else { | |
54 | + return null; | |
55 | + } | |
56 | +} | |
57 | + | |
58 | +Vue.prototype.getWxOpenid= function(key) { | |
59 | + var WxOpenid = uni.getStorageSync("WxOpenid"); | |
60 | + if (WxOpenid != null && WxOpenid != "" && WxOpenid != undefined) { | |
61 | + return WxOpenid; | |
62 | + } else { | |
63 | + return ""; | |
64 | + } | |
65 | +} | |
66 | + | |
67 | + | |
14 | 68 | App.mpType = 'app' |
15 | 69 | const app = new Vue({ |
16 | 70 | store, | ... | ... |
pages.json
... | ... | @@ -14,6 +14,12 @@ |
14 | 14 | "pages": [ |
15 | 15 | // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
16 | 16 | { |
17 | + "path": "pages/businessCard/buyCard", | |
18 | + "style": { | |
19 | + "navigationBarTitleText": "商户卡券购买" | |
20 | + } | |
21 | + }, | |
22 | + { | |
17 | 23 | "path": "pages/businessCard/businessCard", |
18 | 24 | "style": { |
19 | 25 | "navigationBarTitleText": "商户卡券" | ... | ... |
pages/businessCard/businessCard.vue
1 | 1 | <template> |
2 | 2 | <view> |
3 | -<uni-section title="基础用法" type="line"> | |
4 | - <uni-list> | |
5 | - <uni-list-item title="列表文字" /> | |
6 | - <uni-list-item title="列表文字" rightText="右侧文字" /> | |
7 | - <uni-list-item title="列表文字" note="列表描述信息" rightText="右侧文字" /> | |
8 | - </uni-list> | |
9 | - </uni-section> | |
10 | 3 | <uni-section title="50%(折扣券)" type="line"> |
11 | 4 | <uni-card padding="0" spacing="0"> |
12 | - <template v-slot:cover> | |
13 | - <view class="custom-cover"> | |
5 | + <!--<template v-slot:cover>--> | |
6 | + <!--<view class="custom-cover">--> | |
14 | 7 | <!--<image class="cover-image" mode="aspectFill" :src="cover">--> |
15 | 8 | <!--</image>--> |
16 | - <view class="cover-content"> | |
17 | - <text class="uni-subtitle uni-white">今日新闻热点</text> | |
18 | - </view> | |
19 | - </view> | |
20 | - </template> | |
9 | + <!--<view class="cover-content">--> | |
10 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
11 | + <!--</view>--> | |
12 | + <!--</view>--> | |
13 | + <!--</template>--> | |
21 | 14 | <uni-list> |
22 | - <uni-list-item title="今日新闻" note="1111" rightText="111" showArrow="false"> | |
15 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
23 | 16 | <text></text> |
24 | 17 | </uni-list-item> |
25 | - <uni-list-item title="今日新闻" showArrow></uni-list-item> | |
18 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
26 | 19 | </uni-list> |
27 | 20 | <view slot="actions" class="card-actions no-border"> |
28 | - <view class="card-actions-item" @click="actionsClick('分享')"> | |
29 | - <uni-icons type="pengyouquan" size="18" color="#999"></uni-icons> | |
30 | - <text class="card-actions-item-text">分享</text> | |
31 | - </view> | |
32 | - <view class="card-actions-item" @click="actionsClick('点赞')"> | |
33 | - <uni-icons type="heart" size="18" color="#999"></uni-icons> | |
34 | - <text class="card-actions-item-text">点赞</text> | |
21 | + | |
22 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
23 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
24 | + <text class="card-actions-item-text">购买</text> | |
35 | 25 | </view> |
36 | - <view class="card-actions-item" @click="actionsClick('评论')"> | |
37 | - <uni-icons type="chatbubble" size="18" color="#999"></uni-icons> | |
38 | - <text class="card-actions-item-text">评论</text> | |
26 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
27 | + <uni-icons type="redo-filled" size="18" color="#999"></uni-icons> | |
28 | + <text class="card-actions-item-text">购买</text> | |
39 | 29 | </view> |
40 | 30 | </view> |
41 | 31 | </uni-card> |
42 | 32 | </uni-section> |
43 | 33 | |
44 | - <!-- <view class="border-bg"></view> --> | |
45 | - <uni-section title="卡片+列表" type="line"> | |
34 | + <uni-section title="2小时(时长券)" type="line"> | |
46 | 35 | <uni-card padding="0" spacing="0"> |
47 | - <template v-slot:cover> | |
48 | - <view class="custom-cover"> | |
49 | - <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
50 | - <!--</image>--> | |
51 | - <view class="cover-content"> | |
52 | - <text class="uni-subtitle uni-white">今日新闻热点</text> | |
53 | - </view> | |
54 | - </view> | |
55 | - </template> | |
36 | + <!--<template v-slot:cover>--> | |
37 | + <!--<view class="custom-cover">--> | |
38 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
39 | + <!--</image>--> | |
40 | + <!--<view class="cover-content">--> | |
41 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
42 | + <!--</view>--> | |
43 | + <!--</view>--> | |
44 | + <!--</template>--> | |
56 | 45 | <uni-list> |
57 | - <uni-list-item title="今日新闻" rightText="111" showArrow></uni-list-item> | |
58 | - <uni-list-item title="今日新闻" showArrow></uni-list-item> | |
46 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
47 | + <text></text> | |
48 | + </uni-list-item> | |
49 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
59 | 50 | </uni-list> |
60 | 51 | <view slot="actions" class="card-actions no-border"> |
61 | - <view class="card-actions-item" @click="actionsClick('分享')"> | |
62 | - <uni-icons type="pengyouquan" size="18" color="#999"></uni-icons> | |
63 | - <text class="card-actions-item-text">分享</text> | |
64 | - </view> | |
65 | - <view class="card-actions-item" @click="actionsClick('点赞')"> | |
66 | - <uni-icons type="heart" size="18" color="#999"></uni-icons> | |
67 | - <text class="card-actions-item-text">点赞</text> | |
68 | - </view> | |
69 | - <view class="card-actions-item" @click="actionsClick('评论')"> | |
70 | - <uni-icons type="chatbubble" size="18" color="#999"></uni-icons> | |
71 | - <text class="card-actions-item-text">评论</text> | |
52 | + | |
53 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
54 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
55 | + <text class="card-actions-item-text">购买</text> | |
72 | 56 | </view> |
57 | + | |
73 | 58 | </view> |
74 | 59 | </uni-card> |
75 | 60 | </uni-section> |
76 | 61 | |
77 | - <view class="statistics yellow-bg uni-list-cell-pd" style="color: #fff">共18笔充值,充值总金额100.00元</view> | |
78 | - <view class="uni-list"> | |
79 | - <view class="uni-list-cell"> | |
80 | - <view class="uni-list-cell-left"> | |
81 | - 消费类型 | |
82 | - </view> | |
83 | - <view class="uni-list-cell-db"> | |
84 | - <picker @change="bindPickerChange" :value="index" :range="array"> | |
85 | - <view class="uni-input">{{array[index]}}</view> | |
86 | - </picker> | |
87 | - </view> | |
88 | - </view> | |
89 | - </view> | |
62 | + <uni-section title="5元(金额券)" type="line"> | |
63 | + <uni-card padding="0" spacing="0"> | |
64 | + <!--<template v-slot:cover>--> | |
65 | + <!--<view class="custom-cover">--> | |
66 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
67 | + <!--</image>--> | |
68 | + <!--<view class="cover-content">--> | |
69 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
70 | + <!--</view>--> | |
71 | + <!--</view>--> | |
72 | + <!--</template>--> | |
73 | + <uni-list> | |
74 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
75 | + <text></text> | |
76 | + </uni-list-item> | |
77 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
78 | + </uni-list> | |
79 | + <view slot="actions" class="card-actions no-border"> | |
80 | + | |
81 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
82 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
83 | + <text class="card-actions-item-text">购买</text> | |
84 | + </view> | |
90 | 85 | |
91 | - <view class="uni-list"> | |
92 | - <view class="uni-list-cell"> | |
93 | - <view class="uni-list-cell-left"> | |
94 | - 充值方式 | |
95 | - </view> | |
96 | - <view class="uni-list-cell-db"> | |
97 | - <picker @change="bindPickerChangeWay" :value="indexWay" :range="arrayWay"> | |
98 | - <view class="uni-input">{{arrayWay[indexWay]}}</view> | |
99 | - </picker> | |
100 | 86 | </view> |
101 | - </view> | |
102 | - </view> | |
87 | + </uni-card> | |
88 | + </uni-section> | |
103 | 89 | |
104 | 90 | |
105 | - <view class="uni-list"> | |
106 | - <view class="uni-list-cell"> | |
107 | - <view class="uni-list-cell-left"> | |
108 | - 开始时间 | |
109 | - </view> | |
110 | - <view class="uni-list-cell-db"> | |
111 | - <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindStartDateChange"> | |
112 | - <view class="uni-input">{{benginDate}}</view> | |
113 | - </picker> | |
114 | - </view> | |
115 | - </view> | |
116 | - </view> | |
91 | + <uni-section title="满10减5(满减券)" type="line"> | |
92 | + <uni-card padding="0" spacing="0"> | |
93 | + <!--<template v-slot:cover>--> | |
94 | + <!--<view class="custom-cover">--> | |
95 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
96 | + <!--</image>--> | |
97 | + <!--<view class="cover-content">--> | |
98 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
99 | + <!--</view>--> | |
100 | + <!--</view>--> | |
101 | + <!--</template>--> | |
102 | + <uni-list> | |
103 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
104 | + <text></text> | |
105 | + </uni-list-item> | |
106 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
107 | + </uni-list> | |
108 | + <view slot="actions" class="card-actions no-border"> | |
109 | + | |
110 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
111 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
112 | + <text class="card-actions-item-text">购买</text> | |
113 | + </view> | |
117 | 114 | |
118 | - <view class="uni-list"> | |
119 | - <view class="uni-list-cell"> | |
120 | - <view class="uni-list-cell-left"> | |
121 | - 结束时间 | |
122 | - </view> | |
123 | - <view class="uni-list-cell-db"> | |
124 | - <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindEndDateChange"> | |
125 | - <view class="uni-input">{{overDate}}</view> | |
126 | - </picker> | |
127 | 115 | </view> |
128 | - </view> | |
129 | - </view> | |
116 | + </uni-card> | |
117 | + </uni-section> | |
130 | 118 | |
131 | - <!-- <view class="border-bg"></view> --> | |
132 | 119 | |
120 | + <uni-section title="单次(单次券)" type="line"> | |
121 | + <uni-card padding="0" spacing="0"> | |
122 | + <!--<template v-slot:cover>--> | |
123 | + <!--<view class="custom-cover">--> | |
124 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
125 | + <!--</image>--> | |
126 | + <!--<view class="cover-content">--> | |
127 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
128 | + <!--</view>--> | |
129 | + <!--</view>--> | |
130 | + <!--</template>--> | |
131 | + <uni-list> | |
132 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
133 | + <text></text> | |
134 | + </uni-list-item> | |
135 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
136 | + </uni-list> | |
137 | + <view slot="actions" class="card-actions no-border"> | |
133 | 138 | |
134 | - <uni-load-more class="load" | |
135 | - :content-text="contentText" | |
136 | - :status="status" | |
137 | - :icon-size="24" | |
138 | - :iconType="iconType" | |
139 | - v-if="rows.length == 0"> | |
139 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
140 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
141 | + <text class="card-actions-item-text">购买</text> | |
142 | + </view> | |
140 | 143 | |
141 | - <uni-list class="rechargeWrap"> | |
142 | - <view class="recordCon uni-list-cell-pd"> | |
143 | - <text>+66</text> | |
144 | - <text>充值成功</text> | |
145 | - </view> | |
146 | - <view class="recordCon uni-list-cell-pd"> | |
147 | - <text class="color-green">微信充值</text> | |
148 | - <text>2020-10-01 01:01:01</text> | |
149 | 144 | </view> |
150 | - </uni-list> | |
145 | + </uni-card> | |
146 | + </uni-section> | |
151 | 147 | |
152 | - <uni-list class="rechargeWrap"> | |
153 | - <view class="recordCon uni-list-cell-pd"> | |
154 | - <text>+66</text> | |
155 | - <text>充值成功</text> | |
156 | - </view> | |
157 | - <view class="recordCon uni-list-cell-pd"> | |
158 | - <text class="color-blue">支付宝充值</text> | |
159 | - <text>2020-10-01 01:01:01</text> | |
160 | - </view> | |
161 | - </uni-list> | |
148 | + <uni-section title="单天(包天券)" type="line"> | |
149 | + <uni-card padding="0" spacing="0"> | |
150 | + <!--<template v-slot:cover>--> | |
151 | + <!--<view class="custom-cover">--> | |
152 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
153 | + <!--</image>--> | |
154 | + <!--<view class="cover-content">--> | |
155 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
156 | + <!--</view>--> | |
157 | + <!--</view>--> | |
158 | + <!--</template>--> | |
159 | + <uni-list> | |
160 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
161 | + <text></text> | |
162 | + </uni-list-item> | |
163 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
164 | + </uni-list> | |
165 | + <view slot="actions" class="card-actions no-border"> | |
162 | 166 | |
163 | - <uni-list class="rechargeWrap"> | |
164 | - <view class="recordCon uni-list-cell-pd"> | |
165 | - <text>+66</text> | |
166 | - <text>充值成功</text> | |
167 | - </view> | |
168 | - <view class="recordCon uni-list-cell-pd"> | |
169 | - <text class="color-red">线下公对公充值</text> | |
170 | - <text>2020-10-01 01:01:01</text> | |
171 | - </view> | |
172 | - </uni-list> | |
167 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
168 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
169 | + <text class="card-actions-item-text">购买</text> | |
170 | + </view> | |
173 | 171 | |
174 | - <uni-list class="rechargeWrap"> | |
175 | - <view class="recordCon uni-list-cell-pd"> | |
176 | - <text>-66</text> | |
177 | - <text>支付成功</text> | |
178 | - </view> | |
179 | - <view class="recordCon uni-list-cell-pd"> | |
180 | - <text class="color-green">购买卡券</text> | |
181 | - <text>2020-10-01 01:01:01</text> | |
182 | - </view> | |
183 | - <view class="rechargeArrow"> | |
184 | - > | |
185 | 172 | </view> |
186 | - </uni-list> | |
173 | + </uni-card> | |
174 | + </uni-section> | |
187 | 175 | |
188 | 176 | |
189 | 177 | |
190 | - <uni-list class="rechargeWrap"> | |
191 | - <view class="recordCon uni-list-cell-pd"> | |
192 | - <text>-66</text> | |
193 | - <text>支付成功</text> | |
194 | - </view> | |
195 | - <view class="recordCon uni-list-cell-pd"> | |
196 | - <text class="">停车支付</text> | |
197 | - <text>2020-10-01 01:01:01</text> | |
198 | - </view> | |
199 | - <view class="rechargeArrow"> | |
200 | - > | |
201 | - </view> | |
202 | - </uni-list> | |
178 | + <!--<view class="statistics yellow-bg uni-list-cell-pd" style="color: #fff">共18笔充值,充值总金额100.00元</view>--> | |
179 | + <!--<view class="uni-list">--> | |
180 | + <!--<view class="uni-list-cell">--> | |
181 | + <!--<view class="uni-list-cell-left">--> | |
182 | + <!--消费类型--> | |
183 | + <!--</view>--> | |
184 | + <!--<view class="uni-list-cell-db">--> | |
185 | + <!--<picker @change="bindPickerChange" :value="index" :range="array">--> | |
186 | + <!--<view class="uni-input">{{array[index]}}</view>--> | |
187 | + <!--</picker>--> | |
188 | + <!--</view>--> | |
189 | + <!--</view>--> | |
190 | + <!--</view>--> | |
191 | + | |
192 | + <!--<view class="uni-list">--> | |
193 | + <!--<view class="uni-list-cell">--> | |
194 | + <!--<view class="uni-list-cell-left">--> | |
195 | + <!--充值方式--> | |
196 | + <!--</view>--> | |
197 | + <!--<view class="uni-list-cell-db">--> | |
198 | + <!--<picker @change="bindPickerChangeWay" :value="indexWay" :range="arrayWay">--> | |
199 | + <!--<view class="uni-input">{{arrayWay[indexWay]}}</view>--> | |
200 | + <!--</picker>--> | |
201 | + <!--</view>--> | |
202 | + <!--</view>--> | |
203 | + <!--</view>--> | |
204 | + | |
205 | + | |
206 | + <!--<view class="uni-list">--> | |
207 | + <!--<view class="uni-list-cell">--> | |
208 | + <!--<view class="uni-list-cell-left">--> | |
209 | + <!--开始时间--> | |
210 | + <!--</view>--> | |
211 | + <!--<view class="uni-list-cell-db">--> | |
212 | + <!--<picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindStartDateChange">--> | |
213 | + <!--<view class="uni-input">{{benginDate}}</view>--> | |
214 | + <!--</picker>--> | |
215 | + <!--</view>--> | |
216 | + <!--</view>--> | |
217 | + <!--</view>--> | |
218 | + | |
219 | + <!--<view class="uni-list">--> | |
220 | + <!--<view class="uni-list-cell">--> | |
221 | + <!--<view class="uni-list-cell-left">--> | |
222 | + <!--结束时间--> | |
223 | + <!--</view>--> | |
224 | + <!--<view class="uni-list-cell-db">--> | |
225 | + <!--<picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindEndDateChange">--> | |
226 | + <!--<view class="uni-input">{{overDate}}</view>--> | |
227 | + <!--</picker>--> | |
228 | + <!--</view>--> | |
229 | + <!--</view>--> | |
230 | + <!--</view>--> | |
231 | + | |
232 | + <!--<!– <view class="border-bg"></view> –>--> | |
203 | 233 | |
204 | - </uni-load-more> | |
234 | + | |
235 | + <!--<uni-load-more class="load"--> | |
236 | + <!--:content-text="contentText"--> | |
237 | + <!--:status="status"--> | |
238 | + <!--:icon-size="24"--> | |
239 | + <!--:iconType="iconType"--> | |
240 | + <!--v-if="rows.length == 0">--> | |
241 | + | |
242 | + <!--<uni-list class="rechargeWrap">--> | |
243 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
244 | + <!--<text>+66</text>--> | |
245 | + <!--<text>充值成功</text>--> | |
246 | + <!--</view>--> | |
247 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
248 | + <!--<text class="color-green">微信充值</text>--> | |
249 | + <!--<text>2020-10-01 01:01:01</text>--> | |
250 | + <!--</view>--> | |
251 | + <!--</uni-list>--> | |
252 | + | |
253 | + <!--<uni-list class="rechargeWrap">--> | |
254 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
255 | + <!--<text>+66</text>--> | |
256 | + <!--<text>充值成功</text>--> | |
257 | + <!--</view>--> | |
258 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
259 | + <!--<text class="color-blue">支付宝充值</text>--> | |
260 | + <!--<text>2020-10-01 01:01:01</text>--> | |
261 | + <!--</view>--> | |
262 | + <!--</uni-list>--> | |
263 | + | |
264 | + <!--<uni-list class="rechargeWrap">--> | |
265 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
266 | + <!--<text>+66</text>--> | |
267 | + <!--<text>充值成功</text>--> | |
268 | + <!--</view>--> | |
269 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
270 | + <!--<text class="color-red">线下公对公充值</text>--> | |
271 | + <!--<text>2020-10-01 01:01:01</text>--> | |
272 | + <!--</view>--> | |
273 | + <!--</uni-list>--> | |
274 | + | |
275 | + <!--<uni-list class="rechargeWrap">--> | |
276 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
277 | + <!--<text>-66</text>--> | |
278 | + <!--<text>支付成功</text>--> | |
279 | + <!--</view>--> | |
280 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
281 | + <!--<text class="color-green">购买卡券</text>--> | |
282 | + <!--<text>2020-10-01 01:01:01</text>--> | |
283 | + <!--</view>--> | |
284 | + <!--<view class="rechargeArrow">--> | |
285 | + <!-->--> | |
286 | + <!--</view>--> | |
287 | + <!--</uni-list>--> | |
288 | + | |
289 | + | |
290 | + | |
291 | + <!--<uni-list class="rechargeWrap">--> | |
292 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
293 | + <!--<text>-66</text>--> | |
294 | + <!--<text>支付成功</text>--> | |
295 | + <!--</view>--> | |
296 | + <!--<view class="recordCon uni-list-cell-pd">--> | |
297 | + <!--<text class="">停车支付</text>--> | |
298 | + <!--<text>2020-10-01 01:01:01</text>--> | |
299 | + <!--</view>--> | |
300 | + <!--<view class="rechargeArrow">--> | |
301 | + <!-->--> | |
302 | + <!--</view>--> | |
303 | + <!--</uni-list>--> | |
304 | + | |
305 | + <!--</uni-load-more>--> | |
205 | 306 | |
206 | 307 | |
207 | 308 | </view> |
... | ... | @@ -319,6 +420,9 @@ export default { |
319 | 420 | </script> |
320 | 421 | |
321 | 422 | <style lang="scss" scoped> |
423 | + /deep/ .uni-section{ | |
424 | + padding-bottom: 10px; | |
425 | + } | |
322 | 426 | .rechargeWrap{ |
323 | 427 | position: relative; |
324 | 428 | .rechargeArrow{ | ... | ... |
pages/businessCard/buyCard.vue
0 → 100644
1 | +<template> | |
2 | + <view> | |
3 | + | |
4 | + | |
5 | + <uni-section title="2小时(时长券)" type="line"> | |
6 | + <uni-card padding="0" spacing="0"> | |
7 | + <!--<template v-slot:cover>--> | |
8 | + <!--<view class="custom-cover">--> | |
9 | + <!--<image class="cover-image" mode="aspectFill" :src="cover">--> | |
10 | + <!--</image>--> | |
11 | + <!--<view class="cover-content">--> | |
12 | + <!--<text class="uni-subtitle uni-white">今日新闻热点</text>--> | |
13 | + <!--</view>--> | |
14 | + <!--</view>--> | |
15 | + <!--</template>--> | |
16 | + <uni-list> | |
17 | + <uni-list-item title="适应车场" rightText="万达商业广场" > | |
18 | + <text></text> | |
19 | + </uni-list-item> | |
20 | + <uni-list-item title="价格:¥5/张" rightText="商户库存:0张"></uni-list-item> | |
21 | + </uni-list> | |
22 | + <view slot="actions" class="card-actions no-border"> | |
23 | + | |
24 | + <view class="card-actions-item" @click="actionsClick('购买')"> | |
25 | + <uni-icons type="cart-filled" size="18" color="#999"></uni-icons> | |
26 | + <text class="card-actions-item-text">购买</text> | |
27 | + </view> | |
28 | + | |
29 | + </view> | |
30 | + </uni-card> | |
31 | + </uni-section> | |
32 | + | |
33 | + | |
34 | + | |
35 | + | |
36 | + <uni-section > | |
37 | + <uni-list> | |
38 | + <uni-list-item title="列表文字" > | |
39 | + <template v-slot:footer> | |
40 | + <uni-number-box v-model="vModelValue" @blur="blur" @focus="focus" @change="changeValue" /> | |
41 | + </template> | |
42 | + </uni-list-item> | |
43 | + <uni-list-item title="应付金额" > | |
44 | + <template v-slot:footer> | |
45 | + <text style="color: red">¥25.00元</text> | |
46 | + </template> | |
47 | + </uni-list-item> | |
48 | + <uni-list-item title="支付方式" rightText="商户余额" /> | |
49 | + </uni-list> | |
50 | + </uni-section> | |
51 | + | |
52 | + | |
53 | + </view> | |
54 | +</template> | |
55 | + | |
56 | +<script> | |
57 | +import common from "../../common/common.js"; | |
58 | +export default { | |
59 | + data() { | |
60 | + const currentDate = this.getDate({ | |
61 | + format: true | |
62 | + }) | |
63 | + return { | |
64 | + vModelValue: 3, | |
65 | + title: 'picker', | |
66 | + array: ['全部', '充值', '支付'], | |
67 | + arrayWay: ['所有方式', '微信', '线下公对公'], | |
68 | + index: 0, | |
69 | + indexWay: 0, | |
70 | + benginDate: currentDate, | |
71 | + overDate: currentDate, | |
72 | + rows:[], | |
73 | + pageNum:1,//当前页 | |
74 | + pageSize:1,//每页条数 | |
75 | + reload:false, | |
76 | + status:'more', | |
77 | + contentText:{ | |
78 | + contentdown:'上拉加载更多~', | |
79 | + contentrefresh:'正在加载更多~', | |
80 | + contentmore:'我是有底线的~' | |
81 | + }, | |
82 | + iconType:'auto', // 图标样式 | |
83 | + } | |
84 | + }, | |
85 | + onLoad(params) { | |
86 | + wx.showShareMenu({ | |
87 | + withShareTicket: true | |
88 | + }) | |
89 | + // this.mycarNumber = params.carNumber; | |
90 | + // this.myorderId = params.orderId; | |
91 | + // this.myparkCode = params.parkCode; | |
92 | + // this.myorderState = params.orderState; | |
93 | + // this.totalFee = params.totalFee | |
94 | + // this.unPayFee = params.unPayFee | |
95 | + // if (params.orderState == 5) { | |
96 | + // //停车补缴单 103 | |
97 | + // this.mypaySrcType = '103' | |
98 | + // } else { | |
99 | + // this.mypaySrcType = '101' | |
100 | + // } | |
101 | + // // this.GetbillQueryInfo(this.mycarNumber, this.myorderId, this.myparkCode); | |
102 | + // this.getWxCode(); | |
103 | + // this.PDlogin(); | |
104 | + //console.log("xxxmake = "+this.makedateFormat()); | |
105 | + }, | |
106 | + onShow() { | |
107 | + var me = this; | |
108 | + var userInfo = me.getGlobalUser("globalUser"); | |
109 | + if (userInfo != null) { | |
110 | + me.phoneNumb = userInfo.userPhone; | |
111 | + } | |
112 | + var pages = getCurrentPages(); | |
113 | + var currPage = pages[pages.length - 1]; //当前页面 | |
114 | + console.log('currPage.data.selCoupon = ' + currPage.data.selCoupon); | |
115 | + me.selCoupon = currPage.data.selCoupon; | |
116 | + console.log(JSON.stringify(me.selCoupon)); | |
117 | + // me.GetbillQueryInfo(me.mycarNumber, me.myorderId, me.myparkCode, me.selCoupon.cardNo, me.selCoupon.couponType, me.selCoupon | |
118 | + // .discValue); | |
119 | + // GetbillQueryInfo(carnum, orderId, parkCode, cardNo, couponType, disValue) { | |
120 | + }, | |
121 | + computed: { | |
122 | + startDate() { | |
123 | + return this.getDate('start'); | |
124 | + }, | |
125 | + endDate() { | |
126 | + return this.getDate('end'); | |
127 | + } | |
128 | + }, | |
129 | + methods: { | |
130 | + changeValue(value) { | |
131 | + console.log('返回数值:', value); | |
132 | + }, | |
133 | + blur(e) { | |
134 | + console.log('blur:', e); | |
135 | + }, | |
136 | + focus(e) { | |
137 | + console.log('focus:', e); | |
138 | + }, | |
139 | + actionsClick(text){ | |
140 | + uni.showToast({ | |
141 | + title:text, | |
142 | + icon:'none' | |
143 | + }) | |
144 | + }, | |
145 | + bindPickerChange: function (e) { | |
146 | + console.log('picker发送选择改变,携带值为', e.detail.value) | |
147 | + this.index = e.detail.value | |
148 | + }, | |
149 | + bindPickerChangeWay: function (e) { | |
150 | + console.log('picker发送选择改变,携带值为', e.detail.value) | |
151 | + this.indexWay = e.detail.value | |
152 | + }, | |
153 | + bindStartDateChange: function (e) { | |
154 | + this.benginDate = e.detail.value | |
155 | + }, | |
156 | + bindEndDateChange: function (e) { | |
157 | + this.overDate = e.detail.value | |
158 | + }, | |
159 | + getDate(type) { | |
160 | + const date = new Date(); | |
161 | + let year = date.getFullYear(); | |
162 | + let month = date.getMonth() + 1; | |
163 | + let day = date.getDate(); | |
164 | + if (type === 'start') { | |
165 | + year = year - 60; | |
166 | + } else if (type === 'end') { | |
167 | + year = year + 2; | |
168 | + } | |
169 | + month = month > 9 ? month : '0' + month; | |
170 | + day = day > 9 ? day : '0' + day; | |
171 | + return `${year}-${month}-${day}`; | |
172 | + }, | |
173 | + } | |
174 | +} | |
175 | +</script> | |
176 | + | |
177 | +<style lang="scss" scoped> | |
178 | + /deep/ .uni-section{ | |
179 | + padding-bottom: 10px; | |
180 | + } | |
181 | + .rechargeWrap{ | |
182 | + position: relative; | |
183 | + .rechargeArrow{ | |
184 | + position: absolute; | |
185 | + right: 10px; | |
186 | + top: 30px; | |
187 | + font-size: 20px; | |
188 | + color: #999; | |
189 | + } | |
190 | + } | |
191 | + .recordCon { | |
192 | + padding-right: 35px; | |
193 | + color: #999; | |
194 | + display: flex; | |
195 | + justify-content: space-between; | |
196 | + } | |
197 | + | |
198 | + .container { | |
199 | + overflow: hidden; | |
200 | + } | |
201 | + | |
202 | + .custom-cover { | |
203 | + flex: 1; | |
204 | + flex-direction: row; | |
205 | + position: relative; | |
206 | + } | |
207 | + | |
208 | + .cover-content { | |
209 | + position: absolute; | |
210 | + bottom: 0; | |
211 | + left: 0; | |
212 | + right: 0; | |
213 | + height: 40px; | |
214 | + background-color: rgba($color: #000000, $alpha: 0.4); | |
215 | + display: flex; | |
216 | + flex-direction: row; | |
217 | + align-items: center; | |
218 | + padding-left: 15px; | |
219 | + font-size: 14px; | |
220 | + color: #fff; | |
221 | + } | |
222 | + | |
223 | + .card-actions { | |
224 | + display: flex; | |
225 | + flex-direction: row; | |
226 | + justify-content: space-around; | |
227 | + align-items: center; | |
228 | + height: 45px; | |
229 | + border-top: 1px #eee solid; | |
230 | + } | |
231 | + .card-actions-item { | |
232 | + display: flex; | |
233 | + flex-direction: row; | |
234 | + align-items: center; | |
235 | + } | |
236 | + .card-actions-item-text { | |
237 | + font-size: 12px; | |
238 | + color: #666; | |
239 | + margin-left: 5px; | |
240 | + } | |
241 | + .cover-image { | |
242 | + flex: 1; | |
243 | + height: 150px; | |
244 | + } | |
245 | + .no-border { | |
246 | + border-width: 0; | |
247 | + } | |
248 | +</style> | ... | ... |
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?fb52","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?d5e4","uni-app:///App.vue","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?f160","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?485f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","prototype","$store","store","$adpid","$backgroundAudioData","playing","playTime","formatedPlayTime","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAA8E;AAC9E;;;AAGA,qE,wnCAJmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAKnBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAF,aAAIG,SAAJ,CAAcC,MAAd,GAAuBC,cAAvB;AACAL,aAAIG,SAAJ,CAAcG,MAAd,GAAuB,YAAvB;AACAN,aAAIG,SAAJ,CAAcI,oBAAd,GAAqC;AACpCC,SAAO,EAAE,KAD2B;AAEpCC,UAAQ,EAAE,CAF0B;AAGpCC,kBAAgB,EAAE,UAHkB,EAArC;;AAKAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIb,YAAJ;AACXK,OAAK,EAALA,cADW;AAERM,YAFQ,EAAZ;;AAIA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACuM;AACvM,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAoxB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;ACCxyB;;;AAGA;;;AAGA,kI;;AAEA;AACA;;;;;;;;AAQA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;AAuBA,GAlCA;AAmCA;AACA;AACA,GArCA;AAsCA;AACA;AACA,GAxCA;AAyCA;AACA,YADA,EAzCA;;AA4CA;AACA,wEADA,CA5CA,E;;;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAA+mC,CAAgB,8lCAAG,EAAC,C;;;;;;;;;;ACAnoC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\nimport store from './store'\n\n\nimport Vue from 'vue'\nVue.config.productionTip = false\nVue.prototype.$store = store\nVue.prototype.$adpid = \"1111111111\"\nVue.prototype.$backgroundAudioData = {\n\tplaying: false,\n\tplayTime: 0,\n\tformatedPlayTime: '00:00:00'\n}\nApp.mpType = 'app'\nconst app = new Vue({\n\tstore,\n\t...App\n})\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=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\timport {\r\n\t\tmapMutations\r\n\t} from 'vuex'\r\n\timport {\r\n\t\tversion\r\n\t} from './package.json'\n\timport checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update';\n\r\n\texport default {\r\n\t\tonLaunch: function() {\n\t\t\t// #ifdef H5\n\t\t\tconsole.log(\r\n\t\t\t\t`%c hello uniapp %c v${version} `,\r\n\t\t\t\t'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',\r\n\t\t\t\t'background:#007aff ;padding: 1px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;'\r\n\t\t\t)\n\t\t\t// #endif\r\n\t\t\t// 线上示例使用\n\t\t\t// console.log('%c uni-app官方团队诚邀优秀前端工程师加盟,一起打造更卓越的uni-app & uniCloud,欢迎投递简历到 hr2013@dcloud.io', 'color: red');\n\t\t\tconsole.log('App Launch');\r\n\t\t\t// #ifdef APP-PLUS\r\n\t\t\t// App平台检测升级,服务端代码是通过uniCloud的云函数实现的,详情可参考:https://ext.dcloud.net.cn/plugin?id=4542\r\n\t\t\tif (plus.runtime.appid !== 'HBuilder') { // 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid\n\t\t\t\tcheckUpdate()\r\n\t\t\t}\r\n\r\n\t\t\t// 一键登录预登陆,可以显著提高登录速度\r\n\t\t\tuni.preLogin({\r\n\t\t\t\tprovider: 'univerify',\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t// 成功\r\n\t\t\t\t\tthis.setUniverifyErrorMsg();\r\n\t\t\t\t\tconsole.log(\"preLogin success: \", res);\r\n\t\t\t\t},\r\n\t\t\t\tfail: (res) => {\r\n\t\t\t\t\tthis.setUniverifyLogin(false);\r\n\t\t\t\t\tthis.setUniverifyErrorMsg(res.errMsg);\r\n\t\t\t\t\t// 失败\r\n\t\t\t\t\tconsole.log(\"preLogin fail res: \", res);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// #endif\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\tglobalData: {\r\n\t\t\ttest: ''\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin'])\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/* #ifndef APP-PLUS-NVUE */\r\n\t/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */\r\n\t@import './common/uni.css';\n\t@import '@/static/customicons.css';\r\n\t/* H5 兼容 pc 所需 */\r\n\t/* #ifdef H5 */\r\n\t@media screen and (min-width: 768px) {\r\n\t\tbody {\r\n\t\t\toverflow-y: scroll;\r\n\t\t}\r\n\t}\r\n\r\n\t/* 顶栏通栏样式 */\r\n\t/* .uni-top-window {\r\n\t left: 0;\r\n\t right: 0;\r\n\t} */\r\n\r\n\tuni-page-body {\r\n\t\tbackground-color: #F5F5F5 !important;\r\n\t\tmin-height: 100% !important;\r\n\t\theight: auto !important;\r\n\t}\r\n\r\n\t.uni-top-window uni-tabbar .uni-tabbar {\r\n\t\tbackground-color: #fff !important;\r\n\t}\r\n\r\n\t.uni-app--showleftwindow .hideOnPc {\r\n\t\tdisplay: none !important;\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t/* 以下样式用于 hello uni-app 演示所需 */\r\n\tpage {\r\n\t\tbackground-color: #efeff4;\r\n\t\theight: 100%;\r\n\t\tfont-size: 28rpx;\r\n\t\t/* line-height: 1.8; */\r\n\t}\r\n\r\n\t.fix-pc-padding {\r\n\t\tpadding: 0 50px;\r\n\t}\r\n\r\n\t.uni-header-logo {\r\n\t\tpadding: 30rpx;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 10rpx;\r\n\t}\r\n\r\n\t.uni-header-image {\r\n\t\twidth: 100px;\r\n\t\theight: 100px;\r\n\t}\r\n\r\n\t.uni-hello-text {\r\n\t\tcolor: #7A7E83;\r\n\t}\r\n\r\n\t.uni-hello-addfile {\r\n\t\ttext-align: center;\r\n\t\tline-height: 300rpx;\r\n\t\tbackground: #FFF;\r\n\t\tpadding: 50rpx;\r\n\t\tmargin-top: 10px;\r\n\t\tfont-size: 38rpx;\r\n\t\tcolor: #808080;\r\n\t}\r\n\r\n\t/* #endif*/\r\n</style>\n","import mod from \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651984896070\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
2 | 1 | \ No newline at end of file |
2 | +{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/liugongyu/Documents/jiangyin/App.vue?d5e4","uni-app:///App.vue","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?f160","webpack:////Users/liugongyu/Documents/jiangyin/App.vue?485f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","prototype","$store","store","$adpid","$backgroundAudioData","playing","playTime","formatedPlayTime","filter","value","arg","toFixed","time","timer","parseInt","days","hours","minutes","seconds","getGlobalUser","key","userInfo","uni","getStorageSync","undefined","getWxOpenid","WxOpenid","App","mpType","app","$mount"],"mappings":";;;;;;;;;sDAAA,wCAA8E;AAC9E;;;AAGA,qE,wnCAJmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAKnBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAF,aAAIG,SAAJ,CAAcC,MAAd,GAAuBC,cAAvB;AACAL,aAAIG,SAAJ,CAAcG,MAAd,GAAuB,YAAvB;AACAN,aAAIG,SAAJ,CAAcI,oBAAd,GAAqC;AACpCC,SAAO,EAAE,KAD2B;AAEpCC,UAAQ,EAAE,CAF0B;AAGpCC,kBAAgB,EAAE,UAHkB,EAArC;;;AAMAV,aAAIW,MAAJ,CAAW,aAAX,EAA0B,UAASC,KAAT,EAAgBC,GAAhB,EAAqB;AAC7C,SAAO,CAACD,KAAK,GAAG,GAAT,EAAcE,OAAd,CAAsB,CAAtB,CAAP;AACD,CAFD;;AAIAd,aAAIW,MAAJ,CAAW,YAAX,EAAyB,UAASC,KAAT,EAAgBC,GAAhB,EAAqB;;AAE5C,MAAIE,IAAI,GAAG,EAAX;AACA,MAAI,QAAQH,KAAR,IAAiB,MAAMA,KAA3B,EAAkC;AAChC,QAAII,KAAK,GAAGC,QAAQ,CAACL,KAAD,CAApB;AACA,QAAII,KAAK,IAAI,CAAb,EAAgB;AACd,aAAO,IAAP;AACD;AACD,QAAIE,IAAI,GAAGD,QAAQ,CAACD,KAAK,IAAI,KAAK,EAAL,GAAU,EAAd,CAAN,CAAnB;AACA,QAAIG,KAAK,GAAGF,QAAQ,CAAED,KAAK,IAAI,KAAK,EAAL,GAAU,EAAd,CAAN,IAA4B,KAAK,EAAjC,CAAD,CAApB;AACA,QAAII,OAAO,GAAGH,QAAQ,CAAED,KAAK,IAAI,KAAK,EAAT,CAAN,GAAuB,EAAxB,CAAtB;AACA,QAAIK,OAAO,GAAGJ,QAAQ,CAACD,KAAK,GAAI,EAAV,CAAtB;AACA,QAAIE,IAAI,GAAG,CAAX,EAAc;AACZH,UAAI,GAAGA,IAAI,GAAGG,IAAP,GAAa,GAApB;AACD;AACD,QAAIC,KAAK,GAAG,CAAZ,EAAe;AACbJ,UAAI,GAAGA,IAAI,GAAGI,KAAP,GAAc,IAArB;AACD;AACD,QAAIC,OAAO,GAAG,CAAd,EAAiB;AACfL,UAAI,GAAGA,IAAI,GAAGK,OAAP,GAAgB,IAAvB;AACD;AACD,QAAIC,OAAO,GAAG,CAAd,EAAiB;AACfN,UAAI,GAAGA,IAAI,GAAGM,OAAP,GAAgB,GAAvB;AACD;AACD,WAAON,IAAP;AACD;AACD,SAAOA,IAAP;;AAED,CA5BD;;AA8BAf,aAAIG,SAAJ,CAAcmB,aAAd,GAA8B,UAASC,GAAT,EAAc;AAC1C,MAAIC,QAAQ,GAAGC,GAAG,CAACC,cAAJ,CAAmB,YAAnB,CAAf;AACA,MAAIF,QAAQ,IAAI,IAAZ,IAAoBA,QAAQ,IAAI,EAAhC,IAAsCA,QAAQ,IAAIG,SAAtD,EAAiE;AAC/D,WAAOH,QAAP;AACD,GAFD,MAEO;AACL,WAAO,IAAP;AACD;AACF,CAPD;;AASAxB,aAAIG,SAAJ,CAAcyB,WAAd,GAA2B,UAASL,GAAT,EAAc;AACvC,MAAIM,QAAQ,GAAGJ,GAAG,CAACC,cAAJ,CAAmB,UAAnB,CAAf;AACA,MAAIG,QAAQ,IAAI,IAAZ,IAAoBA,QAAQ,IAAI,EAAhC,IAAsCA,QAAQ,IAAIF,SAAtD,EAAiE;AAC/D,WAAOE,QAAP;AACD,GAFD,MAEO;AACL,WAAO,EAAP;AACD;AACF,CAPD;;;AAUAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIhC,YAAJ;AACXK,OAAK,EAALA,cADW;AAERyB,YAFQ,EAAZ;;AAIA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACxEA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACuM;AACvM,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAoxB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;ACCxyB;;;AAGA;;;AAGA,kI;;AAEA;AACA;;;;;;;;AAQA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;AAuBA,GAlCA;AAmCA;AACA;AACA,GArCA;AAsCA;AACA;AACA,GAxCA;AAyCA;AACA,YADA,EAzCA;;AA4CA;AACA,wEADA,CA5CA,E;;;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAA+mC,CAAgB,8lCAAG,EAAC,C;;;;;;;;;;ACAnoC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\nimport store from './store'\r\n\r\n\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nVue.prototype.$store = store\r\nVue.prototype.$adpid = \"1111111111\"\r\nVue.prototype.$backgroundAudioData = {\r\n\tplaying: false,\r\n\tplayTime: 0,\r\n\tformatedPlayTime: '00:00:00'\r\n}\r\n\r\nVue.filter('priceFormat', function(value, arg) {\r\n return (value / 100).toFixed(2)\r\n})\r\n\r\nVue.filter('timeFormat', function(value, arg) {\r\n\r\n var time = '';\r\n if (null != value && \"\" != value) {\r\n var timer = parseInt(value);\r\n if (timer == 0) {\r\n return '0秒';\r\n }\r\n var days = parseInt(timer / (60 * 60 * 24));\r\n var hours = parseInt((timer % (60 * 60 * 24)) / (60 * 60));\r\n var minutes = parseInt((timer % (60 * 60)) / (60))\r\n var seconds = parseInt(timer % (60));\r\n if (days > 0) {\r\n time = time + days +'天';\r\n }\r\n if (hours > 0) {\r\n time = time + hours +'小时';\r\n }\r\n if (minutes > 0) {\r\n time = time + minutes +'分钟';\r\n }\r\n if (seconds > 0) {\r\n time = time + seconds +'秒';\r\n }\r\n return time;\r\n }\r\n return time;\r\n\r\n})\r\n\r\nVue.prototype.getGlobalUser = function(key) {\r\n var userInfo = uni.getStorageSync(\"globalUser\");\r\n if (userInfo != null && userInfo != \"\" && userInfo != undefined) {\r\n return userInfo;\r\n } else {\r\n return null;\r\n }\r\n}\r\n\r\nVue.prototype.getWxOpenid= function(key) {\r\n var WxOpenid = uni.getStorageSync(\"WxOpenid\");\r\n if (WxOpenid != null && WxOpenid != \"\" && WxOpenid != undefined) {\r\n return WxOpenid;\r\n } else {\r\n return \"\";\r\n }\r\n}\r\n\r\n\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\tstore,\r\n\t...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=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\timport {\r\n\t\tmapMutations\r\n\t} from 'vuex'\r\n\timport {\r\n\t\tversion\r\n\t} from './package.json'\n\timport checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update';\n\r\n\texport default {\r\n\t\tonLaunch: function() {\n\t\t\t// #ifdef H5\n\t\t\tconsole.log(\r\n\t\t\t\t`%c hello uniapp %c v${version} `,\r\n\t\t\t\t'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',\r\n\t\t\t\t'background:#007aff ;padding: 1px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;'\r\n\t\t\t)\n\t\t\t// #endif\r\n\t\t\t// 线上示例使用\n\t\t\t// console.log('%c uni-app官方团队诚邀优秀前端工程师加盟,一起打造更卓越的uni-app & uniCloud,欢迎投递简历到 hr2013@dcloud.io', 'color: red');\n\t\t\tconsole.log('App Launch');\r\n\t\t\t// #ifdef APP-PLUS\r\n\t\t\t// App平台检测升级,服务端代码是通过uniCloud的云函数实现的,详情可参考:https://ext.dcloud.net.cn/plugin?id=4542\r\n\t\t\tif (plus.runtime.appid !== 'HBuilder') { // 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid\n\t\t\t\tcheckUpdate()\r\n\t\t\t}\r\n\r\n\t\t\t// 一键登录预登陆,可以显著提高登录速度\r\n\t\t\tuni.preLogin({\r\n\t\t\t\tprovider: 'univerify',\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t// 成功\r\n\t\t\t\t\tthis.setUniverifyErrorMsg();\r\n\t\t\t\t\tconsole.log(\"preLogin success: \", res);\r\n\t\t\t\t},\r\n\t\t\t\tfail: (res) => {\r\n\t\t\t\t\tthis.setUniverifyLogin(false);\r\n\t\t\t\t\tthis.setUniverifyErrorMsg(res.errMsg);\r\n\t\t\t\t\t// 失败\r\n\t\t\t\t\tconsole.log(\"preLogin fail res: \", res);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t// #endif\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\tglobalData: {\r\n\t\t\ttest: ''\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin'])\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/* #ifndef APP-PLUS-NVUE */\r\n\t/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */\r\n\t@import './common/uni.css';\n\t@import '@/static/customicons.css';\r\n\t/* H5 兼容 pc 所需 */\r\n\t/* #ifdef H5 */\r\n\t@media screen and (min-width: 768px) {\r\n\t\tbody {\r\n\t\t\toverflow-y: scroll;\r\n\t\t}\r\n\t}\r\n\r\n\t/* 顶栏通栏样式 */\r\n\t/* .uni-top-window {\r\n\t left: 0;\r\n\t right: 0;\r\n\t} */\r\n\r\n\tuni-page-body {\r\n\t\tbackground-color: #F5F5F5 !important;\r\n\t\tmin-height: 100% !important;\r\n\t\theight: auto !important;\r\n\t}\r\n\r\n\t.uni-top-window uni-tabbar .uni-tabbar {\r\n\t\tbackground-color: #fff !important;\r\n\t}\r\n\r\n\t.uni-app--showleftwindow .hideOnPc {\r\n\t\tdisplay: none !important;\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t/* 以下样式用于 hello uni-app 演示所需 */\r\n\tpage {\r\n\t\tbackground-color: #efeff4;\r\n\t\theight: 100%;\r\n\t\tfont-size: 28rpx;\r\n\t\t/* line-height: 1.8; */\r\n\t}\r\n\r\n\t.fix-pc-padding {\r\n\t\tpadding: 0 50px;\r\n\t}\r\n\r\n\t.uni-header-logo {\r\n\t\tpadding: 30rpx;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 10rpx;\r\n\t}\r\n\r\n\t.uni-header-image {\r\n\t\twidth: 100px;\r\n\t\theight: 100px;\r\n\t}\r\n\r\n\t.uni-hello-text {\r\n\t\tcolor: #7A7E83;\r\n\t}\r\n\r\n\t.uni-hello-addfile {\r\n\t\ttext-align: center;\r\n\t\tline-height: 300rpx;\r\n\t\tbackground: #FFF;\r\n\t\tpadding: 50rpx;\r\n\t\tmargin-top: 10px;\r\n\t\tfont-size: 38rpx;\r\n\t\tcolor: #808080;\r\n\t}\r\n\r\n\t/* #endif*/\r\n</style>\n","import mod from \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651984896070\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
3 | 3 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
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,khCAAkhC;QACziC;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 = {\"uni_modules/uni-icons/components/uni-icons/uni-icons\":1,\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\":1,\"components/uni-section/uni-section\":1,\"uni_modules/uni-card/components/uni-card/uni-card\":1,\"uni_modules/uni-list/components/uni-list-item/uni-list-item\":1,\"uni_modules/uni-list/components/uni-list/uni-list\":1,\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\":1,\"uni_modules/uni-grid/components/uni-grid/uni-grid\":1,\"uni_modules/uni-badge/components/uni-badge/uni-badge\":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 = \"\" + ({\"uni_modules/uni-icons/components/uni-icons/uni-icons\":\"uni_modules/uni-icons/components/uni-icons/uni-icons\",\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\":\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\",\"components/uni-section/uni-section\":\"components/uni-section/uni-section\",\"uni_modules/uni-card/components/uni-card/uni-card\":\"uni_modules/uni-card/components/uni-card/uni-card\",\"uni_modules/uni-list/components/uni-list-item/uni-list-item\":\"uni_modules/uni-list/components/uni-list-item/uni-list-item\",\"uni_modules/uni-list/components/uni-list/uni-list\":\"uni_modules/uni-list/components/uni-list/uni-list\",\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\":\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\",\"uni_modules/uni-grid/components/uni-grid/uni-grid\":\"uni_modules/uni-grid/components/uni-grid/uni-grid\",\"components/u-link/u-link\":\"components/u-link/u-link\",\"uni_modules/uni-badge/components/uni-badge/uni-badge\":\"uni_modules/uni-badge/components/uni-badge/uni-badge\"}[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":""} | |
2 | 1 | \ No newline at end of file |
2 | +{"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,8pCAA8pC;QACrrC;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 = {\"uni_modules/uni-icons/components/uni-icons/uni-icons\":1,\"components/uni-section/uni-section\":1,\"uni_modules/uni-card/components/uni-card/uni-card\":1,\"uni_modules/uni-list/components/uni-list-item/uni-list-item\":1,\"uni_modules/uni-list/components/uni-list/uni-list\":1,\"uni_modules/uni-number-box/components/uni-number-box/uni-number-box\":1,\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\":1,\"uni_modules/uni-grid/components/uni-grid/uni-grid\":1,\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\":1,\"uni_modules/uni-badge/components/uni-badge/uni-badge\":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 = \"\" + ({\"uni_modules/uni-icons/components/uni-icons/uni-icons\":\"uni_modules/uni-icons/components/uni-icons/uni-icons\",\"components/uni-section/uni-section\":\"components/uni-section/uni-section\",\"uni_modules/uni-card/components/uni-card/uni-card\":\"uni_modules/uni-card/components/uni-card/uni-card\",\"uni_modules/uni-list/components/uni-list-item/uni-list-item\":\"uni_modules/uni-list/components/uni-list-item/uni-list-item\",\"uni_modules/uni-list/components/uni-list/uni-list\":\"uni_modules/uni-list/components/uni-list/uni-list\",\"uni_modules/uni-number-box/components/uni-number-box/uni-number-box\":\"uni_modules/uni-number-box/components/uni-number-box/uni-number-box\",\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\":\"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item\",\"uni_modules/uni-grid/components/uni-grid/uni-grid\":\"uni_modules/uni-grid/components/uni-grid/uni-grid\",\"components/u-link/u-link\":\"components/u-link/u-link\",\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\":\"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\",\"uni_modules/uni-badge/components/uni-badge/uni-badge\":\"uni_modules/uni-badge/components/uni-badge/uni-badge\"}[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":""} | |
3 | 3 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/.sourcemap/mp-weixin/pages/businessCard/businessCard.js.map
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?b515","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?6522","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?e6e9","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?cf07","uni-app:///pages/businessCard/businessCard.vue","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?bba7","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?d8e4"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,iH,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6M;AAC7M,gBAAgB,iNAAU;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,aAAa,0MAEN;AACP,KAAK;AACL;AACA,aAAa,uPAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,uPAEN;AACP,KAAK;AACL;AACA,aAAa,sTAEN;AACP,KAAK;AACL;AACA,aAAa,0VAEN;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;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAA2zB,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkN/0B,4F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,iCACA,YADA,IAGA,SACA,eADA,EAEA,yBAFA,EAGA,iCAHA,EAIA,QAJA,EAKA,WALA,EAMA,uBANA,EAOA,qBAPA,EAQA,QARA,EASA,UATA,EASA;AACA,iBAVA,EAUA;AACA,mBAXA,EAYA,cAZA,EAaA,eACA,sBADA,EAEA,yBAFA,EAGA,sBAHA,EAbA,EAkBA,gBAlBA,CAkBA;AAlBA,MAoBA,CAzBA,EA0BA,MA1BA,kBA0BA,MA1BA,EA0BA,CACA,mBACA,qBADA,IADA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA9CA,EA+CA,MA/CA,oBA+CA,CACA,cACA,8CACA,uBACA,kCACA,CACA,8BACA,uCAPA,CAOA;AACA,wEACA,uCACA,0CAVA,CAWA;AACA;AACA;AACA,GA7DA,EA8DA,YACA,SADA,uBACA,CACA,6BACA,CAHA,EAIA,OAJA,qBAIA,CACA,2BACA,CANA,EA9DA,EAsEA,WACA,YADA,wBACA,IADA,EACA,CACA,gBACA,WADA,EAEA,YAFA,IAIA,CANA,EAOA,gDACA,iDACA,4BACA,CAVA,EAWA,sDACA,iDACA,+BACA,CAdA,EAeA,sDACA,iCACA,CAjBA,EAkBA,kDACA,+BACA,CApBA,EAqBA,OArBA,mBAqBA,IArBA,EAqBA,CACA,sBACA,8BACA,gCACA,yBACA,uBACA,iBACA,CAFA,MAEA,qBACA,gBACA,CACA,wCACA,gCACA,2DACA,CAlCA,EAtEA,E;;;;;;;;;;;;;ACnNA;AAAA;AAAA;AAAA;AAAsiD,CAAgB,i8CAAG,EAAC,C;;;;;;;;;;;ACA1jD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/businessCard/businessCard.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/businessCard/businessCard.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./businessCard.vue?vue&type=template&id=866503f4&scoped=true&\"\nvar renderjs\nimport script from \"./businessCard.vue?vue&type=script&lang=js&\"\nexport * from \"./businessCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/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 \"866503f4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/businessCard/businessCard.vue\"\nexport default component.exports","export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=template&id=866503f4&scoped=true&\"","var components\ntry {\n components = {\n uniSection: function() {\n return import(\n /* webpackChunkName: \"components/uni-section/uni-section\" */ \"@/components/uni-section/uni-section.vue\"\n )\n },\n uniList: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list/uni-list\" */ \"@/uni_modules/uni-list/components/uni-list/uni-list.vue\"\n )\n },\n uniListItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list-item/uni-list-item\" */ \"@/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue\"\n )\n },\n uniCard: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-card/components/uni-card/uni-card\" */ \"@/uni_modules/uni-card/components/uni-card/uni-card.vue\"\n )\n },\n uniIcons: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-icons/components/uni-icons/uni-icons\" */ \"@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue\"\n )\n },\n uniLoadMore: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\" */ \"@/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=script&lang=js&\"","<template>\n <view>\n<uni-section title=\"基础用法\" type=\"line\">\n\t\t\t<uni-list>\n\t\t\t\t<uni-list-item title=\"列表文字\" />\n\t\t\t\t<uni-list-item title=\"列表文字\" rightText=\"右侧文字\" />\n\t\t\t\t<uni-list-item title=\"列表文字\" note=\"列表描述信息\" rightText=\"右侧文字\" />\n\t\t\t</uni-list>\n\t\t</uni-section>\n <uni-section title=\"50%(折扣券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <template v-slot:cover>\n <view class=\"custom-cover\">\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <view class=\"cover-content\">\n <text class=\"uni-subtitle uni-white\">今日新闻热点</text>\n </view>\n </view>\n </template>\n <uni-list>\n <uni-list-item title=\"今日新闻\" note=\"1111\" rightText=\"111\" showArrow=\"false\">\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"今日新闻\" showArrow></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n <view class=\"card-actions-item\" @click=\"actionsClick('分享')\">\n <uni-icons type=\"pengyouquan\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">分享</text>\n </view>\n <view class=\"card-actions-item\" @click=\"actionsClick('点赞')\">\n <uni-icons type=\"heart\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">点赞</text>\n </view>\n <view class=\"card-actions-item\" @click=\"actionsClick('评论')\">\n <uni-icons type=\"chatbubble\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">评论</text>\n </view>\n </view>\n </uni-card>\n </uni-section>\n\n <!-- <view class=\"border-bg\"></view> -->\n <uni-section title=\"卡片+列表\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <template v-slot:cover>\n <view class=\"custom-cover\">\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <view class=\"cover-content\">\n <text class=\"uni-subtitle uni-white\">今日新闻热点</text>\n </view>\n </view>\n </template>\n <uni-list>\n <uni-list-item title=\"今日新闻\" rightText=\"111\" showArrow></uni-list-item>\n <uni-list-item title=\"今日新闻\" showArrow></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n <view class=\"card-actions-item\" @click=\"actionsClick('分享')\">\n <uni-icons type=\"pengyouquan\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">分享</text>\n </view>\n <view class=\"card-actions-item\" @click=\"actionsClick('点赞')\">\n <uni-icons type=\"heart\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">点赞</text>\n </view>\n <view class=\"card-actions-item\" @click=\"actionsClick('评论')\">\n <uni-icons type=\"chatbubble\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">评论</text>\n </view>\n </view>\n </uni-card>\n </uni-section>\n\n <view class=\"statistics yellow-bg uni-list-cell-pd\" style=\"color: #fff\">共18笔充值,充值总金额100.00元</view>\n <view class=\"uni-list\">\n <view class=\"uni-list-cell\">\n <view class=\"uni-list-cell-left\">\n 消费类型\n </view>\n <view class=\"uni-list-cell-db\">\n <picker @change=\"bindPickerChange\" :value=\"index\" :range=\"array\">\n <view class=\"uni-input\">{{array[index]}}</view>\n </picker>\n </view>\n </view>\n </view>\n\n <view class=\"uni-list\">\n <view class=\"uni-list-cell\">\n <view class=\"uni-list-cell-left\">\n 充值方式\n </view>\n <view class=\"uni-list-cell-db\">\n <picker @change=\"bindPickerChangeWay\" :value=\"indexWay\" :range=\"arrayWay\">\n <view class=\"uni-input\">{{arrayWay[indexWay]}}</view>\n </picker>\n </view>\n </view>\n </view>\n\n\n <view class=\"uni-list\">\n <view class=\"uni-list-cell\">\n <view class=\"uni-list-cell-left\">\n 开始时间\n </view>\n <view class=\"uni-list-cell-db\">\n <picker mode=\"date\" :value=\"date\" :start=\"startDate\" :end=\"endDate\" @change=\"bindStartDateChange\">\n <view class=\"uni-input\">{{benginDate}}</view>\n </picker>\n </view>\n </view>\n </view>\n\n <view class=\"uni-list\">\n <view class=\"uni-list-cell\">\n <view class=\"uni-list-cell-left\">\n 结束时间\n </view>\n <view class=\"uni-list-cell-db\">\n <picker mode=\"date\" :value=\"date\" :start=\"startDate\" :end=\"endDate\" @change=\"bindEndDateChange\">\n <view class=\"uni-input\">{{overDate}}</view>\n </picker>\n </view>\n </view>\n </view>\n\n <!-- <view class=\"border-bg\"></view> -->\n\n\n <uni-load-more class=\"load\"\n :content-text=\"contentText\"\n :status=\"status\"\n :icon-size=\"24\"\n :iconType=\"iconType\"\n v-if=\"rows.length == 0\">\n\n <uni-list class=\"rechargeWrap\">\n <view class=\"recordCon uni-list-cell-pd\">\n <text>+66</text>\n <text>充值成功</text>\n </view>\n <view class=\"recordCon uni-list-cell-pd\">\n <text class=\"color-green\">微信充值</text>\n <text>2020-10-01 01:01:01</text>\n </view>\n </uni-list>\n\n <uni-list class=\"rechargeWrap\">\n <view class=\"recordCon uni-list-cell-pd\">\n <text>+66</text>\n <text>充值成功</text>\n </view>\n <view class=\"recordCon uni-list-cell-pd\">\n <text class=\"color-blue\">支付宝充值</text>\n <text>2020-10-01 01:01:01</text>\n </view>\n </uni-list>\n\n <uni-list class=\"rechargeWrap\">\n <view class=\"recordCon uni-list-cell-pd\">\n <text>+66</text>\n <text>充值成功</text>\n </view>\n <view class=\"recordCon uni-list-cell-pd\">\n <text class=\"color-red\">线下公对公充值</text>\n <text>2020-10-01 01:01:01</text>\n </view>\n </uni-list>\n\n <uni-list class=\"rechargeWrap\">\n <view class=\"recordCon uni-list-cell-pd\">\n <text>-66</text>\n <text>支付成功</text>\n </view>\n <view class=\"recordCon uni-list-cell-pd\">\n <text class=\"color-green\">购买卡券</text>\n <text>2020-10-01 01:01:01</text>\n </view>\n <view class=\"rechargeArrow\">\n >\n </view>\n </uni-list>\n\n\n\n <uni-list class=\"rechargeWrap\">\n <view class=\"recordCon uni-list-cell-pd\">\n <text>-66</text>\n <text>支付成功</text>\n </view>\n <view class=\"recordCon uni-list-cell-pd\">\n <text class=\"\">停车支付</text>\n <text>2020-10-01 01:01:01</text>\n </view>\n <view class=\"rechargeArrow\">\n >\n </view>\n </uni-list>\n\n </uni-load-more>\n\n\n </view>\n</template>\n\n<script>\nimport common from \"../../common/common.js\";\nexport default {\n data() {\n const currentDate = this.getDate({\n format: true\n })\n return {\n title: 'picker',\n array: ['全部', '充值', '支付'],\n arrayWay: ['所有方式', '微信', '线下公对公'],\n index: 0,\n indexWay: 0,\n benginDate: currentDate,\n overDate: currentDate,\n rows:[],\n pageNum:1,//当前页\n pageSize:1,//每页条数\n reload:false,\n status:'more',\n contentText:{\n contentdown:'上拉加载更多~',\n contentrefresh:'正在加载更多~',\n contentmore:'我是有底线的~'\n },\n iconType:'auto', // 图标样式\n }\n },\n onLoad(params) {\n wx.showShareMenu({\n withShareTicket: true\n })\n // this.mycarNumber = params.carNumber;\n // this.myorderId = params.orderId;\n // this.myparkCode = params.parkCode;\n // this.myorderState = params.orderState;\n // this.totalFee = params.totalFee\n // this.unPayFee = params.unPayFee\n // if (params.orderState == 5) {\n // //停车补缴单 103\n // this.mypaySrcType = '103'\n // } else {\n // this.mypaySrcType = '101'\n // }\n // // this.GetbillQueryInfo(this.mycarNumber, this.myorderId, this.myparkCode);\n // this.getWxCode();\n // this.PDlogin();\n //console.log(\"xxxmake = \"+this.makedateFormat());\n },\n onShow() {\n var me = this;\n var userInfo = me.getGlobalUser(\"globalUser\");\n if (userInfo != null) {\n me.phoneNumb = userInfo.userPhone;\n }\n var pages = getCurrentPages();\n var currPage = pages[pages.length - 1]; //当前页面\n console.log('currPage.data.selCoupon = ' + currPage.data.selCoupon);\n me.selCoupon = currPage.data.selCoupon;\n console.log(JSON.stringify(me.selCoupon));\n // me.GetbillQueryInfo(me.mycarNumber, me.myorderId, me.myparkCode, me.selCoupon.cardNo, me.selCoupon.couponType, me.selCoupon\n // .discValue);\n // GetbillQueryInfo(carnum, orderId, parkCode, cardNo, couponType, disValue) {\n },\n computed: {\n startDate() {\n return this.getDate('start');\n },\n endDate() {\n return this.getDate('end');\n }\n },\n methods: {\n actionsClick(text){\n uni.showToast({\n title:text,\n icon:'none'\n })\n },\n bindPickerChange: function (e) {\n console.log('picker发送选择改变,携带值为', e.detail.value)\n this.index = e.detail.value\n },\n bindPickerChangeWay: function (e) {\n console.log('picker发送选择改变,携带值为', e.detail.value)\n this.indexWay = e.detail.value\n },\n bindStartDateChange: function (e) {\n this.benginDate = e.detail.value\n },\n bindEndDateChange: function (e) {\n this.overDate = e.detail.value\n },\n getDate(type) {\n const date = new Date();\n let year = date.getFullYear();\n let month = date.getMonth() + 1;\n let day = date.getDate();\n if (type === 'start') {\n year = year - 60;\n } else if (type === 'end') {\n year = year + 2;\n }\n month = month > 9 ? month : '0' + month;\n day = day > 9 ? day : '0' + day;\n return `${year}-${month}-${day}`;\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n .rechargeWrap{\n position: relative;\n .rechargeArrow{\n position: absolute;\n right: 10px;\n top: 30px;\n font-size: 20px;\n color: #999;\n }\n }\n .recordCon {\n padding-right: 35px;\n color: #999;\n display: flex;\n justify-content: space-between;\n }\n\n .container {\n overflow: hidden;\n }\n\n .custom-cover {\n flex: 1;\n flex-direction: row;\n position: relative;\n }\n\n .cover-content {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 40px;\n background-color: rgba($color: #000000, $alpha: 0.4);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-left: 15px;\n font-size: 14px;\n color: #fff;\n }\n\n .card-actions {\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n height: 45px;\n border-top: 1px #eee solid;\n }\n .card-actions-item {\n display: flex;\n flex-direction: row;\n align-items: center;\n }\n .card-actions-item-text {\n font-size: 12px;\n color: #666;\n margin-left: 5px;\n }\n .cover-image {\n flex: 1;\n height: 150px;\n }\n .no-border {\n border-width: 0;\n }\n</style>\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651984896023\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
2 | 1 | \ No newline at end of file |
2 | +{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?6522","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?e6e9","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?cf07","uni-app:///pages/businessCard/businessCard.vue","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?bba7","webpack:////Users/liugongyu/Documents/jiangyin/pages/businessCard/businessCard.vue?d8e4"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,iH,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC6M;AAC7M,gBAAgB,iNAAU;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,aAAa,0MAEN;AACP,KAAK;AACL;AACA,aAAa,uPAEN;AACP,KAAK;AACL;AACA,aAAa,uPAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,sTAEN;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;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA2zB,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuT/0B,4F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,iCACA,YADA,IAGA,SACA,eADA,EAEA,yBAFA,EAGA,iCAHA,EAIA,QAJA,EAKA,WALA,EAMA,uBANA,EAOA,qBAPA,EAQA,QARA,EASA,UATA,EASA;AACA,iBAVA,EAUA;AACA,mBAXA,EAYA,cAZA,EAaA,eACA,sBADA,EAEA,yBAFA,EAGA,sBAHA,EAbA,EAkBA,gBAlBA,CAkBA;AAlBA,MAoBA,CAzBA,EA0BA,MA1BA,kBA0BA,MA1BA,EA0BA,CACA,mBACA,qBADA,IADA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA9CA,EA+CA,MA/CA,oBA+CA,CACA,cACA,8CACA,uBACA,kCACA,CACA,8BACA,uCAPA,CAOA;AACA,wEACA,uCACA,0CAVA,CAWA;AACA;AACA;AACA,GA7DA,EA8DA,YACA,SADA,uBACA,CACA,6BACA,CAHA,EAIA,OAJA,qBAIA,CACA,2BACA,CANA,EA9DA,EAsEA,WACA,YADA,wBACA,IADA,EACA,CACA,gBACA,WADA,EAEA,YAFA,IAIA,CANA,EAOA,gDACA,iDACA,4BACA,CAVA,EAWA,sDACA,iDACA,+BACA,CAdA,EAeA,sDACA,iCACA,CAjBA,EAkBA,kDACA,+BACA,CApBA,EAqBA,OArBA,mBAqBA,IArBA,EAqBA,CACA,sBACA,8BACA,gCACA,yBACA,uBACA,iBACA,CAFA,MAEA,qBACA,gBACA,CACA,wCACA,gCACA,2DACA,CAlCA,EAtEA,E;;;;;;;;;;;;;ACxTA;AAAA;AAAA;AAAA;AAAsiD,CAAgB,i8CAAG,EAAC,C;;;;;;;;;;;ACA1jD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/businessCard/businessCard.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/businessCard/businessCard.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./businessCard.vue?vue&type=template&id=866503f4&scoped=true&\"\nvar renderjs\nimport script from \"./businessCard.vue?vue&type=script&lang=js&\"\nexport * from \"./businessCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/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 \"866503f4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/businessCard/businessCard.vue\"\nexport default component.exports","export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=template&id=866503f4&scoped=true&\"","var components\ntry {\n components = {\n uniSection: function() {\n return import(\n /* webpackChunkName: \"components/uni-section/uni-section\" */ \"@/components/uni-section/uni-section.vue\"\n )\n },\n uniCard: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-card/components/uni-card/uni-card\" */ \"@/uni_modules/uni-card/components/uni-card/uni-card.vue\"\n )\n },\n uniList: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list/uni-list\" */ \"@/uni_modules/uni-list/components/uni-list/uni-list.vue\"\n )\n },\n uniListItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list-item/uni-list-item\" */ \"@/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue\"\n )\n },\n uniIcons: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-icons/components/uni-icons/uni-icons\" */ \"@/uni_modules/uni-icons/components/uni-icons/uni-icons.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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=script&lang=js&\"","<template>\n <view>\n <uni-section title=\"50%(折扣券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"redo-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n </view>\n </uni-card>\n </uni-section>\n\n <uni-section title=\"2小时(时长券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n\n </view>\n </uni-card>\n </uni-section>\n\n <uni-section title=\"5元(金额券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n\n </view>\n </uni-card>\n </uni-section>\n\n\n <uni-section title=\"满10减5(满减券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n\n </view>\n </uni-card>\n </uni-section>\n\n\n <uni-section title=\"单次(单次券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n\n </view>\n </uni-card>\n </uni-section>\n\n <uni-section title=\"单天(包天券)\" type=\"line\">\n <uni-card padding=\"0\" spacing=\"0\">\n <!--<template v-slot:cover>-->\n <!--<view class=\"custom-cover\">-->\n <!--<image class=\"cover-image\" mode=\"aspectFill\" :src=\"cover\">-->\n <!--</image>-->\n <!--<view class=\"cover-content\">-->\n <!--<text class=\"uni-subtitle uni-white\">今日新闻热点</text>-->\n <!--</view>-->\n <!--</view>-->\n <!--</template>-->\n <uni-list>\n <uni-list-item title=\"适应车场\" rightText=\"万达商业广场\" >\n <text></text>\n </uni-list-item>\n <uni-list-item title=\"价格:¥5/张\" rightText=\"商户库存:0张\"></uni-list-item>\n </uni-list>\n <view slot=\"actions\" class=\"card-actions no-border\">\n\n <view class=\"card-actions-item\" @click=\"actionsClick('购买')\">\n <uni-icons type=\"cart-filled\" size=\"18\" color=\"#999\"></uni-icons>\n <text class=\"card-actions-item-text\">购买</text>\n </view>\n\n </view>\n </uni-card>\n </uni-section>\n\n\n\n <!--<view class=\"statistics yellow-bg uni-list-cell-pd\" style=\"color: #fff\">共18笔充值,充值总金额100.00元</view>-->\n <!--<view class=\"uni-list\">-->\n <!--<view class=\"uni-list-cell\">-->\n <!--<view class=\"uni-list-cell-left\">-->\n <!--消费类型-->\n <!--</view>-->\n <!--<view class=\"uni-list-cell-db\">-->\n <!--<picker @change=\"bindPickerChange\" :value=\"index\" :range=\"array\">-->\n <!--<view class=\"uni-input\">{{array[index]}}</view>-->\n <!--</picker>-->\n <!--</view>-->\n <!--</view>-->\n <!--</view>-->\n\n <!--<view class=\"uni-list\">-->\n <!--<view class=\"uni-list-cell\">-->\n <!--<view class=\"uni-list-cell-left\">-->\n <!--充值方式-->\n <!--</view>-->\n <!--<view class=\"uni-list-cell-db\">-->\n <!--<picker @change=\"bindPickerChangeWay\" :value=\"indexWay\" :range=\"arrayWay\">-->\n <!--<view class=\"uni-input\">{{arrayWay[indexWay]}}</view>-->\n <!--</picker>-->\n <!--</view>-->\n <!--</view>-->\n <!--</view>-->\n\n\n <!--<view class=\"uni-list\">-->\n <!--<view class=\"uni-list-cell\">-->\n <!--<view class=\"uni-list-cell-left\">-->\n <!--开始时间-->\n <!--</view>-->\n <!--<view class=\"uni-list-cell-db\">-->\n <!--<picker mode=\"date\" :value=\"date\" :start=\"startDate\" :end=\"endDate\" @change=\"bindStartDateChange\">-->\n <!--<view class=\"uni-input\">{{benginDate}}</view>-->\n <!--</picker>-->\n <!--</view>-->\n <!--</view>-->\n <!--</view>-->\n\n <!--<view class=\"uni-list\">-->\n <!--<view class=\"uni-list-cell\">-->\n <!--<view class=\"uni-list-cell-left\">-->\n <!--结束时间-->\n <!--</view>-->\n <!--<view class=\"uni-list-cell-db\">-->\n <!--<picker mode=\"date\" :value=\"date\" :start=\"startDate\" :end=\"endDate\" @change=\"bindEndDateChange\">-->\n <!--<view class=\"uni-input\">{{overDate}}</view>-->\n <!--</picker>-->\n <!--</view>-->\n <!--</view>-->\n <!--</view>-->\n\n <!--<!– <view class=\"border-bg\"></view> –>-->\n\n\n <!--<uni-load-more class=\"load\"-->\n <!--:content-text=\"contentText\"-->\n <!--:status=\"status\"-->\n <!--:icon-size=\"24\"-->\n <!--:iconType=\"iconType\"-->\n <!--v-if=\"rows.length == 0\">-->\n\n <!--<uni-list class=\"rechargeWrap\">-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text>+66</text>-->\n <!--<text>充值成功</text>-->\n <!--</view>-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text class=\"color-green\">微信充值</text>-->\n <!--<text>2020-10-01 01:01:01</text>-->\n <!--</view>-->\n <!--</uni-list>-->\n\n <!--<uni-list class=\"rechargeWrap\">-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text>+66</text>-->\n <!--<text>充值成功</text>-->\n <!--</view>-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text class=\"color-blue\">支付宝充值</text>-->\n <!--<text>2020-10-01 01:01:01</text>-->\n <!--</view>-->\n <!--</uni-list>-->\n\n <!--<uni-list class=\"rechargeWrap\">-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text>+66</text>-->\n <!--<text>充值成功</text>-->\n <!--</view>-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text class=\"color-red\">线下公对公充值</text>-->\n <!--<text>2020-10-01 01:01:01</text>-->\n <!--</view>-->\n <!--</uni-list>-->\n\n <!--<uni-list class=\"rechargeWrap\">-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text>-66</text>-->\n <!--<text>支付成功</text>-->\n <!--</view>-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text class=\"color-green\">购买卡券</text>-->\n <!--<text>2020-10-01 01:01:01</text>-->\n <!--</view>-->\n <!--<view class=\"rechargeArrow\">-->\n <!-->-->\n <!--</view>-->\n <!--</uni-list>-->\n\n\n\n <!--<uni-list class=\"rechargeWrap\">-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text>-66</text>-->\n <!--<text>支付成功</text>-->\n <!--</view>-->\n <!--<view class=\"recordCon uni-list-cell-pd\">-->\n <!--<text class=\"\">停车支付</text>-->\n <!--<text>2020-10-01 01:01:01</text>-->\n <!--</view>-->\n <!--<view class=\"rechargeArrow\">-->\n <!-->-->\n <!--</view>-->\n <!--</uni-list>-->\n\n <!--</uni-load-more>-->\n\n\n </view>\n</template>\n\n<script>\nimport common from \"../../common/common.js\";\nexport default {\n data() {\n const currentDate = this.getDate({\n format: true\n })\n return {\n title: 'picker',\n array: ['全部', '充值', '支付'],\n arrayWay: ['所有方式', '微信', '线下公对公'],\n index: 0,\n indexWay: 0,\n benginDate: currentDate,\n overDate: currentDate,\n rows:[],\n pageNum:1,//当前页\n pageSize:1,//每页条数\n reload:false,\n status:'more',\n contentText:{\n contentdown:'上拉加载更多~',\n contentrefresh:'正在加载更多~',\n contentmore:'我是有底线的~'\n },\n iconType:'auto', // 图标样式\n }\n },\n onLoad(params) {\n wx.showShareMenu({\n withShareTicket: true\n })\n // this.mycarNumber = params.carNumber;\n // this.myorderId = params.orderId;\n // this.myparkCode = params.parkCode;\n // this.myorderState = params.orderState;\n // this.totalFee = params.totalFee\n // this.unPayFee = params.unPayFee\n // if (params.orderState == 5) {\n // //停车补缴单 103\n // this.mypaySrcType = '103'\n // } else {\n // this.mypaySrcType = '101'\n // }\n // // this.GetbillQueryInfo(this.mycarNumber, this.myorderId, this.myparkCode);\n // this.getWxCode();\n // this.PDlogin();\n //console.log(\"xxxmake = \"+this.makedateFormat());\n },\n onShow() {\n var me = this;\n var userInfo = me.getGlobalUser(\"globalUser\");\n if (userInfo != null) {\n me.phoneNumb = userInfo.userPhone;\n }\n var pages = getCurrentPages();\n var currPage = pages[pages.length - 1]; //当前页面\n console.log('currPage.data.selCoupon = ' + currPage.data.selCoupon);\n me.selCoupon = currPage.data.selCoupon;\n console.log(JSON.stringify(me.selCoupon));\n // me.GetbillQueryInfo(me.mycarNumber, me.myorderId, me.myparkCode, me.selCoupon.cardNo, me.selCoupon.couponType, me.selCoupon\n // .discValue);\n // GetbillQueryInfo(carnum, orderId, parkCode, cardNo, couponType, disValue) {\n },\n computed: {\n startDate() {\n return this.getDate('start');\n },\n endDate() {\n return this.getDate('end');\n }\n },\n methods: {\n actionsClick(text){\n uni.showToast({\n title:text,\n icon:'none'\n })\n },\n bindPickerChange: function (e) {\n console.log('picker发送选择改变,携带值为', e.detail.value)\n this.index = e.detail.value\n },\n bindPickerChangeWay: function (e) {\n console.log('picker发送选择改变,携带值为', e.detail.value)\n this.indexWay = e.detail.value\n },\n bindStartDateChange: function (e) {\n this.benginDate = e.detail.value\n },\n bindEndDateChange: function (e) {\n this.overDate = e.detail.value\n },\n getDate(type) {\n const date = new Date();\n let year = date.getFullYear();\n let month = date.getMonth() + 1;\n let day = date.getDate();\n if (type === 'start') {\n year = year - 60;\n } else if (type === 'end') {\n year = year + 2;\n }\n month = month > 9 ? month : '0' + month;\n day = day > 9 ? day : '0' + day;\n return `${year}-${month}-${day}`;\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n /deep/ .uni-section{\n padding-bottom: 10px;\n }\n .rechargeWrap{\n position: relative;\n .rechargeArrow{\n position: absolute;\n right: 10px;\n top: 30px;\n font-size: 20px;\n color: #999;\n }\n }\n .recordCon {\n padding-right: 35px;\n color: #999;\n display: flex;\n justify-content: space-between;\n }\n\n .container {\n overflow: hidden;\n }\n\n .custom-cover {\n flex: 1;\n flex-direction: row;\n position: relative;\n }\n\n .cover-content {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 40px;\n background-color: rgba($color: #000000, $alpha: 0.4);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-left: 15px;\n font-size: 14px;\n color: #fff;\n }\n\n .card-actions {\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n height: 45px;\n border-top: 1px #eee solid;\n }\n .card-actions-item {\n display: flex;\n flex-direction: row;\n align-items: center;\n }\n .card-actions-item-text {\n font-size: 12px;\n color: #666;\n margin-left: 5px;\n }\n .cover-image {\n flex: 1;\n height: 150px;\n }\n .no-border {\n border-width: 0;\n }\n</style>\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./businessCard.vue?vue&type=style&index=0&id=866503f4&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651994616819\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
3 | 3 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js.map
1 | -{"version":3,"sources":["webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?f257","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?3945","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?7cf4","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?3aad","uni-app:///uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?399b","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?5e12"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACmN;AACnN,gBAAgB,iNAAU;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;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA21B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACa/2B;;;;;;;;;;;;;;;;AAgBA;AACA,sBADA;AAEA,kEAFA;AAGA;AACA;AACA,4BADA;AAEA,gBAFA,EADA;;AAKA;AACA,4BADA;AAEA,gBAFA,EALA;;AASA;AACA,kBADA;AAEA,gBAFA,EATA;;AAaA;AACA,kBADA;AAEA,kBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,gBAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,wBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,qBAFA,EAzBA;;AA6BA;AACA,mBADA;AAEA,oBAFA,EA7BA,EAHA;;;AAqCA,MArCA,kBAqCA;AACA;AACA,mBADA;;AAGA,GAzCA;AA0CA;AACA,SADA,iBACA,GADA,EACA;AACA;AACA,KAHA;AAIA,cAJA,sBAIA,GAJA,EAIA;AACA;AACA,KANA,EA1CA;;AAkDA,SAlDA,qBAkDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAzDA;AA0DA;AACA,cADA,sBACA,IADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAlCA;AAmCA,oBAnCA,8BAmCA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA,WA5CA,mBA4CA,KA5CA,EA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7DA;AA8DA,YA9DA,oBA8DA,KA9DA,EA8DA;AACA;AACA,KAhEA,EA1DA,E;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAA8lD,CAAgB,m8CAAG,EAAC,C;;;;;;;;;;;ACAlnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-number-box.vue?vue&type=template&id=dd94a2a8&scoped=true&\"\nvar renderjs\nimport script from \"./uni-number-box.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-number-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"dd94a2a8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=template&id=dd94a2a8&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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-numbox\">\r\n\t\t<view @click=\"_calcValue('minus')\" class=\"uni-numbox__minus uni-numbox-btns\" :style=\"{background}\">\r\n\t\t\t<text class=\"uni-numbox--text\" :class=\"{ 'uni-numbox--disabled': inputValue <= min || disabled }\" :style=\"{color}\">-</text>\r\n\t\t</view>\r\n\t\t<input :disabled=\"disabled\" @focus=\"_onFocus\" @blur=\"_onBlur\" class=\"uni-numbox__value\" type=\"number\"\r\n\t\t\tv-model=\"inputValue\" :style=\"{background, color}\" />\r\n\t\t<view @click=\"_calcValue('plus')\" class=\"uni-numbox__plus uni-numbox-btns\" :style=\"{background}\">\r\n\t\t\t<text class=\"uni-numbox--text\" :class=\"{ 'uni-numbox--disabled': inputValue >= max || disabled }\" :style=\"{color}\">+</text>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n<script>\r\n\t/**\r\n\t * NumberBox 数字输入框\r\n\t * @description 带加减按钮的数字输入框\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=31\r\n\t * @property {Number} value 输入框当前值\r\n\t * @property {Number} min 最小值\r\n\t * @property {Number} max 最大值\r\n\t * @property {Number} step 每次点击改变的间隔大小\r\n\t * @property {String} background 背景色\r\n\t * @property {String} color 字体颜色(前景色)\r\n\t * @property {Boolean} disabled = [true|false] 是否为禁用状态\r\n\t * @event {Function} change 输入框值改变时触发的事件,参数为输入框当前的 value\r\n\t * @event {Function} focus 输入框聚焦时触发的事件,参数为 event 对象\r\n\t * @event {Function} blur 输入框失焦时触发的事件,参数为 event 对象\r\n\t */\r\n\r\n\texport default {\r\n\t\tname: \"UniNumberBox\",\r\n\t\temits: ['change', 'input', 'update:modelValue', 'blur', 'focus'],\r\n\t\tprops: {\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\r\n\t\t\tmodelValue: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\r\n\t\t\tmin: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\tmax: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 100\r\n\t\t\t},\r\n\t\t\tstep: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\n\t\t\tbackground: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#f5f5f5'\n\t\t\t},\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#333'\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tinputValue: 0\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tvalue(val) {\r\n\t\t\t\tthis.inputValue = +val;\r\n\t\t\t},\r\n\t\t\tmodelValue(val) {\r\n\t\t\t\tthis.inputValue = +val;\r\n\t\t\t}\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tif (this.value === 1) {\r\n\t\t\t\tthis.inputValue = +this.modelValue;\r\n\t\t\t}\r\n\t\t\tif (this.modelValue === 1) {\r\n\t\t\t\tthis.inputValue = +this.value;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t_calcValue(type) {\r\n\t\t\t\tif (this.disabled) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tconst scale = this._getDecimalScale();\r\n\t\t\t\tlet value = this.inputValue * scale;\r\n\t\t\t\tlet step = this.step * scale;\r\n\t\t\t\tif (type === \"minus\") {\r\n\t\t\t\t\tvalue -= step;\r\n\t\t\t\t\tif (value < (this.min * scale)) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (value > (this.max * scale)) {\r\n\t\t\t\t\t\tvalue = this.max * scale\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (type === \"plus\") {\r\n\t\t\t\t\tvalue += step;\r\n\t\t\t\t\tif (value > (this.max * scale)) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (value < (this.min * scale)) {\r\n\t\t\t\t\t\tvalue = this.min * scale\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.inputValue = (value / scale).toFixed(String(scale).length - 1);\r\n\t\t\t\tthis.$emit(\"change\", +this.inputValue);\r\n\t\t\t\t// TODO vue2 兼容\r\n\t\t\t\tthis.$emit(\"input\", +this.inputValue);\r\n\t\t\t\t// TODO vue3 兼容\r\n\t\t\t\tthis.$emit(\"update:modelValue\", +this.inputValue);\r\n\t\t\t},\r\n\t\t\t_getDecimalScale() {\r\n\r\n\t\t\t\tlet scale = 1;\r\n\t\t\t\t// 浮点型\r\n\t\t\t\tif (~~this.step !== this.step) {\r\n\t\t\t\t\tscale = Math.pow(10, String(this.step).split(\".\")[1].length);\r\n\t\t\t\t}\r\n\t\t\t\treturn scale;\r\n\t\t\t},\r\n\t\t\t_onBlur(event) {\r\n\t\t\t\tthis.$emit('blur', event)\r\n\t\t\t\tlet value = event.detail.value;\r\n\t\t\t\tif (!value) {\r\n\t\t\t\t\t// this.inputValue = 0;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvalue = +value;\r\n\t\t\t\tif (value > this.max) {\r\n\t\t\t\t\tvalue = this.max;\r\n\t\t\t\t} else if (value < this.min) {\r\n\t\t\t\t\tvalue = this.min;\r\n\t\t\t\t}\r\n\t\t\t\tconst scale = this._getDecimalScale();\r\n\t\t\t\tthis.inputValue = value.toFixed(String(scale).length - 1);\r\n\t\t\t\tthis.$emit(\"change\", +this.inputValue);\r\n\t\t\t\tthis.$emit(\"input\", +this.inputValue);\r\n\t\t\t},\r\n\t\t\t_onFocus(event) {\r\n\t\t\t\tthis.$emit('focus', event)\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t$box-height: 26px;\n\t$bg: #f5f5f5;\n\t$br: 2px;\n\t$color: #333;\r\n\r\n\t.uni-numbox {\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}\r\n\r\n\t.uni-numbox-btns {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tpadding: 0 8px;\n\t\tbackground-color: $bg;\r\n\t\t/* #ifdef H5 */\r\n\t\tcursor: pointer;\r\n\t\t/* #endif */\r\n\t}\r\n\r\n\t.uni-numbox__value {\n\t\tmargin: 0 2px;\r\n\t\tbackground-color: $bg;\r\n\t\twidth: 40px;\r\n\t\theight: $box-height;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 14px;\r\n\t\tborder-left-width: 0;\r\n\t\tborder-right-width: 0;\n\t\tcolor: $color;\r\n\t}\r\n\r\n\t.uni-numbox__minus {\r\n\t\tborder-top-left-radius: $br;\r\n\t\tborder-bottom-left-radius: $br;\r\n\t}\r\n\r\n\t.uni-numbox__plus {\n\t\tborder-top-right-radius: $br;\n\t\tborder-bottom-right-radius: $br;\r\n\t}\r\n\r\n\t.uni-numbox--text {\n\t\t// fix nvue\n\t\tline-height: 20px;\n\r\n\t\tfont-size: 20px;\n\t\tfont-weight: 300;\n\t\tcolor: $color;\r\n\t}\r\n\r\n\t.uni-numbox .uni-numbox--disabled {\r\n\t\tcolor: #c0c0c0 !important;\r\n\t\t/* #ifdef H5 */\r\n\t\tcursor: not-allowed;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651982250597\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
2 | 1 | \ No newline at end of file |
2 | +{"version":3,"sources":["webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?f257","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?3945","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?7cf4","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?3aad","uni-app:///uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?399b","webpack:////Users/liugongyu/Documents/jiangyin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue?5e12"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACmN;AACnN,gBAAgB,iNAAU;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;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA21B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACa/2B;;;;;;;;;;;;;;;;AAgBA;AACA,sBADA;AAEA,kEAFA;AAGA;AACA;AACA,4BADA;AAEA,gBAFA,EADA;;AAKA;AACA,4BADA;AAEA,gBAFA,EALA;;AASA;AACA,kBADA;AAEA,gBAFA,EATA;;AAaA;AACA,kBADA;AAEA,kBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,gBAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,wBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,qBAFA,EAzBA;;AA6BA;AACA,mBADA;AAEA,oBAFA,EA7BA,EAHA;;;AAqCA,MArCA,kBAqCA;AACA;AACA,mBADA;;AAGA,GAzCA;AA0CA;AACA,SADA,iBACA,GADA,EACA;AACA;AACA,KAHA;AAIA,cAJA,sBAIA,GAJA,EAIA;AACA;AACA,KANA,EA1CA;;AAkDA,SAlDA,qBAkDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAzDA;AA0DA;AACA,cADA,sBACA,IADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAlCA;AAmCA,oBAnCA,8BAmCA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA,WA5CA,mBA4CA,KA5CA,EA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7DA;AA8DA,YA9DA,oBA8DA,KA9DA,EA8DA;AACA;AACA,KAhEA,EA1DA,E;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAA8lD,CAAgB,m8CAAG,EAAC,C;;;;;;;;;;;ACAlnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-number-box.vue?vue&type=template&id=dd94a2a8&scoped=true&\"\nvar renderjs\nimport script from \"./uni-number-box.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-number-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"dd94a2a8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=template&id=dd94a2a8&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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-numbox\">\r\n\t\t<view @click=\"_calcValue('minus')\" class=\"uni-numbox__minus uni-numbox-btns\" :style=\"{background}\">\r\n\t\t\t<text class=\"uni-numbox--text\" :class=\"{ 'uni-numbox--disabled': inputValue <= min || disabled }\" :style=\"{color}\">-</text>\r\n\t\t</view>\r\n\t\t<input :disabled=\"disabled\" @focus=\"_onFocus\" @blur=\"_onBlur\" class=\"uni-numbox__value\" type=\"number\"\r\n\t\t\tv-model=\"inputValue\" :style=\"{background, color}\" />\r\n\t\t<view @click=\"_calcValue('plus')\" class=\"uni-numbox__plus uni-numbox-btns\" :style=\"{background}\">\r\n\t\t\t<text class=\"uni-numbox--text\" :class=\"{ 'uni-numbox--disabled': inputValue >= max || disabled }\" :style=\"{color}\">+</text>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n<script>\r\n\t/**\r\n\t * NumberBox 数字输入框\r\n\t * @description 带加减按钮的数字输入框\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=31\r\n\t * @property {Number} value 输入框当前值\r\n\t * @property {Number} min 最小值\r\n\t * @property {Number} max 最大值\r\n\t * @property {Number} step 每次点击改变的间隔大小\r\n\t * @property {String} background 背景色\r\n\t * @property {String} color 字体颜色(前景色)\r\n\t * @property {Boolean} disabled = [true|false] 是否为禁用状态\r\n\t * @event {Function} change 输入框值改变时触发的事件,参数为输入框当前的 value\r\n\t * @event {Function} focus 输入框聚焦时触发的事件,参数为 event 对象\r\n\t * @event {Function} blur 输入框失焦时触发的事件,参数为 event 对象\r\n\t */\r\n\r\n\texport default {\r\n\t\tname: \"UniNumberBox\",\r\n\t\temits: ['change', 'input', 'update:modelValue', 'blur', 'focus'],\r\n\t\tprops: {\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\r\n\t\t\tmodelValue: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\r\n\t\t\tmin: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\tmax: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 100\r\n\t\t\t},\r\n\t\t\tstep: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 1\r\n\t\t\t},\n\t\t\tbackground: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#f5f5f5'\n\t\t\t},\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#333'\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tinputValue: 0\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tvalue(val) {\r\n\t\t\t\tthis.inputValue = +val;\r\n\t\t\t},\r\n\t\t\tmodelValue(val) {\r\n\t\t\t\tthis.inputValue = +val;\r\n\t\t\t}\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tif (this.value === 1) {\r\n\t\t\t\tthis.inputValue = +this.modelValue;\r\n\t\t\t}\r\n\t\t\tif (this.modelValue === 1) {\r\n\t\t\t\tthis.inputValue = +this.value;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t_calcValue(type) {\r\n\t\t\t\tif (this.disabled) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tconst scale = this._getDecimalScale();\r\n\t\t\t\tlet value = this.inputValue * scale;\r\n\t\t\t\tlet step = this.step * scale;\r\n\t\t\t\tif (type === \"minus\") {\r\n\t\t\t\t\tvalue -= step;\r\n\t\t\t\t\tif (value < (this.min * scale)) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (value > (this.max * scale)) {\r\n\t\t\t\t\t\tvalue = this.max * scale\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (type === \"plus\") {\r\n\t\t\t\t\tvalue += step;\r\n\t\t\t\t\tif (value > (this.max * scale)) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (value < (this.min * scale)) {\r\n\t\t\t\t\t\tvalue = this.min * scale\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.inputValue = (value / scale).toFixed(String(scale).length - 1);\r\n\t\t\t\tthis.$emit(\"change\", +this.inputValue);\r\n\t\t\t\t// TODO vue2 兼容\r\n\t\t\t\tthis.$emit(\"input\", +this.inputValue);\r\n\t\t\t\t// TODO vue3 兼容\r\n\t\t\t\tthis.$emit(\"update:modelValue\", +this.inputValue);\r\n\t\t\t},\r\n\t\t\t_getDecimalScale() {\r\n\r\n\t\t\t\tlet scale = 1;\r\n\t\t\t\t// 浮点型\r\n\t\t\t\tif (~~this.step !== this.step) {\r\n\t\t\t\t\tscale = Math.pow(10, String(this.step).split(\".\")[1].length);\r\n\t\t\t\t}\r\n\t\t\t\treturn scale;\r\n\t\t\t},\r\n\t\t\t_onBlur(event) {\r\n\t\t\t\tthis.$emit('blur', event)\r\n\t\t\t\tlet value = event.detail.value;\r\n\t\t\t\tif (!value) {\r\n\t\t\t\t\t// this.inputValue = 0;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvalue = +value;\r\n\t\t\t\tif (value > this.max) {\r\n\t\t\t\t\tvalue = this.max;\r\n\t\t\t\t} else if (value < this.min) {\r\n\t\t\t\t\tvalue = this.min;\r\n\t\t\t\t}\r\n\t\t\t\tconst scale = this._getDecimalScale();\r\n\t\t\t\tthis.inputValue = value.toFixed(String(scale).length - 1);\r\n\t\t\t\tthis.$emit(\"change\", +this.inputValue);\r\n\t\t\t\tthis.$emit(\"input\", +this.inputValue);\r\n\t\t\t},\r\n\t\t\t_onFocus(event) {\r\n\t\t\t\tthis.$emit('focus', event)\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t$box-height: 26px;\n\t$bg: #f5f5f5;\n\t$br: 2px;\n\t$color: #333;\r\n\r\n\t.uni-numbox {\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}\r\n\r\n\t.uni-numbox-btns {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tpadding: 0 8px;\n\t\tbackground-color: $bg;\r\n\t\t/* #ifdef H5 */\r\n\t\tcursor: pointer;\r\n\t\t/* #endif */\r\n\t}\r\n\r\n\t.uni-numbox__value {\n\t\tmargin: 0 2px;\r\n\t\tbackground-color: $bg;\r\n\t\twidth: 40px;\r\n\t\theight: $box-height;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 14px;\r\n\t\tborder-left-width: 0;\r\n\t\tborder-right-width: 0;\n\t\tcolor: $color;\r\n\t}\r\n\r\n\t.uni-numbox__minus {\r\n\t\tborder-top-left-radius: $br;\r\n\t\tborder-bottom-left-radius: $br;\r\n\t}\r\n\r\n\t.uni-numbox__plus {\n\t\tborder-top-right-radius: $br;\n\t\tborder-bottom-right-radius: $br;\r\n\t}\r\n\r\n\t.uni-numbox--text {\n\t\t// fix nvue\n\t\tline-height: 20px;\n\r\n\t\tfont-size: 20px;\n\t\tfont-weight: 300;\n\t\tcolor: $color;\r\n\t}\r\n\r\n\t.uni-numbox .uni-numbox--disabled {\r\n\t\tcolor: #c0c0c0 !important;\r\n\t\t/* #ifdef H5 */\r\n\t\tcursor: not-allowed;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-number-box.vue?vue&type=style&index=0&id=dd94a2a8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1651995597286\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} | |
3 | 3 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/mp-weixin/app.json
unpackage/dist/dev/mp-weixin/common/main.js
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | /***/ (function(module, exports, __webpack_require__) { |
8 | 8 | |
9 | 9 | "use strict"; |
10 | -/* WEBPACK VAR INJECTION */(function(createApp) {__webpack_require__(/*! uni-pages */ 5);var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6)); | |
10 | +/* WEBPACK VAR INJECTION */(function(uni, createApp) {__webpack_require__(/*! uni-pages */ 5);var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6)); | |
11 | 11 | var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 16)); |
12 | 12 | |
13 | 13 | |
... | ... | @@ -20,13 +20,67 @@ _vue.default.prototype.$backgroundAudioData = { |
20 | 20 | playTime: 0, |
21 | 21 | formatedPlayTime: '00:00:00' }; |
22 | 22 | |
23 | + | |
24 | +_vue.default.filter('priceFormat', function (value, arg) { | |
25 | + return (value / 100).toFixed(2); | |
26 | +}); | |
27 | + | |
28 | +_vue.default.filter('timeFormat', function (value, arg) { | |
29 | + | |
30 | + var time = ''; | |
31 | + if (null != value && "" != value) { | |
32 | + var timer = parseInt(value); | |
33 | + if (timer == 0) { | |
34 | + return '0秒'; | |
35 | + } | |
36 | + var days = parseInt(timer / (60 * 60 * 24)); | |
37 | + var hours = parseInt(timer % (60 * 60 * 24) / (60 * 60)); | |
38 | + var minutes = parseInt(timer % (60 * 60) / 60); | |
39 | + var seconds = parseInt(timer % 60); | |
40 | + if (days > 0) { | |
41 | + time = time + days + '天'; | |
42 | + } | |
43 | + if (hours > 0) { | |
44 | + time = time + hours + '小时'; | |
45 | + } | |
46 | + if (minutes > 0) { | |
47 | + time = time + minutes + '分钟'; | |
48 | + } | |
49 | + if (seconds > 0) { | |
50 | + time = time + seconds + '秒'; | |
51 | + } | |
52 | + return time; | |
53 | + } | |
54 | + return time; | |
55 | + | |
56 | +}); | |
57 | + | |
58 | +_vue.default.prototype.getGlobalUser = function (key) { | |
59 | + var userInfo = uni.getStorageSync("globalUser"); | |
60 | + if (userInfo != null && userInfo != "" && userInfo != undefined) { | |
61 | + return userInfo; | |
62 | + } else { | |
63 | + return null; | |
64 | + } | |
65 | +}; | |
66 | + | |
67 | +_vue.default.prototype.getWxOpenid = function (key) { | |
68 | + var WxOpenid = uni.getStorageSync("WxOpenid"); | |
69 | + if (WxOpenid != null && WxOpenid != "" && WxOpenid != undefined) { | |
70 | + return WxOpenid; | |
71 | + } else { | |
72 | + return ""; | |
73 | + } | |
74 | +}; | |
75 | + | |
76 | + | |
23 | 77 | _App.default.mpType = 'app'; |
24 | 78 | var app = new _vue.default(_objectSpread({ |
25 | 79 | store: _store.default }, |
26 | 80 | _App.default)); |
27 | 81 | |
28 | 82 | createApp(app).$mount(); |
29 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createApp"])) | |
83 | +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createApp"])) | |
30 | 84 | |
31 | 85 | /***/ }), |
32 | 86 | /* 1 */, | ... | ... |
unpackage/dist/dev/mp-weixin/common/runtime.js
... | ... | @@ -105,11 +105,11 @@ |
105 | 105 | /******/ |
106 | 106 | /******/ |
107 | 107 | /******/ // mini-css-extract-plugin CSS loading |
108 | -/******/ var cssChunks = {"uni_modules/uni-icons/components/uni-icons/uni-icons":1,"uni_modules/uni-load-more/components/uni-load-more/uni-load-more":1,"components/uni-section/uni-section":1,"uni_modules/uni-card/components/uni-card/uni-card":1,"uni_modules/uni-list/components/uni-list-item/uni-list-item":1,"uni_modules/uni-list/components/uni-list/uni-list":1,"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item":1,"uni_modules/uni-grid/components/uni-grid/uni-grid":1,"uni_modules/uni-badge/components/uni-badge/uni-badge":1}; | |
108 | +/******/ var cssChunks = {"uni_modules/uni-icons/components/uni-icons/uni-icons":1,"components/uni-section/uni-section":1,"uni_modules/uni-card/components/uni-card/uni-card":1,"uni_modules/uni-list/components/uni-list-item/uni-list-item":1,"uni_modules/uni-list/components/uni-list/uni-list":1,"uni_modules/uni-number-box/components/uni-number-box/uni-number-box":1,"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item":1,"uni_modules/uni-grid/components/uni-grid/uni-grid":1,"uni_modules/uni-load-more/components/uni-load-more/uni-load-more":1,"uni_modules/uni-badge/components/uni-badge/uni-badge":1}; | |
109 | 109 | /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); |
110 | 110 | /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { |
111 | 111 | /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) { |
112 | -/******/ var href = "" + ({"uni_modules/uni-icons/components/uni-icons/uni-icons":"uni_modules/uni-icons/components/uni-icons/uni-icons","uni_modules/uni-load-more/components/uni-load-more/uni-load-more":"uni_modules/uni-load-more/components/uni-load-more/uni-load-more","components/uni-section/uni-section":"components/uni-section/uni-section","uni_modules/uni-card/components/uni-card/uni-card":"uni_modules/uni-card/components/uni-card/uni-card","uni_modules/uni-list/components/uni-list-item/uni-list-item":"uni_modules/uni-list/components/uni-list-item/uni-list-item","uni_modules/uni-list/components/uni-list/uni-list":"uni_modules/uni-list/components/uni-list/uni-list","uni_modules/uni-grid/components/uni-grid-item/uni-grid-item":"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item","uni_modules/uni-grid/components/uni-grid/uni-grid":"uni_modules/uni-grid/components/uni-grid/uni-grid","components/u-link/u-link":"components/u-link/u-link","uni_modules/uni-badge/components/uni-badge/uni-badge":"uni_modules/uni-badge/components/uni-badge/uni-badge"}[chunkId]||chunkId) + ".wxss"; | |
112 | +/******/ var href = "" + ({"uni_modules/uni-icons/components/uni-icons/uni-icons":"uni_modules/uni-icons/components/uni-icons/uni-icons","components/uni-section/uni-section":"components/uni-section/uni-section","uni_modules/uni-card/components/uni-card/uni-card":"uni_modules/uni-card/components/uni-card/uni-card","uni_modules/uni-list/components/uni-list-item/uni-list-item":"uni_modules/uni-list/components/uni-list-item/uni-list-item","uni_modules/uni-list/components/uni-list/uni-list":"uni_modules/uni-list/components/uni-list/uni-list","uni_modules/uni-number-box/components/uni-number-box/uni-number-box":"uni_modules/uni-number-box/components/uni-number-box/uni-number-box","uni_modules/uni-grid/components/uni-grid-item/uni-grid-item":"uni_modules/uni-grid/components/uni-grid-item/uni-grid-item","uni_modules/uni-grid/components/uni-grid/uni-grid":"uni_modules/uni-grid/components/uni-grid/uni-grid","components/u-link/u-link":"components/u-link/u-link","uni_modules/uni-load-more/components/uni-load-more/uni-load-more":"uni_modules/uni-load-more/components/uni-load-more/uni-load-more","uni_modules/uni-badge/components/uni-badge/uni-badge":"uni_modules/uni-badge/components/uni-badge/uni-badge"}[chunkId]||chunkId) + ".wxss"; | |
113 | 113 | /******/ var fullhref = __webpack_require__.p + href; |
114 | 114 | /******/ var existingLinkTags = document.getElementsByTagName("link"); |
115 | 115 | /******/ for(var i = 0; i < existingLinkTags.length; i++) { | ... | ... |
unpackage/dist/dev/mp-weixin/pages/businessCard/businessCard.js
... | ... | @@ -98,20 +98,17 @@ try { |
98 | 98 | uniSection: function() { |
99 | 99 | return __webpack_require__.e(/*! import() | components/uni-section/uni-section */ "components/uni-section/uni-section").then(__webpack_require__.bind(null, /*! @/components/uni-section/uni-section.vue */ 110)) |
100 | 100 | }, |
101 | + uniCard: function() { | |
102 | + return __webpack_require__.e(/*! import() | uni_modules/uni-card/components/uni-card/uni-card */ "uni_modules/uni-card/components/uni-card/uni-card").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-card/components/uni-card/uni-card.vue */ 145)) | |
103 | + }, | |
101 | 104 | uniList: function() { |
102 | 105 | return __webpack_require__.e(/*! import() | uni_modules/uni-list/components/uni-list/uni-list */ "uni_modules/uni-list/components/uni-list/uni-list").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-list/components/uni-list/uni-list.vue */ 117)) |
103 | 106 | }, |
104 | 107 | uniListItem: function() { |
105 | 108 | return __webpack_require__.e(/*! import() | uni_modules/uni-list/components/uni-list-item/uni-list-item */ "uni_modules/uni-list/components/uni-list-item/uni-list-item").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue */ 124)) |
106 | 109 | }, |
107 | - uniCard: function() { | |
108 | - return __webpack_require__.e(/*! import() | uni_modules/uni-card/components/uni-card/uni-card */ "uni_modules/uni-card/components/uni-card/uni-card").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-card/components/uni-card/uni-card.vue */ 145)) | |
109 | - }, | |
110 | 110 | uniIcons: function() { |
111 | 111 | return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 152)) |
112 | - }, | |
113 | - uniLoadMore: function() { | |
114 | - return Promise.all(/*! import() | uni_modules/uni-load-more/components/uni-load-more/uni-load-more */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-load-more/components/uni-load-more/uni-load-more")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue */ 160)) | |
115 | 112 | } |
116 | 113 | } |
117 | 114 | } catch (e) { |
... | ... | @@ -378,6 +375,107 @@ __webpack_require__.r(__webpack_exports__); |
378 | 375 | |
379 | 376 | |
380 | 377 | |
378 | + | |
379 | + | |
380 | + | |
381 | + | |
382 | + | |
383 | + | |
384 | + | |
385 | + | |
386 | + | |
387 | + | |
388 | + | |
389 | + | |
390 | + | |
391 | + | |
392 | + | |
393 | + | |
394 | + | |
395 | + | |
396 | + | |
397 | + | |
398 | + | |
399 | + | |
400 | + | |
401 | + | |
402 | + | |
403 | + | |
404 | + | |
405 | + | |
406 | + | |
407 | + | |
408 | + | |
409 | + | |
410 | + | |
411 | + | |
412 | + | |
413 | + | |
414 | + | |
415 | + | |
416 | + | |
417 | + | |
418 | + | |
419 | + | |
420 | + | |
421 | + | |
422 | + | |
423 | + | |
424 | + | |
425 | + | |
426 | + | |
427 | + | |
428 | + | |
429 | + | |
430 | + | |
431 | + | |
432 | + | |
433 | + | |
434 | + | |
435 | + | |
436 | + | |
437 | + | |
438 | + | |
439 | + | |
440 | + | |
441 | + | |
442 | + | |
443 | + | |
444 | + | |
445 | + | |
446 | + | |
447 | + | |
448 | + | |
449 | + | |
450 | + | |
451 | + | |
452 | + | |
453 | + | |
454 | + | |
455 | + | |
456 | + | |
457 | + | |
458 | + | |
459 | + | |
460 | + | |
461 | + | |
462 | + | |
463 | + | |
464 | + | |
465 | + | |
466 | + | |
467 | + | |
468 | + | |
469 | + | |
470 | + | |
471 | + | |
472 | + | |
473 | + | |
474 | + | |
475 | + | |
476 | + | |
477 | + | |
478 | + | |
381 | 479 | var _common = _interopRequireDefault(__webpack_require__(/*! ../../common/common.js */ 26));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // |
382 | 480 | // |
383 | 481 | // |
... | ... | @@ -587,6 +685,107 @@ var _common = _interopRequireDefault(__webpack_require__(/*! ../../common/common |
587 | 685 | // |
588 | 686 | // |
589 | 687 | // |
688 | +// | |
689 | +// | |
690 | +// | |
691 | +// | |
692 | +// | |
693 | +// | |
694 | +// | |
695 | +// | |
696 | +// | |
697 | +// | |
698 | +// | |
699 | +// | |
700 | +// | |
701 | +// | |
702 | +// | |
703 | +// | |
704 | +// | |
705 | +// | |
706 | +// | |
707 | +// | |
708 | +// | |
709 | +// | |
710 | +// | |
711 | +// | |
712 | +// | |
713 | +// | |
714 | +// | |
715 | +// | |
716 | +// | |
717 | +// | |
718 | +// | |
719 | +// | |
720 | +// | |
721 | +// | |
722 | +// | |
723 | +// | |
724 | +// | |
725 | +// | |
726 | +// | |
727 | +// | |
728 | +// | |
729 | +// | |
730 | +// | |
731 | +// | |
732 | +// | |
733 | +// | |
734 | +// | |
735 | +// | |
736 | +// | |
737 | +// | |
738 | +// | |
739 | +// | |
740 | +// | |
741 | +// | |
742 | +// | |
743 | +// | |
744 | +// | |
745 | +// | |
746 | +// | |
747 | +// | |
748 | +// | |
749 | +// | |
750 | +// | |
751 | +// | |
752 | +// | |
753 | +// | |
754 | +// | |
755 | +// | |
756 | +// | |
757 | +// | |
758 | +// | |
759 | +// | |
760 | +// | |
761 | +// | |
762 | +// | |
763 | +// | |
764 | +// | |
765 | +// | |
766 | +// | |
767 | +// | |
768 | +// | |
769 | +// | |
770 | +// | |
771 | +// | |
772 | +// | |
773 | +// | |
774 | +// | |
775 | +// | |
776 | +// | |
777 | +// | |
778 | +// | |
779 | +// | |
780 | +// | |
781 | +// | |
782 | +// | |
783 | +// | |
784 | +// | |
785 | +// | |
786 | +// | |
787 | +// | |
788 | +// | |
590 | 789 | var _default = { data: function data() {var currentDate = this.getDate({ format: true });return { title: 'picker', array: ['全部', '充值', '支付'], arrayWay: ['所有方式', '微信', '线下公对公'], index: 0, indexWay: 0, benginDate: currentDate, overDate: currentDate, rows: [], pageNum: 1, //当前页 |
591 | 790 | pageSize: 1, //每页条数 |
592 | 791 | reload: false, status: 'more', contentText: { contentdown: '上拉加载更多~', contentrefresh: '正在加载更多~', contentmore: '我是有底线的~' }, iconType: 'auto' // 图标样式 | ... | ... |
unpackage/dist/dev/mp-weixin/pages/businessCard/businessCard.json
... | ... | @@ -2,10 +2,9 @@ |
2 | 2 | "navigationBarTitleText": "商户卡券", |
3 | 3 | "usingComponents": { |
4 | 4 | "uni-section": "/components/uni-section/uni-section", |
5 | + "uni-card": "/uni_modules/uni-card/components/uni-card/uni-card", | |
5 | 6 | "uni-list": "/uni_modules/uni-list/components/uni-list/uni-list", |
6 | 7 | "uni-list-item": "/uni_modules/uni-list/components/uni-list-item/uni-list-item", |
7 | - "uni-card": "/uni_modules/uni-card/components/uni-card/uni-card", | |
8 | - "uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons", | |
9 | - "uni-load-more": "/uni_modules/uni-load-more/components/uni-load-more/uni-load-more" | |
8 | + "uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons" | |
10 | 9 | } |
11 | 10 | } |
12 | 11 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/mp-weixin/pages/businessCard/businessCard.wxml
1 | -<view class="data-v-866503f4"><uni-section vue-id="463a7880-1" title="基础用法" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list vue-id="{{('463a7880-2')+','+('463a7880-1')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-3')+','+('463a7880-2')}}" title="列表文字" class="data-v-866503f4" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('463a7880-4')+','+('463a7880-2')}}" title="列表文字" rightText="右侧文字" class="data-v-866503f4" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('463a7880-5')+','+('463a7880-2')}}" title="列表文字" note="列表描述信息" rightText="右侧文字" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list></uni-section><uni-section vue-id="463a7880-6" title="50%(折扣券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-7')+','+('463a7880-6')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','cover','actions']}}"><view class="custom-cover data-v-866503f4" slot="cover"><view class="cover-content data-v-866503f4"><text class="uni-subtitle uni-white data-v-866503f4">今日新闻热点</text></view></view><uni-list vue-id="{{('463a7880-8')+','+('463a7880-7')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-9')+','+('463a7880-8')}}" title="今日新闻" note="1111" rightText="111" showArrow="false" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-10')+','+('463a7880-8')}}" title="今日新闻" showArrow="{{true}}" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['分享']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-11')+','+('463a7880-7')}}" type="pengyouquan" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">分享</text></view><view data-event-opts="{{[['tap',[['actionsClick',['点赞']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-12')+','+('463a7880-7')}}" type="heart" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">点赞</text></view><view data-event-opts="{{[['tap',[['actionsClick',['评论']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-13')+','+('463a7880-7')}}" type="chatbubble" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">评论</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-14" title="卡片+列表" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-15')+','+('463a7880-14')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','cover','actions']}}"><view class="custom-cover data-v-866503f4" slot="cover"><view class="cover-content data-v-866503f4"><text class="uni-subtitle uni-white data-v-866503f4">今日新闻热点</text></view></view><uni-list vue-id="{{('463a7880-16')+','+('463a7880-15')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-17')+','+('463a7880-16')}}" title="今日新闻" rightText="111" showArrow="{{true}}" class="data-v-866503f4" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('463a7880-18')+','+('463a7880-16')}}" title="今日新闻" showArrow="{{true}}" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['分享']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-19')+','+('463a7880-15')}}" type="pengyouquan" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">分享</text></view><view data-event-opts="{{[['tap',[['actionsClick',['点赞']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-20')+','+('463a7880-15')}}" type="heart" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">点赞</text></view><view data-event-opts="{{[['tap',[['actionsClick',['评论']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-21')+','+('463a7880-15')}}" type="chatbubble" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">评论</text></view></view></uni-card></uni-section><view class="statistics yellow-bg uni-list-cell-pd data-v-866503f4" style="color:#fff;">共18笔充值,充值总金额100.00元</view><view class="uni-list data-v-866503f4"><view class="uni-list-cell data-v-866503f4"><view class="uni-list-cell-left data-v-866503f4">消费类型</view><view class="uni-list-cell-db data-v-866503f4"><picker value="{{index}}" range="{{array}}" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e" class="data-v-866503f4"><view class="uni-input data-v-866503f4">{{array[index]}}</view></picker></view></view></view><view class="uni-list data-v-866503f4"><view class="uni-list-cell data-v-866503f4"><view class="uni-list-cell-left data-v-866503f4">充值方式</view><view class="uni-list-cell-db data-v-866503f4"><picker value="{{indexWay}}" range="{{arrayWay}}" data-event-opts="{{[['change',[['bindPickerChangeWay',['$event']]]]]}}" bindchange="__e" class="data-v-866503f4"><view class="uni-input data-v-866503f4">{{arrayWay[indexWay]}}</view></picker></view></view></view><view class="uni-list data-v-866503f4"><view class="uni-list-cell data-v-866503f4"><view class="uni-list-cell-left data-v-866503f4">开始时间</view><view class="uni-list-cell-db data-v-866503f4"><picker mode="date" value="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindStartDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-866503f4"><view class="uni-input data-v-866503f4">{{benginDate}}</view></picker></view></view></view><view class="uni-list data-v-866503f4"><view class="uni-list-cell data-v-866503f4"><view class="uni-list-cell-left data-v-866503f4">结束时间</view><view class="uni-list-cell-db data-v-866503f4"><picker mode="date" value="{{date}}" start="{{startDate}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindEndDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-866503f4"><view class="uni-input data-v-866503f4">{{overDate}}</view></picker></view></view></view><block wx:if="{{rows.length==0}}"><uni-load-more class="load data-v-866503f4" vue-id="463a7880-22" content-text="{{contentText}}" status="{{status}}" icon-size="{{24}}" iconType="{{iconType}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-list class="rechargeWrap data-v-866503f4" vue-id="{{('463a7880-23')+','+('463a7880-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">+66</text><text class="data-v-866503f4">充值成功</text></view><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="color-green data-v-866503f4">微信充值</text><text class="data-v-866503f4">2020-10-01 01:01:01</text></view></uni-list><uni-list class="rechargeWrap data-v-866503f4" vue-id="{{('463a7880-24')+','+('463a7880-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">+66</text><text class="data-v-866503f4">充值成功</text></view><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="color-blue data-v-866503f4">支付宝充值</text><text class="data-v-866503f4">2020-10-01 01:01:01</text></view></uni-list><uni-list class="rechargeWrap data-v-866503f4" vue-id="{{('463a7880-25')+','+('463a7880-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">+66</text><text class="data-v-866503f4">充值成功</text></view><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="color-red data-v-866503f4">线下公对公充值</text><text class="data-v-866503f4">2020-10-01 01:01:01</text></view></uni-list><uni-list class="rechargeWrap data-v-866503f4" vue-id="{{('463a7880-26')+','+('463a7880-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">-66</text><text class="data-v-866503f4">支付成功</text></view><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="color-green data-v-866503f4">购买卡券</text><text class="data-v-866503f4">2020-10-01 01:01:01</text></view><view class="rechargeArrow data-v-866503f4">></view></uni-list><uni-list class="rechargeWrap data-v-866503f4" vue-id="{{('463a7880-27')+','+('463a7880-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">-66</text><text class="data-v-866503f4">支付成功</text></view><view class="recordCon uni-list-cell-pd data-v-866503f4"><text class="data-v-866503f4">停车支付</text><text class="data-v-866503f4">2020-10-01 01:01:01</text></view><view class="rechargeArrow data-v-866503f4">></view></uni-list></uni-load-more></block></view> | |
2 | 1 | \ No newline at end of file |
2 | +<view class="data-v-866503f4"><uni-section vue-id="463a7880-1" title="50%(折扣券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-2')+','+('463a7880-1')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-3')+','+('463a7880-2')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-4')+','+('463a7880-3')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-5')+','+('463a7880-3')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-6')+','+('463a7880-2')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-7')+','+('463a7880-2')}}" type="redo-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-8" title="2小时(时长券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-9')+','+('463a7880-8')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-10')+','+('463a7880-9')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-11')+','+('463a7880-10')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-12')+','+('463a7880-10')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-13')+','+('463a7880-9')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-14" title="5元(金额券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-15')+','+('463a7880-14')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-16')+','+('463a7880-15')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-17')+','+('463a7880-16')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-18')+','+('463a7880-16')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-19')+','+('463a7880-15')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-20" title="满10减5(满减券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-21')+','+('463a7880-20')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-22')+','+('463a7880-21')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-23')+','+('463a7880-22')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-24')+','+('463a7880-22')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-25')+','+('463a7880-21')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-26" title="单次(单次券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-27')+','+('463a7880-26')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-28')+','+('463a7880-27')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-29')+','+('463a7880-28')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-30')+','+('463a7880-28')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-31')+','+('463a7880-27')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section><uni-section vue-id="463a7880-32" title="单天(包天券)" type="line" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-card vue-id="{{('463a7880-33')+','+('463a7880-32')}}" padding="0" spacing="0" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default','actions']}}"><uni-list vue-id="{{('463a7880-34')+','+('463a7880-33')}}" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('463a7880-35')+','+('463a7880-34')}}" title="适应车场" rightText="万达商业广场" class="data-v-866503f4" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-866503f4"></text></uni-list-item><uni-list-item vue-id="{{('463a7880-36')+','+('463a7880-34')}}" title="价格:¥5/张" rightText="商户库存:0张" class="data-v-866503f4" bind:__l="__l"></uni-list-item></uni-list><view class="card-actions no-border data-v-866503f4" slot="actions"><view data-event-opts="{{[['tap',[['actionsClick',['购买']]]]]}}" class="card-actions-item data-v-866503f4" bindtap="__e"><uni-icons vue-id="{{('463a7880-37')+','+('463a7880-33')}}" type="cart-filled" size="18" color="#999" class="data-v-866503f4" bind:__l="__l"></uni-icons><text class="card-actions-item-text data-v-866503f4">购买</text></view></view></uni-card></uni-section></view> | |
3 | 3 | \ No newline at end of file | ... | ... |
unpackage/dist/dev/mp-weixin/pages/businessCard/businessCard.wxss