摘要: 1. 打开主页 https://www.google.com/ 2. 选择右下角设置 -> 搜索设置 3. 找到在新窗口打开搜索结果即可 阅读全文
posted @ 2024-06-05 11:12 Li_pk 阅读(53) 评论(0) 推荐(0) 编辑
摘要: Android 在 android/app/build.gradle 文件中设置版本号和版本代码: 1. 打开 android/app/build.gradle 文件。 2. 找到 defaultConfig 部分,并修改以下内容: defaultConfig { applicationId "co 阅读全文
posted @ 2024-05-17 16:37 Li_pk 阅读(0) 评论(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 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 首先,创建一个 NavigationService.js 文件来管理导航引用。 // NavigationService.js import { createNavigationContainerRef } from '@react-navigation/native'; export const 阅读全文
posted @ 2024-05-14 17:42 Li_pk 阅读(36) 评论(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 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 一、创建证书、标识符和描述文件等: 1. 前提条件 可正常运行和打包的代码、Apple开发者账号 点击注册Apple开发者账号 注册完进入页面可以看到证书、标识符和描述文件创建入口 2. 创建App ID 点击Identifiers旁边的加号 选择 App IDs,点击 Continue。 选择 A 阅读全文
posted @ 2024-05-13 15:55 Li_pk 阅读(93) 评论(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 阅读(337) 评论(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 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 解决:打开Android Studio 的 Device Manager 手动关闭开启的模拟器。然后重启expo。 阅读全文
posted @ 2024-05-06 16:23 Li_pk 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1. 打开项目,点击打开Assets.xcassets文件,拖动多尺寸的图标到对用位置: 2. 选择General选项,找到 App Icons and Lauch Screen,配置资源: 3. 配置好之后重新打包运行。 4. 如果没有Assets.xcassets文件,需要自己创建。步骤如下: 阅读全文
posted @ 2024-04-29 16:10 Li_pk 阅读(36) 评论(0) 推荐(0) 编辑