摘要: 当然,插件市场也是有类似的封装的 <style lang="scss" scoped> .bg{ background: white; padding: 10rpx 0; } .swiper{ width: 710rpx; height: 220rpx; border-radius:15rpx ; 阅读全文
posted @ 2020-04-01 18:23 Robot666 阅读(253) 评论(0) 推荐(0) 编辑
摘要: uni-app中有横向导航栏和纵向导航栏的插件,如下(实现方式大同小异,看自身习惯程度): https://ext.dcloud.net.cn/plugin?id=1149 <template><view class="nav"><view class="search-box" @click="to 阅读全文
posted @ 2020-04-01 18:03 Robot666 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 分两种情况;第一种情况是本地已经创建了项目并且这个项目之前连在了别的远程,那么这种就要切换仓库,对切换仓库不熟的话,可以把本地的“.git”目录文件删除,然后走下面命令git initgit add .git commit -m "Initial commit" git remote add ori 阅读全文
posted @ 2020-03-25 16:17 Robot666 阅读(762) 评论(0) 推荐(0) 编辑
摘要: <template> <el-popover placement="left" trigger="click" v-model="timePopvisible"> <div style="width:500px" class="new_time"> <div v-show="!checkout" c 阅读全文
posted @ 2020-01-12 23:23 Robot666 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 关于引入后要如何使用后期会发出一些具体操作! 阅读全文
posted @ 2019-12-28 19:02 Robot666 阅读(314) 评论(0) 推荐(0) 编辑
摘要: export default class WebSocketClass { constructor(url, msgCallback,time) { const IS_HTTPS = document.location.protocol.includes('https') let wsProtoco 阅读全文
posted @ 2019-12-27 00:24 Robot666 阅读(473) 评论(0) 推荐(0) 编辑
摘要: export default class WebSocketClass { constructor(url, msgCallback, time) { const IS_HTTPS = document.location.protocol.includes('https') //容错 http ht 阅读全文
posted @ 2019-12-27 00:21 Robot666 阅读(1766) 评论(0) 推荐(0) 编辑
摘要: getPwd () { this.form.pwd = this.randomPassword(8) }, randomPassword(length) { length = Number(length) // Limit length if (length < 8) { length = 8 }  阅读全文
posted @ 2019-12-22 20:28 Robot666 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 当你去做后端请求时,并且接口的data数组中为null或者数据为空时挡住用户眼睛的“遮罩层” <template> <span class="no_wrap"> <span class="no_data"> <!-- <img src="../../assets/images/boms/fonts/ 阅读全文
posted @ 2019-12-22 20:27 Robot666 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: 一些常用的功能会用到的如下: <el-button v-show="scope.row.state !== 1" type="text" size="small" @click="startB(scope.row)">启用</el-button> <el-button v-show="scope.r 阅读全文
posted @ 2019-12-22 20:21 Robot666 阅读(634) 评论(0) 推荐(0) 编辑