10 2021 档案

摘要:把封装组件的id换成ref就可以在同一个页面多次使用 组件在页面中使用 引用 import marquee from "@/components/marquee/index"; 注册 components:{ marquee }, 使用 <marquee :val="TI_info"></marqu 阅读全文
posted @ 2021-10-28 15:32 嗯哼Nymph 阅读(39) 评论(0) 推荐(0) 编辑
摘要:效果 代码编写 <template> <div> <div class="itemTableBox"> <div class="TItemUL" :class="{'animate-up': animateUp}" @mouseenter="Stop()" @mouseleave="Up()"> < 阅读全文
posted @ 2021-10-28 15:26 嗯哼Nymph 阅读(851) 评论(0) 推荐(0) 编辑
摘要:第一步下载 npm install v-viewer --save 第二步,在页面中引入(我这里是直接将下载下来的文件从node_modules提取出来了,在assets) import Viewer from "@/assets/js/viewer.min.js"; import '@/asset 阅读全文
posted @ 2021-10-28 15:21 嗯哼Nymph 阅读(421) 评论(0) 推荐(0) 编辑
摘要:/** * @param {Array} tableData2 要处理的数组 [{id:1,name:'小二',age:18},{id:1,name:'小二',age:16},{id:1,name:'小二',age:18}] * @param {string} key 要匹配的键 age * @re 阅读全文
posted @ 2021-10-28 15:14 嗯哼Nymph 阅读(560) 评论(0) 推荐(0) 编辑
摘要:效果 代码 <template> <div> <el-table :data="tableData" style="width: 100%"> <el-table-column v-for="col in cols" :key="col.label" :prop="col.prop" :label= 阅读全文
posted @ 2021-10-28 15:10 嗯哼Nymph 阅读(421) 评论(0) 推荐(0) 编辑
摘要:ref版本,可以在页面中多次使用 <template> <div ref="marqueeWrap" class="marquee-wrap"> <!-- 文本超出滚动显示 --> <div ref="scroll" class="scroll"> <p class="marquee">{{text 阅读全文
posted @ 2021-10-15 08:20 嗯哼Nymph 阅读(207) 评论(0) 推荐(0) 编辑
摘要:// 模型引入obj模型引入 import { OBJLoader } from 'three/examples/jsm/loaders/OBJLoader.js'; // 模型引入obj模型的纹理引入 import { MTLLoader } from 'three/examples/jsm/lo 阅读全文
posted @ 2021-10-09 17:22 嗯哼Nymph 阅读(1886) 评论(0) 推荐(0) 编辑
摘要:一、首先第一步就是下载 npm install three 二、引入(引入在页面中引入就行),在哪里用就在那里引入,不用全局引入 import * as THREE from 'three' // 引入fbx模型加载库FBXLoader import {FBXLoader} from 'three/ 阅读全文
posted @ 2021-10-09 17:07 嗯哼Nymph 阅读(1315) 评论(0) 推荐(0) 编辑
摘要:同一文件夹下.vue文件与,.js文件不要重名,否则页面内容会丢失 ps:使用vue-admin-template中遇到的问题,(也不确定不是同一文件夹下能不能同名) 阅读全文
posted @ 2021-10-09 16:39 嗯哼Nymph 阅读(188) 评论(0) 推荐(0) 编辑