2024年7月3日
摘要: <template> <div> <el-progress percentage="55" color="#1161E4" ></el-progress> </div> </template> <style lang="scss" scoped> /* 进度条动画 */ /deep/ .el-pro 阅读全文
posted @ 2024-07-03 11:26 &蝶儿小姐姐& 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 父组件代码: <template> <!-- 创建 --> <div class="resource-warp-box"> <div class="center-box"> <div class="used-source"> <pageTitle title="已用资源" /> <div class 阅读全文
posted @ 2024-07-03 11:13 &蝶儿小姐姐& 阅读(1) 评论(0) 推荐(0) 编辑
  2023年12月22日
摘要: 父组件表格页面代码: <template> <div class="wrapper"> <div class="overview-box"> <div class="box-name"> <div class="flag" /> 标的事件 </div> <p class="con-txt"> {{ 阅读全文
posted @ 2023-12-22 10:46 &蝶儿小姐姐& 阅读(236) 评论(0) 推荐(0) 编辑
  2023年10月7日
摘要: 父组件代码: <template> <view class="boxPage"> <scroll-view class="contentBox" :scroll-y="true" :scroll-top="scrollTopPage" :refresher-enabled="true" :refre 阅读全文
posted @ 2023-10-07 16:37 &蝶儿小姐姐& 阅读(527) 评论(0) 推荐(0) 编辑
  2023年4月17日
摘要: <template> <view class="boxPage"> <view class="imgList"> <view v-for="(item, index) in randomDataMarketList" :key="index" class="imgBox"> <image :src= 阅读全文
posted @ 2023-04-17 10:20 &蝶儿小姐姐& 阅读(161) 评论(0) 推荐(0) 编辑
  2023年4月11日
摘要: <template> <rich-text :nodes="content" style="width: 100%;word-wrap: break-word;"></rich-text> </template> <script> import { queryProductDetail } from 阅读全文
posted @ 2023-04-11 13:41 &蝶儿小姐姐& 阅读(773) 评论(0) 推荐(0) 编辑
  2023年3月22日
摘要: 子组件代码: <template> <!-- 单选下拉框 --> <el-select v-model.trim="selectValue" filterable clearable :placeholder="placeText" :filter-method="filterMethod" :lo 阅读全文
posted @ 2023-03-22 11:59 &蝶儿小姐姐& 阅读(1031) 评论(0) 推荐(0) 编辑
  2023年1月11日
摘要: 一、HTML+CSS部分() 1、怎么让一个不定宽高的DIV,垂直水平居中? 答:1)使用CSS方法: 父盒子设置:display:table-cell;text-align:center;vertical-align:middle; Div设置:display:inline-block;verti 阅读全文
posted @ 2023-01-11 14:08 &蝶儿小姐姐& 阅读(26) 评论(0) 推荐(0) 编辑
  2022年10月14日
摘要: // 数组对象排序方法 export function compare(property) { return function (a, b) { const value1 = a[property] const value2 = b[property] return value2 - value1 阅读全文
posted @ 2022-10-14 15:49 &蝶儿小姐姐& 阅读(232) 评论(0) 推荐(0) 编辑
  2022年10月8日
摘要: <template> <div> <el-table ref="tableData" :data="tableData" show-summary :max-height="520" :summary-method="summaryMethod" :default-sort="sortRule" @ 阅读全文
posted @ 2022-10-08 17:44 &蝶儿小姐姐& 阅读(1307) 评论(0) 推荐(0) 编辑