上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 179 下一页
摘要: 一,创建css样式文件 1,目录如下: 2,common.css代码: .tipStyle{ margin-top: 40rpx; font-size: 40rpx; color:#9013FE; text-align: center; } @font-face { font-family: my- 阅读全文
posted @ 2023-02-18 22:25 刘宏缔的架构森林 阅读(532) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view style=""> <view style="margin-top:30rpx; width:710rpx;margin-left: 20rpx; text-align: center;font-size: 50rpx;"> <!--#ifdef H5- 阅读全文
posted @ 2023-02-18 21:52 刘宏缔的架构森林 阅读(652) 评论(0) 推荐(0)
摘要: 一,复制字体文件到static目录下,如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.php/2023/06/04/uniapp-nvue-he-vue-jun-yi 阅读全文
posted @ 2023-02-17 16:35 刘宏缔的架构森林 阅读(385) 评论(0) 推荐(0)
摘要: 一,页面跳转与参数传递 //跳转到详情页 goItem:function(id,title) { uni.navigateTo({ url: '../item/item?id='+id+'&title='+title }); }, 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https:// 阅读全文
posted @ 2023-02-16 18:15 刘宏缔的架构森林 阅读(778) 评论(0) 推荐(0)
摘要: 一,目录结构: 在项目下创建common目录,然后创建util.js文件 功能说明:因为代码中的url要兼容h5的开发模式(需要配置解决跨域)和app的直接访问, 演示的函数功能即返回两种情况下均可用的url 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtou 阅读全文
posted @ 2023-02-16 17:47 刘宏缔的架构森林 阅读(1341) 评论(0) 推荐(0)
摘要: 一,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 刘宏缔的架构森林 阅读(1334) 评论(0) 推荐(0)
摘要: 一,官网文档地址: https://uniapp.dcloud.net.cn/collocation/pages.html#tabbar 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch. 阅读全文
posted @ 2023-02-14 16:01 刘宏缔的架构森林 阅读(612) 评论(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 刘宏缔的架构森林 阅读(848) 评论(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 刘宏缔的架构森林 阅读(2986) 评论(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 刘宏缔的架构森林 阅读(150) 评论(0) 推荐(0)
上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 179 下一页