- 博客(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鸿蒙开发,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关注的人
RSS订阅