2025年2月27日

input、button

摘要: <template> <button size="default" type="primary" plain>默认按钮大小,按钮镂空</button> <button size="mini" disabled loading>迷你按钮大小</button> <input type="text" :v 阅读全文

posted @ 2025-02-27 21:42 ChoZ 阅读(5) 评论(0) 推荐(0)

navigator

摘要: <template> <view class=""> <navigator url="/pages/demo/image" open-type="reLaunch"> 文字跳转写法,open-type是relanuch的时候会把跳过去的页面当初主页,左上角没有返回箭头 </navigator> </ 阅读全文

posted @ 2025-02-27 18:26 ChoZ 阅读(7) 评论(0) 推荐(0)

image

摘要: <template> <swiper :indicator-dots="true" :autoplay="true" circular> <swiper-item> <image src="/static/logo.png" mode="aspectFill"></image> </swiper-i 阅读全文

posted @ 2025-02-27 17:55 ChoZ 阅读(5) 评论(0) 推荐(0)

swiper

摘要: <template> <swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" indicator-color="#007aff" indicator-active-color="#fff" c 阅读全文

posted @ 2025-02-27 16:42 ChoZ 阅读(4) 评论(0) 推荐(0)

scrollView

摘要: <template> <scroll-view scroll-y class="scrollView scrollViewY"> <view>相当于一个y轴滚动条的盒子</view> <view>相当于一个y轴滚动条的盒子</view> <view>相当于一个y轴滚动条的盒子</view> <vie 阅读全文

posted @ 2025-02-27 15:28 ChoZ 阅读(7) 评论(0) 推荐(0)

内置组件view & text、路由创建

摘要: 1.创建页面和路由配置 如创建后访问不到该路径,尝试重新启动 2.uniapp组件开发和PC端开发的不同 div等html标签在H5开发中可以使用,小程序不能使用,需要使用uniapp提供的组件 3.view组件:类似div标签,不过有自己的一些属性 4.text组件:类型span标签 <templ 阅读全文

posted @ 2025-02-27 14:50 ChoZ 阅读(7) 评论(0) 推荐(0)

导航