1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-searchZmt"],{"023b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACDElEQVQ4T5WTv2uTYRDHv9/3DYIUuwja/gMioqVCNxFE0C5S6KCiiyg197wpwcHBQSSZHNOlzfsjVNAxoXbpGIdKQHGSioM/RxNF04hbePOcPKEpoVZbn+nuubvP3T3PHTF0qtXqgU6nc0NVrwE4DWAUwHcAL1X1sTFmFYAOx3CglMvlCc/zqk5X1dj3/Ya1tmOtHfN9/7yqGpLvut3u9Xw+/2UQ1wdUKpUJa+06gHKz2SwUi8V0OIuTl5eXD6VpmgCYstaeCYLgm7unK7vdbm+o6koQBPd3Bg7rxWLRGx8fX1FV3xgz0weEYXib5N1Wq3Vyt8w7gWEYHiH5CcBFY8wLRlH0jOSaiCz8K/uwLYqiRyR/icgdxnG8aa2dDoLg1X4BSZLcUtWbInLWAVKSJ7LZ7Pv9AsIwnPU8ryAik66FrwAuG2Oe7xcQRVGO5KyIXHAVrKrqhjGm8B+ApwDeGmMeMEmSGWttheQxEfm5FySO4+Oq+hrAKWPMh/4gbf3EZr1ev1qr1Xp/g5RKpYMjIyMNAA33A/052JrEo71eb53kxzRN5+bn51u7QZaWlsYymcwbAAsi8nAb4ITFxcXDmUwmITkNwPXYINlR1TGSbhe6InIliqIpknUA90Qk3l6mQUbnAMBt4yTJUVX9oapuG5/kcrnPzi8Mw3Oe562RnPsDsNcjDuxJklxS1dJvWX/x3Bk5WxsAAAAASUVORK5CYII="},"45bd":function(t,e,i){"use strict";i.r(e);var a=i("9102"),n=i("8867");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6ca5");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"56c712a8",null,!1,a["a"],r);e["default"]=c.exports},"6ca5":function(t,e,i){"use strict";var a=i("9e0a"),n=i.n(a);n.a},8867:function(t,e,i){"use strict";i.r(e);var a=i("b710"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},9102:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"Search-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e)}}},[a("v-uni-view",{staticClass:"Search-box-size"},[a("v-uni-image",{staticClass:"box-img",attrs:{src:i("023b")}}),a("v-uni-input",{staticClass:"box-word",attrs:{type:"text",placeholder:"请输入关键字"},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),a("v-uni-view",{staticClass:"Search-box-sort",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getList("click")}}},[t._v("搜索")])],1),a("v-uni-view",{staticStyle:{height:"100rpx"}}),t._l(t.list,(function(e){return a("v-uni-view",{staticClass:"dy-wrap flex",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navTo("/pages/user/dydetail?id="+e.id)}}},[a("v-uni-view",{staticClass:"user-logo"},[a("v-uni-image",{attrs:{src:e.headimg,mode:""}})],1),a("v-uni-view",{staticClass:"user-num"},[a("v-uni-view",{staticClass:"user-name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"sub-num"},[t._v("发表文章:"+t._s(e.count))]),a("v-uni-view",{staticClass:"read-num"},[t._v("阅读量:"+t._s(e.visit))])],1),a("v-uni-view",{staticClass:"flex_direction"},[a("v-uni-view",{staticClass:"dy-btn",class:{dying:1==e.is_sub},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.dingYue(e)}}},[t._v(t._s(1==e.is_sub?"已订阅":"订阅"))]),e.join?a("v-uni-view",{staticClass:"jr-btn",class:{dying:1==e.join},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toJoin(e)}}},[t._v("已加入")]):t._e(),e.joins||e.join?t._e():a("v-uni-view",{staticClass:"jr-btn",class:t.dying,staticStyle:{display:"block"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toJoin(e)}}},[t._v("加入")])],1)],1)}))],2)},o=[]},"9e0a":function(t,e,i){var a=i("a1d3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("c59e651e",a,!0,{sourceMap:!1,shadowMode:!1})},a1d3:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.content[data-v-56c712a8]{background-color:#fff}.jr-btn[data-v-56c712a8]{flex-shrink:0;text-align:center;width:%?136?%;line-height:%?66?%;border-radius:%?10?%;font-size:%?28?%;font-weight:500;margin-top:%?20?%;background:#e6645f;color:#fff}.Search-box[data-v-56c712a8]{position:absolute;top:0;width:%?750?%;padding-left:%?20?%;padding-right:%?20?%;height:%?100?%;background:#fff;display:flex;justify-content:space-around;align-items:center}.Search-box .Search-box-sort[data-v-56c712a8]{font-size:%?30?%;flex-shrink:0;font-weight:500;color:#666}.Search-box .Search-box-sort .sort-text[data-v-56c712a8]{width:%?57?%;height:%?29?%;font-size:%?30?%;font-weight:500;color:#333;line-height:%?58?%;margin-right:%?19?%}.Search-box .Search-box-sort .sort-img[data-v-56c712a8]{width:%?21?%;height:%?11?%;margin-bottom:%?4?%}.Search-box .Search-box-size[data-v-56c712a8]{width:%?605?%;height:%?65?%;border-radius:%?32?%;background-color:#f1f1f1;padding-left:%?36?%;display:flex;align-items:center}.Search-box .Search-box-size .box-img[data-v-56c712a8]{height:%?32?%;width:%?32?%;margin-right:%?16?%}.Search-box .Search-box-size .box-word[data-v-56c712a8]{padding:%?10?%;width:100%;font-size:%?22?%;font-weight:500;color:#cdcbcb;line-height:%?55?%;height:%?60?%;color:#000}.dy-wrap[data-v-56c712a8]{width:%?707?%;background:#fff;margin:auto;border-bottom:#e9e9e9 solid 1px;padding:%?20?% 0}.dy-wrap .user-logo[data-v-56c712a8]{flex-shrink:0;height:%?100?%;width:%?100?%;border-radius:50%}.dy-wrap .user-logo uni-image[data-v-56c712a8]{width:100%;height:100%;border-radius:50%}.dy-wrap .user-num[data-v-56c712a8]{flex-grow:1;padding-left:%?10?%;font-size:%?24?%;font-weight:500;color:#999}.dy-wrap .user-num .user-name[data-v-56c712a8]{font-size:%?34?%;font-weight:600;color:#333;padding-right:%?20?%;padding:0 %?20?% %?20?% 0}.dy-wrap .dy-btn[data-v-56c712a8]{flex-shrink:0;text-align:center;width:%?136?%;line-height:%?66?%;border-radius:%?10?%;font-size:%?28?%;font-weight:500;background:#e6645f;color:#fff}.dy-wrap .dying[data-v-56c712a8]{color:#999;background:#e9e9e9}',""]),t.exports=e},b710:function(t,e,i){"use strict";var a=i("4ea4");i("99af"),i("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("c22c"),o=a(i("a59d")),r={components:{empty:o.default},data:function(){return{list:[],page:1,limit:20,loadingType:"more",keyword:""}},onReachBottom:function(){this.getList()},methods:{navTo:function(t){uni.navigateTo({url:t})},getList:function(t){var e=this;"click"==t&&(e.list=[],e.page=1,e.loadingType="more"),(0,n.searchZmt)({page:e.page,rows:e.limit,name:e.keyword}).then((function(t){console.log(t),e.list=e.list.concat(t.data.list)}))},toJoin:function(t){this.merId||this.navTo("/pages/user/joinMedia?id="+t.id)},dingYue:function(t){var e=this;1==t.is_sub?uni.showModal({title:"提示",content:"是否取消关注?",complete:function(i){i.confirm&&(0,n.dingYue)({id:t.id}).then((function(i){console.log(i);var a=e.list.indexOf(t);e.list[a].is_sub=0,e.$api.msg("已取消关注")}))}}):(0,n.dingYue)({id:t.id}).then((function(i){var a=e.list.indexOf(t);e.list[a].is_sub=1,e.$api.msg("已关注")}))}}};e.default=r},c22c:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getZmtList=o,e.getArtTypeList=r,e.getArtList=s,e.getArtDetail=c,e.getQyType=d,e.getQyArtList=u,e.dingYue=l,e.searchZmt=f,e.searchArt=g,e.getPlList=h,e.getXgList=p,e.dianZan=v,e.subPl=b,e.getMeeting=w,e.joinMeeting=m;var n=a(i("6150"));function o(t){return(0,n.default)({url:"/api/enterprise/putlist",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/article/category/list",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/article/hot/list",method:"get",data:t})}function c(t,e){return(0,n.default)({url:"/api/article/details/"+e,method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/enterprise/stylelist",method:"get",data:t})}function u(t){return(0,n.default)({url:"/api/enterprise/lists",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/user/sub",method:"get",data:t})}function f(t){return(0,n.default)({url:"/api/enterprise/search",method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/article/keyword",method:"get",data:t})}function h(t,e){return(0,n.default)({url:"/api/article/reply_list/"+e,method:"get",data:t})}function p(t){return(0,n.default)({url:"/api/article/relevant/list",method:"get",data:t})}function v(t,e){return(0,n.default)({url:"/api/article/good/"+e,method:"post",data:t})}function b(t,e){return(0,n.default)({url:"/api/article/reply/"+e,method:"post",data:t})}function w(t){return(0,n.default)({url:"/api/mee/get",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/mee/set",method:"post",data:t})}}}]);
|