Commit 78dcf61c52f0fc87e25c0ba8c482450a7d2a6f83

Authored by chenbiao
1 parent 5efe50dd

add 删除无用图片 代码

Showing 109 changed files with 4 additions and 1731 deletions
common/common.js
@@ -84,8 +84,8 @@ const requestSign = function (inputData) { @@ -84,8 +84,8 @@ const requestSign = function (inputData) {
84 jsonList.salt = getSalt(); 84 jsonList.salt = getSalt();
85 jsonList.terminalSource = "11"; 85 jsonList.terminalSource = "11";
86 // jsonList.token = getGlobalUser("globalUser").token; 86 // jsonList.token = getGlobalUser("globalUser").token;
87 - // jsonList.token = getGlobalUser("globalUser").token;  
88 - jsonList.token = 'e2c1e43722dd43a5b7e268001b39e6f0'; 87 + jsonList.token = getGlobalUser("globalUser").token;
  88 + // jsonList.token = 'e2c1e43722dd43a5b7e268001b39e6f0';
89 var arrData = []; 89 var arrData = [];
90 for (var key in jsonList) { 90 for (var key in jsonList) {
91 var obj = {}; 91 var obj = {};
pages/index/index.vue
@@ -75,12 +75,12 @@ @@ -75,12 +75,12 @@
75 </view> 75 </view>
76 <view class="index-title">发票申领</view> 76 <view class="index-title">发票申领</view>
77 </view> 77 </view>
78 - <view class="flex-item" @click="toRatingPage"> 78 + <!-- <view class="flex-item" @click="toRatingPage">
79 <view class=""> 79 <view class="">
80 <image src="../../static/me/me-aboutus.png" class="index-icon"></image> 80 <image src="../../static/me/me-aboutus.png" class="index-icon"></image>
81 </view> 81 </view>
82 <view class="index-title">信用等级</view> 82 <view class="index-title">信用等级</view>
83 - </view> 83 + </view> -->
84 </view> 84 </view>
85 </view> 85 </view>
86 </view> 86 </view>
static/icons/badge.png deleted

677 Bytes

static/icons/button.png deleted

3.38 KB

static/icons/calendar.png deleted

735 Bytes

static/icons/card.png deleted

429 Bytes

static/icons/collapse.png deleted

802 Bytes

static/icons/color.png deleted

4.53 KB

static/icons/combox.png deleted

828 Bytes

static/icons/countdown.png deleted

1.49 KB

static/icons/data-checkbox.png deleted

1.84 KB

static/icons/data-picker.png deleted

588 Bytes

static/icons/dateformat.png deleted

879 Bytes

static/icons/datetime-picker.png deleted

1.74 KB

static/icons/drawer.png deleted

686 Bytes

static/icons/easyinput.png deleted

465 Bytes

static/icons/fab.png deleted

1.27 KB

static/icons/fav.png deleted

1.45 KB

static/icons/file-picker.png deleted

1017 Bytes

static/icons/font.png deleted

3.73 KB

static/icons/forms.png deleted

801 Bytes

static/icons/goods-nav.png deleted

902 Bytes

static/icons/grid.png deleted

412 Bytes

static/icons/group.png deleted

948 Bytes

static/icons/icons.png deleted

1.17 KB

static/icons/indexed-list.png deleted

1.58 KB

static/icons/link.png deleted

1.63 KB

static/icons/list.png deleted

534 Bytes

static/icons/load-more.png deleted

1.31 KB

static/icons/nav-bar.png deleted

716 Bytes

static/icons/notice-bar.png deleted

981 Bytes

static/icons/number-box.png deleted

455 Bytes

static/icons/pagination.png deleted

943 Bytes

static/icons/popup.png deleted

980 Bytes

static/icons/radius.png deleted

1.22 KB

static/icons/rate.png deleted

1.59 KB

static/icons/row.png deleted

400 Bytes

static/icons/search-bar.png deleted

1.22 KB

static/icons/section.png deleted

541 Bytes

static/icons/segmented-control.png deleted

624 Bytes

static/icons/space.png deleted

4.08 KB

static/icons/steps.png deleted

1.17 KB

static/icons/swipe-action.png deleted

1.62 KB

static/icons/swiper-dot.png deleted

1023 Bytes

static/icons/tag.png deleted

569 Bytes

static/icons/title.png deleted

364 Bytes

static/icons/transition.png deleted

1.38 KB

static/image-active.png deleted

557 Bytes

static/image.png deleted

524 Bytes

static/image/uniui-header-bg.png deleted

254 KB

static/image/uniui-logo.png deleted

3.22 KB

static/location.png deleted

4.86 KB

static/uni.png deleted

4.06 KB

wxcomponents/vant/button/index.d.ts deleted
1 -export {};  
wxcomponents/vant/button/index.js deleted
1 -import { VantComponent } from '../common/component';  
2 -import { button } from '../mixins/button';  
3 -import { openType } from '../mixins/open-type';  
4 -VantComponent({  
5 - mixins: [button, openType],  
6 - classes: ['hover-class', 'loading-class'],  
7 - data: {  
8 - style: ''  
9 - },  
10 - props: {  
11 - icon: String,  
12 - plain: Boolean,  
13 - block: Boolean,  
14 - round: Boolean,  
15 - square: Boolean,  
16 - loading: Boolean,  
17 - hairline: Boolean,  
18 - disabled: Boolean,  
19 - loadingText: String,  
20 - customStyle: String,  
21 - loadingType: {  
22 - type: String,  
23 - value: 'circular'  
24 - },  
25 - type: {  
26 - type: String,  
27 - value: 'default'  
28 - },  
29 - size: {  
30 - type: String,  
31 - value: 'normal'  
32 - },  
33 - loadingSize: {  
34 - type: String,  
35 - value: '20px'  
36 - },  
37 - color: {  
38 - type: String,  
39 - observer(color) {  
40 - let style = '';  
41 - if (color) {  
42 - style += `color: ${this.data.plain ? color : 'white'};`;  
43 - if (!this.data.plain) {  
44 - // Use background instead of backgroundColor to make linear-gradient work  
45 - style += `background: ${color};`;  
46 - }  
47 - // hide border when color is linear-gradient  
48 - if (color.indexOf('gradient') !== -1) {  
49 - style += 'border: 0;';  
50 - }  
51 - else {  
52 - style += `border-color: ${color};`;  
53 - }  
54 - }  
55 - if (style !== this.data.style) {  
56 - this.setData({ style });  
57 - }  
58 - }  
59 - }  
60 - },  
61 - methods: {  
62 - onClick() {  
63 - if (!this.data.disabled && !this.data.loading) {  
64 - this.$emit('click');  
65 - }  
66 - }  
67 - }  
68 -});  
wxcomponents/vant/button/index.json deleted
1 -{  
2 - "component": true,  
3 - "usingComponents": {  
4 - "van-icon": "../icon/index",  
5 - "van-loading": "../loading/index"  
6 - }  
7 -}  
wxcomponents/vant/button/index.wxml deleted
1 -<wxs src="../wxs/utils.wxs" module="utils" />  
2 -  
3 -<button  
4 - id="{{ id }}"  
5 - class="custom-class {{ utils.bem('button', [type, size, { block, round, plain, square, loading, disabled, hairline, unclickable: disabled || loading }]) }} {{ hairline ? 'van-hairline--surround' : '' }}"  
6 - hover-class="van-button--active hover-class"  
7 - lang="{{ lang }}"  
8 - style="{{ style }} {{ customStyle }}"  
9 - open-type="{{ openType }}"  
10 - business-id="{{ businessId }}"  
11 - session-from="{{ sessionFrom }}"  
12 - send-message-title="{{ sendMessageTitle }}"  
13 - send-message-path="{{ sendMessagePath }}"  
14 - send-message-img="{{ sendMessageImg }}"  
15 - show-message-card="{{ showMessageCard }}"  
16 - app-parameter="{{ appParameter }}"  
17 - aria-label="{{ ariaLabel }}"  
18 - bindtap="onClick"  
19 - bindgetuserinfo="bindGetUserInfo"  
20 - bindcontact="bindContact"  
21 - bindgetphonenumber="bindGetPhoneNumber"  
22 - binderror="bindError"  
23 - bindlaunchapp="bindLaunchApp"  
24 - bindopensetting="bindOpenSetting"  
25 ->  
26 - <block wx:if="{{ loading }}">  
27 - <van-loading  
28 - custom-class="loading-class"  
29 - size="{{ loadingSize }}"  
30 - type="{{ loadingType }}"  
31 - color="{{ type === 'default' ? '#c9c9c9' : 'white' }}"  
32 - />  
33 - <view  
34 - wx:if="{{ loadingText }}"  
35 - class="van-button__loading-text"  
36 - >  
37 - {{ loadingText }}  
38 - </view>  
39 - </block>  
40 - <block wx:else>  
41 - <van-icon  
42 - wx:if="{{ icon }}"  
43 - size="1.2em"  
44 - name="{{ icon }}"  
45 - class="van-button__icon"  
46 - custom-style="line-height: inherit;"  
47 - />  
48 - <view class="van-button__text">  
49 - <slot />  
50 - </view>  
51 - </block>  
52 -</button>  
wxcomponents/vant/button/index.wxss deleted
1 -@import '../common/index.wxss';.van-button{position:relative;display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:0;line-height:20px;text-align:center;vertical-align:middle;-webkit-appearance:none;-webkit-text-size-adjust:100%;height:44px;height:var(--button-default-height,44px);font-size:16px;font-size:var(--button-default-font-size,16px);transition:opacity .2s;transition:opacity var(--animation-duration-fast,.2s);border-radius:2px;border-radius:var(--button-border-radius,2px)}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;background-color:var(--black,#000);border-color:#000;border-color:var(--black,#000)}.van-button:after{border-width:0}.van-button--active:before{opacity:.15}.van-button--unclickable:after{display:none}.van-button--default{color:#323233;color:var(--button-default-color,#323233);background-color:#fff;background-color:var(--button-default-background-color,#fff);border:1px solid #ebedf0;border:1px solid var(--button-default-border-color,#ebedf0)}.van-button--primary{color:#fff;color:var(--button-primary-color,#fff);background-color:#07c160;background-color:var(--button-primary-background-color,#07c160);border:1px solid #07c160;border:1px solid var(--button-primary-border-color,#07c160)}.van-button--info{color:#fff;color:var(--button-info-color,#fff);background-color:#1989fa;background-color:var(--button-info-background-color,#1989fa);border:1px solid #1989fa;border:1px solid var(--button-info-border-color,#1989fa)}.van-button--danger{color:#fff;color:var(--button-danger-color,#fff);background-color:#ee0a24;background-color:var(--button-danger-background-color,#ee0a24);border:1px solid #ee0a24;border:1px solid var(--button-danger-border-color,#ee0a24)}.van-button--warning{color:#fff;color:var(--button-warning-color,#fff);background-color:#ff976a;background-color:var(--button-warning-background-color,#ff976a);border:1px solid #ff976a;border:1px solid var(--button-warning-border-color,#ff976a)}.van-button--plain{background-color:#fff;background-color:var(--button-plain-background-color,#fff)}.van-button--plain.van-button--primary{color:#07c160;color:var(--button-primary-background-color,#07c160)}.van-button--plain.van-button--info{color:#1989fa;color:var(--button-info-background-color,#1989fa)}.van-button--plain.van-button--danger{color:#ee0a24;color:var(--button-danger-background-color,#ee0a24)}.van-button--plain.van-button--warning{color:#ff976a;color:var(--button-warning-background-color,#ff976a)}.van-button--large{width:100%;height:50px;height:var(--button-large-height,50px)}.van-button--normal{padding:0 15px;font-size:14px;font-size:var(--button-normal-font-size,14px)}.van-button--small{min-width:60px;min-width:var(--button-small-min-width,60px);height:30px;height:var(--button-small-height,30px);padding:0 8px;padding:0 var(--padding-xs,8px);font-size:12px;font-size:var(--button-small-font-size,12px)}.van-button--mini{display:inline-block;min-width:50px;min-width:var(--button-mini-min-width,50px);height:22px;height:var(--button-mini-height,22px);font-size:10px;font-size:var(--button-mini-font-size,10px)}.van-button--mini+.van-button--mini{margin-left:5px}.van-button--block{display:-webkit-flex;display:flex;width:100%}.van-button--round{border-radius:999px;border-radius:var(--button-round-border-radius,999px)}.van-button--square{border-radius:0}.van-button--disabled{opacity:.5;opacity:var(--button-disabled-opacity,.5)}.van-button__text{display:inline}.van-button__icon+.van-button__text:not(:empty),.van-button__loading-text{margin-left:4px}.van-button__icon{min-width:1em;line-height:inherit!important;vertical-align:top}.van-button--hairline{padding-top:1px;border-width:0}.van-button--hairline:after{border-color:inherit;border-width:1px;border-radius:4px;border-radius:calc(var(--button-border-radius, 2px)*2)}.van-button--hairline.van-button--round:after{border-radius:999px;border-radius:var(--button-round-border-radius,999px)}.van-button--hairline.van-button--square:after{border-radius:0}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/common/color.d.ts deleted
1 -export declare const RED = "#ee0a24";  
2 -export declare const BLUE = "#1989fa";  
3 -export declare const WHITE = "#fff";  
4 -export declare const GREEN = "#07c160";  
5 -export declare const ORANGE = "#ff976a";  
6 -export declare const GRAY = "#323233";  
7 -export declare const GRAY_DARK = "#969799";  
wxcomponents/vant/common/color.js deleted
1 -export const RED = '#ee0a24';  
2 -export const BLUE = '#1989fa';  
3 -export const WHITE = '#fff';  
4 -export const GREEN = '#07c160';  
5 -export const ORANGE = '#ff976a';  
6 -export const GRAY = '#323233';  
7 -export const GRAY_DARK = '#969799';  
wxcomponents/vant/common/component.d.ts deleted
1 -import { VantComponentOptions, CombinedComponentInstance } from '../definitions/index';  
2 -declare function VantComponent<Data, Props, Methods>(vantOptions?: VantComponentOptions<Data, Props, Methods, CombinedComponentInstance<Data, Props, Methods>>): void;  
3 -export { VantComponent };  
wxcomponents/vant/common/component.js deleted
1 -import { basic } from '../mixins/basic';  
2 -import { observe } from '../mixins/observer/index';  
3 -function mapKeys(source, target, map) {  
4 - Object.keys(map).forEach(key => {  
5 - if (source[key]) {  
6 - target[map[key]] = source[key];  
7 - }  
8 - });  
9 -}  
10 -function VantComponent(vantOptions = {}) {  
11 - const options = {};  
12 - mapKeys(vantOptions, options, {  
13 - data: 'data',  
14 - props: 'properties',  
15 - mixins: 'behaviors',  
16 - methods: 'methods',  
17 - beforeCreate: 'created',  
18 - created: 'attached',  
19 - mounted: 'ready',  
20 - relations: 'relations',  
21 - destroyed: 'detached',  
22 - classes: 'externalClasses'  
23 - });  
24 - const { relation } = vantOptions;  
25 - if (relation) {  
26 - options.relations = Object.assign(options.relations || {}, {  
27 - [`../${relation.name}/index`]: relation  
28 - });  
29 - }  
30 - // add default externalClasses  
31 - options.externalClasses = options.externalClasses || [];  
32 - options.externalClasses.push('custom-class');  
33 - // add default behaviors  
34 - options.behaviors = options.behaviors || [];  
35 - options.behaviors.push(basic);  
36 - // map field to form-field behavior  
37 - if (vantOptions.field) {  
38 - options.behaviors.push('wx://form-field');  
39 - }  
40 - // add default options  
41 - options.options = {  
42 - multipleSlots: true,  
43 - addGlobalClass: true  
44 - };  
45 - observe(vantOptions, options);  
46 - Component(options);  
47 -}  
48 -export { VantComponent };  
wxcomponents/vant/common/index.wxss deleted
1 -.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{display:table;clear:both;content:""}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #eee;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/common/style/clearfix.wxss deleted
1 -.van-clearfix:after{display:table;clear:both;content:""}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/common/style/ellipsis.wxss deleted
1 -.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/common/style/hairline.wxss deleted
1 -.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #eee;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/common/style/mixins/clearfix.wxss deleted
wxcomponents/vant/common/style/mixins/ellipsis.wxss deleted
wxcomponents/vant/common/style/mixins/hairline.wxss deleted
wxcomponents/vant/common/style/theme.wxss deleted
wxcomponents/vant/common/style/var.wxss deleted
wxcomponents/vant/common/utils.d.ts deleted
1 -/// <reference types="miniprogram-api-typings" />  
2 -export declare function isDef(value: any): boolean;  
3 -export declare function isObj(x: any): boolean;  
4 -export declare function isNumber(value: any): boolean;  
5 -export declare function range(num: number, min: number, max: number): number;  
6 -export declare function nextTick(fn: Function): void;  
7 -export declare function getSystemInfoSync(): WechatMiniprogram.GetSystemInfoSuccessCallbackResult;  
8 -export declare function addUnit(value?: string | number): string | undefined;  
wxcomponents/vant/common/utils.js deleted
1 -export function isDef(value) {  
2 - return value !== undefined && value !== null;  
3 -}  
4 -export function isObj(x) {  
5 - const type = typeof x;  
6 - return x !== null && (type === 'object' || type === 'function');  
7 -}  
8 -export function isNumber(value) {  
9 - return /^\d+(\.\d+)?$/.test(value);  
10 -}  
11 -export function range(num, min, max) {  
12 - return Math.min(Math.max(num, min), max);  
13 -}  
14 -export function nextTick(fn) {  
15 - setTimeout(() => {  
16 - fn();  
17 - }, 1000 / 30);  
18 -}  
19 -let systemInfo = null;  
20 -export function getSystemInfoSync() {  
21 - if (systemInfo == null) {  
22 - systemInfo = wx.getSystemInfoSync();  
23 - }  
24 - return systemInfo;  
25 -}  
26 -export function addUnit(value) {  
27 - if (!isDef(value)) {  
28 - return undefined;  
29 - }  
30 - value = String(value);  
31 - return isNumber(value) ? `${value}px` : value;  
32 -}  
wxcomponents/vant/icon/index.d.ts deleted
1 -export {};  
wxcomponents/vant/icon/index.js deleted
1 -import { VantComponent } from '../common/component';  
2 -import { addUnit } from '../common/utils';  
3 -VantComponent({  
4 - props: {  
5 - dot: Boolean,  
6 - info: null,  
7 - size: {  
8 - type: null,  
9 - observer: 'setSizeWithUnit'  
10 - },  
11 - color: String,  
12 - customStyle: String,  
13 - classPrefix: {  
14 - type: String,  
15 - value: 'van-icon'  
16 - },  
17 - name: {  
18 - type: String,  
19 - observer(val) {  
20 - this.setData({  
21 - isImageName: val.indexOf('/') !== -1  
22 - });  
23 - }  
24 - }  
25 - },  
26 - data: {  
27 - sizeWithUnit: null,  
28 - },  
29 - methods: {  
30 - onClick() {  
31 - this.$emit('click');  
32 - },  
33 - setSizeWithUnit(size) {  
34 - this.setData({  
35 - sizeWithUnit: addUnit(size)  
36 - });  
37 - }  
38 - }  
39 -});  
wxcomponents/vant/icon/index.json deleted
1 -{  
2 - "component": true,  
3 - "usingComponents": {  
4 - "van-info": "../info/index"  
5 - }  
6 -}  
wxcomponents/vant/icon/index.wxml deleted
1 -<view  
2 - class="custom-class {{ classPrefix }} {{ isImageName ? 'van-icon--image' : classPrefix + '-' + name }}"  
3 - style="{{ color ? 'color: ' + color + ';' : '' }}{{ size ? 'font-size: ' + sizeWithUnit + ';' : '' }}{{ customStyle }}"  
4 - bind:tap="onClick"  
5 ->  
6 - <van-info  
7 - wx:if="{{ info !== null || dot }}"  
8 - dot="{{ dot }}"  
9 - info="{{ info }}"  
10 - custom-class="van-icon__info"  
11 - />  
12 - <image  
13 - wx:if="{{ isImageName }}"  
14 - src="{{ name }}"  
15 - mode="aspectFit"  
16 - class="van-icon__image"  
17 - />  
18 -</view>  
wxcomponents/vant/icon/index.wxss deleted
1 -@import '../common/index.wxss';  
2 -  
3 -@font-face {  
4 - font-weight: 400;  
5 - font-family: vant-icon;  
6 - font-style: normal;  
7 - font-display: auto;  
8 - src: url(https://img.yzcdn.cn/vant/vant-icon-d3825a.woff2) format("woff2"), url(https://img.yzcdn.cn/vant/vant-icon-d3825a.woff) format("woff"), url(https://img.yzcdn.cn/vant/vant-icon-d3825a.ttf) format("truetype")  
9 -}  
10 -  
11 -.van-icon {  
12 - position: relative;  
13 - font: normal normal normal 14px/1 vant-icon;  
14 - font-size: inherit;  
15 - text-rendering: auto;  
16 - -webkit-font-smoothing: antialiased  
17 -}  
18 -  
19 -.van-icon,  
20 -.van-icon:before {  
21 - display: inline-block  
22 -}  
23 -  
24 -.van-icon-add-o:before {  
25 - content: "\F000"  
26 -}  
27 -  
28 -.van-icon-add-square:before {  
29 - content: "\F001"  
30 -}  
31 -  
32 -.van-icon-add:before {  
33 - content: "\F002"  
34 -}  
35 -  
36 -.van-icon-after-sale:before {  
37 - content: "\F003"  
38 -}  
39 -  
40 -.van-icon-aim:before {  
41 - content: "\F004"  
42 -}  
43 -  
44 -.van-icon-alipay:before {  
45 - content: "\F005"  
46 -}  
47 -  
48 -.van-icon-apps-o:before {  
49 - content: "\F006"  
50 -}  
51 -  
52 -.van-icon-arrow-down:before {  
53 - content: "\F007"  
54 -}  
55 -  
56 -.van-icon-arrow-left:before {  
57 - content: "\F008"  
58 -}  
59 -  
60 -.van-icon-arrow-up:before {  
61 - content: "\F009"  
62 -}  
63 -  
64 -.van-icon-arrow:before {  
65 - content: "\F00A"  
66 -}  
67 -  
68 -.van-icon-ascending:before {  
69 - content: "\F00B"  
70 -}  
71 -  
72 -.van-icon-audio:before {  
73 - content: "\F00C"  
74 -}  
75 -  
76 -.van-icon-award-o:before {  
77 - content: "\F00D"  
78 -}  
79 -  
80 -.van-icon-award:before {  
81 - content: "\F00E"  
82 -}  
83 -  
84 -.van-icon-bag-o:before {  
85 - content: "\F00F"  
86 -}  
87 -  
88 -.van-icon-bag:before {  
89 - content: "\F010"  
90 -}  
91 -  
92 -.van-icon-balance-list-o:before {  
93 - content: "\F011"  
94 -}  
95 -  
96 -.van-icon-balance-list:before {  
97 - content: "\F012"  
98 -}  
99 -  
100 -.van-icon-balance-o:before {  
101 - content: "\F013"  
102 -}  
103 -  
104 -.van-icon-balance-pay:before {  
105 - content: "\F014"  
106 -}  
107 -  
108 -.van-icon-bar-chart-o:before {  
109 - content: "\F015"  
110 -}  
111 -  
112 -.van-icon-bars:before {  
113 - content: "\F016"  
114 -}  
115 -  
116 -.van-icon-bell:before {  
117 - content: "\F017"  
118 -}  
119 -  
120 -.van-icon-bill-o:before {  
121 - content: "\F018"  
122 -}  
123 -  
124 -.van-icon-bill:before {  
125 - content: "\F019"  
126 -}  
127 -  
128 -.van-icon-birthday-cake-o:before {  
129 - content: "\F01A"  
130 -}  
131 -  
132 -.van-icon-bookmark-o:before {  
133 - content: "\F01B"  
134 -}  
135 -  
136 -.van-icon-bookmark:before {  
137 - content: "\F01C"  
138 -}  
139 -  
140 -.van-icon-browsing-history-o:before {  
141 - content: "\F01D"  
142 -}  
143 -  
144 -.van-icon-browsing-history:before {  
145 - content: "\F01E"  
146 -}  
147 -  
148 -.van-icon-brush-o:before {  
149 - content: "\F01F"  
150 -}  
151 -  
152 -.van-icon-bulb-o:before {  
153 - content: "\F020"  
154 -}  
155 -  
156 -.van-icon-bullhorn-o:before {  
157 - content: "\F021"  
158 -}  
159 -  
160 -.van-icon-calender-o:before {  
161 - content: "\F022"  
162 -}  
163 -  
164 -.van-icon-card:before {  
165 - content: "\F023"  
166 -}  
167 -  
168 -.van-icon-cart-circle-o:before {  
169 - content: "\F024"  
170 -}  
171 -  
172 -.van-icon-cart-circle:before {  
173 - content: "\F025"  
174 -}  
175 -  
176 -.van-icon-cart-o:before {  
177 - content: "\F026"  
178 -}  
179 -  
180 -.van-icon-cart:before {  
181 - content: "\F027"  
182 -}  
183 -  
184 -.van-icon-cash-back-record:before {  
185 - content: "\F028"  
186 -}  
187 -  
188 -.van-icon-cash-on-deliver:before {  
189 - content: "\F029"  
190 -}  
191 -  
192 -.van-icon-cashier-o:before {  
193 - content: "\F02A"  
194 -}  
195 -  
196 -.van-icon-certificate:before {  
197 - content: "\F02B"  
198 -}  
199 -  
200 -.van-icon-chart-trending-o:before {  
201 - content: "\F02C"  
202 -}  
203 -  
204 -.van-icon-chat-o:before {  
205 - content: "\F02D"  
206 -}  
207 -  
208 -.van-icon-chat:before {  
209 - content: "\F02E"  
210 -}  
211 -  
212 -.van-icon-checked:before {  
213 - content: "\F02F"  
214 -}  
215 -  
216 -.van-icon-circle:before {  
217 - content: "\F030"  
218 -}  
219 -  
220 -.van-icon-clear:before {  
221 - content: "\F031"  
222 -}  
223 -  
224 -.van-icon-clock-o:before {  
225 - content: "\F032"  
226 -}  
227 -  
228 -.van-icon-clock:before {  
229 - content: "\F033"  
230 -}  
231 -  
232 -.van-icon-close:before {  
233 - content: "\F034"  
234 -}  
235 -  
236 -.van-icon-closed-eye:before {  
237 - content: "\F035"  
238 -}  
239 -  
240 -.van-icon-cluster-o:before {  
241 - content: "\F036"  
242 -}  
243 -  
244 -.van-icon-cluster:before {  
245 - content: "\F037"  
246 -}  
247 -  
248 -.van-icon-column:before {  
249 - content: "\F038"  
250 -}  
251 -  
252 -.van-icon-comment-circle-o:before {  
253 - content: "\F039"  
254 -}  
255 -  
256 -.van-icon-comment-circle:before {  
257 - content: "\F03A"  
258 -}  
259 -  
260 -.van-icon-comment-o:before {  
261 - content: "\F03B"  
262 -}  
263 -  
264 -.van-icon-comment:before {  
265 - content: "\F03C"  
266 -}  
267 -  
268 -.van-icon-completed:before {  
269 - content: "\F03D"  
270 -}  
271 -  
272 -.van-icon-contact:before {  
273 - content: "\F03E"  
274 -}  
275 -  
276 -.van-icon-coupon-o:before {  
277 - content: "\F03F"  
278 -}  
279 -  
280 -.van-icon-coupon:before {  
281 - content: "\F040"  
282 -}  
283 -  
284 -.van-icon-credit-pay:before {  
285 - content: "\F041"  
286 -}  
287 -  
288 -.van-icon-cross:before {  
289 - content: "\F042"  
290 -}  
291 -  
292 -.van-icon-debit-pay:before {  
293 - content: "\F043"  
294 -}  
295 -  
296 -.van-icon-delete:before {  
297 - content: "\F044"  
298 -}  
299 -  
300 -.van-icon-descending:before {  
301 - content: "\F045"  
302 -}  
303 -  
304 -.van-icon-description:before {  
305 - content: "\F046"  
306 -}  
307 -  
308 -.van-icon-desktop-o:before {  
309 - content: "\F047"  
310 -}  
311 -  
312 -.van-icon-diamond-o:before {  
313 - content: "\F048"  
314 -}  
315 -  
316 -.van-icon-diamond:before {  
317 - content: "\F049"  
318 -}  
319 -  
320 -.van-icon-discount:before {  
321 - content: "\F04A"  
322 -}  
323 -  
324 -.van-icon-down:before {  
325 - content: "\F04B"  
326 -}  
327 -  
328 -.van-icon-ecard-pay:before {  
329 - content: "\F04C"  
330 -}  
331 -  
332 -.van-icon-edit:before {  
333 - content: "\F04D"  
334 -}  
335 -  
336 -.van-icon-ellipsis:before {  
337 - content: "\F04E"  
338 -}  
339 -  
340 -.van-icon-empty:before {  
341 - content: "\F04F"  
342 -}  
343 -  
344 -.van-icon-envelop-o:before {  
345 - content: "\F050"  
346 -}  
347 -  
348 -.van-icon-exchange:before {  
349 - content: "\F051"  
350 -}  
351 -  
352 -.van-icon-expand-o:before {  
353 - content: "\F052"  
354 -}  
355 -  
356 -.van-icon-expand:before {  
357 - content: "\F053"  
358 -}  
359 -  
360 -.van-icon-eye-o:before {  
361 - content: "\F054"  
362 -}  
363 -  
364 -.van-icon-eye:before {  
365 - content: "\F055"  
366 -}  
367 -  
368 -.van-icon-fail:before {  
369 - content: "\F056"  
370 -}  
371 -  
372 -.van-icon-failure:before {  
373 - content: "\F057"  
374 -}  
375 -  
376 -.van-icon-filter-o:before {  
377 - content: "\F058"  
378 -}  
379 -  
380 -.van-icon-fire-o:before {  
381 - content: "\F059"  
382 -}  
383 -  
384 -.van-icon-fire:before {  
385 - content: "\F05A"  
386 -}  
387 -  
388 -.van-icon-flag-o:before {  
389 - content: "\F05B"  
390 -}  
391 -  
392 -.van-icon-flower-o:before {  
393 - content: "\F05C"  
394 -}  
395 -  
396 -.van-icon-free-postage:before {  
397 - content: "\F05D"  
398 -}  
399 -  
400 -.van-icon-friends-o:before {  
401 - content: "\F05E"  
402 -}  
403 -  
404 -.van-icon-friends:before {  
405 - content: "\F05F"  
406 -}  
407 -  
408 -.van-icon-gem-o:before {  
409 - content: "\F060"  
410 -}  
411 -  
412 -.van-icon-gem:before {  
413 - content: "\F061"  
414 -}  
415 -  
416 -.van-icon-gift-card-o:before {  
417 - content: "\F062"  
418 -}  
419 -  
420 -.van-icon-gift-card:before {  
421 - content: "\F063"  
422 -}  
423 -  
424 -.van-icon-gift-o:before {  
425 - content: "\F064"  
426 -}  
427 -  
428 -.van-icon-gift:before {  
429 - content: "\F065"  
430 -}  
431 -  
432 -.van-icon-gold-coin-o:before {  
433 - content: "\F066"  
434 -}  
435 -  
436 -.van-icon-gold-coin:before {  
437 - content: "\F067"  
438 -}  
439 -  
440 -.van-icon-good-job-o:before {  
441 - content: "\F068"  
442 -}  
443 -  
444 -.van-icon-good-job:before {  
445 - content: "\F069"  
446 -}  
447 -  
448 -.van-icon-goods-collect-o:before {  
449 - content: "\F06A"  
450 -}  
451 -  
452 -.van-icon-goods-collect:before {  
453 - content: "\F06B"  
454 -}  
455 -  
456 -.van-icon-graphic:before {  
457 - content: "\F06C"  
458 -}  
459 -  
460 -.van-icon-home-o:before {  
461 - content: "\F06D"  
462 -}  
463 -  
464 -.van-icon-hot-o:before {  
465 - content: "\F06E"  
466 -}  
467 -  
468 -.van-icon-hot-sale-o:before {  
469 - content: "\F06F"  
470 -}  
471 -  
472 -.van-icon-hot-sale:before {  
473 - content: "\F070"  
474 -}  
475 -  
476 -.van-icon-hot:before {  
477 - content: "\F071"  
478 -}  
479 -  
480 -.van-icon-hotel-o:before {  
481 - content: "\F072"  
482 -}  
483 -  
484 -.van-icon-idcard:before {  
485 - content: "\F073"  
486 -}  
487 -  
488 -.van-icon-info-o:before {  
489 - content: "\F074"  
490 -}  
491 -  
492 -.van-icon-info:before {  
493 - content: "\F075"  
494 -}  
495 -  
496 -.van-icon-invition:before {  
497 - content: "\F076"  
498 -}  
499 -  
500 -.van-icon-label-o:before {  
501 - content: "\F077"  
502 -}  
503 -  
504 -.van-icon-label:before {  
505 - content: "\F078"  
506 -}  
507 -  
508 -.van-icon-like-o:before {  
509 - content: "\F079"  
510 -}  
511 -  
512 -.van-icon-like:before {  
513 - content: "\F07A"  
514 -}  
515 -  
516 -.van-icon-live:before {  
517 - content: "\F07B"  
518 -}  
519 -  
520 -.van-icon-location-o:before {  
521 - content: "\F07C"  
522 -}  
523 -  
524 -.van-icon-location:before {  
525 - content: "\F07D"  
526 -}  
527 -  
528 -.van-icon-lock:before {  
529 - content: "\F07E"  
530 -}  
531 -  
532 -.van-icon-logistics:before {  
533 - content: "\F07F"  
534 -}  
535 -  
536 -.van-icon-manager-o:before {  
537 - content: "\F080"  
538 -}  
539 -  
540 -.van-icon-manager:before {  
541 - content: "\F081"  
542 -}  
543 -  
544 -.van-icon-map-marked:before {  
545 - content: "\F082"  
546 -}  
547 -  
548 -.van-icon-medal-o:before {  
549 - content: "\F083"  
550 -}  
551 -  
552 -.van-icon-medal:before {  
553 - content: "\F084"  
554 -}  
555 -  
556 -.van-icon-more-o:before {  
557 - content: "\F085"  
558 -}  
559 -  
560 -.van-icon-more:before {  
561 - content: "\F086"  
562 -}  
563 -  
564 -.van-icon-music-o:before {  
565 - content: "\F087"  
566 -}  
567 -  
568 -.van-icon-music:before {  
569 - content: "\F088"  
570 -}  
571 -  
572 -.van-icon-new-arrival-o:before {  
573 - content: "\F089"  
574 -}  
575 -  
576 -.van-icon-new-arrival:before {  
577 - content: "\F08A"  
578 -}  
579 -  
580 -.van-icon-new-o:before {  
581 - content: "\F08B"  
582 -}  
583 -  
584 -.van-icon-new:before {  
585 - content: "\F08C"  
586 -}  
587 -  
588 -.van-icon-newspaper-o:before {  
589 - content: "\F08D"  
590 -}  
591 -  
592 -.van-icon-notes-o:before {  
593 - content: "\F08E"  
594 -}  
595 -  
596 -.van-icon-orders-o:before {  
597 - content: "\F08F"  
598 -}  
599 -  
600 -.van-icon-other-pay:before {  
601 - content: "\F090"  
602 -}  
603 -  
604 -.van-icon-paid:before {  
605 - content: "\F091"  
606 -}  
607 -  
608 -.van-icon-passed:before {  
609 - content: "\F092"  
610 -}  
611 -  
612 -.van-icon-pause-circle-o:before {  
613 - content: "\F093"  
614 -}  
615 -  
616 -.van-icon-pause-circle:before {  
617 - content: "\F094"  
618 -}  
619 -  
620 -.van-icon-pause:before {  
621 - content: "\F095"  
622 -}  
623 -  
624 -.van-icon-peer-pay:before {  
625 - content: "\F096"  
626 -}  
627 -  
628 -.van-icon-pending-payment:before {  
629 - content: "\F097"  
630 -}  
631 -  
632 -.van-icon-phone-circle-o:before {  
633 - content: "\F098"  
634 -}  
635 -  
636 -.van-icon-phone-circle:before {  
637 - content: "\F099"  
638 -}  
639 -  
640 -.van-icon-phone-o:before {  
641 - content: "\F09A"  
642 -}  
643 -  
644 -.van-icon-phone:before {  
645 - content: "\F09B"  
646 -}  
647 -  
648 -.van-icon-photo-o:before {  
649 - content: "\F09C"  
650 -}  
651 -  
652 -.van-icon-photo:before {  
653 - content: "\F09D"  
654 -}  
655 -  
656 -.van-icon-photograph:before {  
657 - content: "\F09E"  
658 -}  
659 -  
660 -.van-icon-play-circle-o:before {  
661 - content: "\F09F"  
662 -}  
663 -  
664 -.van-icon-play-circle:before {  
665 - content: "\F0A0"  
666 -}  
667 -  
668 -.van-icon-play:before {  
669 - content: "\F0A1"  
670 -}  
671 -  
672 -.van-icon-plus:before {  
673 - content: "\F0A2"  
674 -}  
675 -  
676 -.van-icon-point-gift-o:before {  
677 - content: "\F0A3"  
678 -}  
679 -  
680 -.van-icon-point-gift:before {  
681 - content: "\F0A4"  
682 -}  
683 -  
684 -.van-icon-points:before {  
685 - content: "\F0A5"  
686 -}  
687 -  
688 -.van-icon-printer:before {  
689 - content: "\F0A6"  
690 -}  
691 -  
692 -.van-icon-qr-invalid:before {  
693 - content: "\F0A7"  
694 -}  
695 -  
696 -.van-icon-qr:before {  
697 - content: "\F0A8"  
698 -}  
699 -  
700 -.van-icon-question-o:before {  
701 - content: "\F0A9"  
702 -}  
703 -  
704 -.van-icon-question:before {  
705 - content: "\F0AA"  
706 -}  
707 -  
708 -.van-icon-records:before {  
709 - content: "\F0AB"  
710 -}  
711 -  
712 -.van-icon-refund-o:before {  
713 - content: "\F0AC"  
714 -}  
715 -  
716 -.van-icon-replay:before {  
717 - content: "\F0AD"  
718 -}  
719 -  
720 -.van-icon-scan:before {  
721 - content: "\F0AE"  
722 -}  
723 -  
724 -.van-icon-search:before {  
725 - content: "\F0AF"  
726 -}  
727 -  
728 -.van-icon-send-gift-o:before {  
729 - content: "\F0B0"  
730 -}  
731 -  
732 -.van-icon-send-gift:before {  
733 - content: "\F0B1"  
734 -}  
735 -  
736 -.van-icon-service-o:before {  
737 - content: "\F0B2"  
738 -}  
739 -  
740 -.van-icon-service:before {  
741 - content: "\F0B3"  
742 -}  
743 -  
744 -.van-icon-setting-o:before {  
745 - content: "\F0B4"  
746 -}  
747 -  
748 -.van-icon-setting:before {  
749 - content: "\F0B5"  
750 -}  
751 -  
752 -.van-icon-share:before {  
753 - content: "\F0B6"  
754 -}  
755 -  
756 -.van-icon-shop-collect-o:before {  
757 - content: "\F0B7"  
758 -}  
759 -  
760 -.van-icon-shop-collect:before {  
761 - content: "\F0B8"  
762 -}  
763 -  
764 -.van-icon-shop-o:before {  
765 - content: "\F0B9"  
766 -}  
767 -  
768 -.van-icon-shop:before {  
769 - content: "\F0BA"  
770 -}  
771 -  
772 -.van-icon-shopping-cart-o:before {  
773 - content: "\F0BB"  
774 -}  
775 -  
776 -.van-icon-shopping-cart:before {  
777 - content: "\F0BC"  
778 -}  
779 -  
780 -.van-icon-shrink:before {  
781 - content: "\F0BD"  
782 -}  
783 -  
784 -.van-icon-sign:before {  
785 - content: "\F0BE"  
786 -}  
787 -  
788 -.van-icon-smile-comment-o:before {  
789 - content: "\F0BF"  
790 -}  
791 -  
792 -.van-icon-smile-comment:before {  
793 - content: "\F0C0"  
794 -}  
795 -  
796 -.van-icon-smile-o:before {  
797 - content: "\F0C1"  
798 -}  
799 -  
800 -.van-icon-smile:before {  
801 - content: "\F0C2"  
802 -}  
803 -  
804 -.van-icon-star-o:before {  
805 - content: "\F0C3"  
806 -}  
807 -  
808 -.van-icon-star:before {  
809 - content: "\F0C4"  
810 -}  
811 -  
812 -.van-icon-stop-circle-o:before {  
813 - content: "\F0C5"  
814 -}  
815 -  
816 -.van-icon-stop-circle:before {  
817 - content: "\F0C6"  
818 -}  
819 -  
820 -.van-icon-stop:before {  
821 - content: "\F0C7"  
822 -}  
823 -  
824 -.van-icon-success:before {  
825 - content: "\F0C8"  
826 -}  
827 -  
828 -.van-icon-thumb-circle-o:before {  
829 - content: "\F0C9"  
830 -}  
831 -  
832 -.van-icon-thumb-circle:before {  
833 - content: "\F0CA"  
834 -}  
835 -  
836 -.van-icon-todo-list-o:before {  
837 - content: "\F0CB"  
838 -}  
839 -  
840 -.van-icon-todo-list:before {  
841 - content: "\F0CC"  
842 -}  
843 -  
844 -.van-icon-tosend:before {  
845 - content: "\F0CD"  
846 -}  
847 -  
848 -.van-icon-tv-o:before {  
849 - content: "\F0CE"  
850 -}  
851 -  
852 -.van-icon-umbrella-circle:before {  
853 - content: "\F0CF"  
854 -}  
855 -  
856 -.van-icon-underway-o:before {  
857 - content: "\F0D0"  
858 -}  
859 -  
860 -.van-icon-underway:before {  
861 - content: "\F0D1"  
862 -}  
863 -  
864 -.van-icon-upgrade:before {  
865 - content: "\F0D2"  
866 -}  
867 -  
868 -.van-icon-user-circle-o:before {  
869 - content: "\F0D3"  
870 -}  
871 -  
872 -.van-icon-user-o:before {  
873 - content: "\F0D4"  
874 -}  
875 -  
876 -.van-icon-video-o:before {  
877 - content: "\F0D5"  
878 -}  
879 -  
880 -.van-icon-video:before {  
881 - content: "\F0D6"  
882 -}  
883 -  
884 -.van-icon-vip-card-o:before {  
885 - content: "\F0D7"  
886 -}  
887 -  
888 -.van-icon-vip-card:before {  
889 - content: "\F0D8"  
890 -}  
891 -  
892 -.van-icon-volume-o:before {  
893 - content: "\F0D9"  
894 -}  
895 -  
896 -.van-icon-volume:before {  
897 - content: "\F0DA"  
898 -}  
899 -  
900 -.van-icon-wap-home-o:before {  
901 - content: "\F0DB"  
902 -}  
903 -  
904 -.van-icon-wap-home:before {  
905 - content: "\F0DC"  
906 -}  
907 -  
908 -.van-icon-wap-nav:before {  
909 - content: "\F0DD"  
910 -}  
911 -  
912 -.van-icon-warn-o:before {  
913 - content: "\F0DE"  
914 -}  
915 -  
916 -.van-icon-warning-o:before {  
917 - content: "\F0DF"  
918 -}  
919 -  
920 -.van-icon-warning:before {  
921 - content: "\F0E0"  
922 -}  
923 -  
924 -.van-icon-weapp-nav:before {  
925 - content: "\F0E1"  
926 -}  
927 -  
928 -.van-icon-wechat:before {  
929 - content: "\F0E2"  
930 -}  
931 -  
932 -.van-icon-youzan-shield:before {  
933 - content: "\F0E3"  
934 -}  
935 -  
936 -:host {  
937 - display: -webkit-inline-flex;  
938 - display: inline-flex;  
939 - -webkit-align-items: center;  
940 - align-items: center;  
941 - -webkit-justify-content: center;  
942 - justify-content: center  
943 -}  
944 -  
945 -.van-icon--image {  
946 - width: 1em;  
947 - height: 1em  
948 -}  
949 -  
950 -.van-icon__image {  
951 - width: 100%;  
952 - height: 100%  
953 -}  
954 -  
955 -.van-icon__info {  
956 - z-index: 1  
957 -}  
wxcomponents/vant/info/index.d.ts deleted
1 -export {};  
wxcomponents/vant/info/index.js deleted
1 -import { VantComponent } from '../common/component';  
2 -VantComponent({  
3 - props: {  
4 - dot: Boolean,  
5 - info: null,  
6 - customStyle: String  
7 - }  
8 -});  
wxcomponents/vant/info/index.json deleted
1 -{  
2 - "component": true  
3 -}  
wxcomponents/vant/info/index.wxml deleted
1 -<wxs src="../wxs/utils.wxs" module="utils" />  
2 -  
3 -<view  
4 - wx:if="{{ info !== null && info !== '' || dot }}"  
5 - class="custom-class van-info {{ utils.bem('info', { dot }) }}"  
6 - style="{{ customStyle }}"  
7 ->{{ dot ? '' : info }}</view>  
wxcomponents/vant/info/index.wxss deleted
1 -@import '../common/index.wxss';.van-info{position:absolute;top:0;right:0;box-sizing:border-box;white-space:nowrap;text-align:center;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%;min-width:16px;min-width:var(--info-size,16px);padding:0 3px;padding:var(--info-padding,0 3px);color:#fff;color:var(--info-color,#fff);font-weight:500;font-weight:var(--info-font-weight,500);font-size:12px;font-size:var(--info-font-size,12px);font-family:PingFang SC,Helvetica Neue,Arial,sans-serif;font-family:var(--info-font-family,PingFang SC,Helvetica Neue,Arial,sans-serif);line-height:14px;line-height:calc(var(--info-size, 16px) - var(--info-border-width, 1px)*2);background-color:#ee0a24;background-color:var(--info-background-color,#ee0a24);border:1px solid #fff;border:var(--info-border-width,1px) solid var(--white,#fff);border-radius:16px;border-radius:var(--info-size,16px)}.van-info--dot{min-width:0;border-radius:100%;width:8px;width:var(--info-dot-size,8px);height:8px;height:var(--info-dot-size,8px);background-color:#ee0a24;background-color:var(--info-dot-color,#ee0a24)}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/loading/index.d.ts deleted
1 -export {};  
wxcomponents/vant/loading/index.js deleted
1 -import { VantComponent } from '../common/component';  
2 -import { addUnit } from '../common/utils';  
3 -VantComponent({  
4 - props: {  
5 - color: String,  
6 - vertical: Boolean,  
7 - type: {  
8 - type: String,  
9 - value: 'circular'  
10 - },  
11 - size: {  
12 - type: String,  
13 - observer: 'setSizeWithUnit'  
14 - },  
15 - textSize: {  
16 - type: String,  
17 - observer: 'setTextSizeWithUnit'  
18 - }  
19 - },  
20 - methods: {  
21 - setSizeWithUnit(size) {  
22 - this.setData({  
23 - sizeWithUnit: addUnit(size)  
24 - });  
25 - },  
26 - setTextSizeWithUnit(size) {  
27 - this.set({  
28 - textSizeWithUnit: addUnit(size)  
29 - });  
30 - }  
31 - }  
32 -});  
wxcomponents/vant/loading/index.json deleted
1 -{  
2 - "component": true  
3 -}  
4 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/loading/index.wxml deleted
1 -<view class="custom-class van-loading {{ vertical ? 'van-loading--vertical' : '' }}">  
2 - <view  
3 - class="van-loading__spinner van-loading__spinner--{{ type }}"  
4 - style="color: {{ color }}; width: {{ sizeWithUnit }}; height: {{ sizeWithUnit }}"  
5 - >  
6 - <view  
7 - wx:if="{{ type === 'spinner' }}"  
8 - wx:for="item in 12"  
9 - wx:key="index"  
10 - class="van-loading__dot"  
11 - />  
12 - </view>  
13 - <view class="van-loading__text" style="font-size: {{ textSizeWithUnit }};">  
14 - <slot />  
15 - </view>  
16 -</view>  
wxcomponents/vant/loading/index.wxss deleted
1 -@import '../common/index.wxss';:host{font-size:0;line-height:1}.van-loading{display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#c8c9cc;color:var(--loading-spinner-color,#c8c9cc)}.van-loading__spinner{position:relative;box-sizing:border-box;width:30px;width:var(--loading-spinner-size,30px);max-width:100%;max-height:100%;height:30px;height:var(--loading-spinner-size,30px);-webkit-animation:van-rotate .8s linear infinite;animation:van-rotate .8s linear infinite;-webkit-animation:van-rotate var(--loading-spinner-animation-duration,.8s) linear infinite;animation:van-rotate var(--loading-spinner-animation-duration,.8s) linear infinite}.van-loading__spinner--spinner{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.van-loading__spinner--circular{border:1px solid transparent;border-top-color:initial;border-radius:100%}.van-loading__text{margin-left:8px;margin-left:var(--padding-xs,8px);color:#969799;color:var(--loading-text-color,#969799);font-size:14px;font-size:var(--loading-text-font-size,14px);line-height:20px;line-height:var(--loading-text-line-height,20px)}.van-loading__text:empty{display:none}.van-loading--vertical{-webkit-flex-direction:column;flex-direction:column}.van-loading--vertical .van-loading__text{margin:8px 0 0;margin:var(--padding-xs,8px) 0 0}.van-loading__dot{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__dot:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__dot:first-of-type{-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.van-loading__dot:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.van-loading__dot:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.van-loading__dot:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.van-loading__dot:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.van-loading__dot:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.van-loading__dot:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.van-loading__dot:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.van-loading__dot:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.van-loading__dot:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.van-loading__dot:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.van-loading__dot:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes van-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes van-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}  
2 \ No newline at end of file 0 \ No newline at end of file
wxcomponents/vant/mixins/basic.d.ts deleted
1 -export declare const basic: string;  
wxcomponents/vant/mixins/basic.js deleted
1 -export const basic = Behavior({  
2 - methods: {  
3 - $emit(...args) {  
4 - this.triggerEvent(...args);  
5 - },  
6 - getRect(selector, all) {  
7 - return new Promise(resolve => {  
8 - wx.createSelectorQuery()  
9 - .in(this)[all ? 'selectAll' : 'select'](selector)  
10 - .boundingClientRect(rect => {  
11 - if (all && Array.isArray(rect) && rect.length) {  
12 - resolve(rect);  
13 - }  
14 - if (!all && rect) {  
15 - resolve(rect);  
16 - }  
17 - })  
18 - .exec();  
19 - });  
20 - }  
21 - }  
22 -});  
wxcomponents/vant/mixins/button.d.ts deleted
1 -export declare const button: string;  
wxcomponents/vant/mixins/button.js deleted
1 -export const button = Behavior({  
2 - externalClasses: ['hover-class'],  
3 - properties: {  
4 - id: String,  
5 - lang: {  
6 - type: String,  
7 - value: 'en'  
8 - },  
9 - businessId: Number,  
10 - sessionFrom: String,  
11 - sendMessageTitle: String,  
12 - sendMessagePath: String,  
13 - sendMessageImg: String,  
14 - showMessageCard: Boolean,  
15 - appParameter: String,  
16 - ariaLabel: String  
17 - }  
18 -});  
wxcomponents/vant/mixins/link.d.ts deleted
1 -export declare const link: string;  
wxcomponents/vant/mixins/link.js deleted
1 -export const link = Behavior({  
2 - properties: {  
3 - url: String,  
4 - linkType: {  
5 - type: String,  
6 - value: 'navigateTo'  
7 - }  
8 - },  
9 - methods: {  
10 - jumpLink(urlKey = 'url') {  
11 - const url = this.data[urlKey];  
12 - if (url) {  
13 - wx[this.data.linkType]({ url });  
14 - }  
15 - }  
16 - }  
17 -});  
wxcomponents/vant/mixins/observer/behavior.d.ts deleted
1 -export declare const behavior: string;  
wxcomponents/vant/mixins/observer/behavior.js deleted
1 -export const behavior = Behavior({  
2 - methods: {  
3 - set(data, callback) {  
4 - return new Promise(resolve => {  
5 - this.setData(data, () => {  
6 - if (callback && typeof callback === 'function') {  
7 - callback.call(this);  
8 - }  
9 - resolve();  
10 - });  
11 - });  
12 - }  
13 - }  
14 -});  
wxcomponents/vant/mixins/observer/index.d.ts deleted
1 -export declare function observe(vantOptions: any, options: any): void;  
wxcomponents/vant/mixins/observer/index.js deleted
1 -import { behavior } from './behavior';  
2 -export function observe(vantOptions, options) {  
3 - const { watch } = vantOptions;  
4 - options.behaviors.push(behavior);  
5 - if (watch) {  
6 - const props = options.properties || {};  
7 - Object.keys(watch).forEach(key => {  
8 - if (key in props) {  
9 - let prop = props[key];  
10 - if (prop === null || !('type' in prop)) {  
11 - prop = { type: prop };  
12 - }  
13 - prop.observer = watch[key];  
14 - props[key] = prop;  
15 - }  
16 - });  
17 - options.properties = props;  
18 - }  
19 -}  
wxcomponents/vant/mixins/open-type.d.ts deleted
1 -export declare const openType: string;  
wxcomponents/vant/mixins/open-type.js deleted
1 -export const openType = Behavior({  
2 - properties: {  
3 - openType: String  
4 - },  
5 - methods: {  
6 - bindGetUserInfo(event) {  
7 - this.$emit('getuserinfo', event.detail);  
8 - },  
9 - bindContact(event) {  
10 - this.$emit('contact', event.detail);  
11 - },  
12 - bindGetPhoneNumber(event) {  
13 - this.$emit('getphonenumber', event.detail);  
14 - },  
15 - bindError(event) {  
16 - this.$emit('error', event.detail);  
17 - },  
18 - bindLaunchApp(event) {  
19 - this.$emit('launchapp', event.detail);  
20 - },  
21 - bindOpenSetting(event) {  
22 - this.$emit('opensetting', event.detail);  
23 - },  
24 - }  
25 -});  
wxcomponents/vant/mixins/touch.d.ts deleted
1 -export declare const touch: string;  
wxcomponents/vant/mixins/touch.js deleted
1 -const MIN_DISTANCE = 10;  
2 -function getDirection(x, y) {  
3 - if (x > y && x > MIN_DISTANCE) {  
4 - return 'horizontal';  
5 - }  
6 - if (y > x && y > MIN_DISTANCE) {  
7 - return 'vertical';  
8 - }  
9 - return '';  
10 -}  
11 -export const touch = Behavior({  
12 - methods: {  
13 - resetTouchStatus() {  
14 - this.direction = '';  
15 - this.deltaX = 0;  
16 - this.deltaY = 0;  
17 - this.offsetX = 0;  
18 - this.offsetY = 0;  
19 - },  
20 - touchStart(event) {  
21 - this.resetTouchStatus();  
22 - const touch = event.touches[0];  
23 - this.startX = touch.clientX;  
24 - this.startY = touch.clientY;  
25 - },  
26 - touchMove(event) {  
27 - const touch = event.touches[0];  
28 - this.deltaX = touch.clientX - this.startX;  
29 - this.deltaY = touch.clientY - this.startY;  
30 - this.offsetX = Math.abs(this.deltaX);  
31 - this.offsetY = Math.abs(this.deltaY);  
32 - this.direction = this.direction || getDirection(this.offsetX, this.offsetY);  
33 - }  
34 - }  
35 -});  
wxcomponents/vant/mixins/transition.d.ts deleted
1 -export declare const transition: (showDefaultValue: boolean) => any;  
wxcomponents/vant/mixins/transition.js deleted
1 -import { isObj } from '../common/utils';  
2 -const getClassNames = (name) => ({  
3 - enter: `van-${name}-enter van-${name}-enter-active enter-class enter-active-class`,  
4 - 'enter-to': `van-${name}-enter-to van-${name}-enter-active enter-to-class enter-active-class`,  
5 - leave: `van-${name}-leave van-${name}-leave-active leave-class leave-active-class`,  
6 - 'leave-to': `van-${name}-leave-to van-${name}-leave-active leave-to-class leave-active-class`  
7 -});  
8 -const nextTick = () => new Promise(resolve => setTimeout(resolve, 1000 / 30));  
9 -export const transition = function (showDefaultValue) {  
10 - return Behavior({  
11 - properties: {  
12 - customStyle: String,  
13 - // @ts-ignore  
14 - show: {  
15 - type: Boolean,  
16 - value: showDefaultValue,  
17 - observer: 'observeShow'  
18 - },  
19 - // @ts-ignore  
20 - duration: {  
21 - type: null,  
22 - value: 300,  
23 - observer: 'observeDuration'  
24 - },  
25 - name: {  
26 - type: String,  
27 - value: 'fade'  
28 - }  
29 - },  
30 - data: {  
31 - type: '',  
32 - inited: false,  
33 - display: false  
34 - },  
35 - attached() {  
36 - if (this.data.show) {  
37 - this.enter();  
38 - }  
39 - },  
40 - methods: {  
41 - observeShow(value) {  
42 - value ? this.enter() : this.leave();  
43 - },  
44 - enter() {  
45 - const { duration, name } = this.data;  
46 - const classNames = getClassNames(name);  
47 - const currentDuration = isObj(duration) ? duration.enter : duration;  
48 - this.status = 'enter';  
49 - this.$emit('before-enter');  
50 - Promise.resolve()  
51 - .then(nextTick)  
52 - .then(() => {  
53 - this.checkStatus('enter');  
54 - this.$emit('enter');  
55 - this.setData({  
56 - inited: true,  
57 - display: true,  
58 - classes: classNames.enter,  
59 - currentDuration  
60 - });  
61 - })  
62 - .then(nextTick)  
63 - .then(() => {  
64 - this.checkStatus('enter');  
65 - this.transitionEnded = false;  
66 - this.setData({  
67 - classes: classNames['enter-to']  
68 - });  
69 - })  
70 - .catch(() => { });  
71 - },  
72 - leave() {  
73 - if (!this.data.display) {  
74 - return;  
75 - }  
76 - const { duration, name } = this.data;  
77 - const classNames = getClassNames(name);  
78 - const currentDuration = isObj(duration) ? duration.leave : duration;  
79 - this.status = 'leave';  
80 - this.$emit('before-leave');  
81 - Promise.resolve()  
82 - .then(nextTick)  
83 - .then(() => {  
84 - this.checkStatus('leave');  
85 - this.$emit('leave');  
86 - this.setData({  
87 - classes: classNames.leave,  
88 - currentDuration  
89 - });  
90 - })  
91 - .then(nextTick)  
92 - .then(() => {  
93 - this.checkStatus('leave');  
94 - this.transitionEnded = false;  
95 - setTimeout(() => this.onTransitionEnd(), currentDuration);  
96 - this.setData({  
97 - classes: classNames['leave-to']  
98 - });  
99 - })  
100 - .catch(() => { });  
101 - },  
102 - checkStatus(status) {  
103 - if (status !== this.status) {  
104 - throw new Error(`incongruent status: ${status}`);  
105 - }  
106 - },  
107 - onTransitionEnd() {  
108 - if (this.transitionEnded) {  
109 - return;  
110 - }  
111 - this.transitionEnded = true;  
112 - this.$emit(`after-${this.status}`);  
113 - const { show, display } = this.data;  
114 - if (!show && display) {  
115 - this.setData({ display: false });  
116 - }  
117 - }  
118 - }  
119 - });  
120 -};  
wxcomponents/vant/wxs/array.wxs deleted
1 -function isArray(array) {  
2 - return array && (array.constructor === 'Array' || (typeof Array !== 'undefined' && Array.isArray(array)));  
3 -}  
4 -  
5 -module.exports.isArray = isArray;  
wxcomponents/vant/wxs/bem.wxs deleted
1 -var array = require('./array.wxs');  
2 -var object = require('./object.wxs');  
3 -var PREFIX = 'van-';  
4 -  
5 -function join(name, mods) {  
6 - name = PREFIX + name;  
7 - mods = mods.map(function(mod) {  
8 - return name + '--' + mod;  
9 - });  
10 - mods.unshift(name);  
11 - return mods.join(' ');  
12 -}  
13 -  
14 -function traversing(mods, conf) {  
15 - if (!conf) {  
16 - return;  
17 - }  
18 -  
19 - if (typeof conf === 'string' || typeof conf === 'number') {  
20 - mods.push(conf);  
21 - } else if (array.isArray(conf)) {  
22 - conf.forEach(function(item) {  
23 - traversing(mods, item);  
24 - });  
25 - } else if (typeof conf === 'object') {  
26 - object.keys(conf).forEach(function(key) {  
27 - conf[key] && mods.push(key);  
28 - });  
29 - }  
30 -}  
31 -  
32 -function bem(name, conf) {  
33 - var mods = [];  
34 - traversing(mods, conf);  
35 - return join(name, mods);  
36 -}  
37 -  
38 -module.exports.bem = bem;  
wxcomponents/vant/wxs/memoize.wxs deleted
1 -/**  
2 - * Simple memoize  
3 - * wxs doesn't support fn.apply, so this memoize only support up to 2 args  
4 - */  
5 -  
6 -function isPrimitive(value) {  
7 - var type = typeof value;  
8 - return (  
9 - type === 'boolean' ||  
10 - type === 'number' ||  
11 - type === 'string' ||  
12 - type === 'undefined' ||  
13 - value === null  
14 - );  
15 -}  
16 -  
17 -// mock simple fn.call in wxs  
18 -function call(fn, args) {  
19 - if (args.length === 2) {  
20 - return fn(args[0], args[1]);  
21 - }  
22 -  
23 - if (args.length === 1) {  
24 - return fn(args[0]);  
25 - }  
26 -  
27 - return fn();  
28 -}  
29 -  
30 -function serializer(args) {  
31 - if (args.length === 1 && isPrimitive(args[0])) {  
32 - return args[0];  
33 - }  
34 - var obj = {};  
35 - for (var i = 0; i < args.length; i++) {  
36 - obj['key' + i] = args[i];  
37 - }  
38 - return JSON.stringify(obj);  
39 -}  
40 -  
41 -function memoize(fn) {  
42 - var cache = {};  
43 -  
44 - return function() {  
45 - var key = serializer(arguments);  
46 - if (cache[key] === undefined) {  
47 - cache[key] = call(fn, arguments);  
48 - }  
49 -  
50 - return cache[key];  
51 - };  
52 -}  
53 -  
54 -module.exports.memoize = memoize;  
wxcomponents/vant/wxs/object.wxs deleted
1 -/* eslint-disable */  
2 -var REGEXP = getRegExp('{|}|"', 'g');  
3 -  
4 -function keys(obj) {  
5 - return JSON.stringify(obj)  
6 - .replace(REGEXP, '')  
7 - .split(',')  
8 - .map(function(item) {  
9 - return item.split(':')[0];  
10 - });  
11 -}  
12 -  
13 -module.exports.keys = keys;  
wxcomponents/vant/wxs/utils.wxs deleted
1 -var bem = require('./bem.wxs').bem;  
2 -var memoize = require('./memoize.wxs').memoize;  
3 -  
4 -module.exports = {  
5 - bem: memoize(bem),  
6 - memoize: memoize  
7 -};