5 files modified
2 files added
1 files deleted
| | |
| | | "location": "0.0.1", |
| | | "mockjs2": "^1.0.8", |
| | | "navigator": "^1.0.1", |
| | | "owo": "^1.0.2", |
| | | "text-loader": "^0.0.1", |
| | | "v-viewer": "^1.6.4", |
| | | "vue": "^2.6.14", |
New file |
| | |
| | | .OwO{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.OwO:hover .OwO-logo{color:#444}.OwO.OwO-open .OwO-logo{border-radius:4px 4px 0 0;border-bottom:none;color:#444}.OwO.OwO-open .OwO-body{display:block}.OwO.OwO-up .OwO-body{top:inherit;bottom:21px;border-radius:4px 4px 4px 0}.OwO.OwO-up .OwO-body .OwO-bar .OwO-packages li:nth-child(1){border-radius:0}.OwO.OwO-up.OwO-open .OwO-logo{border:1px solid #ddd;border-radius:0 0 4px 4px;border-top:none}.OwO .OwO-logo{position:relative;display:inline-block;color:#888;background:#fff;border:1px solid #ddd;border-radius:4px;font-size:13px;padding:2px 5px;cursor:pointer;height:22px;box-sizing:border-box;z-index:2;line-height:16px}.OwO .OwO-logo:hover span{display:inline-block;-webkit-animation:a 5s infinite ease-in-out;animation:a 5s infinite ease-in-out}.OwO .OwO-body{display:none;position:absolute;width:400px;background:#fff;border:1px solid #ddd;z-index:1;top:21px;border-radius:0 4px 4px 4px}.OwO .OwO-body .OwO-items{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:none;padding:10px;margin:0;overflow:scroll;font-size:0}.OwO .OwO-body .OwO-items .OwO-item{list-style-type:none;background:#f7f7f7;padding:5px 10px;border-radius:5px;display:inline-block;font-size:12px;line-height:14px;margin:0 10px 12px 0;cursor:pointer;-webkit-transition:.3s;transition:.3s}.OwO .OwO-body .OwO-items .OwO-item:hover{background:#eee;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-animation:a 5s infinite ease-in-out;animation:a 5s infinite ease-in-out}.OwO .OwO-body .OwO-items-emoji .OwO-item{font-size:20px;line-height:19px}.OwO .OwO-body .OwO-items-image .OwO-item{max-width:calc(25% - 10px);box-sizing:border-box}.OwO .OwO-body .OwO-items-image .OwO-item img{max-width:100%}.OwO .OwO-body .OwO-items-show{display:block}.OwO .OwO-body .OwO-bar{width:100%;height:30px;border-top:1px solid #ddd;background:#fff;border-radius:0 0 4px 4px;color:#444}.OwO .OwO-body .OwO-bar .OwO-packages{margin:0;padding:0;font-size:0}.OwO .OwO-body .OwO-bar .OwO-packages li{list-style-type:none;display:inline-block;line-height:30px;font-size:14px;padding:0 10px;cursor:pointer;margin-right:3px}.OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1){border-radius:0 0 0 3px}.OwO .OwO-body .OwO-bar .OwO-packages li:hover{background:#eee}.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active{background:#eee;-webkit-transition:.3s;transition:.3s}@-webkit-keyframes a{2%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}4%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}6%{-webkit-transform:translateY(1.5px) rotate(-1.5deg);transform:translateY(1.5px) rotate(-1.5deg)}8%{-webkit-transform:translateY(-1.5px) rotate(-1.5deg);transform:translateY(-1.5px) rotate(-1.5deg)}10%{-webkit-transform:translateY(2.5px) rotate(1.5deg);transform:translateY(2.5px) rotate(1.5deg)}12%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}14%{-webkit-transform:translateY(-1.5px) rotate(1.5deg);transform:translateY(-1.5px) rotate(1.5deg)}16%{-webkit-transform:translateY(-.5px) rotate(-1.5deg);transform:translateY(-.5px) rotate(-1.5deg)}18%{-webkit-transform:translateY(.5px) rotate(-1.5deg);transform:translateY(.5px) rotate(-1.5deg)}20%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}22%{-webkit-transform:translateY(.5px) rotate(-1.5deg);transform:translateY(.5px) rotate(-1.5deg)}24%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}26%{-webkit-transform:translateY(.5px) rotate(.5deg);transform:translateY(.5px) rotate(.5deg)}28%{-webkit-transform:translateY(.5px) rotate(1.5deg);transform:translateY(.5px) rotate(1.5deg)}30%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}32%,34%{-webkit-transform:translateY(1.5px) rotate(-.5deg);transform:translateY(1.5px) rotate(-.5deg)}36%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}38%{-webkit-transform:translateY(1.5px) rotate(-1.5deg);transform:translateY(1.5px) rotate(-1.5deg)}40%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}42%{-webkit-transform:translateY(2.5px) rotate(-1.5deg);transform:translateY(2.5px) rotate(-1.5deg)}44%{-webkit-transform:translateY(1.5px) rotate(.5deg);transform:translateY(1.5px) rotate(.5deg)}46%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}48%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}50%{-webkit-transform:translateY(.5px) rotate(.5deg);transform:translateY(.5px) rotate(.5deg)}52%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}54%{-webkit-transform:translateY(-1.5px) rotate(1.5deg);transform:translateY(-1.5px) rotate(1.5deg)}56%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}58%{-webkit-transform:translateY(.5px) rotate(2.5deg);transform:translateY(.5px) rotate(2.5deg)}60%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}62%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}64%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}66%{-webkit-transform:translateY(1.5px) rotate(-.5deg);transform:translateY(1.5px) rotate(-.5deg)}68%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}70%{-webkit-transform:translateY(1.5px) rotate(.5deg);transform:translateY(1.5px) rotate(.5deg)}72%{-webkit-transform:translateY(2.5px) rotate(1.5deg);transform:translateY(2.5px) rotate(1.5deg)}74%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}76%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}78%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}80%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}82%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}84%{-webkit-transform:translateY(1.5px) rotate(2.5deg);transform:translateY(1.5px) rotate(2.5deg)}86%{-webkit-transform:translateY(-1.5px) rotate(-1.5deg);transform:translateY(-1.5px) rotate(-1.5deg)}88%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}90%{-webkit-transform:translateY(2.5px) rotate(-.5deg);transform:translateY(2.5px) rotate(-.5deg)}92%{-webkit-transform:translateY(.5px) rotate(-.5deg);transform:translateY(.5px) rotate(-.5deg)}94%{-webkit-transform:translateY(2.5px) rotate(.5deg);transform:translateY(2.5px) rotate(.5deg)}96%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}98%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}0%,to{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}}@keyframes a{2%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}4%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}6%{-webkit-transform:translateY(1.5px) rotate(-1.5deg);transform:translateY(1.5px) rotate(-1.5deg)}8%{-webkit-transform:translateY(-1.5px) rotate(-1.5deg);transform:translateY(-1.5px) rotate(-1.5deg)}10%{-webkit-transform:translateY(2.5px) rotate(1.5deg);transform:translateY(2.5px) rotate(1.5deg)}12%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}14%{-webkit-transform:translateY(-1.5px) rotate(1.5deg);transform:translateY(-1.5px) rotate(1.5deg)}16%{-webkit-transform:translateY(-.5px) rotate(-1.5deg);transform:translateY(-.5px) rotate(-1.5deg)}18%{-webkit-transform:translateY(.5px) rotate(-1.5deg);transform:translateY(.5px) rotate(-1.5deg)}20%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}22%{-webkit-transform:translateY(.5px) rotate(-1.5deg);transform:translateY(.5px) rotate(-1.5deg)}24%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}26%{-webkit-transform:translateY(.5px) rotate(.5deg);transform:translateY(.5px) rotate(.5deg)}28%{-webkit-transform:translateY(.5px) rotate(1.5deg);transform:translateY(.5px) rotate(1.5deg)}30%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}32%,34%{-webkit-transform:translateY(1.5px) rotate(-.5deg);transform:translateY(1.5px) rotate(-.5deg)}36%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}38%{-webkit-transform:translateY(1.5px) rotate(-1.5deg);transform:translateY(1.5px) rotate(-1.5deg)}40%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}42%{-webkit-transform:translateY(2.5px) rotate(-1.5deg);transform:translateY(2.5px) rotate(-1.5deg)}44%{-webkit-transform:translateY(1.5px) rotate(.5deg);transform:translateY(1.5px) rotate(.5deg)}46%{-webkit-transform:translateY(-1.5px) rotate(2.5deg);transform:translateY(-1.5px) rotate(2.5deg)}48%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}50%{-webkit-transform:translateY(.5px) rotate(.5deg);transform:translateY(.5px) rotate(.5deg)}52%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}54%{-webkit-transform:translateY(-1.5px) rotate(1.5deg);transform:translateY(-1.5px) rotate(1.5deg)}56%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}58%{-webkit-transform:translateY(.5px) rotate(2.5deg);transform:translateY(.5px) rotate(2.5deg)}60%{-webkit-transform:translateY(2.5px) rotate(2.5deg);transform:translateY(2.5px) rotate(2.5deg)}62%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}64%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}66%{-webkit-transform:translateY(1.5px) rotate(-.5deg);transform:translateY(1.5px) rotate(-.5deg)}68%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}70%{-webkit-transform:translateY(1.5px) rotate(.5deg);transform:translateY(1.5px) rotate(.5deg)}72%{-webkit-transform:translateY(2.5px) rotate(1.5deg);transform:translateY(2.5px) rotate(1.5deg)}74%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}76%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}78%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}80%{-webkit-transform:translateY(1.5px) rotate(1.5deg);transform:translateY(1.5px) rotate(1.5deg)}82%{-webkit-transform:translateY(-.5px) rotate(.5deg);transform:translateY(-.5px) rotate(.5deg)}84%{-webkit-transform:translateY(1.5px) rotate(2.5deg);transform:translateY(1.5px) rotate(2.5deg)}86%{-webkit-transform:translateY(-1.5px) rotate(-1.5deg);transform:translateY(-1.5px) rotate(-1.5deg)}88%{-webkit-transform:translateY(-.5px) rotate(2.5deg);transform:translateY(-.5px) rotate(2.5deg)}90%{-webkit-transform:translateY(2.5px) rotate(-.5deg);transform:translateY(2.5px) rotate(-.5deg)}92%{-webkit-transform:translateY(.5px) rotate(-.5deg);transform:translateY(.5px) rotate(-.5deg)}94%{-webkit-transform:translateY(2.5px) rotate(.5deg);transform:translateY(2.5px) rotate(.5deg)}96%{-webkit-transform:translateY(-.5px) rotate(1.5deg);transform:translateY(-.5px) rotate(1.5deg)}98%{-webkit-transform:translateY(-1.5px) rotate(-.5deg);transform:translateY(-1.5px) rotate(-.5deg)}0%,to{-webkit-transform:translate(0) rotate(0deg);transform:translate(0) rotate(0deg)}} |
| | |
| | | <template> |
| | | <div class="OwO fadeIn " style="" v-bind:class="{'OwO-open':open}"> |
| | | <div class="OwO-logo" @click="openOwO"><span>OωO</span></div> |
| | | <div class="OwO-body" style="width: 100%"> |
| | | <div class="OwO-jio"></div> |
| | | <div> |
| | | <div class="OwO fadeIn " style="z-index:10" v-bind:class="{'OwO-open':open}"> |
| | | <div class="OwO-logo" @click="openOwO"><span>OωO</span></div> |
| | | <div class="OwO-body" style="width: 100%;position: initial;"> |
| | | <div class="OwO-jio"></div> |
| | | <ul class="OwO-items OwO-items-emoticon " style="max-height: 197px;" |
| | | v-for="(packageKey, index ) in packages" v-bind:class="{'OwO-items-show':selectTabIndex==index}"> |
| | | <div v-if="myConfig[packageKey].type=='image'"> |
| | | |
| | | <ul class="OwO-items OwO-items-emoticon " style="max-height: 197px;" |
| | | v-for="(packageKey, index ) in packages" v-bind:class="{'OwO-items-show':selectTabIndex==index}"> |
| | | <!-- {{myConfig[packageKey].container.length}} |
| | | {{myConfig[packageKey].container}} --> |
| | | |
| | | <li v-if="myConfig[packageKey].type=='image'" class="OwO-item" :data-id="item.data" :title="item.text" |
| | | v-for="(item,index ) in myConfig[packageKey].container"> |
| | | <img loading="lazy" :class="'biaoqing '+item.data" :src="item.icon"> |
| | | </li> |
| | | <li class="OwO-item" :data-id="item.data" :title="item.text" |
| | | v-for="(item,index ) in myConfig[packageKey].container" @click="getCotent(item,false)"> |
| | | <img loading="lazy" :class="'biaoqing '+item.css" :src="item.icon"> |
| | | </li> |
| | | </div> |
| | | |
| | | <li v-else class="OwO-item" :data-id="item.data" :title="item.text" |
| | | v-for="(item,index ) in myConfig[packageKey].container"> |
| | | {{item.icon}} |
| | | </li> |
| | | |
| | | <!-- <li class="OwO-item" data-id="${opackage[i].data}" title="${opackage[i].text}"> |
| | | <img loading="lazy" class="biaoqing ${opackage[i].css}" src="${opackage[i].icon}"></li>` |
| | | </li> --> |
| | | </ul> |
| | | |
| | | <div class="OwO-bar"> |
| | | <ul class="OwO-packages"> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==0}" @click="switchTab(0)"><span>颜文字</span> |
| | | </li> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==1}" @click="switchTab(1)"><span>Emoji</span> |
| | | </li> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==2}" @click="switchTab(2)"><span>蛆音娘</span> |
| | | </li> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==3}" @click="switchTab(3)"><span>阿鲁</span> |
| | | </li> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==4}" @click="switchTab(4)"><span>泡泡</span> |
| | | </li> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==5}" @click="switchTab(5)"><span>Heo</span> |
| | | </li> |
| | | <div v-else> |
| | | <li class="OwO-item" data-id="not-given" :title="item.text" |
| | | v-for="(item,index) in myConfig[packageKey].container" @click="getCotent(item,true)"> |
| | | {{item.icon}} |
| | | </li> |
| | | </div> |
| | | </ul> |
| | | |
| | | <div class="OwO-bar" style="height: auto;"> |
| | | <ul class="OwO-packages"> |
| | | <li v-bind:class="{'OwO-package-active':selectTabIndex==index}" @click="switchTab(index)" |
| | | style="border-bottom: 1px solid;" v-for="(packagesName,index) in packages"> |
| | | <span>{{packagesName}}</span> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import OwOjsonConfig from '../../assets/OwO.json' |
| | | import '../../assets/css/OwO.min.css'; |
| | | import OwOjsonConfig from '../../assets/OwO.json'; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | open: true, |
| | | open: false, |
| | | selectTabIndex: 0, |
| | | tabNameList: [], |
| | | packages: null, |
| | | myConfig: OwOjsonConfig, |
| | | selectContext: null |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.init() |
| | | }, |
| | | methods: { |
| | | switchTab(index) { |
| | | // this.$message.info(index) |
| | | this.selectTabIndex = index; |
| | | }, |
| | | openOwO() { |
| | |
| | | return |
| | | } |
| | | this.packages = Object.keys(OwOjsonConfig); |
| | | } |
| | | }, |
| | | getCotent(item, outputType) { |
| | | if (outputType) { |
| | | this.selectContext = item.icon; |
| | | } else { |
| | | this.selectContext = item.data; |
| | | } |
| | | this.$emit("insertOwO", this.selectContext) |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | <style lang="less"> |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <div id="area"> |
| | | <a-form-item> |
| | | <a-textarea ref="targetArea" :rows="4" v-model="visitorContent" :placeholder="this.$attrs.replyHolder" |
| | | class="OwO-textarea" /> |
| | | </a-form-item> |
| | | <MyOwO @insertOwO="insertOwO"></MyOwO> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import MyOwO from './MyOwO.vue' |
| | | |
| | | export default { |
| | | components: { |
| | | MyOwO |
| | | }, |
| | | props: { |
| | | content: String |
| | | }, |
| | | data() { |
| | | return { |
| | | visitorContent: '', |
| | | } |
| | | }, |
| | | watch: { |
| | | visitorContent: function(newValue, oldValue) { |
| | | // if (newValue.length > 0) { |
| | | // if (!this.init) { |
| | | // this.showTip = true; |
| | | // setTimeout(() => { |
| | | // this.showTip = false; |
| | | // }, 5000); |
| | | // } |
| | | // this.init = true; |
| | | // this.initOwO(); |
| | | // } |
| | | this.$emit("update:content", newValue) |
| | | }, |
| | | }, |
| | | methods: { |
| | | insertOwO(text) { |
| | | console.log(text); |
| | | this.insertInputTxt(text) |
| | | }, |
| | | insertInputTxt(insertTxt) { |
| | | var elInput = this.$refs.targetArea.$el |
| | | var startPos = elInput.selectionStart |
| | | var endPos = elInput.selectionEnd |
| | | if (startPos === undefined || endPos === undefined) return |
| | | var txt = elInput.value |
| | | var result = txt.substring(0, startPos) + insertTxt + txt.substring(endPos) |
| | | elInput.value = result |
| | | this.visitorContent = result |
| | | elInput.focus() |
| | | elInput.selectionStart = startPos + insertTxt.length |
| | | elInput.selectionEnd = startPos + insertTxt.length |
| | | |
| | | this.$emit("update:content", this.visitorContent) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | </style> |
| | |
| | | //弹窗初始化后先不加载视频,等待手动播放 |
| | | this.init(); |
| | | |
| | | this.dp.volume(0, true, false); |
| | | this.dp.volume(0.1, true, false); |
| | | |
| | | this.dp.on('pause', function() { |
| | | _this.$message.info("停止播放") |
| | |
| | | |
| | | this.dp.on('error', function() { |
| | | _this.disabledPointer = true |
| | | this.closePlayer = true; |
| | | }); |
| | | |
| | | _this.$nextTick(function() { |
| | |
| | | dp: null, |
| | | hls: null, |
| | | videoData: {}, |
| | | closePlayer: false |
| | | closePlayer: false, |
| | | disabledPointer:false, |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | <span v-html="parseContent(msgInfo.userComment).replace(/\n/g, '<br>')"></span> |
| | | </div> |
| | | </div> |
| | | <a-comment style="min-height: 320px;"> |
| | | <a-comment style="min-height: 320px;"> |
| | | <div slot="content"> |
| | | <MyOwO :content.sync="form.visitorContent" :replyHolder="replyHolder"></MyOwO> |
| | | <MyTextarea :content.sync="form.visitorContent" :replyHolder="replyHolder"></MyTextarea> |
| | | |
| | | <div> |
| | | <a-button html-type="submit" type="primary" @click="send()" v-if="!showReplyMsgInfo" |
| | | :disabled="isSending || $attrs.isAllowedComment==0"> |
| | |
| | | } from '../../api/blogArticleComment.js' |
| | | import md5 from 'js-md5'; |
| | | |
| | | import MyOwO from '../common/OwO.vue' |
| | | import MyTextarea from '../common/MyTextarea.vue' |
| | | import myConstant from "../../config/myConstant.js" |
| | | |
| | | export default { |
| | | components: { |
| | | MyOwO |
| | | MyTextarea |
| | | }, |
| | | props: { |
| | | parseContent: { |
| | |
| | | return |
| | | } |
| | | } |
| | | |
| | | |
| | | if (this.form.eMail == 'inleft@qq.com') { |
| | | if (this.form.authCode == null || this.form.authCode == "") { |
| | | this.$message.info("此邮箱在这里使用需要正确的授权码..") |
| | |
| | | <template> |
| | | <div class="blog-main"> |
| | | <MyOwO v-if="1==1"></MyOwO> |
| | | <div v-else class="edit-main fade"> |
| | | <div class="edit-main fade"> |
| | | <div class="edit-info"> |
| | | <div class="edit-info-body blog-container "> |
| | | 配置项 |