摘要:
父组件表格页面代码: <template> <div class="wrapper"> <div class="overview-box"> <div class="box-name"> <div class="flag" /> 标的事件 </div> <p class="con-txt"> {{ 阅读全文
摘要:
父组件代码: <template> <view class="boxPage"> <scroll-view class="contentBox" :scroll-y="true" :scroll-top="scrollTopPage" :refresher-enabled="true" :refre 阅读全文
摘要:
<template> <view class="boxPage"> <view class="imgList"> <view v-for="(item, index) in randomDataMarketList" :key="index" class="imgBox"> <image :src= 阅读全文
摘要:
<template> <rich-text :nodes="content" style="width: 100%;word-wrap: break-word;"></rich-text> </template> <script> import { queryProductDetail } from 阅读全文
摘要:
子组件代码: <template> <!-- 单选下拉框 --> <el-select v-model.trim="selectValue" filterable clearable :placeholder="placeText" :filter-method="filterMethod" :lo 阅读全文
摘要:
一、HTML+CSS部分() 1、怎么让一个不定宽高的DIV,垂直水平居中? 答:1)使用CSS方法: 父盒子设置:display:table-cell;text-align:center;vertical-align:middle; Div设置:display:inline-block;verti 阅读全文
摘要:
// 数组对象排序方法 export function compare(property) { return function (a, b) { const value1 = a[property] const value2 = b[property] return value2 - value1 阅读全文
摘要:
<template> <div> <el-table ref="tableData" :data="tableData" show-summary :max-height="520" :summary-method="summaryMethod" :default-sort="sortRule" @ 阅读全文
摘要:
报错如图所示 解决办法: 1. 以管理员身份运行vscode; 2. 执行:get-ExecutionPolicy,显示Restricted,表示状态是禁止的; 3. 执行:set-ExecutionPolicy RemoteSigned; (若此命令执行失败的话,则执行这条: Set-Execut 阅读全文
摘要:
首先看页面效果: <template> <view class="page"> <view class="page-bd"> <view class="page-container"> <view class="xzje"> <view class="bt">请选择充值金额</view> <view 阅读全文