bug修改
This commit is contained in:
parent
57fc7cfdf3
commit
7414611bc5
@ -1 +1 @@
|
||||
{"basePath":"/Users/gandanxiangzhao/Downloads/Expert/harmony/.hvigor/dependencyMap/dependencyMap.json5","rootDependency":"./oh-package.json5","dependencyMap":{"default":"./default/oh-package.json5","uicomponents":"./uicomponents/oh-package.json5","utils":"./utils/oh-package.json5","mypage":"./mypage/oh-package.json5","basic":"./basic/oh-package.json5","Home":"./Home/oh-package.json5","register":"./register/oh-package.json5"},"modules":[{"name":"default","srcPath":"../../../products/expert"},{"name":"uicomponents","srcPath":"../../../commons/uicomponents"},{"name":"utils","srcPath":"../../../commons/utils"},{"name":"mypage","srcPath":"../../../features/mypage"},{"name":"basic","srcPath":"../../../commons/basic"},{"name":"Home","srcPath":"../../../features/Home"},{"name":"register","srcPath":"../../../features/register"}]}
|
||||
{"basePath":"D:\\202076work\\hongmeng\\newExpert\\harmony\\.hvigor\\dependencyMap\\dependencyMap.json5","rootDependency":"./oh-package.json5","dependencyMap":{"default":"./default/oh-package.json5","mypage":"./mypage/oh-package.json5","basic":"./basic/oh-package.json5","Home":"./Home/oh-package.json5","register":"./register/oh-package.json5","polyv":"./polyv/oh-package.json5","scene_single_video":"./scene_single_video/oh-package.json5"},"modules":[{"name":"default","srcPath":"..\\..\\..\\products\\expert"},{"name":"mypage","srcPath":"..\\..\\..\\features\\mypage"},{"name":"basic","srcPath":"..\\..\\..\\commons\\basic"},{"name":"Home","srcPath":"..\\..\\..\\features\\Home"},{"name":"register","srcPath":"..\\..\\..\\features\\register"},{"name":"polyv","srcPath":"..\\..\\..\\polyv"},{"name":"scene_single_video","srcPath":"..\\..\\..\\scene_single_video"}]}
|
||||
File diff suppressed because one or more lines are too long
@ -51,7 +51,7 @@ export class BasicConstant {
|
||||
,'内蒙古自治区','辽宁省','吉林省','黑龙江省','上海市','江苏省','浙江省'
|
||||
,'安徽省','福建省','江西省','山东省','河南省','湖北省','湖南省','广东省',
|
||||
'广西壮族自治区','海南省','重庆市','四川省','贵州省','云南省','西藏自治区',
|
||||
'陕西省','甘肃省','宁夏回族自治区','新疆维吾尔自治区','台湾省','香港特别行政区','澳门特别行政区']
|
||||
'陕西省','甘肃省','青海省','宁夏回族自治区','新疆维吾尔自治区','台湾省','香港特别行政区','澳门特别行政区']
|
||||
|
||||
//通知事件ID
|
||||
static readonly notification_back_refreshData = 250529;//返回上页通知刷新数据
|
||||
|
||||
@ -7,6 +7,7 @@ import fs from '@ohos.file.fs';
|
||||
import { fileIo } from '@kit.CoreFileKit';
|
||||
import util from '@ohos.util';
|
||||
import { i18n } from '@kit.LocalizationKit';
|
||||
import { connection } from '@kit.NetworkKit';
|
||||
export class ChangeUtil {
|
||||
/**
|
||||
* 将HashMap转成JsonString
|
||||
@ -167,5 +168,8 @@ export class ChangeUtil {
|
||||
if (str.length === 0) return false;
|
||||
return i18n.Unicode.isDigit(str.charAt(0));
|
||||
}
|
||||
|
||||
//判断是否有网络
|
||||
static isOnline(): boolean {
|
||||
return connection.hasDefaultNetSync();
|
||||
}
|
||||
}
|
||||
@ -7,7 +7,7 @@ import { HashMap } from '@kit.ArkTS';
|
||||
import { CryptoJS } from '@ohos/crypto-js'
|
||||
import { Base64Util } from './Base64Util';
|
||||
import { ChangeUtil } from './ChangeUtil'
|
||||
|
||||
import { bundleManager} from '@kit.AbilityKit';
|
||||
interface HdRequestOptions {
|
||||
baseURL?: string
|
||||
}
|
||||
@ -24,6 +24,7 @@ export interface TimestampBean {
|
||||
|
||||
|
||||
}
|
||||
|
||||
class HdHttp {
|
||||
baseURL: string
|
||||
|
||||
@ -146,14 +147,14 @@ class HdHttp {
|
||||
}
|
||||
});
|
||||
// 处理响应结果。
|
||||
return promise.then((data) => {
|
||||
return promise.then(async (data) => {
|
||||
if (data.responseCode === http.ResponseCode.OK) {
|
||||
logger.info('Response httpReq:' + data.result);
|
||||
let json:TimestampBean = JSON.parse(data.result.toString()) as TimestampBean;
|
||||
let tp = json.timestamp;
|
||||
datas.set("user_uuid", authStore.getUser().uuid?authStore.getUser().uuid:'');
|
||||
datas.set("client_type", 'A');
|
||||
datas.set("version",'4.0.0' );
|
||||
datas.set("client_type", 'H');
|
||||
datas.set("version", await this.getVersion() );
|
||||
datas.set('timestamp',tp+'');
|
||||
return this.posts<T>(url, datas);
|
||||
} else {
|
||||
@ -221,6 +222,15 @@ class HdHttp {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
async getVersion() {
|
||||
let res=await bundleManager.getBundleInfoForSelf(
|
||||
bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION |
|
||||
bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_METADATA
|
||||
)
|
||||
return res.versionName
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export const hdHttp = new HdHttp({ baseURL: '' })
|
||||
|
||||
@ -98,7 +98,7 @@ export struct ChangePasswordComp {
|
||||
Text('确 定')
|
||||
}
|
||||
.width('90%')
|
||||
.height(40)
|
||||
.height(53)
|
||||
.position({x:'5%',y:'80%'})
|
||||
.backgroundColor('#ffffff')
|
||||
.borderColor($r('app.color.main_color'))
|
||||
|
||||
@ -145,7 +145,7 @@ export struct ChangePhoneComp {
|
||||
Text('确 定')
|
||||
}
|
||||
.width('90%')
|
||||
.height(48)
|
||||
.height(53)
|
||||
.borderRadius(8)
|
||||
.borderWidth(1)
|
||||
.borderColor('#8B2316')
|
||||
|
||||
@ -196,10 +196,10 @@ export struct ForgetPasswordComp {
|
||||
.borderColor('#CCCCCC')
|
||||
|
||||
Button({type:ButtonType.Normal}){
|
||||
Text('登 录')
|
||||
Text('确 定')
|
||||
}
|
||||
.width('90%')
|
||||
.height(48)
|
||||
.height(53)
|
||||
.margin({ top: 40 })
|
||||
.borderRadius(8)
|
||||
.backgroundColor($r('app.color.main_color'))
|
||||
|
||||
@ -3,7 +3,7 @@ import { promptAction, router } from '@kit.ArkUI'
|
||||
import { BusinessError } from '@kit.BasicServicesKit';
|
||||
import HashMap from '@ohos.util.HashMap';
|
||||
import { DataWebModel,preferenceStore ,SpecialDisease} from '@itcast/basic'
|
||||
|
||||
import { deviceInfo } from '@kit.BasicServicesKit';
|
||||
@Preview
|
||||
@Component
|
||||
export struct LoginComp {
|
||||
@ -47,7 +47,7 @@ export struct LoginComp {
|
||||
autoCancel:false
|
||||
|
||||
})
|
||||
|
||||
osFullName: string = deviceInfo.osFullName;
|
||||
login() {
|
||||
if (this.loading) return;
|
||||
if (!this.mobile) {
|
||||
@ -84,7 +84,7 @@ export struct LoginComp {
|
||||
this.hashMap.set('sms',this.current_code)
|
||||
this.loginUrl=BasicConstant.urlExpertAPI+'umSmsLogin'
|
||||
}
|
||||
this.hashMap.set('current_spec','hongmeng')
|
||||
this.hashMap.set('current_spec',this.osFullName)
|
||||
hdHttp.httpReq<string>(this.loginUrl,this.hashMap).then(async (res: HdResponse<string>) => {
|
||||
this.loading = false
|
||||
logger.info('Response login'+res);
|
||||
@ -166,9 +166,11 @@ export struct LoginComp {
|
||||
HdNav({ title: '登录', showRightIcon: false,showLeftIcon:false })
|
||||
|
||||
Image($r('app.media.icon_logo'))
|
||||
.width(64)
|
||||
.width(68)
|
||||
.height(68)
|
||||
.objectFit(ImageFit.Contain)
|
||||
.margin({top:45})
|
||||
.aspectRatio(1)
|
||||
// .aspectRatio(1)
|
||||
Text('专家版')
|
||||
.fontSize(16)
|
||||
.margin({ bottom: 15,top:10 })
|
||||
@ -218,7 +220,16 @@ export struct LoginComp {
|
||||
.margin({right:15})
|
||||
.border({ width: 1, color: $r('app.color.top_title') })
|
||||
.onClick(() => {
|
||||
|
||||
if (!this.mobile) {
|
||||
return promptAction.showToast({ message: '手机号码不为空' })
|
||||
}
|
||||
if (!ChangeUtil.isMobileNum(this.mobile)) {
|
||||
return promptAction.showToast({ message: "手机号码不正确" })
|
||||
}
|
||||
if(!ChangeUtil.isOnline())
|
||||
{
|
||||
return promptAction.showToast({ message: "网络不可用,请链接网络再试" })
|
||||
}
|
||||
if(this.istime)
|
||||
{
|
||||
}
|
||||
|
||||
@ -14,6 +14,10 @@
|
||||
"@ohos/crypto-js": {
|
||||
"specifier": "^2.0.4",
|
||||
"version": "2.0.4"
|
||||
},
|
||||
"@ohos/dataorm": {
|
||||
"specifier": "^2.2.6",
|
||||
"version": "2.2.6"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -36,31 +40,28 @@
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"commons/uicomponents": {
|
||||
"name": "uicomponents",
|
||||
"dependencies": {},
|
||||
"devDependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"commons/utils": {
|
||||
"name": "utils",
|
||||
"dependencies": {
|
||||
"@ohos/crypto-js": {
|
||||
"specifier": "^2.0.4",
|
||||
"version": "2.0.4"
|
||||
}
|
||||
},
|
||||
"devDependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"features/Home": {
|
||||
"name": "Home",
|
||||
"dependencies": {
|
||||
"@itcast/basic": {
|
||||
"specifier": "file:commons/basic",
|
||||
"version": "file:commons/basic"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"scene_single_video": {
|
||||
"specifier": "file:scene_single_video",
|
||||
"version": "file:scene_single_video"
|
||||
},
|
||||
"media-player-common": {
|
||||
"specifier": "file:polyv",
|
||||
"version": "file:polyv"
|
||||
}
|
||||
},
|
||||
"devDependencies": {},
|
||||
@ -91,6 +92,22 @@
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"polyv": {
|
||||
"name": "polyv",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-sdk": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
}
|
||||
},
|
||||
"devDependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"products/expert": {
|
||||
"name": "default",
|
||||
"dependencies": {
|
||||
@ -98,10 +115,6 @@
|
||||
"specifier": "file:commons/basic",
|
||||
"version": "file:commons/basic"
|
||||
},
|
||||
"utils": {
|
||||
"specifier": "file:commons/utils",
|
||||
"version": "file:commons/utils"
|
||||
},
|
||||
"mypage": {
|
||||
"specifier": "file:features/mypage",
|
||||
"version": "file:features/mypage"
|
||||
@ -113,6 +126,54 @@
|
||||
"register": {
|
||||
"specifier": "file:features/register",
|
||||
"version": "file:features/register"
|
||||
},
|
||||
"scene_single_video": {
|
||||
"specifier": "file:scene_single_video",
|
||||
"version": "file:scene_single_video"
|
||||
},
|
||||
"media-player-common": {
|
||||
"specifier": "file:polyv",
|
||||
"version": "file:polyv"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"@polyvharmony/media-player-core-ijk": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
},
|
||||
"@polyvharmony/httpdns-api": {
|
||||
"specifier": "1.0.2",
|
||||
"version": "1.0.2"
|
||||
},
|
||||
"@polyvharmony/httpdns-impl-local": {
|
||||
"specifier": "1.0.2",
|
||||
"version": "1.0.2"
|
||||
},
|
||||
"@polyvharmony/httpdns-impl-ali": {
|
||||
"specifier": "1.0.2",
|
||||
"version": "1.0.2"
|
||||
}
|
||||
},
|
||||
"devDependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"scene_single_video": {
|
||||
"name": "scene_single_video",
|
||||
"dependencies": {
|
||||
"media-player-common": {
|
||||
"specifier": "file:polyv",
|
||||
"version": "file:polyv"
|
||||
},
|
||||
"@polyvharmony/media-player-sdk": {
|
||||
"specifier": "2.5.0",
|
||||
"version": "2.5.0"
|
||||
}
|
||||
},
|
||||
"devDependencies": {},
|
||||
@ -130,6 +191,26 @@
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@ohos/dataorm@2.2.6": {
|
||||
"integrity": "sha512-qwAQnMxfuG5Imsrq3jjikEUCC/FGqddj0YXe40zUELGdhHegEqkDaxtTp9KIq4fg1ZU/c8fxYNfApx3XZ7E6cA==",
|
||||
"storePath": "oh_modules/.ohpm/@ohos+dataorm@2.2.6",
|
||||
"dependencies": {
|
||||
"reflect-metadata": "0.2.1"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"reflect-metadata@0.2.1": {
|
||||
"integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==",
|
||||
"storePath": "oh_modules/.ohpm/reflect-metadata@0.2.1",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@ohos/hypium@1.0.21": {
|
||||
"integrity": "sha512-iyKGMXxE+9PpCkqEwu0VykN/7hNpb+QOeIuHwkmZnxOpI+dFZt6yhPB7k89EgV1MiSK/ieV/hMjr5Z2mWwRfMQ==",
|
||||
"storePath": "oh_modules/.ohpm/@ohos+hypium@1.0.21",
|
||||
@ -148,6 +229,122 @@
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-sdk@2.5.0": {
|
||||
"integrity": "sha512-Of8xCFhAD0O8s7Q0jzwSf4potYJJcI/j+MrNvU23sgXnEAX6DG7azIehuCn+k6AMHvxgLF1LlEMp17v3pkc/XA==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-sdk@2.5.0",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-business": "2.5.0",
|
||||
"@polyvharmony/media-player-core-api": "2.5.0",
|
||||
"@polyvharmony/media-player-foundation": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-business@2.5.0": {
|
||||
"integrity": "sha512-ta9YBq8cvwNPuRwQpAopodFB0WHbAfRUhgosGqT+UDEHZtlXsajLFmplPhoqYpFb649FVe6vDjVdHgsp6bKmtQ==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-business@2.5.0",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-core-api": "2.5.0",
|
||||
"@polyvharmony/media-player-foundation": "2.5.0",
|
||||
"@ohos/httpclient": "2.0.2",
|
||||
"@ohos/crypto-js": "2.0.4"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-core-api@2.5.0": {
|
||||
"integrity": "sha512-23Z4p0nPWAGJuifAr5qfhB39b0RdU7LQnOKPJTtPX4fc3qyGDoyQ7Y4/e+WulTm/JaDgsQ7xTn+Hmq+ryNl5cA==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-core-api@2.5.0",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-foundation": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-foundation@2.5.0": {
|
||||
"integrity": "sha512-P1beEIZs2ySGrNGWo2RRi8/hQopZkLE6Cdi+53/UJI4iXFeciWZQMXold3KBqlMzNm369BEysaoprtCsWLMC8Q==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-foundation@2.5.0",
|
||||
"dependencies": {
|
||||
"@ohos/httpclient": "2.0.2",
|
||||
"@ohos/crypto-js": "2.0.4",
|
||||
"@polyvharmony/httpdns-api": "1.0.2"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@ohos/httpclient@2.0.2": {
|
||||
"integrity": "sha512-acFEfQ9ZJti4KEYDBErCq0W85uc2khen41LIkBLVcfFXmgZAGeRKV+CPiSyG8v+5nUD7Wf2ncjBxxPxr6moqVg==",
|
||||
"storePath": "oh_modules/.ohpm/@ohos+httpclient@2.0.2",
|
||||
"dependencies": {
|
||||
"pako": "2.1.0",
|
||||
"@ohos/crypto-js": "2.0.4",
|
||||
"base64-js": "1.5.1"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"pako@2.1.0": {
|
||||
"integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==",
|
||||
"storePath": "oh_modules/.ohpm/pako@2.1.0",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"base64-js@1.5.1": {
|
||||
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
||||
"storePath": "oh_modules/.ohpm/base64-js@1.5.1",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/httpdns-api@1.0.2": {
|
||||
"integrity": "sha512-p3vd3i4oClAp/rf2RD3vIdKRSisabOB/+K+wYB9nHuf5ZDTw3Yv4o+dLQewm0atqf00JGF3Y0IiwURCpryJX5Q==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+httpdns-api@1.0.2",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down@2.5.0": {
|
||||
"integrity": "sha512-wN6OQaQm65GPL39nVWYx9vRyua6TflbIXddoataxHrlW2Nf7N3PJZjmFW0zaTPC5EyzsnmkRh/4zN2zHvyQDUA==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-sdk-addon-cache-down@2.5.0",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-business": "2.5.0",
|
||||
"@polyvharmony/media-player-foundation": "2.5.0",
|
||||
"@polyvharmony/media-player-core-ijk": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/media-player-core-ijk@2.5.0": {
|
||||
"integrity": "sha512-LieKq0vm8QpTNLzw+QSVRok9xoJV0fDVR4Aw1bRClnpd4Mmb99JvwuW6isCRYsrZJievsxbbNet/qSqjb+OJhw==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+media-player-core-ijk@2.5.0",
|
||||
"dependencies": {
|
||||
"@polyvharmony/media-player-core-api": "2.5.0",
|
||||
"@polyvharmony/media-player-foundation": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@itcast/basic@file:commons/basic": {
|
||||
"storePath": "commons/basic",
|
||||
"dependencies": {},
|
||||
@ -156,10 +353,22 @@
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"utils@file:commons/utils": {
|
||||
"storePath": "commons/utils",
|
||||
"media-player-common@file:polyv": {
|
||||
"storePath": "polyv",
|
||||
"dependencies": {
|
||||
"@ohos/crypto-js": "2.0.4"
|
||||
"@polyvharmony/media-player-sdk": "2.5.0",
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"scene_single_video@file:scene_single_video": {
|
||||
"storePath": "scene_single_video",
|
||||
"dependencies": {
|
||||
"media-player-common": "polyv",
|
||||
"@polyvharmony/media-player-sdk": "2.5.0"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
@ -179,7 +388,11 @@
|
||||
"home@file:features/Home": {
|
||||
"storePath": "features/Home",
|
||||
"dependencies": {
|
||||
"@itcast/basic": "commons/basic"
|
||||
"@itcast/basic": "commons/basic",
|
||||
"@polyvharmony/media-player-sdk": "2.5.0",
|
||||
"@polyvharmony/media-player-sdk-addon-cache-down": "2.5.0",
|
||||
"scene_single_video": "scene_single_video",
|
||||
"media-player-common": "polyv"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
@ -195,6 +408,59 @@
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/httpdns-impl-local@1.0.2": {
|
||||
"integrity": "sha512-KKK1PUmpudmwucbi0uZ+a56Bqryw2HlEI0hiA8mc5LjhLVZ49QxPX3ARZw3Sw/IRasWBvkSXuRpNrA8AuxchKA==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+httpdns-impl-local@1.0.2",
|
||||
"dependencies": {
|
||||
"@polyvharmony/httpdns-api": "1.0.2"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@polyvharmony/httpdns-impl-ali@1.0.2": {
|
||||
"integrity": "sha512-DQGPBfTHZyGxcUJRBxRhge2HoXW3aZZjkjqy7KeI9bUXCnltq4dCBwz6GCldtoZduGvJDuv+HogZL3DA8BatvA==",
|
||||
"storePath": "oh_modules/.ohpm/@polyvharmony+httpdns-impl-ali@1.0.2",
|
||||
"dependencies": {
|
||||
"@polyvharmony/httpdns-api": "1.0.2",
|
||||
"@aliyun/httpdns": "1.1.1"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@aliyun/httpdns@1.1.1": {
|
||||
"integrity": "sha512-VyjxuvnlOiaijdGRXnK0q4NQO8IX5E2zETap/9JObpS2vjcBWAiok5MxprhoXl9YeAgv70pnOD0M70BqHq8++w==",
|
||||
"storePath": "oh_modules/.ohpm/@aliyun+httpdns@1.1.1",
|
||||
"dependencies": {
|
||||
"@aliyun/logger": "1.0.2",
|
||||
"@aliyun/error": "1.0.2"
|
||||
},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@aliyun/logger@1.0.2": {
|
||||
"integrity": "sha512-8iRVhBv1GHy1J7swZWDdDghcUzxieOc+Bf9UVUX4n8D99EPFo6GnM97ObfbF6f6JREByQ9YSH+dsxYTFNM5e1g==",
|
||||
"storePath": "oh_modules/.ohpm/@aliyun+logger@1.0.2",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
},
|
||||
"@aliyun/error@1.0.2": {
|
||||
"integrity": "sha512-hESGtOCjFmyWRAWjEwJ7izFJsOXDto1DGvOrFO3II6mPEWvpow3UMpYqeBVzLvBUcdFtFkoF/rCEPLHXOK8nmQ==",
|
||||
"storePath": "oh_modules/.ohpm/@aliyun+error@1.0.2",
|
||||
"dependencies": {},
|
||||
"dynamicDependencies": {},
|
||||
"dev": false,
|
||||
"dynamic": false,
|
||||
"maskedByOverrideDependencyMap": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -156,8 +156,9 @@ struct BootPage {
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.backgroundImage(this.photoUrl)
|
||||
.backgroundImageSize(ImageSize.FILL)
|
||||
.backgroundImage(this.photoUrl,ImageRepeat.NoRepeat)
|
||||
.backgroundImageSize(ImageSize.Cover) // 铺满不变形
|
||||
.backgroundImagePosition(Alignment.Center) // 居中裁剪
|
||||
.geometryTransition("boot")
|
||||
.transition(TransitionEffect.OPACITY)
|
||||
}
|
||||
|
||||
@ -115,9 +115,9 @@ struct CancelAccount {
|
||||
.fontSize(13)
|
||||
.fontColor(Color.White)
|
||||
.width('90%')
|
||||
.height(45)
|
||||
.height(44)
|
||||
.backgroundColor('#8B2316')
|
||||
.borderRadius(3)
|
||||
.borderRadius(4)
|
||||
.margin(20)
|
||||
.border({
|
||||
width:1,
|
||||
|
||||
@ -36,7 +36,7 @@ struct SettingPage {
|
||||
bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_METADATA
|
||||
)
|
||||
.then((res) => {
|
||||
this.version = 'v' + res.versionName
|
||||
this.version = 'V' + res.versionName
|
||||
})
|
||||
}
|
||||
|
||||
@ -83,12 +83,12 @@ struct SettingPage {
|
||||
if (item=='版本') {
|
||||
Text(this.version)
|
||||
.fontSize(16)
|
||||
.fontColor($r('app.color.main_color'))
|
||||
.fontColor(Color.Black)
|
||||
.margin({ right: 10 })
|
||||
} else if (item == '清除缓存') {
|
||||
Text(this.cache)
|
||||
.fontSize(16)
|
||||
.fontColor($r('app.color.main_color'))
|
||||
.fontColor(Color.Black)
|
||||
.margin({ right: 10 })
|
||||
Image($r('sys.media.ohos_ic_public_arrow_right'))
|
||||
.width(15)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user