01 2022 档案

摘要:<template> <div class="countDown"> <div v-if="!isCountDownOver"> <span class="title">{{ LANG.test1.desc100 }}</span> <span class="time">{{ countDownHo 阅读全文
posted @ 2022-01-25 17:56 koo- 阅读(51) 评论(0) 推荐(0) 编辑
摘要:1.把pdf放在static文件夹下 安装vue-pdf <template> <div> <pdf v-for="i in numPages" :key="i" :src="url" :page="i"></pdf> </div> </template> <style lang="less" sc 阅读全文
posted @ 2022-01-13 17:22 koo- 阅读(760) 评论(0) 推荐(0) 编辑
摘要:<template> <!-- 下拉菜单 --> <div class="nav_mg_top"> <div class="down_bg"> <div class="dropdown pa"> <span>{{ LANG.test1.desc83 }}</span> <div class="dro 阅读全文
posted @ 2022-01-11 09:56 koo- 阅读(52) 评论(0) 推荐(0) 编辑
摘要:方法一: 直接在页面引入组件 <template> <div class="page-bar"> <ul> <li v-if="cur > 1"> <a v-on:click="cur--, pageClick()">{{ LANG.test1.desc152 }}</a> </li> <li v- 阅读全文
posted @ 2022-01-10 18:53 koo- 阅读(152) 评论(0) 推荐(0) 编辑
摘要:在index.html添加 <script> (function () { var f = function () { document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px 阅读全文
posted @ 2022-01-10 18:44 koo- 阅读(19) 评论(0) 推荐(0) 编辑
摘要:在router index.js添加 let router = new Router({ routes: [{}], scrollBehavior(to, from, savedPosition) { // console.log('to', to) if (to.hash) { return { 阅读全文
posted @ 2022-01-10 18:38 koo- 阅读(62) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示