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 lines
14 KiB
1 lines
14 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dongtai-index"],{"06c9":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABR1JREFUWEfFl29o1VUYx7/P77bt2pjONVvp7P7OuYK0SrL0TaApRv+wKMNEISiLlCxQk6jESAjCUsre+CIto6DMaCEhZkmBBUZaGbLKvOec21puuNR1c9PNnaf73H6/cTd1u4uJz6t7uec8z+c+/w/hEguVal8pVQfgHgAzAEwBEAKoAkBElGPmLBH95L3fC2CHc661FN1DAqRSqVuCIHgGwFwiSsRKmfkUEZ2Ivo+JYApfmbkXwE4iesUY8/VgIBcECMPwKiJ6g4jmRwramHk7Ee1i5v3W2rZixZMmTRrnvZ/OzHcAmE9EV0e/N/b29i7LZrNHzwdyXgCl1Awi2g5A3N6cv/iiMeY9AN2luBVAWRiGi/KxWUtEKQDHiGhBJpP5cuD9cwC01nfnY/wxgApm3pzL5Va2t7fnSjTc71hdXV1lZWXlBgBLAJxh5gettTuKD/UD0FqLC78CMIqZVzjnNv4fwwPvKKWWAZBwnvHez3bOfRuf6QOIaA8CSHvvn3XOrRsJ47EOpdTTRLSemV0ul5sSe7UPQCn1EhGtZuZPrbVSbiMuWutGAPflw/uyMeZ5MVAAqKmpGV1dXf2HJI/3/lrnnBtx6+LadHoiMx8GcBZAvTGmowCglHqUiDbnm8tWY8wjF8N4rFNrvQXAYmZ+3Fr7ZgFAa/0RgAekhq21uy8ywG0APgfQaIyZF3sgI621s7NzdFtb26ligAkTJtSXl5ff770/lM1mi+s4UErNAzC2o6Nj2/Hjx/+O74VhOIuIbuju7m5saWmR0PbJ+PHjL6+oqJCyzlprdeyB0wBOGGPi7lW4kE6nr2TmQwBqCwlDtDiTyWyNwiZl9dR/nZd/tNZOA+DT6fTDzPxWZLG9s7PzutbW1mPFEFrrPyX1jDHJGIABOGOMKj4YhuGCIAjej5OVmXdZa++KwibDRjplLJONMYe11jsBFM4InPd+oXNuW7FepZQk+TXW2iAG6JADxhgZKn2ilJpMROKBy0RZvkGtM8Y8F3lgBxHNFThmPsrM2jl3Wmu9FsCaCPosM19vrf11gAfEHhtjqmOA7wBMY+bQWpsdAHE7gIcA/GKtfTWeB/X19TVlZWWrAYzx3m/IZrM/R/fKtNarmLkhH8V3Bya1UipFROKB/caY6THAawCWA3jCGLOpGGCkP4dhuDQIArGx0RizvAAgMz+RSHwTJdPUkTY6wP0H8gvLTcw801q7t68Va60LYYiS5oOLAaGUkj3hQ2Y+aK29sVBZsaFUKjU7kUjskdnd09Mztbm5WUplxERWOiKSYVfnvb/TOfdZP4CotCQ2SwF8n9/t5jjnTo4EQW1tbVVVVdUeIpqej/jbxpjFsd5++0BDQ0N5V1fXbiK6VfIhCIJ7M5mMbET/W6STVlRUfALgZmbex8yyD0jjK8g5G1FEKzU+i5n/YubHnHOiYLhCWuuFAF4HMA6ALKdzZQIWK7rQUlqulFpPRE8CaDHGTCzVuvT6ZDIpM3+l/OuogW1KJpMrmpqaztkpB13LtdZd+f5wsmhGyL9aJLPce/87Ef3DzEEikRjrvddEJM1sJhFVRsAHvPernHOy5p1XSgaIOpjM8jlDeEMeKTIPtlhrv4g8cMErpQB05B8aa4hItlt5CTV5798hIonrKJmAeXfLKJYWLvX9A4CeUkM2KIBSqp2IrhBl8toRiCAIXjhy5MiZUg0MdW5QgDAMlxCRzInf8hNviXNu31AKh/v7kG/D4Soc7vlLDvAvTAxAP/ODeckAAAAASUVORK5CYII="},"06f8":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.dongtai[data-v-185a1fe7]{overflow:hidden}.dongtai-fd[data-v-185a1fe7]{width:%?135?%;height:%?135?%;position:fixed;right:%?10?%;bottom:%?100?%;z-index:22}.dongtai-fd uni-image[data-v-185a1fe7]{width:100%;height:100%}.dongtai-tab[data-v-185a1fe7]{display:flex;margin-top:%?10?%;overflow:hidden}.dongtai-tab .tab[data-v-185a1fe7]{width:%?250?%}.dongtai-list[data-v-185a1fe7]{padding:0 %?25?% %?25?%;overflow:hidden}.dongtai-list .item[data-v-185a1fe7]{width:100%;background:#fff;border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;margin-top:%?20?%}.dongtai-list .item .d[data-v-185a1fe7]{font-weight:400;font-size:%?24?%;color:#333;line-height:%?42?%;margin-top:%?20?%;text-align:left;display:flex;align-items:center;justify-content:space-between}.dongtai-list .item .d .fl[data-v-185a1fe7]{flex:1;display:flex;align-items:center}.dongtai-list .item .d .fl .li[data-v-185a1fe7]{display:flex;align-items:center;width:%?120?%}.dongtai-list .item .d .fl .li uni-image[data-v-185a1fe7]{width:%?32?%;height:%?32?%;margin-right:%?10?%}.dongtai-list .item .d .fr[data-v-185a1fe7]{width:%?90?%;line-height:%?44?%;background:#000;border-radius:%?44?%;text-align:center;font-weight:500;font-size:%?24?%;color:#fff}.dongtai-list .item .c[data-v-185a1fe7]{width:110%;margin-top:%?20?%;overflow:hidden}.dongtai-list .item .c uni-image[data-v-185a1fe7]{width:%?210?%;height:%?210?%;border-radius:%?10?%;margin-right:%?10?%}.dongtai-list .item .b[data-v-185a1fe7]{font-weight:400;font-size:%?28?%;color:#222;line-height:%?42?%;margin-top:%?20?%;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;\r\n /* 定义文本的行数 */overflow:hidden;text-overflow:ellipsis}.dongtai-list .item .a[data-v-185a1fe7]{display:flex;align-items:center;justify-content:space-between}.dongtai-list .item .a .fl[data-v-185a1fe7]{flex:1;display:flex;align-items:center;margin-right:%?20?%}.dongtai-list .item .a .fl uni-image[data-v-185a1fe7]{width:%?80?%;height:%?80?%;background:#e6e9ed;border-radius:50%;margin-right:%?20?%}.dongtai-list .item .a .fl .info[data-v-185a1fe7]{flex:1}.dongtai-list .item .a .fl .name[data-v-185a1fe7]{font-weight:400;font-size:%?30?%;color:#222}.dongtai-list .item .a .fl .desc[data-v-185a1fe7]{font-weight:400;font-size:%?22?%;color:#b6bcc2;margin-top:%?10?%}.dongtai-list .item .a .fr[data-v-185a1fe7]{width:%?32?%}.dongtai-list .item .a .fr uni-image[data-v-185a1fe7]{width:%?32?%;height:%?32?%}',""]),t.exports=e},"1cd5":function(t,e,i){t.exports=i.p+"static/nv.png"},"30f7":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},i("7a76"),i("c9b5")},"35b2":function(t,e,i){"use strict";i.r(e);var a=i("eb976"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},4733:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,a.default)(t)};var a=function(t){return t&&t.__esModule?t:{default:t}}(i("8d0b"))},"570c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA3FJREFUWEfFl02IHEUUx/+vutvOiCIYAuvOZKe6MqJJ0JPgV0DBiEg8BYnk4slPJKA5iaIbPw4eBEEEDXrWBb0o5qAYJBDES7z4AepuVe3MrqysGOIIO2Nv13MrzAw7mxl2umfC1q3pN+//m/fVrwg7fGiH9dEHUKvV4vX19ReFEE8CuGFEuN+01ncA4EH2SZK8TURPAHhUa/3NVpsegBfPsuwrIrqvY9RiZjcCRMMYcwDAQNskSU4T0VMA/gFwSGv942afPQAp5awQ4hQzrzHzC2manomiaH07AGvtXwCG2k1PT18bx/FZIroLwDwzHzLG/Nn12wNQSi0BKDvnnrHWnt5OOM/7SqVSjqLoPBFJAOedcw9aa1vex2aAJoCw3W7fvLy87GHGOuVyeXccx/cDmAGwB4BP7d0dzbNa68NXADCzYOZ91tqVIupJktwC4BgRPe6jCaA0yI+vLWNMMDEApdRtzPwGET0M4JqOaJuZLxLR98z8ExHtB3DUizPzSWvtu5MAICnlK0KIlzvCKTN/R0RzaZp+0Wg0/vAi1Wr1piAIfgAwxcyfGmOODSrCZp4U+LZ1zn3GzEd8C26077d+htTr9Qtbwi6UUl8DeGAjPb80m807V1dX/x0XQCRJ8jkRPQLgPwDPa63fHzKIXiKiNwG0syy7d3Fx0Ueid/q6YNQISClfJaJZIvL9f1RrfWZY0SqlPvFTkJmfNcZ8NHQSKqVGSsHMzMzBMAwvMHNIRCeG/fOukB9EpVJp/8LCwtbUXDbJHQGl1McAjgPo9XKRli1UA1LKKSGEBRA45w5ba8+NI547AkmSPEdE7zHzr8aYW4uI12q1Pa1WK1taWvq7CMAcET228emd1Vq/nhdASrlLCNEA0NJa780NoJSqA9jrnDturZ0rADBFRAtE5LTW1xcBuMTM12VZdnu9Xv95JwAufzHTNN3XHbN5IHwRjxWBJEl84exaW1urrqysrOYR97ZjA1Sr1XuCILhxYwf8Mq/4RACKiG7+zdgRuOoAk1zJBsGWy+VKHMe/+yV2UBtetaW0CyOlfFoI8QGAZa11pW8OFF3LR0lLmqZhFEVHiOgdIio5505Za1/rAxjjYrItAxEJ377ekJnPBUHw0Pz8fLsPwD8UvJptC9AxuOSc+zAMw7e64lcAjOppknY7fjv+H2CPWz/MGljuAAAAAElFTkSuQmCC"},"5bd9":function(t,e,i){"use strict";var a=i("c7f6"),n=i.n(a);n.a},"6c22":function(t,e,i){t.exports=i.p+"static/2.png"},8257:function(t,e,i){t.exports=i.p+"static/3.png"},b7c7:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)(t)||(0,n.default)(t)||(0,r.default)(t)||(0,s.default)()};var a=o(i("4733")),n=o(i("d14d")),r=o(i("5d6b")),s=o(i("30f7"));function o(t){return t&&t.__esModule?t:{default:t}}},b903:function(t,e,i){t.exports=i.p+"static/1.png"},c635:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={uTabs:i("f5d2").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"dongtai"},[a("v-uni-view",{staticClass:"dongtai-tab"},[a("v-uni-view",{staticClass:"tab"},[a("u-tabs",{attrs:{list:t.list,"bg-color":"transparent","is-scroll":!1,"active-color":"#222222","inactive-color":"#666666","font-size":"30","active-item-style":t.activeStyle,"bar-height":"10","bar-width":"60"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTabs.apply(void 0,arguments)}},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1)],1),a("v-uni-view",{staticClass:"dongtai-list"},t._l(10,(function(e){return a("v-uni-view",{key:e,staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(1,1)}}},[a("v-uni-view",{staticClass:"a"},[a("v-uni-view",{staticClass:"fl"},[a("v-uni-image",{attrs:{src:i("1cd5")}}),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("幽默的先生")]),a("v-uni-view",{staticClass:"desc"},[t._v("2024-06-06 11:23")])],1)],1),a("v-uni-view",{staticClass:"fr"},[a("v-uni-image",{attrs:{src:i("f073")}})],1)],1),a("v-uni-view",{staticClass:"b"},[t._v("今天天气真好啊!碧蓝的天空,绿油油的油菜花,空中飘香,远远的山脉看着忽远忽近。")]),a("v-uni-view",{staticClass:"c"},[a("v-uni-image",{attrs:{mode:"aspectFill",src:i("b903")}}),a("v-uni-image",{attrs:{mode:"aspectFill",src:i("6c22")}}),a("v-uni-image",{attrs:{mode:"aspectFill",src:i("8257")}})],1),a("v-uni-view",{staticClass:"d"},[a("v-uni-view",{staticClass:"fl"},[a("v-uni-view",{staticClass:"li"},[a("v-uni-image",{attrs:{src:i("06c9")}}),t._v("69")],1),a("v-uni-view",{staticClass:"li"},[a("v-uni-image",{attrs:{src:i("dd5f")}}),t._v("896")],1),a("v-uni-view",{staticClass:"li",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.openPage(2)}}},[a("v-uni-image",{attrs:{src:i("570c")}}),t._v("分享")],1)],1),a("v-uni-view",{staticClass:"fr",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.openPage(3)}}},[t._v("搭讪")])],1)],1)})),1),a("v-uni-view",{staticClass:"dongtai-fd",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.openPage(4)}}},[a("v-uni-image",{attrs:{src:i("dd44")}})],1),a("share",{attrs:{isShare:t.isShare}})],1)},r=[]},c7f6:function(t,e,i){var a=i("06f8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("17edabc8",a,!0,{sourceMap:!1,shadowMode:!1})},d14d:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},i("01a2"),i("e39c"),i("bf0f"),i("844d"),i("18f7"),i("de6c"),i("08eb")},dd44:function(t,e,i){t.exports=i.p+"static/icon-fabu.png"},dd5f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA1xJREFUWEfFl99rXFUQx79zN7tbGyHSqlE2ZPccVwVRKKJgBG1FQQr6oIg+iChUivqg/gFKa8AHQUQRFaGoFFFfFEHFKgj+gFYs6oMKhZaZG7PGBDWsYmK8y56vOTELzbq1m7C9OW/3Mne+nzP3zJkZwSYv2ah+pVLZXiqV9gO4XUQuAPATyYOtVuvJRqPxV79+NwRQr9fPCyEcAXBRD6GjS0tLu2ZmZhb7gdgQgPf+VQD3kUwB7M2y7JtisXidiBwQke3LwvtV9YkzBVB0zjVFZGsIYVeapp91hJxz94jIQZJqZr2i8x+mdUegWq26QqGgAFqqugVA6HiN56JcLv8an5vN5sj8/Pwfp4vCugEqlcpYuVyeJtk2syIAnizivW8CGGm1WldMT09/P3CA0dHR4eHh4T9XHZ+jqr93ARwHUCe508w+HziA934kRjg6XlhYOHtubm6hC+A7AJeTvNnMPh44QLVanSgUCodJ/mZm53YLOOe+FZEdIYTdaZoeGjiA9/5FAA8CeFtV78gVwDkXBd8SkQKAm1T1k24A7/3XAK4EcKuqvt9XBGq12l1JkuzoNiZZFJEWgLMAXA3g2lWbV1R1Ty/nzrlPRWQngHcBHDvZhmQjhPDO1NTUz533K2novY8iQ6ejBZABeEZVHwPQPgXApIg8fipfJGOdeNjMDkSbDsBKLpN8WkQ6KXYVgFtIHiP5JoAfReRDM5v7P9B6vV5ut9t7RWRb1+5LAG4QkQn+u+Ih/WgNQAjhwjRNZ1ej8gCAl2IoVfW2PqLTl4n3Pu58D8kvzOz63AGcc5eKSDwbf8erPHeA8fHxy4aGhn6IZ8HMtuYOUKvV7k2S5DWSX5rZRO4AzrkXROQhAM+p6qO5A3jvjwKIGXa3qr6RK0CtVtuSJEmsnqUsyy5uNBon8ga4JkmSIyTnzSy2bmsvojN9D3jvHwHwLMlDZrZ7MwBej/8ewKSq7tsMgJVuKV7xqvpBrgBjY2PbSqVSbFhlcXHx/NnZ2V9yBei07Mu/4Phy+l3SXY471bBGcqXaicj9y0PG8yTfI3lnX5Wmh1GSJOXYvJB8OQ4tIYR9aZpO9gTYqMg6vjscQrgxTdOlNQDOua9EJHY8A18k4+AyFSemLMue6h5c1z2YDJrwH+bSFz8l7yW7AAAAAElFTkSuQmCC"},eb976:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),r=a(i("b7c7")),s=a(i("2fdc"));i("473f"),i("bf0f"),i("aa9c"),i("64aa"),i("c223");var o={data:function(){return{isShare:!1,current:0,pageNum:1,total:1,list:[{name:"广场"},{name:"关注"}],activeStyle:{fontSize:"35rpx"}}},onReady:function(){var t=this;t.getList(),uni.$on("toAddDongtai",(function(e){t.pageNum=1,t.current=0,t.list=[],t.getList()}))},onReachBottom:function(){var t=this;uni.showLoading({title:"加载中"}),this.list.length<=this.total&&(t.offset++,setTimeout((function(){t.getList(1)}),1e3))},methods:{arrayUnique:function(t,e){var i={};return t.reduce((function(t,a){return!i[a[e]]&&(i[a[e]]=t.push(a)),t}),[])},getList:function(t){var e=this;return(0,s.default)((0,n.default)().mark((function i(){var a,s,o;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,e.$api.articleList({userId:uni.getStorageSync("userInfo").id,type:Number(e.current)+1,limit:20,page:e.pageNum});case 2:a=i.sent,s=a.code,o=a.data,200==s&&(1==t&&uni.hideLoading(),e.total=o.total,e.list=arrayUnique([].concat((0,r.default)(e.list),(0,r.default)(o.list)),"id"));case 6:case"end":return i.stop()}}),i)})))()},openPage:function(t,e){1==t?uni.navigateTo({url:"/pages/dongtai/detail?id="+e}):2==t?this.isShare=!0:4==t&&uni.navigateTo({url:"/pages/dongtai/add"})},changeTabs:function(t){this.current=t}}};e.default=o},f073:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAR9JREFUWEft1zsvBkEUgOHni1IjiEtCo/JXtBQUdGgVGiQqCRqFmo6CgtZfUWlIhLhEoZTYSaaarHzZETuFnfJkdt53zlz2TE/h1ivMlyswhm0sxwmc4wDPTSeUK3CEDQxE4BeOsdmWwCMmEthTTayvT24G3jGUjP5RE/szgQssJqNfYqkvMemQm4HZav33MBfHu8FuJXDblkDgDGMmAu/w1hQe+udmIIdV+00n8JsMDGIy5jXcC58565IrMIUdLEToFfbx0FQiV+Ckgq0msBBbb0vgBSMJ7BWj/0agbglOsdZWBqbjJpyPwOu4Ce/bEgicosew6UR/7J97DDuB4r/j4gVJ8ZKseFFavCwv/jAZxxZW4oVwhkOEx0mj1l1E32OJNCHig/uDAAAAAElFTkSuQmCC"},f848:function(t,e,i){"use strict";i.r(e);var a=i("c635"),n=i("35b2");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("5bd9");var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"185a1fe7",null,!1,a["a"],void 0);e["default"]=o.exports}}]); |