自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 HarmonyOS NEXT-Axios is used to encapsulate different interface types according to the return type o

Abstract: This article describes how to use the Axios Encapsulation API to deal with data response type mismatch. By creating an axios instance and configuring a request/response interceptor, you can implement unified token portering, request header settin

2025-06-30 13:03:14 190

原创 HarmonyOS NEXT-TextInput text input box notes

This article documents the problems and solutions encountered by the author when using the TextInput text input box. There are two main points: 1. How to add underlines (use the .showUnderline(true) attribute); 2. When set to the password input box, how to

2025-06-30 12:26:50 568

原创 HarmonyOS NEXT- project actual combat calendar, novice tutorial 3

This paper introduces the style optimization of calendar components and the realization of single-point calendar function. Firstly, it shows how to improve the calendar interface through code examples, including setting style attributes such as color and s

2025-06-29 18:39:05 157

原创 HarmonyOS NEXT- project actual combat calendar, novice tutorial 2

This paper introduces the international development process of calendar application, which mainly realizes the conversion and display between Gregorian calendar and Lunar calendar. The date of the lunar calendar is obtained through the i18n module, and the

2025-06-29 18:09:59 206

原创 HarmonyOS Next- project actual combat, calendar development novice tutorial 1

Abstract: This paper shows the core code implementation of HarmonyOS calendar application development, which is divided into three steps: 1) create the header component of calendar navigation bar; 2) realize the logic of date acquisition, including calcula

2025-06-29 17:57:03 266

原创 HarmonyOS鸿蒙开发-日历功能实现-实现日历打卡

基于 @ohmos/calendar 实现打卡页面。HarmonyOS鸿蒙开发-日历功能实现-实现日历打卡

2025-03-18 13:08:32 1348

原创 HarmonyOS鸿蒙开发-获取JSON数据,获取rawfile目录下的JSON文件数据

获取rawfile的文件数据

2025-03-17 20:53:39 1923

原创 HarmonyOS鸿蒙开发,Text组件作为容器使用(ImageSpan/Span)快速掌握

SymbolSpan-文本与输入-ArkTS组件-ArkUI(方舟UI框架)-应用框架 - 华为HarmonyOS开发者1. 不支持通用属性,支持以下属性fontColor,fontSize,fontWeight,等等2.设置动效策略,如(无动效)等,默认值为从 API version 12 起支持,可动态设置组件属性,需传入类型参数ContainerSpan-文本与输入-ArkTS组件-ArkUI(方舟UI框架)-应用框架 - 华为HarmonyOS开发者1. 用来统一管理多个Span。

2025-03-16 19:54:00 1224

原创 HarmonyOS鸿蒙开发-鸿蒙Web混合开发01-简单实现App嵌套显示网页页面

前置准备:提供具有网页显示能力的Web组件,引入头文件import { webview } from '@kit.ArkWeb';注意本地index.html文件放到rawfile文件夹下实现效果:ets效果实现示例代码如下:(含代码详细讲解)效果实现了,是不是很神奇,但是点击a标签访问示例网站(外部),发现不能跳转外部网站,这该如何实现呢,请看第方法二,添加网络权限。

2025-03-16 15:45:55 647 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除