123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985 |
- const data = [
- 'air-freshener',
- 'align-center',
- 'align-justify',
- 'align-left',
- 'align-right',
- 'allergies',
- 'ambulance',
- 'american-sign-language-interpreting',
- 'anchor',
- 'angle-double-down',
- 'angle-double-left',
- 'angle-double-right',
- 'angle-double-up',
- 'angle-down',
- 'angle-left',
- 'angle-right',
- 'angle-up',
- 'angry',
- 'ankh',
- 'apple-alt',
- 'archive',
- 'archway',
- 'arrow-alt-circle-down',
- 'arrow-alt-circle-left',
- 'arrow-alt-circle-right',
- 'arrow-alt-circle-up',
- 'arrow-circle-down',
- 'arrow-circle-left',
- 'arrow-circle-right',
- 'arrow-circle-up',
- 'arrow-down',
- 'arrow-left',
- 'arrow-right',
- 'arrow-up',
- 'arrows-alt',
- 'arrows-alt-h',
- 'arrows-alt-v',
- 'assistive-listening-systems',
- 'asterisk',
- 'at',
- 'atlas',
- 'atom',
- 'audio-description',
- 'award',
- 'baby',
- 'baby-carriage',
- 'backspace',
- 'backward',
- 'bacon',
- 'bahai',
- 'balance-scale',
- 'balance-scale-left',
- 'balance-scale-right',
- 'ban',
- 'band-aid',
- 'barcode',
- 'bars',
- 'baseball-ball',
- 'basketball-ball',
- 'bath',
- 'battery-empty',
- 'battery-full',
- 'battery-half',
- 'battery-quarter',
- 'battery-three-quarters',
- 'bed',
- 'beer',
- 'bell',
- 'bell-slash',
- 'bezier-curve',
- 'bible',
- 'bicycle',
- 'biking',
- 'binoculars',
- 'biohazard',
- 'birthday-cake',
- 'blender',
- 'blender-phone',
- 'blind',
- 'blog',
- 'bold',
- 'bolt',
- 'bomb',
- 'bone',
- 'bong',
- 'book',
- 'book-dead',
- 'book-medical',
- 'book-open',
- 'book-reader',
- 'bookmark',
- 'border-all',
- 'border-none',
- 'border-style',
- 'bowling-ball',
- 'box',
- 'box-open',
- 'boxes',
- 'braille',
- 'brain',
- 'bread-slice',
- 'briefcase',
- 'briefcase-medical',
- 'broadcast-tower',
- 'broom',
- 'brush',
- 'bug',
- 'building',
- 'bullhorn',
- 'bullseye',
- 'burn',
- 'bus',
- 'bus-alt',
- 'business-time',
- 'calculator',
- 'calendar',
- 'calendar-alt',
- 'calendar-check',
- 'calendar-day',
- 'calendar-minus',
- 'calendar-plus',
- 'calendar-times',
- 'calendar-week',
- 'camera',
- 'camera-retro',
- 'campground',
- 'candy-cane',
- 'cannabis',
- 'capsules',
- 'car',
- 'car-alt',
- 'car-battery',
- 'car-crash',
- 'car-side',
- 'caravan',
- 'caret-down',
- 'caret-left',
- 'caret-right',
- 'caret-square-down',
- 'caret-square-left',
- 'caret-square-right',
- 'caret-square-up',
- 'caret-up',
- 'carrot',
- 'cart-arrow-down',
- 'cart-plus',
- 'cash-register',
- 'cat',
- 'certificate',
- 'chair',
- 'chalkboard',
- 'chalkboard-teacher',
- 'charging-station',
- 'chart-area',
- 'chart-bar',
- 'chart-line',
- 'chart-pie',
- 'check',
- 'check-circle',
- 'check-double',
- 'check-square',
- 'cheese',
- 'chess',
- 'chess-bishop',
- 'chess-board',
- 'chess-king',
- 'chess-knight',
- 'chess-pawn',
- 'chess-queen',
- 'chess-rook',
- 'chevron-circle-down',
- 'chevron-circle-left',
- 'chevron-circle-right',
- 'chevron-circle-up',
- 'chevron-down',
- 'chevron-left',
- 'chevron-right',
- 'chevron-up',
- 'child',
- 'church',
- 'circle',
- 'circle-notch',
- 'city',
- 'clinic-medical',
- 'clipboard',
- 'clipboard-check',
- 'clipboard-list',
- 'clock',
- 'clone',
- 'closed-captioning',
- 'cloud',
- 'cloud-download-alt',
- 'cloud-meatball',
- 'cloud-moon',
- 'cloud-moon-rain',
- 'cloud-rain',
- 'cloud-showers-heavy',
- 'cloud-sun',
- 'cloud-sun-rain',
- 'cloud-upload-alt',
- 'cocktail',
- 'code',
- 'code-branch',
- 'coffee',
- 'cog',
- 'cogs',
- 'coins',
- 'columns',
- 'comment',
- 'comment-alt',
- 'comment-dollar',
- 'comment-dots',
- 'comment-medical',
- 'comment-slash',
- 'comments',
- 'comments-dollar',
- 'compact-disc',
- 'compass',
- 'compress',
- 'compress-alt',
- 'compress-arrows-alt',
- 'concierge-bell',
- 'cookie',
- 'cookie-bite',
- 'copy',
- 'copyright',
- 'couch',
- 'credit-card',
- 'crop',
- 'crop-alt',
- 'cross',
- 'crosshairs',
- 'crow',
- 'crown',
- 'crutch',
- 'cube',
- 'cubes',
- 'cut',
- 'database',
- 'deaf',
- 'democrat',
- 'desktop',
- 'dharmachakra',
- 'diagnoses',
- 'dice',
- 'dice-d20',
- 'dice-d6',
- 'dice-five',
- 'dice-four',
- 'dice-one',
- 'dice-six',
- 'dice-three',
- 'dice-two',
- 'digital-tachograph',
- 'directions',
- 'divide',
- 'dizzy',
- 'dna',
- 'dog',
- 'dollar-sign',
- 'dolly',
- 'dolly-flatbed',
- 'donate',
- 'door-closed',
- 'door-open',
- 'dot-circle',
- 'dove',
- 'download',
- 'drafting-compass',
- 'dragon',
- 'draw-polygon',
- 'drum',
- 'drum-steelpan',
- 'drumstick-bite',
- 'dumbbell',
- 'dumpster',
- 'dumpster-fire',
- 'dungeon',
- 'edit',
- 'egg',
- 'eject',
- 'ellipsis-h',
- 'ellipsis-v',
- 'envelope',
- 'envelope-open',
- 'envelope-open-text',
- 'envelope-square',
- 'equals',
- 'eraser',
- 'ethernet',
- 'euro-sign',
- 'exchange-alt',
- 'exclamation',
- 'exclamation-circle',
- 'exclamation-triangle',
- 'expand',
- 'expand-alt',
- 'expand-arrows-alt',
- 'external-link-alt',
- 'external-link-square-alt',
- 'eye',
- 'eye-dropper',
- 'eye-slash',
- 'fan',
- 'fast-backward',
- 'fast-forward',
- 'fax',
- 'feather',
- 'feather-alt',
- 'female',
- 'fighter-jet',
- 'file',
- 'file-alt',
- 'file-archive',
- 'file-audio',
- 'file-code',
- 'file-contract',
- 'file-csv',
- 'file-download',
- 'file-excel',
- 'file-export',
- 'file-image',
- 'file-import',
- 'file-invoice',
- 'file-invoice-dollar',
- 'file-medical',
- 'file-medical-alt',
- 'file-pdf',
- 'file-powerpoint',
- 'file-prescription',
- 'file-signature',
- 'file-upload',
- 'file-video',
- 'file-word',
- 'fill',
- 'fill-drip',
- 'film',
- 'filter',
- 'fingerprint',
- 'fire',
- 'fire-alt',
- 'fire-extinguisher',
- 'first-aid',
- 'fish',
- 'fist-raised',
- 'flag',
- 'flag-checkered',
- 'flag-usa',
- 'flask',
- 'flushed',
- 'folder',
- 'folder-minus',
- 'folder-open',
- 'folder-plus',
- 'font',
- 'football-ball',
- 'forward',
- 'frog',
- 'frown',
- 'frown-open',
- 'funnel-dollar',
- 'futbol',
- 'gamepad',
- 'gas-pump',
- 'gavel',
- 'gem',
- 'genderless',
- 'ghost',
- 'gift',
- 'gifts',
- 'glass-cheers',
- 'glass-martini',
- 'glass-martini-alt',
- 'glass-whiskey',
- 'glasses',
- 'globe',
- 'globe-africa',
- 'globe-americas',
- 'globe-asia',
- 'globe-europe',
- 'golf-ball',
- 'gopuram',
- 'graduation-cap',
- 'greater-than',
- 'greater-than-equal',
- 'grimace',
- 'grin',
- 'grin-alt',
- 'grin-beam',
- 'grin-beam-sweat',
- 'grin-hearts',
- 'grin-squint',
- 'grin-squint-tears',
- 'grin-stars',
- 'grin-tears',
- 'grin-tongue',
- 'grin-tongue-squint',
- 'grin-tongue-wink',
- 'grin-wink',
- 'grip-horizontal',
- 'grip-lines',
- 'grip-lines-vertical',
- 'grip-vertical',
- 'guitar',
- 'h-square',
- 'hamburger',
- 'hammer',
- 'hamsa',
- 'hand-holding',
- 'hand-holding-heart',
- 'hand-holding-usd',
- 'hand-lizard',
- 'hand-middle-finger',
- 'hand-paper',
- 'hand-peace',
- 'hand-point-down',
- 'hand-point-left',
- 'hand-point-right',
- 'hand-point-up',
- 'hand-pointer',
- 'hand-rock',
- 'hand-scissors',
- 'hand-spock',
- 'hands',
- 'hands-helping',
- 'handshake',
- 'hanukiah',
- 'hard-hat',
- 'hashtag',
- 'hat-cowboy',
- 'hat-cowboy-side',
- 'hat-wizard',
- 'hdd',
- 'heading',
- 'headphones',
- 'headphones-alt',
- 'headset',
- 'heart',
- 'heart-broken',
- 'heartbeat',
- 'helicopter',
- 'highlighter',
- 'hiking',
- 'hippo',
- 'history',
- 'hockey-puck',
- 'holly-berry',
- 'home',
- 'horse',
- 'horse-head',
- 'hospital',
- 'hospital-alt',
- 'hospital-symbol',
- 'hot-tub',
- 'hotdog',
- 'hotel',
- 'hourglass',
- 'hourglass-end',
- 'hourglass-half',
- 'hourglass-start',
- 'house-damage',
- 'hryvnia',
- 'i-cursor',
- 'ice-cream',
- 'icicles',
- 'icons',
- 'id-badge',
- 'id-card',
- 'id-card-alt',
- 'igloo',
- 'image',
- 'images',
- 'inbox',
- 'indent',
- 'industry',
- 'infinity',
- 'info',
- 'info-circle',
- 'italic',
- 'jedi',
- 'joint',
- 'journal-whills',
- 'kaaba',
- 'key',
- 'keyboard',
- 'khanda',
- 'kiss',
- 'kiss-beam',
- 'kiss-wink-heart',
- 'kiwi-bird',
- 'landmark',
- 'language',
- 'laptop',
- 'laptop-code',
- 'laptop-medical',
- 'laugh',
- 'laugh-beam',
- 'laugh-squint',
- 'laugh-wink',
- 'layer-group',
- 'leaf',
- 'lemon',
- 'less-than',
- 'less-than-equal',
- 'level-down-alt',
- 'level-up-alt',
- 'life-ring',
- 'lightbulb',
- 'link',
- 'lira-sign',
- 'list',
- 'list-alt',
- 'list-ol',
- 'list-ul',
- 'location-arrow',
- 'lock',
- 'lock-open',
- 'long-arrow-alt-down',
- 'long-arrow-alt-left',
- 'long-arrow-alt-right',
- 'long-arrow-alt-up',
- 'low-vision',
- 'luggage-cart',
- 'magic',
- 'magnet',
- 'mail-bulk',
- 'male',
- 'map',
- 'map-marked',
- 'map-marked-alt',
- 'map-marker',
- 'map-marker-alt',
- 'map-pin',
- 'map-signs',
- 'marker',
- 'mars',
- 'mars-double',
- 'mars-stroke',
- 'mars-stroke-h',
- 'mars-stroke-v',
- 'mask',
- 'medal',
- 'medkit',
- 'meh',
- 'meh-blank',
- 'meh-rolling-eyes',
- 'memory',
- 'menorah',
- 'mercury',
- 'meteor',
- 'microchip',
- 'microphone',
- 'microphone-alt',
- 'microphone-alt-slash',
- 'microphone-slash',
- 'microscope',
- 'minus',
- 'minus-circle',
- 'minus-square',
- 'mitten',
- 'mobile',
- 'mobile-alt',
- 'money-bill',
- 'money-bill-alt',
- 'money-bill-wave',
- 'money-bill-wave-alt',
- 'money-check',
- 'money-check-alt',
- 'monument',
- 'moon',
- 'mortar-pestle',
- 'mosque',
- 'motorcycle',
- 'mountain',
- 'mouse',
- 'mouse-pointer',
- 'mug-hot',
- 'music',
- 'network-wired',
- 'neuter',
- 'newspaper',
- 'not-equal',
- 'notes-medical',
- 'object-group',
- 'object-ungroup',
- 'oil-can',
- 'om',
- 'otter',
- 'outdent',
- 'pager',
- 'paint-brush',
- 'paint-roller',
- 'palette',
- 'pallet',
- 'paper-plane',
- 'paperclip',
- 'parachute-box',
- 'paragraph',
- 'parking',
- 'passport',
- 'pastafarianism',
- 'paste',
- 'pause',
- 'pause-circle',
- 'paw',
- 'peace',
- 'pen',
- 'pen-alt',
- 'pen-fancy',
- 'pen-nib',
- 'pen-square',
- 'pencil-alt',
- 'pencil-ruler',
- 'people-carry',
- 'pepper-hot',
- 'percent',
- 'percentage',
- 'person-booth',
- 'phone',
- 'phone-alt',
- 'phone-slash',
- 'phone-square',
- 'phone-square-alt',
- 'phone-volume',
- 'photo-video',
- 'piggy-bank',
- 'pills',
- 'pizza-slice',
- 'place-of-worship',
- 'plane',
- 'plane-arrival',
- 'plane-departure',
- 'play',
- 'play-circle',
- 'plug',
- 'plus',
- 'plus-circle',
- 'plus-square',
- 'podcast',
- 'poll',
- 'poll-h',
- 'poo',
- 'poo-storm',
- 'poop',
- 'portrait',
- 'pound-sign',
- 'power-off',
- 'pray',
- 'praying-hands',
- 'prescription',
- 'prescription-bottle',
- 'prescription-bottle-alt',
- 'print',
- 'procedures',
- 'project-diagram',
- 'puzzle-piece',
- 'qrcode',
- 'question',
- 'question-circle',
- 'quidditch',
- 'quote-left',
- 'quote-right',
- 'quran',
- 'radiation',
- 'radiation-alt',
- 'rainbow',
- 'random',
- 'receipt',
- 'record-vinyl',
- 'recycle',
- 'redo',
- 'redo-alt',
- 'registered',
- 'remove-format',
- 'reply',
- 'reply-all',
- 'republican',
- 'restroom',
- 'retweet',
- 'ribbon',
- 'ring',
- 'road',
- 'robot',
- 'rocket',
- 'route',
- 'rss',
- 'rss-square',
- 'ruble-sign',
- 'ruler',
- 'ruler-combined',
- 'ruler-horizontal',
- 'ruler-vertical',
- 'running',
- 'rupee-sign',
- 'sad-cry',
- 'sad-tear',
- 'satellite',
- 'satellite-dish',
- 'save',
- 'school',
- 'screwdriver',
- 'scroll',
- 'sd-card',
- 'search',
- 'search-dollar',
- 'search-location',
- 'search-minus',
- 'search-plus',
- 'seedling',
- 'server',
- 'shapes',
- 'share',
- 'share-alt',
- 'share-alt-square',
- 'share-square',
- 'shekel-sign',
- 'shield-alt',
- 'ship',
- 'shipping-fast',
- 'shoe-prints',
- 'shopping-bag',
- 'shopping-basket',
- 'shopping-cart',
- 'shower',
- 'shuttle-van',
- 'sign',
- 'sign-in-alt',
- 'sign-language',
- 'sign-out-alt',
- 'signal',
- 'signature',
- 'sim-card',
- 'sitemap',
- 'skating',
- 'skiing',
- 'skiing-nordic',
- 'skull',
- 'skull-crossbones',
- 'slash',
- 'sleigh',
- 'sliders-h',
- 'smile',
- 'smile-beam',
- 'smile-wink',
- 'smog',
- 'smoking',
- 'smoking-ban',
- 'sms',
- 'snowboarding',
- 'snowflake',
- 'snowman',
- 'snowplow',
- 'socks',
- 'solar-panel',
- 'sort',
- 'sort-alpha-down',
- 'sort-alpha-down-alt',
- 'sort-alpha-up',
- 'sort-alpha-up-alt',
- 'sort-amount-down',
- 'sort-amount-down-alt',
- 'sort-amount-up',
- 'sort-amount-up-alt',
- 'sort-down',
- 'sort-numeric-down',
- 'sort-numeric-down-alt',
- 'sort-numeric-up',
- 'sort-numeric-up-alt',
- 'sort-up',
- 'spa',
- 'space-shuttle',
- 'spell-check',
- 'spider',
- 'spinner',
- 'splotch',
- 'spray-can',
- 'square',
- 'square-full',
- 'square-root-alt',
- 'stamp',
- 'star',
- 'star-and-crescent',
- 'star-half',
- 'star-half-alt',
- 'star-of-david',
- 'star-of-life',
- 'step-backward',
- 'step-forward',
- 'stethoscope',
- 'sticky-note',
- 'stop',
- 'stop-circle',
- 'stopwatch',
- 'store',
- 'store-alt',
- 'stream',
- 'street-view',
- 'strikethrough',
- 'stroopwafel',
- 'subscript',
- 'subway',
- 'suitcase',
- 'suitcase-rolling',
- 'sun',
- 'superscript',
- 'surprise',
- 'swatchbook',
- 'swimmer',
- 'swimming-pool',
- 'synagogue',
- 'sync',
- 'sync-alt',
- 'syringe',
- 'table',
- 'table-tennis',
- 'tablet',
- 'tablet-alt',
- 'tablets',
- 'tachometer-alt',
- 'tag',
- 'tags',
- 'tape',
- 'tasks',
- 'taxi',
- 'teeth',
- 'teeth-open',
- 'temperature-high',
- 'temperature-low',
- 'tenge',
- 'terminal',
- 'text-height',
- 'text-width',
- 'th',
- 'th-large',
- 'th-list',
- 'theater-masks',
- 'thermometer',
- 'thermometer-empty',
- 'thermometer-full',
- 'thermometer-half',
- 'thermometer-quarter',
- 'thermometer-three-quarters',
- 'thumbs-down',
- 'thumbs-up',
- 'thumbtack',
- 'ticket-alt',
- 'times',
- 'times-circle',
- 'tint',
- 'tint-slash',
- 'tired',
- 'toggle-off',
- 'toggle-on',
- 'toilet',
- 'toilet-paper',
- 'toolbox',
- 'tools',
- 'tooth',
- 'torah',
- 'torii-gate',
- 'tractor',
- 'trademark',
- 'traffic-light',
- 'trailer',
- 'train',
- 'tram',
- 'transgender',
- 'transgender-alt',
- 'trash',
- 'trash-alt',
- 'trash-restore',
- 'trash-restore-alt',
- 'tree',
- 'trophy',
- 'truck',
- 'truck-loading',
- 'truck-monster',
- 'truck-moving',
- 'truck-pickup',
- 'tshirt',
- 'tty',
- 'tv',
- 'umbrella',
- 'umbrella-beach',
- 'underline',
- 'undo',
- 'undo-alt',
- 'universal-access',
- 'university',
- 'unlink',
- 'unlock',
- 'unlock-alt',
- 'upload',
- 'user',
- 'user-alt',
- 'user-alt-slash',
- 'user-astronaut',
- 'user-check',
- 'user-circle',
- 'user-clock',
- 'user-cog',
- 'user-edit',
- 'user-friends',
- 'user-graduate',
- 'user-injured',
- 'user-lock',
- 'user-md',
- 'user-minus',
- 'user-ninja',
- 'user-nurse',
- 'user-plus',
- 'user-secret',
- 'user-shield',
- 'user-slash',
- 'user-tag',
- 'user-tie',
- 'user-times',
- 'users',
- 'users-cog',
- 'utensil-spoon',
- 'utensils',
- 'vector-square',
- 'venus',
- 'venus-double',
- 'venus-mars',
- 'vial',
- 'vials',
- 'video',
- 'video-slash',
- 'vihara',
- 'voicemail',
- 'volleyball-ball',
- 'volume-down',
- 'volume-mute',
- 'volume-off',
- 'volume-up',
- 'vote-yea',
- 'vr-cardboard',
- 'walking',
- 'wallet',
- 'warehouse',
- 'water',
- 'wave-square',
- 'weight',
- 'weight-hanging',
- 'wheelchair',
- 'wifi',
- 'wind',
- 'window-close',
- 'window-maximize',
- 'window-minimize',
- 'window-restore',
- 'wine-bottle',
- 'wine-glass',
- 'wine-glass-alt',
- 'won-sign',
- 'wrench',
- 'x-ray',
- 'yen-sign',
- 'yin-yang',
- ]
- module.exports = [
- {
- url: '/icon/getList',
- type: 'post',
- response(config) {
- const { title, pageNo = 1, pageSize = 72 } = config.body
- let mockList = data.filter((item) => {
- if (title && item.indexOf(title) < 0) return false
- return true
- })
- const pageList = mockList.filter(
- (item, index) =>
- index < pageSize * pageNo && index >= pageSize * (pageNo - 1)
- )
- return {
- code: 200,
- msg: 'success',
- totalCount: mockList.length,
- data: pageList,
- }
- },
- },
- ]
|