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 &蝶儿& 阅读(109) 评论(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 &蝶儿& 阅读(394) 评论(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 &蝶儿& 阅读(152) 评论(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 &蝶儿& 阅读(716) 评论(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 &蝶儿& 阅读(877) 评论(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 &蝶儿& 阅读(24) 评论(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:50 &蝶儿& 阅读(225) 评论(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 &蝶儿& 阅读(1220) 评论(0) 推荐(0) 编辑
  2022年9月6日
摘要: 报错如图所示 解决办法: 1. 以管理员身份运行vscode; 2. 执行:get-ExecutionPolicy,显示Restricted,表示状态是禁止的; 3. 执行:set-ExecutionPolicy RemoteSigned; (若此命令执行失败的话,则执行这条: Set-Execut 阅读全文
posted @ 2022-09-06 17:40 &蝶儿& 阅读(118) 评论(0) 推荐(0) 编辑
  2022年8月16日
摘要: 首先看页面效果: <template> <view class="page"> <view class="page-bd"> <view class="page-container"> <view class="xzje"> <view class="bt">请选择充值金额</view> <view 阅读全文
posted @ 2022-08-16 09:09 &蝶儿& 阅读(480) 评论(0) 推荐(0) 编辑