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.
jiaojiu/dist/js/chunk-11d3d696.721a59ce.js.map

1 line
69 KiB

{"version":3,"sources":["webpack:///./src/assets/img/moment/praise.svg","webpack:///./src/assets/img/moment/bear.svg","webpack:///./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///./src/views/moment/Moment.vue?92db","webpack:///./src/components/content/moments/MomentListItem.vue?96a4","webpack:///./src/assets/img/moment/refresh.svg","webpack:///./src/components/common/Scroll/Scroll.vue?4111","webpack:///src/components/common/Scroll/Scroll.vue","webpack:///./src/components/common/Scroll/Scroll.vue?b835","webpack:///./src/components/common/Scroll/Scroll.vue","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///./src/components/content/moments/MomentList.vue?9c43","webpack:///./src/views/moment/Moment.vue?6be0","webpack:///./src/components/content/moments/MomentList.vue?95a9","webpack:///./src/components/content/moments/MomentListItem.vue?fb33","webpack:///src/components/content/moments/MomentListItem.vue","webpack:///./src/components/content/moments/MomentListItem.vue?ce15","webpack:///./src/components/content/moments/MomentListItem.vue","webpack:///src/components/content/moments/MomentList.vue","webpack:///./src/components/content/moments/MomentList.vue?25db","webpack:///./src/components/content/moments/MomentList.vue","webpack:///./src/network/moment.js","webpack:///src/views/moment/Moment.vue","webpack:///./src/views/moment/Moment.vue?681d","webpack:///./src/views/moment/Moment.vue"],"names":["module","exports","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","render","_vm","_h","$createElement","_c","_self","ref","staticClass","_t","staticRenderFns","name","props","probeType","type","Number","default","pullUpLoad","Boolean","pullDownLoad","data","scroll","mounted","$nextTick","click","threshold","stop","useTransition","pullDownRefresh","disableMouse","disableTouch","methods","scrollTo","x","y","timer","finishPullUp","refresh","finishPullDown","getScrollY","component","runtime","Op","Object","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","defineProperty","enumerable","configurable","writable","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","makeInvokeMethod","tryCatch","call","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","AsyncIterator","PromiseImpl","invoke","record","result","__await","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","constructor","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","iter","toString","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","rootEntry","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","Function","attrs","slot","_v","on","createmoment","loadMore","pullingDown","directives","rawName","expression","moments","_e","_l","item","index","uploadavatar","_s","author","$moment","createAT","fromNow","content","clickpraise","promiseCount","staticStyle","comment","commentCount","id","isExist","images","praise","isdisplay","number","isfrist","token","created","getAllPraise","window","localStorage","setItem","getItem","computed","showImage","avatarUrl","$bus","$emit","$router","isclickpraise","$on","getMomentList","offset","size","request","url","params","components","Scroll","NavBar","MomentList","pullingdown","refreshmoment","pullingUp","loginexit","getMoment","isallrefreshInfo","oallself","setTimeout","ReMoment","activated","$refs","saveY","deactivated"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,2B,uBCA3CD,EAAOC,QAAU,IAA0B,yB,gFCA3C,SAASC,EAAmBC,EAAKC,EAASC,EAAQ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AAgB9N,KAAK0O,eACnC1O,KAAK0N,KAAKI,IAAI,mBAAoB9N,KAAK8O,mBAEzCI,UArFF,WAsFIlP,KAAKmP,MAAMzN,OAAOW,SAAS,EAAGrC,KAAKoP,MAAO,GAC1CpP,KAAKmP,MAAMzN,OAAOgB,WAEpB2M,YAzFF,WA0FIrP,KAAKoP,MAAQpP,KAAKmP,MAAMzN,OAAOkB,eCjI4T,ICQ3V,G,UAAY,eACd,EACAtC,EACAS,GACA,EACA,KACA,WACA,OAIa,e","file":"js/chunk-11d3d696.721a59ce.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/praise.981f2823.svg\";","module.exports = __webpack_public_path__ + \"img/bear.d8f350ed.svg\";","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Moment.vue?vue&type=style&index=0&id=7536a858&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Moment.vue?vue&type=style&index=0&id=7536a858&scoped=true&lang=css&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentListItem.vue?vue&type=style&index=0&id=705616d0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentListItem.vue?vue&type=style&index=0&id=705616d0&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/refresh.072e417a.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"wrapper\",staticClass:\"wrapper\"},[_c('div',{staticClass:\"content\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"wrapper\" ref=\"wrapper\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport BScroll from \"better-scroll\";\nexport default {\n name: \"Scroll\",\n props: {\n probeType: {\n type: Number,\n default: 0\n },\n pullUpLoad: {\n type: Boolean,\n default: false\n },\n pullDownLoad: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n scroll: null\n };\n },\n mounted() {\n this.$nextTick(() => {\n this.scroll = new BScroll(this.$refs.wrapper, {\n click: true,\n probeType: this.probeType,\n pullUpLoad: {\n threshold: 80,\n stop: 80\n },\n useTransition: false,\n pullDownRefresh: {\n threshold: 40,\n stop: 30\n },\n disableMouse: false,\n disableTouch: false\n });\n\n this.scroll.on(\"scroll\", position => {\n this.$emit(\"scrollw\", position);\n });\n\n this.scroll.on(\"pullingUp\", () => {\n this.$emit(\"pullingUp\");\n });\n\n this.scroll.on(\"pullingDown\", () => {\n this.$emit(\"pullingDown\");\n });\n\n this.scroll.scrollTo(0, 0);\n });\n },\n methods: {\n scrollTo(x, y, timer = 3000) {\n this.scroll && this.scroll.scrollTo(x, y, timer);\n },\n finishPullUp() {\n this.refresh();\n this.scroll && this.scroll.finishPullUp();\n },\n finishPullDown() {\n this.refresh();\n this.scroll && this.scroll.finishPullDown();\n },\n\n refresh() {\n this.scroll && this.scroll.refresh();\n },\n getScrollY() {\n return this.scroll ? this.scroll.y : 0;\n }\n }\n};\n</script>\n\n<style scoped></style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scroll.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Scroll.vue?vue&type=template&id=62c7f78a&scoped=true&\"\nimport script from \"./Scroll.vue?vue&type=script&lang=js&\"\nexport * from \"./Scroll.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62c7f78a\",\n null\n \n)\n\nexport default component.exports","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentList.vue?vue&type=style&index=0&id=801c5818&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentList.vue?vue&type=style&index=0&id=801c5818&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loginexit)?_c('div',{staticClass:\"home\"},[_c('NavBar',{staticClass:\"nav-bar\"},[_c('img',{attrs:{\"img\":\"~assets/img/moment/bear.svg\"}}),_c('div',{attrs:{\"slot\":\"left\"},slot:\"left\"},[_c('img',{attrs:{\"src\":require(\"assets/img/moment/bear.svg\"),\"width\":\"40px\",\"height\":\"40px\"}})]),_c('div',{attrs:{\"slot\":\"center\"},slot:\"center\"},[_vm._v(\"酒友乡\")]),_c('div',{attrs:{\"slot\":\"right\"},on:{\"click\":_vm.createmoment},slot:\"right\"},[_c('i',{staticClass:\"el-icon-plus\"})])]),_c('Scroll',{ref:\"scroll\",staticClass:\"content\",attrs:{\"pull-up-load\":true,\"probe-type\":3},on:{\"pullingUp\":_vm.loadMore,\"pullingDown\":_vm.pullingDown}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pullingdown),expression:\"pullingdown\"}],staticClass:\"pulldown\"},[_c('img',{attrs:{\"src\":require(\"assets/img/moment/refresh.svg\"),\"width\":\"30px\",\"height\":\"30px\"}})]),(_vm.refreshmoment)?_c('MomentList',{attrs:{\"moments\":_vm.moments}}):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pullingUp),expression:\"pullingUp\"}],staticClass:\"pullUp\"},[_c('span',[_vm._v(\"Loading...\")])])],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"moment-list\"},_vm._l((_vm.moments),function(item,index){return _c('MomentListItem',{key:index,staticClass:\"moment-list-item\",attrs:{\"moments\":item}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isExist)?_c('div',{staticClass:\"moment-items\"},[_c('div',[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.showImage),expression:\"showImage\"}],staticClass:\"avatar\",on:{\"load\":_vm.uploadavatar}})]),_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.moments.author.name))]),_c('div',{staticClass:\"time\"},[_vm._v(\" \"+_vm._s(this.$moment(_vm.moments.createAT).fromNow())+\" \")]),_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.moments.content))]),_c('div',{staticClass:\"image\"},_vm._l((_vm.moments.images),function(item,index){return _c('li',{key:index},[_c('img',{attrs:{\"width\":\"100px\",\"height\":\"100px\",\"preview\":index,\"src\":item + '?type=small'},on:{\"load\":_vm.uploadavatar}})])}),0),(this.isdisplay)?_c('div',{staticClass:\"icon\"},[_c('div',[_c('i',{on:{\"click\":_vm.clickpraise}},[_c('img',{attrs:{\"src\":require(\"@/assets/img/moment/praise.svg\")}})]),_c('span',{staticClass:\"icon1\"},[_vm._v(_vm._s(_vm.promiseCount()))])]),_c('div',[_c('i',{staticClass:\"el-icon-chat-dot-square\",staticStyle:{\"font-size\":\"20px\"},on:{\"click\":_vm.comment}}),_c('span',[_vm._v(_vm._s(_vm.moments.commentCount))])])]):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"moment-items\" v-if=\"isExist\">\n <div>\n <img class=\"avatar\" @load=\"uploadavatar\" v-lazy=\"showImage\" />\n </div>\n <div class=\"name\">{{ moments.author.name }}</div>\n\n <!-- <i\n @click=\"remove\"\n id=\"delete\"\n class=\"el-icon-delete\"\n style=\"font-size: 20px\"\n ></i> -->\n\n <div class=\"time\">\n {{ this.$moment(moments.createAT).fromNow() }}\n </div>\n\n <div class=\"content\">{{ moments.content }}</div>\n <div class=\"image\">\n <li v-for=\"(item, index) in moments.images\" :key=\"index\">\n <img\n @load=\"uploadavatar\"\n width=\"100px\"\n height=\"100px\"\n :preview=\"index\"\n :src=\"item + '?type=small'\"\n />\n <!-- v-lazy=\"item+'?type=small'\" -->\n </li>\n </div>\n\n <div class=\"icon\" v-if=\"this.isdisplay\">\n <div>\n <i @click=\"clickpraise\"> <img src=\"@/assets/img/moment/praise.svg\"/></i\n ><span class=\"icon1\">{{promiseCount()}}</span>\n </div>\n <div>\n <i\n class=\"el-icon-chat-dot-square\"\n style=\"font-size: 20px\"\n @click=\"comment\"\n ></i>\n <span>{{moments.commentCount}}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MomentListItem\",\n props: {\n moments: {\n type: Object,\n default() {\n return {};\n }\n }\n },\n data() {\n return {\n id: this.moments.id,\n isExist: true,\n images: [],\n praise: {},\n isdisplay: true,\n number: \"\",\n isfrist: true,\n token: \"\"\n };\n },\n created() {\n this.getAllPraise();\n window.localStorage.setItem(\"number\", \"0\");\n this.token = window.localStorage.getItem(\"token\");\n },\n computed: {\n showImage() {\n return this.moments.author.avatarUrl;\n }\n },\n methods: {\n promiseCount(){\n return this.praise.promiseCount||0;\n },\n uploadavatar() {\n this.$bus.$emit(\"upload\");\n },\n async remove() {\n if (!this.token) {\n this.$router.push(\"/login\");\n } else {\n try {\n await this.$http.delete(\"/moment/\" + this.id);\n this.isExist = !this.isExist;\n this.$message.success(\"删除成功\");\n this.$bus.$emit(\"upload\");\n } catch {\n this.$message.error(\"你不具备删除该动态权限\");\n }\n }\n },\n comment() {\n this.$router.push(\"detailcomment/\" + this.moments.id);\n },\n async getAllPraise() {\n const { data: res } = await this.$http.get(\"/praise/\" + this.moments.id);\n this.praise = res;\n },\n refresh() {\n this.isdisplay = false;\n this.$nextTick(() => {\n this.isdisplay = true;\n }, 100);\n this.getAllPraise();\n },\n //发表成功评论\n async clickpraise() {\n if (!this.token) {\n this.$router.push(\"/login\");\n } else {\n const { data: res } = await this.$http.post(\n \"/praise/ispraise/\" + this.moments.id\n );\n if (res.status != \"200\") {\n this.number = window.localStorage.getItem(\"number\");\n if (this.number === \"1\") window.localStorage.setItem(\"number\", \"0\");\n else {\n window.localStorage.setItem(\"number\", \"1\");\n }\n }\n if (res.status == \"200\") {\n await this.$http.post(\"/praise/\" + this.moments.id);\n this.$nextTick(() => {\n this.refresh();\n }, 100);\n } else {\n this.number = window.localStorage.getItem(\"number\");\n const content = {\n ispraise: \"\"\n };\n content.ispraise = this.number;\n await this.$http.post(\"/praise/update/\" + this.moments.id, content);\n this.$nextTick(() => {\n this.refresh();\n }, 100);\n }\n }\n },\n isclickpraise() {}\n },\n mounted() {\n this.$bus.$on(\"aaispraise\", this.isclickpraise);\n }\n};\n</script>\n\n<style scoped>\nli {\n list-style: none;\n}\n\n.moment-items {\n position: relative;\n background-color: rgb(255, 255, 255);\n width: 100%;\n font-size: 12px;\n}\n.avatar {\n float: left;\n margin-left: 10px;\n width: 50px;\n height: 50px;\n border-radius: 25px;\n}\n.name {\n float: left;\n font-weight: 600;\n margin-top: 5px;\n margin-left: 10px;\n font-size: 15px;\n}\n.time {\n margin-left: 70px;\n margin-top: 30px;\n font-size: 10px;\n}\n.sign {\n margin-left: 70px;\n margin-top: 30px;\n font-size: 10px;\n}\n.content {\n margin-top: 15px;\n margin-left: 5px;\n font-size: 13px;\n margin-bottom: 15px;\n}\n.icon {\n margin-top: 15px;\n justify-content: space-evenly;\n display: flex;\n border-top-style: solid;\n border-width: 0.1px;\n border-color: rgb(230, 220, 220);\n}\n\n.icon1{\n position: relative;\n top:-11px !important;\n vertical-align: middle;\n}\n\n.icon div{\n height: 23px;\n width: 30px;\n}\n\n.icon img{\n width: 20px;\n height: 21px;\n}\n\n.icon span{\n position: relative;\n top:-8px;\n font-size: 8px !important;\n vertical-align: middle;\n}\n\n#delete {\n float: right;\n margin-top:5px;\n margin-right:5px;\n}\n.el-icon-delete {\n margin-left: 20px;\n}\n.remove {\n margin-left: 20px;\n}\n\n.text {\n margin: 20px 5px;\n}\n.image {\n margin-top: 15px;\n display: flex;\n justify-content: space-evenly;\n}\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentListItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MomentListItem.vue?vue&type=template&id=705616d0&scoped=true&\"\nimport script from \"./MomentListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./MomentListItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MomentListItem.vue?vue&type=style&index=0&id=705616d0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"705616d0\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"moment-list\">\n <MomentListItem class=\"moment-list-item\" v-for=\"(item,index) in moments\" :key=\"index\" :moments=\"item\"></MomentListItem>\n </div>\n</template>\n\n<script>\nimport MomentListItem from '@/components/content/moments/MomentListItem'\n\nexport default {\n name:\"MomentList\",\n components: {\n MomentListItem\n },\n props:{\n moments:{\n type:Array,\n defalut(){\n return []\n }\n }\n },\n created(){\n \n },\n\n}\n</script>\n\n<style scoped>\n.moment-list{\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around;\n font-size: 30px;\n background-color: rrgba(212, 212, 212, 0.329);\n}\n.moment-list-item{\n margin-top:5px;\n background-color: #ffffff;\n}\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MomentList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MomentList.vue?vue&type=template&id=801c5818&scoped=true&\"\nimport script from \"./MomentList.vue?vue&type=script&lang=js&\"\nexport * from \"./MomentList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MomentList.vue?vue&type=style&index=0&id=801c5818&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"801c5818\",\n null\n \n)\n\nexport default component.exports","import {\n request\n} from \"@/network/Axios\";\n\nexport function getMomentList(offset, size) {\n return request({\n url: '/moment',\n params: {\n offset,\n size,\n }\n })\n}\n","<template>\n <div class=\"home\" v-if=\"loginexit\">\n <NavBar class=\"nav-bar\">\n <img img=\"~assets/img/moment/bear.svg\" />\n <div slot=\"left\">\n <img src=\"~assets/img/moment/bear.svg\" width=\"40px\" height=\"40px\" />\n </div>\n <div slot=\"center\">酒友乡</div>\n <!-- 发表动态 -->\n <div slot=\"right\" @click=\"createmoment\"><i class=\"el-icon-plus\"></i></div>\n </NavBar>\n <Scroll\n class=\"content\"\n ref=\"scroll\"\n :pull-up-load=\"true\"\n :probe-type=\"3\"\n @pullingUp=\"loadMore\"\n @pullingDown=\"pullingDown\"\n >\n <!-- 下拉显示 -->\n <div class=\"pulldown\" v-show=\"pullingdown\">\n <img src=\"~assets/img/moment/refresh.svg\" width=\"30px\" height=\"30px\" />\n </div>\n <!-- 多条动态拆分-->\n <MomentList v-if=\"refreshmoment\" :moments=\"moments\"></MomentList>\n <!-- 上拉显示 -->\n <div class=\"pullUp\" v-show=\"pullingUp\"><span>Loading...</span></div>\n </Scroll>\n </div>\n</template>\n\n<script>\nimport Scroll from \"@/components/common/Scroll/Scroll\";\nimport NavBar from \"@/components/common/navbar/NavBar\";\nimport MomentList from \"@/components/content/moments/MomentList\";\n//debounce防抖使页面重新计算高度\nimport { debounce } from \"@/common/utils\";\nimport { getMomentList } from \"@/network/moment\";\n\nexport default {\n name: \"Moment\",\n components: {\n Scroll,\n NavBar,\n MomentList\n },\n data() {\n return {\n moments: [],\n size: 10,\n offset: 0,\n pullingdown: false,\n refreshmoment: true,\n pullingUp: false,\n loginexit: true\n };\n },\n created() {\n this.getMoment();\n },\n methods: {\n isallrefreshInfo() {\n this.loginexit=false;\n var oallself=this\n setTimeout(async function() {\n oallself.loginexit = true;\n }, 300);\n },\n //进入发表动态\n createmoment() {\n this.$router.push(\"/createmoment\");\n },\n //获取动态内容\n getMoment() {\n getMomentList(this.offset, this.size).then(res => {\n this.moments.push(...res.data);\n this.offset += 10;\n });\n },\n //重新获取动态\n ReMoment() {\n getMomentList(0, 10).then(res => {\n this.moments = res.data;\n });\n },\n //上拉加载更多\n loadMore() {\n this.pullingUp = true;\n this.offset = 10;\n this.getMoment();\n setTimeout(() => {\n this.pullingUp = false;\n this.$refs.scroll.finishPullUp();\n this.$refs.scroll.refresh();\n }, 1000);\n },\n //下拉加载更多,通过重新获取数据以及销毁重建组件来实现刷新,延时实现动态加载\n pullingDown() {\n this.pullingdown = true;\n this.offset;\n this.ReMoment();\n this.refreshmoment = false;\n this.refreshmoment = true;\n setTimeout(() => {\n this.pullingdown = false;\n this.$refs.scroll.finishPullDown();\n }, 1000);\n }\n },\n mounted() {\n //图像加载出来,重新计算页面高度\n const refresh = debounce(this.$refs.scroll.refresh, 300);\n this.uploadavatar = () => {\n refresh();\n };\n this.refreshmoment = () => {\n this.ReMoment();\n this.refreshmoment = false;\n this.refreshmoment = true;\n };\n this.$bus.$on(\"upload\", this.uploadavatar);\n this.$bus.$on(\"createmoment\", this.refreshmoment);\n this.$bus.$on(\"isallrefreshInfo\", this.isallrefreshInfo);\n },\n activated() {\n this.$refs.scroll.scrollTo(0, this.saveY, 0);\n this.$refs.scroll.refresh();\n },\n deactivated() {\n this.saveY = this.$refs.scroll.getScrollY();\n }\n};\n</script>\n\n<style scoped>\n.nav-bar {\n background-color: #df3832;\n font-weight: 500px;\n color: #fff;\n}\n.home {\n height: 100vh;\n position: relative;\n background-color: rgba(212, 212, 212, 0.329);\n}\n.content {\n left: 0;\n right: 0;\n top: 39px;\n bottom: 49px;\n overflow: hidden;\n position: absolute;\n}\n.pulldown {\n text-align: center;\n top: 15px;\n z-index: 20;\n}\n.pullUp {\n text-align: center;\n bottom: 50px;\n z-index: 20;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Moment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Moment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Moment.vue?vue&type=template&id=7536a858&scoped=true&\"\nimport script from \"./Moment.vue?vue&type=script&lang=js&\"\nexport * from \"./Moment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Moment.vue?vue&type=style&index=0&id=7536a858&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7536a858\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}