摘要: export class Evaluate { userId:string userIcon: Resource userNumber: string rating:number desc: string} import { BasicDataSource } from './BasicDataSo 阅读全文
posted @ 2025-04-02 11:16 13522679763-任国强 阅读(24) 评论(0) 推荐(0)
摘要: import router from '@ohos.router'import { Choice } from '../view/ChoicePage';import { Home } from '../view/HomePage';import { Mine } from '../view/Min 阅读全文
posted @ 2025-03-29 16:58 13522679763-任国强 阅读(8) 评论(0) 推荐(0)
摘要: import router from '@ohos.router'import Prompt from '@system.prompt'import promptAction from '@ohos.promptAction'@Entry@Componentstruct Login { @State 阅读全文
posted @ 2025-03-29 16:57 13522679763-任国强 阅读(8) 评论(0) 推荐(0)
摘要: import { Home } from '../view/Home'import { Product } from '../view/Product'import { Cart } from '../view/Cart'import { Personal } from '../view/Perso 阅读全文
posted @ 2025-03-26 10:41 13522679763-任国强 阅读(7) 评论(0) 推荐(0)
摘要: import router from '@ohos.router'@Preview@Entry@Componentstruct Page12_GuidePage { @State message: string = 'Hello World' @State count:number = 3 priv 阅读全文
posted @ 2025-03-25 17:26 13522679763-任国强 阅读(4) 评论(0) 推荐(0)
摘要: import { StorageChildren } from '../view/StorageChildren'let storage:LocalStorage = new LocalStorage("username")storage.setOrCreate('username','小王')@E 阅读全文
posted @ 2025-03-24 11:02 13522679763-任国强 阅读(8) 评论(0) 推荐(0)
摘要: 初始页面给默认配置 PersistentStorage.PersistProp('token','') import router from '@ohos.router' import { login, sendCode } from '../http/Api' @Entry @Component 阅读全文
posted @ 2025-03-24 09:44 13522679763-任国强 阅读(7) 评论(0) 推荐(0)
摘要: import axios, { AxiosError, AxiosResponse, InternalAxiosRequestConfig } from '@ohos/axios' import promptAction from '@ohos.promptAction'; //创建axios实例 阅读全文
posted @ 2025-03-24 09:41 13522679763-任国强 阅读(9) 评论(0) 推荐(0)
摘要: import { getRandomName, getRandomPhone } from '../../../../utils/RandomUtil';import { Person } from './model/DataModel';@Entry@Componentstruct Contact 阅读全文
posted @ 2025-03-16 14:49 13522679763-任国强 阅读(8) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-03-16 13:42 13522679763-任国强 阅读(7) 评论(0) 推荐(0)