You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
13 KiB

3 months ago
{"version":3,"sources":["uni-app:///components/search.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?9241","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?4954","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?e039","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?ea74","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?b458","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/search.vue?f121"],"names":["name","props","type","default","placeholder","searchStyle","textAlign","padding","margin","radius","height","backgroundColor","frontColor","autofocus","disabled","focus","keyword","confirmSearch","created","data","searchStyleObj","square","circle","text","computed","primaryColor","subColor","methods","confirm","handerInput"],"mappings":";;;;;;;;;;;;;;;;AAwBA;;;;;;;;;;;;;;;;;;;;;;;;gBAIA;EACAA;EACAC;IACAC;MACAA;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;QACA;MACA;IACA;IACAE;MACAH;MACAC;QACA;MACA;IACA;IACAG;MACAJ;MACAC;QACA;MACA;IACA;IACAI;MACAL;MACAC;QACA;MACA;IACA;IACAK;MACAN;MACAC;QACA;MACA;IACA;IACAM;MACAP;MACAC;QACA;MACA;IACA;IACAO;MACAR;MACAC;QACA;MACA;IACA;IACAQ;MACAT;MACAC;QACA;MACA;IACA;IACAS;MACAV;MACAC;QACA;MACA;IACA;IACAU;MACAX;MACAC;QACA;MACA;IACA;IACAW;MACAZ;MACAC;QACA;MACA;IACA;IACAY;MACAb;MACAC;QACA;MACA;IACA;IACAa;MACAd;MACAC;QACA;MACA;IACA;IACAc;MACAf;MACAC;QACA;MACA;IACA;EACA;EACAe,6BAEA;EACAC;IACA;MACAC;QACAC;QACAZ;QACAa;MACA;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACAC;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;ACtJA;AAAA;AAAA;AAAA;AAAknC,CAAgB,imCAAG,EAAC,C;;;;;;;;;;;ACAtoC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACa;;;AAGlE;AACuM;AACvM,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAuxB,CAAgB,oyBAAG,EAAC,C","file":"components/search.js","sourcesContent":["<template>\r\n\t<view class='search-box'\r\n\t\t:style='{padding:`${padding}rpx`,margin:`${margin}rpx`,borderRadius:`${radius}rpx`,background:backgroundColor}'>\r\n\t\t<view class='search-item' :class=\"[{'flex-y-center': type == 'text'},{'flex-between': type == 'input'}]\"\r\n\t\t\t:style='{borderRadius:searchStyleObj[searchStyle],background:frontColor,justifyContent:textAlign,height:height}'>\r\n\t\t\t<block v-if=\"type=='text'\">\r\n\t\t\t\t<image src='https://lbqny.migugu.com/admin/public/search.png' class=\"search-icon\"></image>\r\n\t\t\t\t<view class='ml-md placeholder'>{{placeholder}}</view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"type=='input'\">\r\n\t\t\t\t<view class=\"flex-y-center flex-1\">\r\n\t\t\t\t\t<image src='https://lbqny.migugu.com/admin/public/search.png' class=\"search-icon\"></image>\r\n\t\t\t\t\t<input type='text' class=\"flex-1 ml-md mr-md f-paragraph c-title\" :disabled=\"disabled\"\r\n\t\t\t\t\t\t:placeholder='placeholder' placeholder-class='f-paragraph c-caption' confirm-type=\"search\"\r\n\t\t\t\t\t\t@input=\"handerInput\" :value=\"keyword\" @confirm=\"confirm\" :auto-focus=\"autofocus\"></input>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class='search-item-btn flex-center radius' :style=\"{background:primaryColor}\" @tap='confirm'\r\n\t\t\t\t\tv-if=\"confirmSearch\">搜索</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tname: 'search',\r\n\t\tprops: {\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn 'text'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tplaceholder: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn \"输入关键字进行搜索\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsearchSt