改正授权码md5加密
bgm链接修改
允许后置日期提交
简介提交支持
| | |
| | | let tempData = this.$refs.modalBox.form; |
| | | var param = { |
| | | introduce: tempData.introduce, |
| | | secret: tempData.secret, |
| | | secret: tempData.secret == "" ? null : md5(tempData.secret), |
| | | title: tempData.title, |
| | | articleTypeId: tempData.class, |
| | | isOnline: !tempData.online ? 1 : 0, |
| | |
| | | console.log(param) |
| | | this.loading = true; |
| | | blogAdd(param).then((res) => { |
| | | this.$message.info("生成日志成功..") |
| | | this.visible = false; |
| | | |
| | | if (res.code == 200) { |
| | | this.$message.info("生成日志成功..") |
| | | this.visible = false; |
| | | } else{ |
| | | this.$message.error('生成日志失败:' + res.message) |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | // setTimeout(() => { |
| | |
| | | <a-icon type="smile" /> |
| | | </a-button> |
| | | <a-button @click="showMessage"> |
| | | <a-badge status="success"> |
| | | <a-badge ><!-- status="success" --> |
| | | <span>消息</span> |
| | | </a-badge> |
| | | <a-icon type="message" /> |
| | |
| | | audio: { |
| | | name: 'Moonwisher', |
| | | artist: 'Kan R. Gao', |
| | | url: 'http://music.163.com/song/media/outer/url?id=1645104.mp3', |
| | | url: 'http://t.inleft.com/share/mp3/moonwisher.mp3', |
| | | // url: '/moon.mp3', |
| | | cover: 'http://p2.music.126.net/0AYWra9rCzgeprGp6OUyUw==/868614185993997.jpg?param=130y130', |
| | | }, |
| | |
| | | } |
| | | } |
| | | </style> |
| | | <style lang="less" scoped> |
| | | a:hover::after { |
| | | left: -50%; |
| | | } |
| | | </style> |
| | |
| | | |
| | | <a-form-model-item label="定时"> |
| | | <a-date-picker v-model="momentDate" show-time type="datetime" placeholder="发布时间" |
| | | style="width: 100%;" :disabledDate="disabledDate" @change="formatDate" |
| | | :getCalendarContainer="getCalendarContainer()" /> |
| | | style="width: 100%;" @change="formatDate" |
| | | :getCalendarContainer="getCalendarContainer()" /><!-- :disabledDate="disabledDate" --> |
| | | </a-form-model-item> |
| | | |
| | | <a-form-model-item label="标签"> |
| | |
| | | }, |
| | | ], |
| | | introduce: [{ |
| | | max: 5, |
| | | max: 700, |
| | | message: '字数限制700', |
| | | trigger: 'blur' |
| | | }, ], |
| | |
| | | <template> |
| | | <div class="blog-container "> |
| | | <span class="blog-pigeonhole"> |
| | | <router-link :to="{path:'/articleList'}"> |
| | | <!-- <router-link :to="{path:'/articleList'}"> |
| | | 分类 |
| | | </router-link> |
| | | </router-link> --> |
| | | 分类 |
| | | </span> |
| | | <div class="blog-scroll "> |
| | | <div class="blog-log-list"> |
| | |
| | | } |
| | | } |
| | | </style> |
| | | <style lang="less" scoped> |
| | | a:hover::after { |
| | | left: -50%; |
| | | } |
| | | </style> |