摘要: <el-dialog title="提示" :visible.sync="dialogVisible" width="30%"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="d 阅读全文
posted @ 2021-08-19 09:40 晨曦_yuan小海 阅读(484) 评论(0) 推荐(0)
摘要: <el-table :data="tableData" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange"> <!-- 选项框 --> <el-table-column type="s 阅读全文
posted @ 2021-08-19 09:37 晨曦_yuan小海 阅读(174) 评论(0) 推荐(0)
摘要: 1.安装Element UI,链接如下: https://element.eleme.cn/#/zh-CN/component/installation 2.安装路由(也可以借助官方文档:https://router.vuejs.org/zh/) npm i vue-router -S 项目结构 首 阅读全文
posted @ 2021-07-26 16:27 晨曦_yuan小海 阅读(3494) 评论(0) 推荐(0)
摘要: <view style="position: absolute;top: -999999px;"> <view> <canvas :style="'width:' + windowWidth + 'px;' + 'height:' + windowHeight + 'px;'" canvas-id= 阅读全文
posted @ 2021-07-23 14:30 晨曦_yuan小海 阅读(1473) 评论(0) 推荐(0)
摘要: 先上效果图 实现了当天时间(现在时间点往后推半个小时直到当天的23:30),往后一天从00:00开始,也可以自定义实现效果 这里用到了moment.js插件,插件引入就靠你们自个了. //增加天数 dateFormatNormal_daySub(day){ // return moment().ad 阅读全文
posted @ 2021-06-25 10:23 晨曦_yuan小海 阅读(3979) 评论(0) 推荐(0)
摘要: export default {data() {return {height_home: 0,swiperHeight: 0,}}//获取高度时有时会获取失败,所以这里要预先执行onReady() {this.getSysHeight();}, methods: {//获取屏幕信息getSystem 阅读全文
posted @ 2021-01-31 11:25 晨曦_yuan小海 阅读(1032) 评论(0) 推荐(0)
摘要: .cell-class{ display: block; width: 100%; border-bottom: 4rpx solid #EBEBEB; font-size:26rpx; } .kind-list-item-bd { height: 0; overflow: hidden; } .k 阅读全文
posted @ 2020-12-11 11:58 晨曦_yuan小海 阅读(862) 评论(0) 推荐(0)
摘要: <template> <view> <view class="content_wrapper"> <view class="image_wrapper" :key="indexs" v-for="(img, indexs) in showImageData"> <icon v-if="!disabl 阅读全文
posted @ 2020-10-31 22:54 晨曦_yuan小海 阅读(1710) 评论(1) 推荐(1)
摘要: //表格布局 <table class="layui-table layui-form" id="data_list" lay-filter="data_list"> <thead> <tr> <th width="20" lay-data="{sort: true}">序号</th> <th wi 阅读全文
posted @ 2020-08-11 16:46 晨曦_yuan小海 阅读(1388) 评论(0) 推荐(1)
摘要: 布局: //左侧菜单 $('.left-nav #nav').on('click', 'li', function (event) { setTimeout(()=>{ $('.layui-tab-title li').each(function (index,item) { //console.l 阅读全文
posted @ 2020-07-23 15:32 晨曦_yuan小海 阅读(467) 评论(0) 推荐(0)