上一页 1 ··· 121 122 123 124 125 126 127 128 129 ··· 179 下一页
摘要: 一,配置pages.json 说明:给需要下拉刷新的页面设置 "enablePullDownRefresh": true 其默认值是false 代码: { "path" : "pages/list1/list1", "style" : { "navigationBarTitleText": "", 阅读全文
posted @ 2023-02-13 15:42 刘宏缔的架构森林 阅读(1887) 评论(0) 推荐(0)
摘要: 一,演示代码: 说明:演示代码中实现的功能: 1,各个列表项展示不同类型的内容 2,取消uni-list-item默认样式中的padding 3, 取消uni-list-item默认样式中的border <template> <view> <uni-list > <uni-list-item :bo 阅读全文
posted @ 2023-02-13 14:22 刘宏缔的架构森林 阅读(1886) 评论(0) 推荐(0)
摘要: 一,复制字体文件到static目录下,如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.php/2023/06/04/uniapp-shi-yong-zi-ding-y 阅读全文
posted @ 2023-02-12 21:37 刘宏缔的架构森林 阅读(514) 评论(0) 推荐(0)
摘要: 一,未配置跨域时的报错信息: Access to XMLHttpRequest at 'http://api.lhdtest.net/item/list' from origin 'http://localhost:8081' has been blocked by CORS policy: No 阅读全文
posted @ 2023-02-12 15:40 刘宏缔的架构森林 阅读(2781) 评论(0) 推荐(0)
摘要: 一,查看组件的文档: 文档地址 https://uniapp.dcloud.net.cn/component/ 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.php 阅读全文
posted @ 2023-02-12 11:33 刘宏缔的架构森林 阅读(760) 评论(0) 推荐(0)
摘要: 一,配置用到的第三方库 dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class 阅读全文
posted @ 2023-02-10 15:56 刘宏缔的架构森林 阅读(603) 评论(0) 推荐(0)
摘要: 一,配置用到的第三方库 dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class 阅读全文
posted @ 2023-02-10 14:58 刘宏缔的架构森林 阅读(519) 评论(0) 推荐(0)
摘要: 一,dart代码: 1,list.dart import 'package:flutter/material.dart'; import 'package:dio/dio.dart'; import 'package:demolist/model/ListOne.dart'; import 'dar 阅读全文
posted @ 2023-02-09 16:30 刘宏缔的架构森林 阅读(577) 评论(0) 推荐(0)
摘要: 一,uni-app相关 1,官网地址: https://www.dcloud.io/ 2,hbuilderx地址 https://www.dcloud.io/hbuilderx.html 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原 阅读全文
posted @ 2023-02-09 14:38 刘宏缔的架构森林 阅读(1194) 评论(0) 推荐(0)
摘要: 一,查看各个取值的效果 为了直观起见,我们使用了两张图片演示,分别为横片和竖片 1,BoxFit.contain 说明:图片等比例进行缩放, 直到图片的高或者宽填充满控件 2,BoxFit.cover 说明: 图片等比例缩放,直到图片的宽和高都充满整个控件, 图片有可能超出控件的范围,导致显示不完整 阅读全文
posted @ 2023-02-08 16:23 刘宏缔的架构森林 阅读(301) 评论(0) 推荐(0)
上一页 1 ··· 121 122 123 124 125 126 127 128 129 ··· 179 下一页