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 line
7.3 KiB
1 line
7.3 KiB
|
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-template-comment-reply"],{6931:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("ade3")),s={data:function(){return{commentList:[],comment:""}},onLoad:function(){this.getReply()},methods:{getLike:function(t){0===t||t>0?(this.commentList[t].isLike=!this.commentList[t].isLike,1==this.commentList[t].isLike?this.commentList[t].likeNum++:this.commentList[t].likeNum--):1==this.comment.isLike?(this.comment.isLike=!this.comment.isLike,this.comment.likeNum--):(this.comment.isLike=!this.comment.isLike,this.comment.likeNum++)},getReply:function(){var t;this.comment={id:1,name:"叶轻眉",date:"12-25 18:58",contentText:"我不信伊朗会没有后续反应,美国肯定会为今天的事情付出代价的",url:"https://cdn.uviewui.com/uview/template/SmilingDog.jpg",allReply:12,likeNum:33,isLikes:!1},this.commentList=[{name:"新八几",date:"12-25 18:58",contentText:"不要乱打广告啊喂!虽然是真的超好用",url:"https://cdn.uviewui.com/uview/template/SmilingDog.jpg",likeNum:33,isLike:!1,reply:{name:"uview",contentStr:"uview是基于uniapp的一个UI框架,代码优美简洁,宇宙超级无敌彩虹旋转好用,用它!"}},{name:"叶轻眉1",date:"01-25 13:58",url:"https://cdn.uviewui.com/uview/template/SmilingDog.jpg",contentText:"我不信伊朗会没有后续反应,美国肯定会为今天的事情付出代价的",allReply:0,likeNum:11,isLike:!1,reply:{name:"粘粘",contentStr:"今天吃什么,明天吃什么,晚上吃什么,我只是一只小猫咪为什么要烦恼这么多"}},(t={name:"叶轻眉2",date:"03-25 13:58",contentText:"我不信伊朗会没有后续反应,美国肯定会为今天的事情付出代价的",allReply:0,likeNum:21,url:"https://cdn.uviewui.com/uview/template/SmilingDog.jpg",isLike:!1},(0,a.default)(t,"allReply",2),(0,a.default)(t,"reply",{name:"豆包",contentStr:"想吃冰糖葫芦粘豆包,但没钱5555........."}),t),{name:"叶轻眉3",date:"06-20 13:58",contentText:"我不信伊朗会没有后续反应,美国肯定会为今天的事情付出代价的",allReply:0,likeNum:150,url:"https://cdn.uviewui.com/uview/template/SmilingDog.jpg",isLike:!1}]}}};e.default=s},"81e9":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */uni-page-body[data-v-082dc2d2]{background-color:#f2f2f2}.comment[data-v-082dc2d2]{padding:%?30?%;font-size:%?32?%;background-color:#fff}.comment .top[data-v-082dc2d2]{display:flex;justify-content:space-between}.comment .left[data-v-082dc2d2]{display:flex}.comment .left .heart-photo uni-image[data-v-082dc2d2]{width:%?64?%;height:%?64?%;border-radius:50%;background-color:#f2f2f2}.comment .left .user-info[data-v-082dc2d2]{margin-left:%?10?%}.comment .left .user-info .name[data-v-082dc2d2]{color:#5677fc;font-size:%?28?%;margin-bottom:%?4?%}.comment .left .user-info .date[data-v-082dc2d2]{font-size:%?20?%;color:#c0c4cc}.comment .right[data-v-082dc2d2]{display:flex;font-size:%?20?%;align-items:center;color:#9a9a9a}.comment .right .like[data-v-082dc2d2]{margin-left:%?6?%}.comment .right .num[data-v-082dc2d2]{font-size:%?26?%;color:#9a9a9a}.comment .highlight[data-v-082dc2d2]{color:#5677fc}.comment .highlight .num[data-v-082dc2d2]{color:#5677fc}.all-reply[data-v-082dc2d2]{margin-top:%?10?%;padding-top:%?20?%;background-color:#fff}.all-reply .all-reply-top[data-v-082dc2d2]{margin-left:%?20?%;padding-left:%?20?%;border-left:solid %?4?% #5677fc;font-size:%?30?%;font-weight:700}.all-reply .item[data-v-082dc2d2]{border-bottom:solid %?2?% #e4e7ed}.all-reply .reply[data-v-082dc2d2]{padding:%?20?%;background-color:#f2f2f2;border-radius:%?12?%;margin:%?10?% 0}.all-reply .reply .username[d
|