java-mall-app/unpackage/dist/build/mp-weixin/community/components/q-post-waterfall/q-post-waterfall.js
2024-11-01 16:35:40 +08:00

11 lines
4.5 KiB
JavaScript

require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["community/components/q-post-waterfall/q-post-waterfall"],{1133:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var o={uWaterfall:function(){return Promise.all([n.e("common/vendor"),n.e("components/u-waterfall/u-waterfall")]).then(n.bind(null,"48fd"))},uLazyLoad:function(){return Promise.all([n.e("common/vendor"),n.e("components/u-lazy-load/u-lazy-load")]).then(n.bind(null,"e744"))},uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("components/uni-icons/uni-icons")]).then(n.bind(null,"e67f"))},uniPopup:function(){return n.e("components/uni-popup/uni-popup").then(n.bind(null,"6ea8"))}},r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.$hasSSP("7a641d88-1")),o=n?e.$getSSP("7a641d88-1","left"):null,r=e.__("删除"),a=e.__("取消");e._isMounted||(e.e0=function(t,n){var o=arguments[arguments.length-1].currentTarget.dataset,r=o.eventParams||o["event-params"];n=r.item;return e.jump(n)},e.e1=function(t,n){var o=arguments[arguments.length-1].currentTarget.dataset,r=o.eventParams||o["event-params"];n=r.item;return t.stopPropagation(),e.showPopup(n)}),e.$mp.data=Object.assign({},{$root:{m0:n,m1:o,m2:r,m3:a}})},a=[]},"2e25":function(e,t,n){"use strict";n.r(t);var o=n("74e8"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},7184:function(e,t,n){},"74e8":function(e,t,n){"use strict";var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("7ca3")),a=n("8f59");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={name:"q-post-waterfall",props:{list:Array,loadStatus:{type:String,default:"loadmore"},type:{type:String,default:"publish"},IsLoginUser:{type:Boolean,default:!1}},data:function(){return{row:{}}},computed:(0,a.mapState)(["Config","StateCode","notice","plantformInfo","shopInfo","userInfo","hasLogin"]),components:{Uwaterfall:function(){Promise.all([n.e("common/vendor"),n.e("components/u-waterfall/u-waterfall")]).then(function(){return resolve(n("48fd"))}.bind(null,n)).catch(n.oe)},ULazyLoad:function(){Promise.all([n.e("common/vendor"),n.e("components/u-lazy-load/u-lazy-load")]).then(function(){return resolve(n("e744"))}.bind(null,n)).catch(n.oe)}},methods:i(i({},(0,a.mapMutations)(["login","logout","getPlantformInfo","forceUserInfo","getUserInfo"])),{},{showPopup:function(e){this.row=e,this.$refs.popup.open()},cancel:function(e){this.row={},this.$refs.popup.close()},del:function(e){var t=this;this.$.showModal({title:"提示",content:"是否确定此信息?",success:function(e){if(e.confirm){var n={story_id:t.row.story_id};t.$.request({url:t.Config.URL.sns.story_remove,data:n,success:function(e,n,o,r){200==n?(t.$emit("onRenew",{}),t.$.alert(o)):t.$.alert(o)}})}}})},remove:function(e){this.$refs.uWaterfall.remove(e)},clear:function(){this.$refs.uWaterfall.clear()},jump:function(e){var t="/community/community/detail?id="+e.story_id;4==e.story_type&&(t="/community/nvueSwiper/nvueSwiper?id="+e.story_id+"&uid="+e.user_id),this.$.navigateTo({url:t})}})};t.default=c},ebc3:function(e,t,n){"use strict";n.r(t);var o=n("1133"),r=n("2e25");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("f5e2");var u=n("828b"),i=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"1a4d462e",null,!1,o["a"],void 0);t["default"]=i.exports},f5e2:function(e,t,n){"use strict";var o=n("7184"),r=n.n(o);r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'community/components/q-post-waterfall/q-post-waterfall-create-component',
{
'community/components/q-post-waterfall/q-post-waterfall-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ebc3"))
})
},
[['community/components/q-post-waterfall/q-post-waterfall-create-component']]
]);