1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-commentDetail-commentDetail"],{"22e3":function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3"),e("c975"),e("ac1f"),e("1276"),e("d3b7"),e("25f0"),e("b680");var n={name:"u-number-box",props:{value:{type:Number,default:1},bgColor:{type:String,default:"#F2F3F5"},min:{type:Number,default:0},max:{type:Number,default:99999},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:26},color:{type:String,default:"#323233"},inputWidth:{type:[Number,String],default:80},inputHeight:{type:[Number,String],default:50},index:{type:[Number,String],default:""},disabledInput:{type:Boolean,default:!1},cursorSpacing:{type:[Number,String],default:100},longPress:{type:Boolean,default:!0},pressTime:{type:[Number,String],default:250},positiveInteger:{type:Boolean,default:!0}},watch:{value:function(t,i){this.changeFromInner||(this.inputVal=t,this.$nextTick((function(){this.changeFromInner=!1})))},inputVal:function(t,i){var e=this;if(""!=t){var n=0,a=this.$u.test.number(t);n=a&&t>=this.min&&t<=this.max?t:i,this.positiveInteger&&(t<0||-1!==String(t).indexOf("."))&&(n=i,this.$nextTick((function(){e.inputVal=i}))),this.handleChange(n,"change")}}},data:function(){return{inputVal:1,timer:null,changeFromInner:!1,innerChangeTimer:null}},created:function(){this.inputVal=Number(this.value)},computed:{getCursorSpacing:function(){return Number(uni.upx2px(this.cursorSpacing))}},methods:{btnTouchStart:function(t){var i=this;this[t](),this.longPress&&(clearInterval(this.timer),this.timer=null,this.timer=setInterval((function(){i[t]()}),this.pressTime))},clearTimer:function(){var t=this;this.$nextTick((function(){clearInterval(t.timer),t.timer=null}))},minus:function(){this.computeVal("minus")},plus:function(){this.computeVal("plus")},calcPlus:function(t,i){var e,n,a;try{n=t.toString().split(".")[1].length}catch(o){n=0}try{a=i.toString().split(".")[1].length}catch(o){a=0}e=Math.pow(10,Math.max(n,a));var r=n>=a?n:a;return((t*e+i*e)/e).toFixed(r)},calcMinus:function(t,i){var e,n,a;try{n=t.toString().split(".")[1].length}catch(o){n=0}try{a=i.toString().split(".")[1].length}catch(o){a=0}e=Math.pow(10,Math.max(n,a));var r=n>=a?n:a;return((t*e-i*e)/e).toFixed(r)},computeVal:function(t){if(uni.hideKeyboard(),!this.disabled){var i=0;"minus"===t?i=this.calcMinus(this.inputVal,this.step):"plus"===t&&(i=this.calcPlus(this.inputVal,this.step)),i<this.min||i>this.max||(this.inputVal=i,this.handleChange(i,t))}},onBlur:function(t){var i=this,e=0,n=t.detail.value;/(^\d+$)/.test(n)&&0!=n[0]||(e=this.min),e=+n,e>this.max?e=this.max:e<this.min&&(e=this.min),this.$nextTick((function(){i.inputVal=e})),this.handleChange(e,"blur")},onFocus:function(){this.$emit("focus")},handleChange:function(t,i){var e=this;this.disabled||(this.innerChangeTimer&&(clearTimeout(this.innerChangeTimer),this.innerChangeTimer=null),this.changeFromInner=!0,this.innerChangeTimer=setTimeout((function(){e.changeFromInner=!1}),150),this.$emit("input",Number(t)),this.$emit(i,{value:Number(t),index:this.index}))}}};i.default=n},4058:function(t,i,e){var n=e("758d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("8fe52362",n,!0,{sourceMap:!1,shadowMode:!1})},"449b":function(t,i,e){var n=e("4bad");i=n(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */.u-swiper-wrap[data-v-21568f1e]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-21568f1e]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-21568f1e]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-21568f1e]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-21568f1e]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-21568f1e]{padding:%?0?%!important}.u-list-item[data-v-21568f1e]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-21568f1e]{margin-top:%?0?%!important}.custom-list-item[data-v-21568f1e]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-numberbox[data-v-21568f1e]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.u-number-input[data-v-21568f1e]{position:relative;text-align:center;padding:0;margin:0 %?6?%;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.u-icon-plus[data-v-21568f1e],\n.u-icon-minus[data-v-21568f1e]{width:%?60?%;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.u-icon-plus[data-v-21568f1e]{border-radius:0 %?8?% %?8?% 0}.u-icon-minus[data-v-21568f1e]{border-radius:%?8?% 0 0 %?8?%}.u-icon-disabled[data-v-21568f1e]{color:#c8c9cc!important;background:#f7f8fa!important}.u-input-disabled[data-v-21568f1e]{color:#c8c9cc!important;background-color:#f2f3f5!important}',""]),t.exports=i},"758d":function(t,i,e){var n=e("4bad"),a=e("ffbf"),r=e("7b20");i=n(!1);var o=a(r);i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */.u-swiper-wrap[data-v-2bcdbc45]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-2bcdbc45]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-2bcdbc45]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-2bcdbc45]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-2bcdbc45]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-2bcdbc45]{padding:%?0?%!important}.u-list-item[data-v-2bcdbc45]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-2bcdbc45]{margin-top:%?0?%!important}.custom-list-item[data-v-2bcdbc45]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page[data-v-2bcdbc45]{height:100vh}.background-wrapper[data-v-2bcdbc45]{width:100%;height:100vh;background:url('+o+') no-repeat;background-size:100% auto;position:fixed;top:0}.title[data-v-2bcdbc45]{margin-top:%?55?%;padding:%?0?% %?50?%;font-size:%?42?%;font-weight:400;color:#fff;text-align:center}.content[data-v-2bcdbc45]{width:100%;height:calc(100% - %?200?%);position:absolute;z-index:2}.content .user-info[data-v-2bcdbc45]{height:%?40?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?26?%;margin-top:%?20?%}.content .user-info .u-avatar[data-v-2bcdbc45]{display:block}.content .comment-list[data-v-2bcdbc45]{margin-top:%?50?%;height:calc(100% - %?340?%);background:#fff;box-shadow:0 %?5?% %?10?% %?0?% hsla(0,0%,75.3%,.3);border-radius:%?10?%;margin-left:%?30?%;margin-right:%?30?%}.content .comment-list .comment-list-item[data-v-2bcdbc45]{padding:%?30?%;font-size:%?28?%;font-weight:400}.content .comment-list .comment-list-item .rank[data-v-2bcdbc45]{margin-top:%?30?%;font-size:%?24?%;font-weight:400;color:#777}.content .comment-list .comment-list-item[data-v-2bcdbc45]:not(:last-of-type)::after{margin-top:%?34?%;content:" ";display:block;width:100%;height:%?1?%;background:#ddd}.content .comment-list .comment-list-scroll[data-v-2bcdbc45]{width:100%;height:100%}.content .submit-btn[data-v-2bcdbc45]{margin-top:%?30?%;background:#d72f11;border-radius:%?8?%;color:#fff;margin-left:%?30?%;margin-right:%?30?%;height:%?80?%;font-weight:400;font-size:%?40?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;letter-spacing:%?20?%}',""]),t.exports=i},"864a":function(t,i,e){var n=e("449b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("4587f764",n,!0,{sourceMap:!1,shadowMode:!1})},"891d":function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{title:"2021年支部“先锋指数”量化考评 党员自评",commentOptions:[{id:1,title:"在线自学政治理论知识,每学习一条加0.1分,最高加 16分。"},{id:2,title:"在线自学政治理论知识,每学习一条加0.1分,最高加 16分。"},{id:3,title:"在线自学政治理论知识,每学习一条加0.1分,最高加 16分。"},{id:4,title:"在线自学政治理论知识,每学习一条加0.1分,最高加 16分。"},{id:5,title:"在线自学政治理论知识,每学习一条加0.1分,最高加 16分。"}]}},methods:{}};i.default=n},"955d":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return n}));var n={uNavbar:e("87cd").default,uAvatar:e("13a2").default,uNumberBox:e("c20a").default},a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"page"},[e("u-navbar",{staticClass:"custom-nav-bar",attrs:{"title-color":"white","back-icon-color":"#ffffff","border-bottom":!1,background:{background:"transparent"},"is-back":!0,title:"评议详情"}}),e("v-uni-view",{staticClass:"background-wrapper"}),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(t.title))]),e("v-uni-view",{staticClass:"user-info"},[e("u-avatar",{staticStyle:{"margin-right":"20rpx"},attrs:{size:"40",src:"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eoZCdCJ1vWib8CYx7k3c5q1GPcZzoE4q9FQ4pSId97Gapul0YGrQ2QPJIgicjWt5O90ibibAmq2dX4K8A/132",mode:"circle"}}),t._v("张三")],1),e("v-uni-view",{staticClass:"comment-list"},[e("v-uni-scroll-view",{staticClass:"comment-list-scroll",attrs:{"scroll-y":!0}},t._l(t.commentOptions,(function(i,n){return e("v-uni-view",{key:i.id,staticClass:"comment-list-item"},[e("v-uni-view",{staticClass:"comment-question"},[t._v(t._s(n+1+"、"+i.title))]),e("v-uni-view",{staticClass:"rank"},[t._v("评分:"),e("u-number-box",{staticStyle:{margin:"0rpx 20rpx"},model:{value:i.value,callback:function(e){t.$set(i,"value",e)},expression:"item.value"}}),t._v("分")],1)],1)})),1)],1),e("v-uni-view",{staticClass:"submit-btn btn"},[t._v("提交")])],1)],1)},r=[]},"9a27":function(t,i,e){"use strict";e.r(i);var n=e("955d"),a=e("f43f");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);e("a05d");var o,c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"2bcdbc45",null,!1,n["a"],o);i["default"]=s.exports},a05d:function(t,i,e){"use strict";var n=e("4058"),a=e.n(n);a.a},bb70:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return n}));var n={uIcon:e("f86b").default},a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"u-numberbox"},[e("v-uni-view",{staticClass:"u-icon-minus",class:{"u-icon-disabled":t.disabled||t.inputVal<=t.min},style:{background:t.bgColor,height:t.inputHeight+"rpx",color:t.color},on:{touchstart:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i),t.btnTouchStart("minus")},touchend:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i),t.clearTimer.apply(void 0,arguments)}}},[e("u-icon",{attrs:{name:"minus",size:t.size}})],1),e("v-uni-input",{staticClass:"u-number-input",class:{"u-input-disabled":t.disabled},style:{color:t.color,fontSize:t.size+"rpx",background:t.bgColor,height:t.inputHeight+"rpx",width:t.inputWidth+"rpx"},attrs:{disabled:t.disabledInput||t.disabled,"cursor-spacing":t.getCursorSpacing,type:"number"},on:{blur:function(i){arguments[0]=i=t.$handleEvent(i),t.onBlur.apply(void 0,arguments)},focus:function(i){arguments[0]=i=t.$handleEvent(i),t.onFocus.apply(void 0,arguments)}},model:{value:t.inputVal,callback:function(i){t.inputVal=i},expression:"inputVal"}}),e("v-uni-view",{staticClass:"u-icon-plus",class:{"u-icon-disabled":t.disabled||t.inputVal>=t.max},style:{background:t.bgColor,height:t.inputHeight+"rpx",color:t.color},on:{touchstart:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i),t.btnTouchStart("plus")},touchend:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i),t.clearTimer.apply(void 0,arguments)}}},[e("u-icon",{attrs:{name:"plus",size:t.size}})],1)],1)},r=[]},c20a:function(t,i,e){"use strict";e.r(i);var n=e("bb70"),a=e("d83d");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);e("cc9e");var o,c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"21568f1e",null,!1,n["a"],o);i["default"]=s.exports},cc9e:function(t,i,e){"use strict";var n=e("864a"),a=e.n(n);a.a},d83d:function(t,i,e){"use strict";e.r(i);var n=e("22e3"),a=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);i["default"]=a.a},f43f:function(t,i,e){"use strict";e.r(i);var n=e("891d"),a=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);i["default"]=a.a}}]);
|