摘要: 1. 打开主页 https://www.google.com/ 2. 选择右下角设置 -> 搜索设置 3. 找到在新窗口打开搜索结果即可 阅读全文
posted @ 2024-06-05 11:12 Li_pk 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 1. 安装crypto-js库: npm install crypto-js # 或 yarn add crypto-js 2. 封装encryption.js // utils/encryption.js import CryptoJS from 'crypto-js'; // AES加密 exp 阅读全文
posted @ 2024-05-16 10:17 Li_pk 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 首先,创建一个 NavigationService.js 文件来管理导航引用。 // NavigationService.js import { createNavigationContainerRef } from '@react-navigation/native'; export const 阅读全文
posted @ 2024-05-14 17:42 Li_pk 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. 创建一个名为 BottomSheetComponent.js 的文件 // BottomSheetComponent.js import React, { useState, useEffect } from 'react'; import { Modal, View, Text, Touch 阅读全文
posted @ 2024-05-14 09:14 Li_pk 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 一、创建证书、标识符和描述文件等: 1. 前提条件 可正常运行和打包的代码、Apple开发者账号 点击注册Apple开发者账号 注册完进入页面可以看到证书、标识符和描述文件创建入口 2. 创建App ID 点击Identifiers旁边的加号 选择 App IDs,点击 Continue。 选择 A 阅读全文
posted @ 2024-05-13 15:55 Li_pk 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 共需要替换几个部分的镜像源:homebrew、homebrew-core、homebrew-cask、homebrew-bottles。 1. 查看地址: echo $(brew --repo) echo $(brew --repo homebrew/core) echo $(brew --repo 阅读全文
posted @ 2024-05-08 11:10 Li_pk 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 # 通过 npm 安装 npm i @vant/weapp -S --production # 通过 yarn 安装 yarn add @vant/weapp --production # 安装 0.x 版本 npm i vant-weapp -S --production 2. 引入项 阅读全文
posted @ 2024-05-07 11:29 Li_pk 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 解决:打开Android Studio 的 Device Manager 手动关闭开启的模拟器。然后重启expo。 阅读全文
posted @ 2024-05-06 16:23 Li_pk 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1. 打开项目,点击打开Assets.xcassets文件,拖动多尺寸的图标到对用位置: 2. 选择General选项,找到 App Icons and Lauch Screen,配置资源: 3. 配置好之后重新打包运行。 4. 如果没有Assets.xcassets文件,需要自己创建。步骤如下: 阅读全文
posted @ 2024-04-29 16:10 Li_pk 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1. 拿到需要替换的logo图标,最好是1024×1024尺寸。 2. 根据原图生成不同尺寸的logo: 有很多类似功能的网站,这里a56爆大奖在线娱乐使用的是图标工厂 图标工厂地址:图标生成网站 首先上传图片 然后可以配置一些其他选项如圆角等等: 上传后会看到预览效果: 3. 替换项目中的logo图标: 找到图标位 阅读全文
posted @ 2024-04-25 16:36 Li_pk 阅读(8) 评论(0) 推荐(0) 编辑