12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44d211fe"],{1195:function(t,a,s){t.exports=s.p+"img/avatar.0166dac5.png"},"1c4e":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABKtJREFUWEe1l2toXEUUx//n7s2SgEoTaUliq2CNWvWL4qOIaUOIWCrSL0YpWMjj3rO71kVFEaHoulZaFRQlNcmdiZtAFGrXfKkShGITiWALShFaK0F8lmysSGJ95LV7RybMhk2yyWbzmA/LcufMOb85c86ZM4SVDXJddxcR7VFK7SSiGgAVAGwAfwP4GcC3RHQ6GAyebGtru7IytQAtJ9jU1FRaUlISIqJnAdywQqUTAD4MBAJHOzo6fiy0ZkmAcDhc5/t+F4DtOUrGAAwBOK+UumxZ1oxSapNSqoaI7gdwc47sJIDXq6qqDsfjcX8pkLwAzHwQwDvGxXrtWaXUa9XV1Z/F4/H0UspCodBtvu9HiagVQImWU0r1l5aW7l/qWBYBMPPbALTL9RgloqjneR8XcmXuvOu62hPHiOhBA3ExnU7v7u7u/mOhnnkAzPwUgDYjdM627X3t7e2/FWM8KxuLxaxUKvUmgOcMxND4+HhDMpmcztU3B2DO/JRx+7mJiYna3t7ef1djPHcNM78E4FXzTQghQosAdLQHg8HzJuBGbdu+d7U7zwfMzMcBPK5DwrKshs7OztNZuVkPuK77NBHpoAMRNRZ75oW81NLScrVt2z8A2ALgayHEPbkAxMw/mTw/K4TYWUjhauZz40spVSel/GJ2w47j1FmWNWAC5REp5aerMVBoDTPrtLykvaCUel9K6cwCMPNRAC8CGKuqqtqyXJ4XMlJonpnbAUQ0iBBi2yyA67oDRFQH4KQQYl8hJWuZZ+ZGACe0Dt/3t3V1dV3SHtBuuQ7AESHEobUYKLTWcZwdlmV9Z+TqhRADGuA/AGVKqWeklO8WUrKW+dbW1opAIPCnibdHpZR9GkBXphIiOuh5nj6jDRvRaPSaqampvwzAfinlcQ2gifTd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4XCoUX+vF4rOs6VBRF1Wo1lmW/LNDYbDaKomAq8GKxWCqVnuqHwyFuDULTdL1eZxgG/NsC2O12cNlut+CiKFYqFYIg7vWDwaDf74Mkk0nk43ut/1gAmEJVVdu2wQVBwIJJkry2IIYFCJKRjyluql8WADaCvWA74NlsVpblcDjc7XZHoxEqqVQK+fF4/F7yaAF4ntdsNmezGXgikYhEIuv1GjydTkOPV3g4/8QC8H2/0+ng8W8VnuclSYpGo38PP7e4YrVazedzDJXJZF78dZ8CDABpWeKbD1ENwwAAAABJRU5ErkJggg=="},"658f":function(t,a,s){},d2b7:function(t,a,s){"use strict";s.r(a);s("a481"),s("28a5");var i=function(){var t=this,a=t._self._c;return a("div",{staticClass:"wrap"},[a("div",{staticClass:"header-wrap"},[a("div",{staticClass:"header"},[a("img",{staticClass:"return-img",attrs:{src:s("f5a4")},on:{click:function(a){return t.$router.back()}}}),a("p",{staticClass:"header-title"},[t._v("搜索需求")])]),a("div",{staticClass:"search-box"},[a("div",{staticClass:"search-bar",on:{click:function(a){return t.$router.back()}}},[a("img",{staticClass:"search-icon",attrs:{src:s("1c4e")}}),a("input",{ref:"searchInput",staticClass:"search-input",attrs:{type:"search",placeholder:"请输入关键字进行搜索",disabled:""},domProps:{value:t.params.title}})])]),a("ul",{directives:[{name:"show",rawName:"v-show",value:t.list.length>0,expression:"list.length > 0"}],staticClass:"sub-tab-list"},[a("li",{class:{active:1===t.params.sort_type},on:{click:function(a){return t.checkTab(1)}}},[t._v("默认排序")]),a("li",{class:{active:2===t.params.sort_type||3===t.params.sort_type},on:{click:function(a){return t.checkTab(3===t.params.sort_type?2:3)}}},[t._v("\n 时间\n "),a("img",{staticClass:"tab-icon",style:{transform:"rotate(".concat(3===t.params.sort_type||1===t.params.sort_type?0:180,"deg)")},attrs:{src:s("45b0")}})])])]),a("van-list",{staticStyle:{width:"100%"},attrs:{finished:t.finished,"immediate-check":!1,"finished-text":t.list.length>0?"没有更多了":""},on:{load:t.getList},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},[a("ul",{staticClass:"list"},[t._l(t.list,(function(i,e){return a("li",{key:e,on:{click:function(a){return t.$router.push("/demand-details?demand_id=".concat(i.id))}}},[a("div",{staticClass:"item-top"},[a("img",{staticClass:"img",attrs:{src:(i.cover||"").split("|")[0]}}),a("div",{staticClass:"item-sidebar"},[a("p",{staticClass:"item-name",domProps:{innerHTML:t._s(i.title)}}),a("p",{staticClass:"item-msg",domProps:{innerHTML:t._s(i.content.replace(/<[^<>]+>/g,"").replace(/ /gi,""))}})])]),a("div",{staticClass:"item-bottom"},[a("p",{staticClass:"item-row"},[i.app_logo?a("img",{staticClass:"item-bottom-avatar",attrs:{src:i.app_logo}}):a("img",{staticClass:"item-bottom-avatar",attrs:{src:s("1195")}}),t._v("\n "+t._s(i.app_name||"匿名用户")+"\n\t\t\t\t\t")]),a("p",{staticClass:"row-price"},[t._v("\n\t\t\t\t\t\t出价:"),a("span",[t._v(t._s(i.money))])])]),0===i.is_over?a("span",{staticClass:"item-tag"},[t._v("待解决")]):t._e(),1===i.is_over?a("span",{staticClass:"item-tag blue"},[t._v("已解决")]):t._e(),2===i.is_over?a("span",{staticClass:"item-tag green"},[t._v("开源项目")]):t._e()])})),0===t.list.length?a("div",{staticClass:"normal-box-small"},[a("img",{attrs:{src:s("e18b")}}),t._v("\n\t\t\t\t暂无数据\n\t\t\t")]):t._e()],2)]),a("div",{staticClass:"float-box"},[a("button",{attrs:{type:"button"},on:{click:function(a){return t.$router.replace("/contact-online")}}},[t._v("没找到?点我反馈")])])],1)},e=[],c=s("2909"),n=(s("3b2b"),s("6d67"),s("f523")),A={components:{},data:function(){return{title:"",params:{title:"",sort_type:1,page:1,page_num:20},list:[],loading:!1,finished:!1}},mounted:function(){var t=this.$route.query;this.params.title=t.key||"",this.getList()},methods:{checkTab:function(t){this.params.sort_type=t,this.finished=!1,this.params.page=1,this.getList()},getList:function(){var t=this;this.loading=!0,n["h"].getDemandList(this.params).then((function(a){var s=a.data,i=s.list.map((function(a){return a.title=a.title.replace(RegExp(t.params.title,"g"),'<span style="color: #FF6700">'.concat(t.params.title,"</span>")),a}));t.list=1===t.params.page?i:[].concat(Object(c["a"])(t.list),Object(c["a"])(i)),i.length<t.params.page_num?t.finished=!0:t.params.page++})).finally((function(){t.loading=!1}))}}},r=A,l=(s("d982"),s("2877")),o=Object(l["a"])(r,i,e,!1,null,"02b5655f",null);a["default"]=o.exports},d982:function(t,a,s){"use strict";s("658f")},e18b:function(t,a,s){t.exports=s.p+"img/normal.bfd5e89f.png"},f5a4:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII="}}]);
- //# sourceMappingURL=chunk-44d211fe.28e9cc42.js.map
|