上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 169 下一页
摘要: 一,php代码: public function list() { ... header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Headers: Origin, X-Requested-With, Conten 阅读全文
posted @ 2023-02-15 10:07 刘宏缔的架构森林 阅读(1330) 评论(0) 推荐(0)
摘要: 一,官网文档地址: https://uniapp.dcloud.net.cn/collocation/pages.html#tabbar 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch. 阅读全文
posted @ 2023-02-14 16:01 刘宏缔的架构森林 阅读(603) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <uni-list> <uni-list-item :border="false" v-for="(item, index) in itemList" :key="index"> <template v-slot:body > <view @click 阅读全文
posted @ 2023-02-14 14:59 刘宏缔的架构森林 阅读(836) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <uni-list > <uni-list-item :border="false" v-for="(item, index) in itemList" :key="index"> <template v-slot:body > <view @clic 阅读全文
posted @ 2023-02-14 14:14 刘宏缔的架构森林 阅读(2951) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast 如图: 二,演示代码 <template> <view> <button style="width: 600rpx;margin-top: 30rpx;" type 阅读全文
posted @ 2023-02-13 16:31 刘宏缔的架构森林 阅读(145) 评论(0) 推荐(0)
摘要: 一,配置pages.json 说明:给需要下拉刷新的页面设置 "enablePullDownRefresh": true 其默认值是false 代码: { "path" : "pages/list1/list1", "style" : { "navigationBarTitleText": "", 阅读全文
posted @ 2023-02-13 15:42 刘宏缔的架构森林 阅读(1876) 评论(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 刘宏缔的架构森林 阅读(1864) 评论(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 刘宏缔的架构森林 阅读(501) 评论(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 刘宏缔的架构森林 阅读(2730) 评论(0) 推荐(0)
摘要: 一,查看组件的文档: 文档地址 https://uniapp.dcloud.net.cn/component/ 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.php 阅读全文
posted @ 2023-02-12 11:33 刘宏缔的架构森林 阅读(753) 评论(0) 推荐(0)
上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 169 下一页