yunshangxie/unpackage/dist/build/h5/static/js/pages-index-search-search.4...

1 line
17 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-search-search","pages-index-home"],{"03bf":function(t,e,n){"use strict";n.r(e);var i=n("0732"),a=n("6b16");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("9e76");var o=n("f0c5"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"75f4c048",null,!1,i["a"],void 0);e["default"]=s.exports},"0732":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={tnNavBar:n("5d27").default,tnTabs:n("8772").default,tnButton:n("f566").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticStyle:{"letter-spacing":"1rpx"}},[n("tn-nav-bar",{attrs:{isBack:!1,backTitle:"",bottomShadow:!0,backgroundColor:"#FFFFFF"}},[n("v-uni-view",{staticClass:"custom-nav tn-flex tn-flex-col-center tn-flex-row-left"},[n("v-uni-view",{staticStyle:{"padding-left":"15rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack()}}},[n("v-uni-text",{staticClass:"tn-icon-left",staticStyle:{"font-size":"40rpx"}})],1),n("v-uni-view",{staticClass:"tn-margin-top",staticStyle:{"text-shadow":"1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF"}},[n("tn-tabs",{attrs:{list:[{name:"搜索"}],current:t.topCurrent,activeColor:"#000",bold:!1,fontSize:36}})],1)],1)],1),n("v-uni-view",[n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-flex-col-center tn-margin",style:{marginTop:t.vuex_custom_bar_height+20+"px"}},[n("v-uni-view",{staticClass:"justify-content-item align-content-item",staticStyle:{width:"100%"}},[n("v-uni-view",{staticClass:"tn-flex tn-flex-col-center",staticStyle:{"border-radius":"100rpx",padding:"10rpx 20rpx 10rpx 20rpx",width:"95%","background-color":"rgba(248, 247, 248, 0.9)"}},[n("v-uni-text",{staticClass:"tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg"}),n("v-uni-input",{staticClass:"justify-content-item",staticStyle:{width:"90%"},attrs:{placeholder:"请填写搜索内容",name:"input","placeholder-style":"color:#AAAAAA"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.chenkContent.apply(void 0,arguments)}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)],1),n("v-uni-view",{staticClass:"align-content-item"},[n("v-uni-view",{staticClass:"justify-content-item tn-text-center"},[n("tn-button",{attrs:{backgroundColor:"#3668fc",shape:"round",padding:"20rpx 20rpx",width:"150rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e)}}},[n("v-uni-text",{staticClass:"tn-color-white"},[t._v("搜 索")])],1)],1)],1)],1)],1),n("v-uni-view",[[n("v-uni-view",[n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-margin"},[n("v-uni-view",{staticClass:"justify-content-item tn-text-bold"},[n("v-uni-text",{staticClass:"tn-text-df tn-color-black"},[t._v("最近搜索")])],1),n("v-uni-view",{staticClass:"justify-content-item tn-text-df tn-color-gray"},[n("v-uni-text",{staticClass:"tn-padding-xs"},[t._v("删除")]),n("v-uni-text",{staticClass:"tn-icon-delete"})],1)],1)],1),n("v-uni-view",{},[n("v-uni-view",{staticClass:"tn-tag-search tn-text-justify",staticStyle:{padding:"0rpx 30rpx"}},t._l(t.tagList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"tn-tag-search__item tn-margin-right tn-round tn-text-sm tn-bg-gray--light tn-color-gray"},[t._v(t._s(e.name))])})),1)],1)],n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-padding-bottom",staticStyle:{"padding-top":"20rpx",margin:"30rpx 30rpx 0rpx 30rpx"}},[n("v-uni-view",{staticClass:"justify-content-item tn-text-bold"},[n("v-uni-text",{staticClass:"tn-text-df tn-color-black"},[t._v("会员搜索结果")])],1)],1),n("v-uni-view",{staticStyle:{padding:"0rpx 30rpx"}},[n("v-uni-view",{staticClass:"tn-flex tn-flex-center tn-flex-col-center",staticStyle:{"background-color":"#ffffff",padding:"30rpx","border-radius":"15rpx","margin-bottom":"20rpx","box-shadow":"0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tn("/pages/index/user_info")}}},[n("v-uni-view",[n("v-uni-image",{staticStyle:{width:"100rpx",height:"100rpx","border-radius":"50%"},attrs:{src:"/static/u1.jpg"}})],1),n("v-uni-view",{staticStyle:{"margin-left":"20rpx"}},[n("v-uni-view",{staticStyle:{"font-size":"31rpx","font-weight":"600","letter-spacing":"5rpx"}},[t._v("朱荣梅")]),n("v-uni-view",{staticStyle:{"font-size":"24rpx",color:"#808080","margin-top":"15rpx"}},[t._v("康桥集团执行总裁")])],1)],1)],1),n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-padding-bottom",staticStyle:{"padding-top":"20rpx",margin:"30rpx 30rpx 0rpx 30rpx"}},[n("v-uni-view",{staticClass:"justify-content-item tn-text-bold"},[n("v-uni-text",{staticClass:"tn-text-df tn-color-black"},[t._v("协会搜索结果")])],1)],1),n("v-uni-view",{staticStyle:{padding:"0rpx 30rpx"}},[n("v-uni-view",{staticClass:"tn-flex tn-flex-center tn-flex-col-center",staticStyle:{"background-color":"#ffffff",padding:"30rpx","border-radius":"15rpx","margin-bottom":"20rpx","box-shadow":"0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1)"}},[n("v-uni-view",[n("v-uni-image",{staticStyle:{width:"100rpx",height:"100rpx","border-radius":"50%"},attrs:{src:"/static/123.png"}})],1),n("v-uni-view",{staticStyle:{"margin-left":"20rpx"}},[n("v-uni-view",{staticStyle:{"font-size":"31rpx","font-weight":"600","letter-spacing":"5rpx"}},[t._v("河南机器人行业协会")]),n("v-uni-view",{staticStyle:{"font-size":"24rpx",color:"#808080","margin-top":"15rpx"}},[t._v("成立时间2021-09-08")])],1)],1)],1),n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-padding-bottom",staticStyle:{"padding-top":"20rpx",margin:"30rpx 30rpx 0rpx 30rpx"}},[n("v-uni-view",{staticClass:"justify-content-item tn-text-bold"},[n("v-uni-text",{staticClass:"tn-text-df tn-color-black"},[t._v("文章搜索结果")])],1)],1),n("v-uni-view",{staticStyle:{padding:"0px 30rpx"}},t._l(5,(function(e,i){return n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between",staticStyle:{"background-color":"#ffffff",padding:"20rpx","border-radius":"10rpx","margin-bottom":"20rpx","box-shadow":"0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tn("/pages/index/new_info")}}},[n("v-uni-view",{staticStyle:{position:"relative"}},[n("v-uni-view",{staticStyle:{"font-size":"28rpx"}},[t._v("团省委书记王笃波一行到访中青 企协开展对接洽谈")]),n("v-uni-view",{staticClass:"tn-flex tn-flex-row-between",staticStyle:{position:"absolute",bottom:"0rpx",width:"100%",color:"#808080"}},[n("v-uni-view",[t._v("河南青企协")]),n("v-uni-view",[n("v-uni-text",{staticClass:"tn-icon-eye"}),n("v-uni-text",[t._v("568")])],1)],1)],1),n("v-uni-view",{staticStyle:{"margin-left":"20rpx"}},[n("v-uni-image",{staticStyle:{width:"240rpx","border-radius":"10rpx"},attrs:{src:"/static/c1.jpg",mode:"widthFix"}})],1)],1)})),1)],2)],1)},r=[]},2553:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用 \r\n */.tn-search-fixed[data-v-75f4c048]{position:fixed;top:%?50?%;width:100%;transition:all .25s ease-out;z-index:1}\r\n/* 搜索标签 start*/.tn-tag-search__item[data-v-75f4c048]{display:inline-block;line-height:%?45?%;padding:%?10?% %?30?%;margin:%?20?% %?20?% %?5?% %?0?%}.tn-tag-search__item--prefix[data-v-75f4c048]{padding-right:%?10?%}\r\n/* 标签内容 end*/\r\n/* 标题 start */.nav_title[data-v-75f4c048]{-webkit-background-clip:text;color:transparent}.nav_title--wrap[data-v-75f4c048]{position:relative;display:flex;height:%?120?%;font-size:%?42?%;align-items:center;justify-content:center;font-weight:700;background-image:url(https://resource.tuniaokj.com/images/title_bg/title00.png);background-size:cover}\r\n/* 标题 end */\r\n/* 富文本图示意 start */.news-img[data-v-75f4c048]{z-index:-1;padding-bottom:%?40?%}.news-img uni-image[data-v-75f4c048]{width:100%;margin:%?20?% 0}\r\n/* 资讯主图 start*/.image-article[data-v-75f4c048]{border-radius:%?8?%;border:%?1?% solid #f8f7f8;width:%?200?%;height:%?200?%;position:relative}.image-pic[data-v-75f4c048]{background-size:cover;background-repeat:no-repeat;background-position:top;border-radius:%?10?%}.article-shadow[data-v-75f4c048]{border-radius:%?15?%;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07)}\r\n/* 文字截取*/.clamp-text-1[data-v-75f4c048]{-webkit-line-clamp:1;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden}.clamp-text-2[data-v-75f4c048]{-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden}\r\n/* 标签内容 start*/.tn-tag-content__item[data-v-75f4c048]{display:inline-block;line-height:%?35?%;padding:%?7?% %?25?% %?5?% %?25?%}.tn-tag-content__item--prefix[data-v-75f4c048]{padding-right:%?10?%}\r\n/* 标签内容 end*/',""]),t.exports=e},"29fd":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用 \r\n */.tn-btn[data-v-d2dc7f56]{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;text-align:center;text-decoration:none;overflow:visible;-webkit-transform:translate(%?0?%,%?0?%);transform:translate(%?0?%,%?0?%);border-radius:%?12?%;margin:0}.tn-btn--plain[data-v-d2dc7f56]{background-color:initial!important;background-image:none}.tn-btn--plain.tn-round[data-v-d2dc7f56]{border-radius:%?1000?%!important}',""]),t.exports=e},"6b16":function(t,e,n){"use strict";n.r(e);var i=n("6b43"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"6b43":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{content:"",topCurrent:0,tagList:[{name:"李小兵"},{name:"李小兵"}]}},methods:{tn:function(t){uni.navigateTo({url:t})},goBack:function(){getCurrentPages().length>1?uni.navigateBack():uni.redirectTo({url:"/pages/index/index"})}}};e.default=i},7139:function(t,e,n){"use strict";n.r(e);var i=n("80e7"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"80e7":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("c975"),n("fb6a"),n("baa5"),n("caad"),n("2532");var a=i(n("16ca")),r=n("e725"),o={mixins:[a.default],name:"tn-button",behaviors:["wx://form-field-button"],props:{index:{type:[Number,String],default:0},shape:{type:String,default:"default"},shadow:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:""},size:{type:String,default:""},fontBold:{type:Boolean,default:!1},padding:{type:String,default:"0 30rpx"},margin:{type:String,default:""},plain:{type:Boolean,default:!1},border:{type:Boolean,default:!0},borderBold:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},formType:{type:String,default:""},openType:{type:String,default:""},blockRepeatClick:{type:Boolean,default:!1},scene:{type:String,default:"none"},blockTime:{type:Number,default:200}},computed:{buttonClass:function(){var t="";switch(this.shape){case"icon":case"round":t+=" tn-round";break}if(this.shadow)if(""!==this.backgroundColorClass&&-1!=this.backgroundColorClass.indexOf("tn-bg")){var e=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-shadow-".concat(e)}else t+=" tn-shadow-blur";if(this.fontBold&&(t+=" tn-text-bold"),this.plain&&(t+=" tn-btn--plain",this.border&&(t+=" tn-border-solid",this.borderBold&&(t+=" tn-bold-border"),""!==this.backgroundColor&&this.backgroundColor.includes("tn-bg")))){var n=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-border-".concat(n)}return t},buttonStyle:function(){var t={};switch(this.size){case"sm":t.padding="0 20rpx",t.fontSize="22rpx",t.height=this.height||"48rpx";break;case"lg":t.padding="0 40rpx",t.fontSize="32rpx",t.height=this.height||"80rpx";break;default:t.padding="0 30rpx",t.fontSize="28rpx",t.height=this.height||"64rpx"}return this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),t.width="icon"===this.shape?t.height:this.width,t.padding="icon"===this.shape?"0":t.padding,this.fontColorStyle&&(t.color=this.fontColorStyle),this.backgroundColorClass||(this.plain?t.borderColor=this.backgroundColorStyle||"#080808":t.backgroundColor=this.backgroundColorStyle||"#FFFFFF"),this.shadow&&!this.backgroundColorClass&&(-1!=this.backgroundColorStyle.indexOf("#")?t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"#000000","10"):-1==this.backgroundColorStyle.indexOf("rgb")&&-1==this.backgroundColorStyle.indexOf("rgba")&&this.backgroundColorStyle||(t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"rgba(0, 0, 0, 0.1)"))),t}},data:function(){return{}},watch:{blockTime:{handler:function(t,e){this.initScene()}}},mounted:function(){this.initScene()},methods:{initScene:function(){this.debounceClick=(0,r.debounceFun)((function(){this.emitClick()}),this.blockTime),this.throttleClick=(0,r.throttleFun)((function(){this.emitClick()}),this.blockTime)},debounceClick:(0,r.debounceFun)((function(){this.emitClick()}),200),throttleClick:(0,r.throttleFun)((function(){this.emitClick()}),200),emitClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})},handleClick:function(){this.disabled||(this.blockRepeatClick?this.throttleClick():"none"===this.scene?this.emitClick():"debounce"==this.scene?this.debounceClick():this.throttleClick())},handleGetUserInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,n=void 0===e?{}:e;this.$emit("getuserinfo",n)},handleContact:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,n=void 0===e?{}:e;this.$emit("contact",n)},handleGetPhoneNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,n=void 0===e?{}:e;this.$emit("getphonenumber",n)},handleError:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,n=void 0===e?{}:e;this.$emit("error",n)}}};e.default=o},"9e76":function(t,e,n){"use strict";var i=n("ae27"),a=n.n(i);a.a},ae27:function(t,e,n){var i=n("2553");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("4b8b34a1",i,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(t,e,n){var i=n("23e7"),a=n("e58c");i({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},c262:function(t,e,n){"use strict";var i=n("c348"),a=n.n(i);a.a},c348:function(t,e,n){var i=n("29fd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("63d66e22",i,!0,{sourceMap:!1,shadowMode:!1})},e235:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-button",{staticClass:"tn-btn-class tn-btn",class:[t.buttonClass,t.backgroundColorClass,t.fontColorClass],style:[t.buttonStyle],attrs:{"hover-class":"tn-hover",loading:t.loading,disabled:t.disabled,"form-type":t.formType,"open-type":t.openType},on:{getuserinfo:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetUserInfo.apply(void 0,arguments)},getphonenumber:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetPhoneNumber.apply(void 0,arguments)},contact:function(e){arguments[0]=e=t.$handleEvent(e),t.handleContact.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.handleError.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},a=[]},e725:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.debounceFun=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var i=this,a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];clearTimeout(e),e=setTimeout((function(){t.apply(i,r)}),n)}},e.throttleFun=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=null;return function(){for(var i=this,a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];n||(n=setTimeout((function(){n=null,console.log("执行了"),t.apply(i,r)}),e))}}},f566:function(t,e,n){"use strict";n.r(e);var i=n("e235"),a=n("7139");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("c262");var o=n("f0c5"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"d2dc7f56",null,!1,i["a"],void 0);e["default"]=s.exports}}]);