parent
e6a26c4c5f
commit
ce360ac43a
|
|
@ -43,12 +43,12 @@
|
|||
"arkOptions": {
|
||||
"buildProfileFields": {
|
||||
"CHANNEL": "harmony",
|
||||
"BUILD_TIME": "2605131158"
|
||||
"BUILD_TIME": "2605150933"
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"artifactName": "rabbit_harmony_debug_v1.0.0_2605131158"
|
||||
"artifactName": "rabbit_harmony_debug_v1.0.0_2605150933"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const BUILD_MODE_NAME = 'debug';
|
|||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605131158';
|
||||
export const BUILD_TIME = '2605150929';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
|||
});
|
||||
|
||||
const targetPath = uniIconEntity.url??'';
|
||||
const uniMpUrl = uniMpEntity?.url??'';//'https://cdn.batiao8.com/flaunt/uni_mp/wgt/alipay/__UNI__D535736_2026-4-20-test4.wgt';
|
||||
const uniMpUrl = uniMpEntity?.url??'';
|
||||
const uniMpId = uniMpEntity?.unimp_id??'';
|
||||
const uniMpversion = uniMpEntity?.version??'';
|
||||
const uniMpVersion = uniMpEntity?.version??'';
|
||||
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
||||
if(res == true){
|
||||
// 已释放,直接运行
|
||||
|
|
@ -83,7 +83,7 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
|||
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
||||
if(status == 2){
|
||||
// 设置下载的版本信信
|
||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpversion??'', path??'');
|
||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpVersion??'', path??'');
|
||||
callback(status, progress, path);
|
||||
// 已下载完成,释放并启动
|
||||
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ export interface UserInfo {
|
|||
weixinAppIdType: string | null;
|
||||
weixinAppOpenId: string | null;
|
||||
weixinOpenId: string | null;
|
||||
show_contact_menu: string | null;
|
||||
|
||||
//以下字段,目前由/api/user/account提供
|
||||
vip_type: number | 0;
|
||||
create_time: string | null;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const BUILD_MODE_NAME = 'debug';
|
|||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605131158';
|
||||
export const BUILD_TIME = '2605150929';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const BUILD_MODE_NAME = 'debug';
|
|||
export const DEBUG = true;
|
||||
export const TARGET_NAME = 'default';
|
||||
export const CHANNEL = 'harmony';
|
||||
export const BUILD_TIME = '2605131158';
|
||||
export const BUILD_TIME = '2605150929';
|
||||
|
||||
/**
|
||||
* BuildProfile Class is used only for compatibility purposes.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
export struct GlobalDownloadingDialog {
|
||||
controller: CustomDialogController;
|
||||
@State show: boolean = false;
|
||||
@State progress: number = 0;
|
||||
@Link progress: number;
|
||||
|
||||
build() {
|
||||
Stack() {
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
|||
});
|
||||
|
||||
const targetPath = uniIconEntity.url??'';
|
||||
const uniMpUrl = uniMpEntity?.url??'';//'https://cdn.batiao8.com/flaunt/uni_mp/wgt/alipay/__UNI__D535736_2026-4-20-test4.wgt';
|
||||
const uniMpUrl = uniMpEntity?.url??'';
|
||||
const uniMpId = uniMpEntity?.unimp_id??'';
|
||||
const uniMpversion = uniMpEntity?.version??'';
|
||||
const uniMpVersion = uniMpEntity?.version??'';
|
||||
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
||||
if(res == true){
|
||||
// 已释放,直接运行
|
||||
|
|
@ -83,7 +83,7 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
|||
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
||||
if(status == 2){
|
||||
// 设置下载的版本信信
|
||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpversion??'', path??'');
|
||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpVersion??'', path??'');
|
||||
callback(status, progress, path);
|
||||
// 已下载完成,释放并启动
|
||||
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ export interface UserInfo {
|
|||
weixinAppIdType: string | null;
|
||||
weixinAppOpenId: string | null;
|
||||
weixinOpenId: string | null;
|
||||
show_contact_menu: string | null;
|
||||
|
||||
//以下字段,目前由/api/user/account提供
|
||||
vip_type: number | 0;
|
||||
create_time: string | null;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
{
|
||||
"name": "default",
|
||||
"output": {
|
||||
"artifactName": "rabbit_harmony_v1.0.0_265131158"
|
||||
"artifactName": "rabbit_harmony_v1.0.0_26515933"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -189,9 +189,9 @@ export struct MineComponent {
|
|||
// 跳转客服
|
||||
const context = getContext(this) as common.UIAbilityContext;
|
||||
jumpToWeChatCustomerService(context, this.serviceProfile?.corpid??'', this.serviceProfile?.address??'')
|
||||
})
|
||||
}).visibility(this.userInfo?.show_contact_menu ? Visibility.Visible : Visibility.None)
|
||||
|
||||
Divider().height(0.5).backgroundColor('#4dd8d8d8').margin({ left: 14, right: 14})
|
||||
Divider().height(0.5).backgroundColor('#4dd8d8d8').margin({ left: 14, right: 14}).visibility(this.userInfo?.show_contact_menu ? Visibility.Visible : Visibility.None)
|
||||
|
||||
Row() {
|
||||
Image($r('app.media.ic_mine_update')).width('19.5vp').height('21.51vp')
|
||||
|
|
|
|||
Loading…
Reference in New Issue