10 2022 档案

摘要:拉到下面有总结 html代码: <div class="odiv"> <img src="图片地址"> <div class="wan">3000万</div> <h4>「欧美Live」惊艳现场版,嗨到停不下来!</h4> </div> css代码:(让‘3000万’文字定位到右上角,正常来说是可以 阅读全文
posted @ 2022-10-18 15:11 方寸间 阅读(102) 评论(0) 推荐(0)
摘要:在vue3的setup语法糖中,defineProps不需要引入了 <script setup> import { computed } from '@vue/reactivity'; import { onMounted, watch } from 'vue'; let props = defin 阅读全文
posted @ 2022-10-17 18:34 方寸间 阅读(2318) 评论(0) 推荐(0)
摘要:演示示例(vant组件库的轮播图): <van-swipe :loop="false" :width="150" class="my-Swiper" :show-indicators="false"> <van-swipe-item v-for="item in state.musicList" : 阅读全文
posted @ 2022-10-16 20:40 方寸间 阅读(3725) 评论(0) 推荐(0)
摘要:12种方式 1. 父组件 ./father.vue 点击查看代码 <template> <h1>father:</h1> <h3>子组件传过来的:{{ abc }}</h3> <input type="text" ref="inp" v-model="msg" /> <h4> </h4> <son 阅读全文
posted @ 2022-10-13 03:59 方寸间 阅读(1034) 评论(0) 推荐(0)