上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 198 下一页
摘要: 一,安装firebase/php-jwt扩展: 1,命令: liuhongdi@lhdpc:/data/php/admapi$ composer require firebase/php-jwt 2,安装成功后的位置: 3,查看firebase/php-jwt的版本: liuhongdi@lhdpc 阅读全文
posted @ 2023-02-23 10:31 刘宏缔的架构森林 阅读(569) 评论(0) 推荐(0)
摘要: 一,代码: 说明:向markers数组中push数据或直接修改数组中的数据都不会引起map的刷新, 注意使用这个方法: this.markers = [...markers]; <template> <view> <map class="map" :latitude="latitude" :long 阅读全文
posted @ 2023-02-22 16:20 刘宏缔的架构森林 阅读(977) 评论(0) 推荐(0)
摘要: 一,代码: 1,缓存写入:在被打开页面的onLoad事件中写入把打开的年级和学期写入缓存 //加载时访问接口得到数据 onLoad(options) { // 页面创建时执行 console.log("页面加载");//记录最新访问的列表 let gradeName = getApp().$util 阅读全文
posted @ 2023-02-22 14:40 刘宏缔的架构森林 阅读(332) 评论(0) 推荐(0)
摘要: 一,运行 运行->运行到小程序模拟器->微信开发者工具 出现报错: 15:41:27.814 [微信小程序开发者工具] [error] IDE service port disabled. To use CLI Call, please enter y to confirm enabling CLI 阅读全文
posted @ 2023-02-22 14:26 刘宏缔的架构森林 阅读(1071) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://uniapp.dcloud.net.cn/component/uniui/uni-transition.html 二,代码: <template> <view> <view class="animation-element-wrapper"> <uni-trans 阅读全文
posted @ 2023-02-21 18:42 刘宏缔的架构森林 阅读(5415) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <!-- 标签页 --> <view class="tabs"> <view class="tabItem" v-for="(item, index) in tabList" :key="index" @click="tabSelect(item.id 阅读全文
posted @ 2023-02-21 14:58 刘宏缔的架构森林 阅读(1003) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <movable-area style="width:750rpx;height:750rpx;background: #ffff00;"> <movable-view style="width:120rpx;height:120rpx;border- 阅读全文
posted @ 2023-02-21 11:12 刘宏缔的架构森林 阅读(1377) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <button @click="getNetwork">得到网络类型</button> </view> </template> <script> export default { data() { return { } }, methods: { ge 阅读全文
posted @ 2023-02-21 10:45 刘宏缔的架构森林 阅读(123) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <button @click="scanCode">扫码</button> <text>扫码类型:{{scanType}}</text> <text>扫码内容:{{result}}</text> </view> </template> <script> 阅读全文
posted @ 2023-02-19 20:05 刘宏缔的架构森林 阅读(583) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <input class="btn" style="background: #ffff00;" type="text" v-model="content"/> <button class="btn" @click="setClipboard">复制到剪 阅读全文
posted @ 2023-02-19 19:18 刘宏缔的架构森林 阅读(789) 评论(0) 推荐(0)
上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 198 下一页