Files
nuttyreading-html/unpackage/resources/__UNI__48F690A/www/pages/subnvue/comment.js
@fawn-nine f8e1a3015b 1
2023-03-03 12:11:23 +08:00

1 line
14 KiB
JavaScript

!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=77)}({0:function(e,t,o){"use strict";function r(e,t,o,r,n,i,a,s,c,l){var d,p="function"==typeof e?e.options:e;if(c){p.components||(p.components={});var u=Object.prototype.hasOwnProperty;for(var f in c)u.call(c,f)&&!u.call(p.components,f)&&(p.components[f]=c[f])}if(l&&((l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(p.mixins||(p.mixins=[])).push(l)),t&&(p.render=t,p.staticRenderFns=o,p._compiled=!0),r&&(p.functional=!0),i&&(p._scopeId="data-v-"+i),a?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=d):n&&(d=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),d)if(p.functional){p._injectStyles=d;var m=p.render;p.render=function(e,t){return d.call(t),m(e,t)}}else{var _=p.beforeCreate;p.beforeCreate=_?[].concat(_,d):[d]}return{exports:e,options:p}}o.d(t,"a",(function(){return r}))},11:function(e,t,o){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(o(12).default,Vue.prototype.__$appStyle__)},12:function(e,t,o){"use strict";o.r(t);var r=o(2),n=o.n(r);for(var i in r)"default"!==i&&function(e){o.d(t,e,(function(){return r[e]}))}(i);t.default=n.a},13:function(e,t){if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(o){return t.resolve(e()).then((function(){return o}))}),(function(o){return t.resolve(e()).then((function(){throw o}))}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){var o=uni.requireGlobal();ArrayBuffer=o.ArrayBuffer,Int8Array=o.Int8Array,Uint8Array=o.Uint8Array,Uint8ClampedArray=o.Uint8ClampedArray,Int16Array=o.Int16Array,Uint16Array=o.Uint16Array,Int32Array=o.Int32Array,Uint32Array=o.Uint32Array,Float32Array=o.Float32Array,Float64Array=o.Float64Array,BigInt64Array=o.BigInt64Array,BigUint64Array=o.BigUint64Array}},2:function(e,t){e.exports={"u-line-1":{lines:1,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-2":{lines:2,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-3":{lines:3,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-4":{lines:4,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-line-5":{lines:5,textOverflow:"ellipsis",overflow:"hidden",flex:1},"u-border":{borderWidth:"0.5",borderColor:"#dadbde",borderStyle:"solid"},"u-border-top":{borderTopWidth:"0.5",borderColor:"#dadbde",borderTopStyle:"solid"},"u-border-left":{borderLeftWidth:"0.5",borderColor:"#dadbde",borderLeftStyle:"solid"},"u-border-right":{borderRightWidth:"0.5",borderColor:"#dadbde",borderRightStyle:"solid"},"u-border-bottom":{borderBottomWidth:"0.5",borderColor:"#dadbde",borderBottomStyle:"solid"},"u-border-top-bottom":{borderTopWidth:"0.5",borderBottomWidth:"0.5",borderColor:"#dadbde",borderTopStyle:"solid",borderBottomStyle:"solid"},"u-reset-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0},"u-hover-class":{opacity:.7},"u-primary-light":{color:"#ecf5ff"},"u-warning-light":{color:"#fdf6ec"},"u-success-light":{color:"#f5fff0"},"u-error-light":{color:"#fef0f0"},"u-info-light":{color:"#f4f4f5"},"u-primary-light-bg":{backgroundColor:"#ecf5ff"},"u-warning-light-bg":{backgroundColor:"#fdf6ec"},"u-success-light-bg":{backgroundColor:"#f5fff0"},"u-error-light-bg":{backgroundColor:"#fef0f0"},"u-info-light-bg":{backgroundColor:"#f4f4f5"},"u-primary-dark":{color:"#398ade"},"u-warning-dark":{color:"#f1a532"},"u-success-dark":{color:"#53c21d"},"u-error-dark":{color:"#e45656"},"u-info-dark":{color:"#767a82"},"u-primary-dark-bg":{backgroundColor:"#398ade"},"u-warning-dark-bg":{backgroundColor:"#f1a532"},"u-success-dark-bg":{backgroundColor:"#53c21d"},"u-error-dark-bg":{backgroundColor:"#e45656"},"u-info-dark-bg":{backgroundColor:"#767a82"},"u-primary-disabled":{color:"#9acafc"},"u-warning-disabled":{color:"#f9d39b"},"u-success-disabled":{color:"#a9e08f"},"u-error-disabled":{color:"#f7b2b2"},"u-info-disabled":{color:"#c4c6c9"},"u-primary":{color:"#3c9cff"},"u-warning":{color:"#f9ae3d"},"u-success":{color:"#5ac725"},"u-error":{color:"#f56c6c"},"u-info":{color:"#909399"},"u-primary-bg":{backgroundColor:"#3c9cff"},"u-warning-bg":{backgroundColor:"#f9ae3d"},"u-success-bg":{backgroundColor:"#5ac725"},"u-error-bg":{backgroundColor:"#f56c6c"},"u-info-bg":{backgroundColor:"#909399"},"u-main-color":{color:"#303133"},"u-content-color":{color:"#606266"},"u-tips-color":{color:"#909193"},"u-light-color":{color:"#c0c4cc"},"@VERSION":2}},36:function(e,t,o){"use strict";var r=o(61),n=o(40),i=o(0);var a=Object(i.a)(n.default,r.b,r.c,!1,null,"01f53c60","13effad4",!1,r.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(o(69).default,this.options.style):Object.assign(this.options.style,o(69).default)}).call(a),t.default=a.exports},40:function(e,t,o){"use strict";var r=o(41),n=o.n(r);t.default=n.a},41:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;weex.requireModule("animation");var r={data:function(){return{screenWidth:750,screenHeight:1334,statusBarHeight:0,bottomBlackLineHeight:0}},created:function(){var e=uni.getSystemInfoSync();this.screenWidth=e.screenWidth,this.screenHeight=this.getPxRpx(e.screenHeight),this.statusBarHeight=e.statusBarHeight;["iPhone X","iPhone 11","iPhone 11 Pro Max"].includes(e.model)&&(this.bottomBlackLineHeight=40)},methods:{getPxRpx:function(e){return 750/this.screenWidth*e},onClose:function(){uni.getSubNVueById("comment").hide("slide-out-bottom",300)}}};t.default=r},42:function(e,t){e.exports={comment_popup_box:{backgroundColor:"#FFFFFF",borderTopLeftRadius:"40rpx",borderTopRightRadius:"40rpx",position:"relative",flexDirection:"column"},comment_popup_title:{height:"88rpx",alignItems:"center",justifyContent:"center",borderBottomColor:"#e5e5e5",borderBottomWidth:"2rpx"},comment_popup_title_text:{fontSize:"36rpx",color:"#333333"},comment_popup_close:{position:"absolute",right:0,top:0,width:"88rpx",height:"88rpx",alignItems:"center",justifyContent:"center"},comment_popup_close_image:{height:"24rpx",width:"24rpx"},comment_popup_scroll:{flex:1},comment_item:{paddingLeft:"32rpx",flexDirection:"row"},comment_item_image:{width:"64rpx",height:"64rpx",borderRadius:"32rpx",marginTop:"32rpx"},comment_item_info:{width:"598rpx",marginLeft:"34rpx",borderColor:"#e5e5e5",borderBottomWidth:"2rpx",paddingTop:"32rpx",paddingRight:"32rpx",paddingBottom:"32rpx",paddingLeft:0},name_like_box:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},comment_item_name:{fontSize:"28rpx",color:"#333333"},comment_item_like_box:{flexDirection:"row",alignItems:"center"},comment_item_like_image:{width:"32rpx",height:"32rpx"},comment_item_like_text:{fontSize:"24rpx",color:"#333333",marginLeft:"15rpx"},comment_item_time:{marginTop:"2rpx",fontSize:"24rpx",color:"#999999"},comment_item_content:{marginTop:"24rpx",fontSize:"28rpx",color:"#333333"},unfold_comment_box:{width:"598rpx",backgroundColor:"#f7f7f7",borderRadius:"8rpx"},unfold_comment_item:{flexDirection:"row",paddingLeft:"24rpx"},unfold_comment_item_image:{width:"64rpx",height:"64rpx",borderRadius:"32rpx",marginTop:"24rpx"},unfold_comment_item_info:{marginLeft:"24rpx",width:"486rpx",paddingTop:"24rpx",paddingRight:"24rpx",paddingBottom:"24rpx",paddingLeft:0,borderColor:"#e5e5e5",borderBottomWidth:"2rpx"},reply_unfold_box:{marginTop:"24rpx",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},comment_item_reply:{width:"80rpx",height:"40rpx",backgroundColor:"#f7f7f7",borderRadius:"29rpx",fontSize:"24rpx",color:"#999999",textAlign:"center",lineHeight:"40rpx"},comment_item_unfold_box:{flexDirection:"row",alignItems:"center",height:"40rpx",backgroundColor:"#f7f7f7",borderRadius:"29rpx",paddingTop:0,paddingRight:"15rpx",paddingBottom:0,paddingLeft:"15rpx"},comment_item_unfold_text:{fontSize:"24rpx",color:"#999999"},comment_item_unfold_imgage:{width:"24rpx",height:"24rpx",marginLeft:"5rpx"},unfold_comment_item_reply:{width:"80rpx",height:"40rpx",backgroundColor:"#cccccc",borderRadius:"29rpx",fontSize:"24rpx",color:"#FFFFFF",textAlign:"center",lineHeight:"40rpx"},send_input_box:{backgroundColor:"#FFFFFF"},send_box:{height:"98rpx",paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},send_input:{width:"474rpx",height:"74rpx",backgroundColor:"#f7f7f7",borderRadius:"52rpx",paddingTop:0,paddingRight:"30rpx",paddingBottom:0,paddingLeft:"30rpx",fontSize:"28rpx",color:"#999999"},send_button:{width:"188rpx",height:"74rpx",backgroundColor:"#3a8542",borderRadius:"52rpx",fontSize:"28rpx",color:"#ffffff",lineHeight:"74rpx",textAlign:"center"},"@VERSION":2}},61:function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return n})),o.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("view",{staticClass:["comment_popup_box"],style:{height:.8*e.screenHeight+"rpx"},on:{click:function(e){}}},[e._m(0),o("view",{staticClass:["comment_popup_close"],on:{click:e.onClose}},[o("u-image",{staticClass:["comment_popup_close_image"],attrs:{src:"../../static/icon/ic_close.png",mode:"aspectFit"}})],1),o("scroll-view",{staticClass:["comment_popup_scroll"],attrs:{scrollY:"true"}},[o("view",e._l(6,(function(t,r){return o("view",{key:r,staticClass:["comment_item"]},[o("u-image",{staticClass:["comment_item_image"],attrs:{src:"../../static/demo/5.jpg",mode:"aspectFill"}}),o("view",{staticClass:["comment_item_info"]},[o("view",{staticClass:["name_like_box"]},[o("u-text",{staticClass:["comment_item_name"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u91c7\u8611\u83c7\u7684\u5c0f\u7ea2\u5e3d")]),o("view",{staticClass:["comment_item_like_box"]},[o("u-image",{staticClass:["comment_item_like_image"],attrs:{src:"../../static/icon/ic_comment_liked.png",mode:"aspectFit"}}),o("u-text",{staticClass:["comment_item_like_text"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("6512")])],1)]),o("u-text",{staticClass:["comment_item_time"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u521a\u521a")]),o("u-text",{staticClass:["comment_item_content"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u4e3b\u6253\u4e2d\u4e0b\u94fa\uff0c\u2728\u8fb9\u8def\u53ef\u8865\u3002\u2728\u813e\u6c14\u597d\u6027\u683c\u597d\u3002\u65f6\u95f4\u591a\uff0c\u2728\u53cc\u533a\u661f\u8000\u4ee5\u4e0b\u90fd\u6709\u53f7...")]),o("view",{staticClass:["unfold_comment_box"]},e._l(3,(function(t,r){return o("view",{key:r,staticClass:["unfold_comment_item"]},[o("u-image",{staticClass:["unfold_comment_item_image"],attrs:{src:"../../static/demo/5.jpg",mode:"aspectFill"}}),o("view",{staticClass:["unfold_comment_item_info"]},[o("u-text",{staticClass:["comment_item_name"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u91c7\u8611\u83c7\u7684\u5c0f\u7ea2\u5e3d")]),o("u-text",{staticClass:["comment_item_time"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u521a\u521a")]),o("u-text",{staticClass:["comment_item_content"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u4e3b\u6253\u4e2d\u4e0b\u94fa\uff0c\u2728\u8fb9\u8def\u53ef\u8865\u3002\u2728\u813e\u6c14\u597d\u6027\u683c\u597d\u3002\u65f6\u95f4\u591a\uff0c\u2728\u53cc\u533a\u661f\u8000\u4ee5\u4e0b\u90fd\u6709\u53f7...")]),o("u-text",{staticClass:["unfold_comment_item_reply"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u56de\u590d")])])],1)})),0),o("view",{staticClass:["reply_unfold_box"]},[o("u-text",{staticClass:["comment_item_reply"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u56de\u590d")]),o("view",{staticClass:["comment_item_unfold_box"]},[o("u-text",{staticClass:["comment_item_unfold_text"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u5c55\u5f002\u6761\u56de\u590d")]),o("u-image",{staticClass:["comment_item_unfold_imgage"],attrs:{src:"../../static/icon/ic_pull_down.png",mode:"aspectFit"}})],1)])])],1)})),0)]),o("view",{staticClass:["send_input_box"],style:{paddingBottom:e.bottomBlackLineHeight+"rpx"}},[o("view",{staticClass:["send_box"]},[o("u-input",{staticClass:["send_input"],attrs:{type:"text",placeholder:"\u8bf4\u8bf4\u60a8\u7684\u60f3\u6cd5"}}),o("u-text",{staticClass:["send_button"],appendAsTree:!0,attrs:{append:"tree"}},[e._v("\u53d1\u8868")])],1)])],1)},n=[function(){var e=this.$createElement,t=this._self._c||e;return t("view",{staticClass:["comment_popup_title"]},[t("u-text",{staticClass:["comment_popup_title_text"],appendAsTree:!0,attrs:{append:"tree"}},[this._v("2478\u6761\u8bc4\u8bba")])])}]},69:function(e,t,o){"use strict";o.r(t);var r=o(42),n=o.n(r);for(var i in r)"default"!==i&&function(e){o.d(t,e,(function(){return r[e]}))}(i);t.default=n.a},77:function(e,t,o){"use strict";o.r(t);o(11),o(13);var r=o(36);r.default.mpType="page",r.default.route="pages/subnvue/comment",r.default.el="#root",new Vue(r.default)}});