上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: UI布局如下: <!--pages/text/text.wxml--> <view class="text-box" scroll-y="true" scroll-top="{{scrollTop}}"> <text>{{text}}</text> </view> <button disabled= 阅读全文
posted @ 2022-07-17 20:34 lichong951 阅读(25) 评论(0) 推荐(0)
摘要: 布局如下: <!--pages/richText/richText.wxml--> <view class="page-section-title">通过HTML String渲染</view> <scroll-view scroll-y>{{htmlSnip}}</scroll-view> <bu 阅读全文
posted @ 2022-07-17 20:22 lichong951 阅读(63) 评论(0) 推荐(0)
摘要: 布局如下: <!--pages/progress/progress.wxml--> <view class="progress-box"> <progress percent="20" show-info stroke-width="3"/> </view> <view>--</view> <vie 阅读全文
posted @ 2022-07-16 18:32 lichong951 阅读(49) 评论(0) 推荐(0)
摘要: 布局 <!--pages/icon/icon.wxml--> <icon class="icon-box-img" type="success" size="50"></icon> <view class="icon-box-title">成功</view> <icon class="icon-bo 阅读全文
posted @ 2022-07-15 15:25 lichong951 阅读(37) 评论(0) 推荐(0)
摘要: 布局: <!--pages/scrollView/scrollView.wxml--> <text>Vertical Scroll\n纵向滚动</text> <scroll-view scroll-y="true" style="height: 500rpx;" bindscrolltoupper= 阅读全文
posted @ 2022-07-15 14:58 lichong951 阅读(438) 评论(0) 推荐(0)
摘要: 布局: <!--pages/movableArea/movableArea.wxml--> <view class="page-section">movable-view区域小于movable-area</view> <movable-area > <movable-view x="{{x}}" y 阅读全文
posted @ 2022-07-14 21:31 lichong951 阅读(99) 评论(0) 推荐(0)
摘要: UI布局 <!--pages/map/map.wxml--> <view class="page-section page-section-gap"> <map style="width: 100%; height: 600px;" latitude="{{latitude}}" longitude 阅读全文
posted @ 2022-07-14 21:03 lichong951 阅读(88) 评论(0) 推荐(0)
摘要: <!--pages/flex_direction/flex_direction.wxml--> <text>flex-direction: row\n横向布局</text> <view class="flex-wrp" > <image style="width: 200px; height: 10 阅读全文
posted @ 2022-07-14 20:51 lichong951 阅读(88) 评论(0) 推荐(0)
摘要: 准备 1、若干图片 2、数据模型配置 3、view布局 1、若干图片 这个随意,卡通图片会好些。带人像的比较麻烦,记得有一次使用一个美女图片进行毕业设计答辩。就有老师提出肖像侵权的问题。不过一般情况下非商业用途没人搭理 2、数据模型配置 // pages/banner/banner.js Page( 阅读全文
posted @ 2022-07-14 16:02 lichong951 阅读(130) 评论(0) 推荐(0)
摘要: app.json配置如下: { "pages":[ "pages/index/index", "pages/android/android", "pages/ios/ios", "pages/logs/logs", "pages/test/test", "pages/list/list" ],"ta 阅读全文
posted @ 2022-07-14 14:51 lichong951 阅读(45) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页