Router 路由 - Vue-router
摘要:vue-router vue-router 是专为 Vue.js 开发的便于实现单页应用的工具库,能够以声明式的方法编写页面的导航和跳转信息。 由于 Weex 的运行环境不只是浏览器,通常是以移动端原生环境为主,然而在 Android 和 iOS 中都没有浏览器的 History API,也不存在
阅读全文
posted @
2024-12-13 09:20
AtlasLapetos
阅读(72)
推荐(0)
Utils 工具库 - Util 常用工具函数
摘要:去除空格 #trim 字符串的空格截取 <template> <div class="wrapper"> <text>trim: 去除字符串空格</text> </div> </template> <script> export default { data:()=> ({ name: 'trim'
阅读全文
posted @
2024-12-13 09:20
AtlasLapetos
阅读(17)
推荐(0)
Utils 工具库 - url 参数转换
摘要:url 参数转换 #url解析 #parseUrlParams 代码示例: <template> <div class="wrapper"> <text>parseUrlParams:url解析 </text> </div> </template> <script> export default {
阅读全文
posted @
2024-12-13 09:20
AtlasLapetos
阅读(18)
推荐(0)
Utils 工具库 - ColorTransform 颜色转换
摘要:颜色转换 #hexToRgb <template> <div class="wrapper"> <text>hexToRgb: hex格式转换为Rgb</text> </div> </template> <script> export default { data:()=> ({ name: 'he
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(56)
推荐(0)
Utils 工具库 - TimeFormat 时间格式化
摘要:时间格式化 #timeFormat timeFormat | date(timestamp, format = "YYYY-MM-DD") <template> <div class="wrapper"> <text>timeFormat: 格式化时间日期</text> </div> </templ
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(33)
推荐(0)
Utils 工具库 - DeepCloneMerge 深度拷贝、合并
摘要:深度拷贝 #deepClone 代码示例: <template> <div class="wrapper"> <text>deepClone: 深度拷贝</text> </div> </template> <script> export default { data:()=> ({ name: 'd
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(42)
推荐(0)
Utils 工具库 - Optimization截流防抖
摘要:截流防抖 #截流 #throttle 示例代码: <template> <div class="wrapper"> <text>throttle: 截流函数</text> </div> </template> <script> export default { data:()=> ({ name:
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(21)
推荐(0)
Utils 工具库 - Env 适配布局
摘要:适配类 #机型判断 #isIOS 判断当前机型是否是IOS <template> <div class="wrapper"> <text>isIOS: 判断当前机型是否是IOS </text> </div> </template> <script> export default { data:()=
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(22)
推荐(0)
缓存 - 获取所有缓存key值
摘要:获取所有缓存key值 #getAllKeys 示例代码: <template> <div class="wrapper"> <text @click="cacheHandler">getAllKeys: 获取所有缓存key值</text> </div> </template> <script> ex
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(17)
推荐(0)
缓存 - 删除缓存
摘要:删除缓存 #removeStorage 示例代码: <template> <div class="wrapper"> <text @click="cacheHandler">removeStorage: 移除缓存</text> </div> </template> <script> export d
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(13)
推荐(0)
缓存 - 读取缓存
摘要:读取缓存 #getStorage 示例代码: <template> <div class="wrapper"> <text @click="cacheHandler">getStorage: 读取缓存</text> </div> </template> <script> export default
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(14)
推荐(0)
缓存 - 设置缓存
摘要:设置缓存 #setStorage 示例代码: <template> <div class="wrapper"> <text @click="cacheHandler">setStorage: 设置缓存</text> </div> </template> <script> export default
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(15)
推荐(0)
安装 Cli
摘要:安装 Cli 安装 dolphin weex cli npm install -g dolphin-weex-cli # 检测是否安装成功 dolphin --version 或者 dolphin --help 出现相关的版本和帮助信息即代表安装成功。 升级 #升级到最新版本 npm install
阅读全文
posted @
2024-12-13 09:19
AtlasLapetos
阅读(24)
推荐(0)