| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[64],{2415:function(n,e,t){var i=t(2416);"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);(0,t(19).default)("04831324",i,!1,{})},2416:function(n,e,t){(n.exports=t(16)(!1)).push([n.i,"\n.component-wrapper[data-v-7bdfe75b] {\n width: 375px;\n}\n.weixin-title[data-v-7bdfe75b] {\n height: 50px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.weixin-title .left-box[data-v-7bdfe75b] {\n width: 36px;\n text-align: center;\n}\n.weixin-title .left-box .iconfont[data-v-7bdfe75b] {\n font-size: 20px;\n}\n.weixin-title .weixin-logo-one[data-v-7bdfe75b] {\n margin-right: 10px;\n box-sizing: border-box;\n border: solid 1px #ccc;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.weixin-title .weixin-logo-one img[data-v-7bdfe75b] {\n height: 30px;\n}\n.weixin-title .weixin-logo-two[data-v-7bdfe75b] {\n margin-left: 10px;\n box-sizing: border-box;\n border: solid 1px #ccc;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.weixin-title .weixin-logo-two img[data-v-7bdfe75b] {\n height: 30px;\n}\n.weixin-title .weixin-sousuo[data-v-7bdfe75b] {\n width: 96%;\n height: 30px;\n background-color: #f3f2f2;\n position: relative;\n display: flex;\n align-items: center;\n}\n.weixin-title .weixin-sousuo i[data-v-7bdfe75b] {\n font-size: 14px;\n display: inline-block;\n margin-right: 10px;\n margin-left: 10px;\n}\n.weixin-title .text-over[data-v-7bdfe75b] {\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: break-word;\n overflow: hidden;\n}\n.block[data-v-7bdfe75b] {\n width: 50px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.padding[data-v-7bdfe75b] {\n padding-left: 10px;\n}\n.center[data-v-7bdfe75b] {\n justify-content: center;\n}\n.borderOne[data-v-7bdfe75b] {\n border-left: solid 1px #ccc;\n}\n.w[data-v-7bdfe75b] {\n width: 310px !important;\n}\n.scroll[data-v-7bdfe75b] {\n overflow-x: scroll;\n}\n",""])},2489:function(n,e,t){"use strict";t.r(e);var i=function(){if(this.datas.preview_color){var n=this.datas,e=n.preview_color,t=n.show_code,i=n.code_color,o=n.search_border_radius,a=n.font_size,s=n.font_color,r=n.search_color,c=n.search_height,d=n.border_style,l=n.border_color,p=n.btn_font_color,b=n.btn_bg_color;return"\n .component-"+this.id+" .weixin-title {\n background-color: "+e.color+";\n background-image: url("+(2==e.isColor?e.image:"")+");\n background-size: 100% 100%;\n background-position: center;\n background-repeat: no-repeat;\n color: "+s+";\n height: "+c+"px;\n line-height: "+c+"px;\n margin-right: "+(t?"8":"")+"px;\n }\n\n .component-"+this.id+" .weixin-title .weixin-sousuo {\n background-color: "+(r||"#f8f8f8")+";\n border-radius: "+o+"px;\n border: solid "+d+"px "+l+";\n font-size: "+a+"px;\n }\n\n .component-"+this.id+" .left-box .iconfont{\n color: "+i+";\n }\n\n .component-"+this.id+" .search-btn {\n background-color: "+(b||"#f3f2f2")+";\n color: "+(p||"#666666")+";\n }\n\n "}},o={props:["id","datas","styles"],computed:{css:function(){return"<style>"+i.call(this)+"</style>"},className:function(){return["component-wrapper","component-"+this.id]}},methods:{px2rem:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n/75+"rem"}},mounted:function(){this.$emit("loaded")}},a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{class:n.className},[t("div",{domProps:{innerHTML:n._s(n.css)}}),n._v(" "),t("div",{staticClass:"weixin-title"},[n.datas.show_code?t("div",{staticClass:"left-box"},[t("i",{staticClass:"iconfont icon-energetankshop_code"})]):n._e(),n._v(" "),t("div",{staticClass:"weixin-sousuo",class:{w:2==n.datas.search_style,center:"center"==n.datas.position_style,padding:2==n.datas.search_style}},[1==n.datas.search_style?t("i",{staticClass:"iconfont icon-all_search_2"}):n._e(),n._v(" "),t("div",{staticClass:"text-over"},[n._v(n._s(n.datas.search_title))])]),n._v(" "),2==n.datas.search_style?t("span",{staticClass:"block search-btn",class:{borderOne:2==n.datas.search_style}},[n._v("搜索")]):n._e()])])};a._withStripped=!0;var s=t(11);var r=function(n){t(2415)},c=Object(s.a)(o,a,[],!1,r,"data-v-7bdfe75b",null);c.options.__file="src\\ui-component\\U_search\\m\\index.vue";e.default=c.exports}}]);
|