parent
e6a26c4c5f
commit
ce360ac43a
|
|
@ -43,12 +43,12 @@
|
||||||
"arkOptions": {
|
"arkOptions": {
|
||||||
"buildProfileFields": {
|
"buildProfileFields": {
|
||||||
"CHANNEL": "harmony",
|
"CHANNEL": "harmony",
|
||||||
"BUILD_TIME": "2605131158"
|
"BUILD_TIME": "2605150933"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"output": {
|
"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 DEBUG = true;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
export const CHANNEL = 'harmony';
|
export const CHANNEL = 'harmony';
|
||||||
export const BUILD_TIME = '2605131158';
|
export const BUILD_TIME = '2605150929';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BuildProfile Class is used only for compatibility purposes.
|
* BuildProfile Class is used only for compatibility purposes.
|
||||||
|
|
|
||||||
|
|
@ -69,9 +69,9 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
||||||
});
|
});
|
||||||
|
|
||||||
const targetPath = uniIconEntity.url??'';
|
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 uniMpId = uniMpEntity?.unimp_id??'';
|
||||||
const uniMpversion = uniMpEntity?.version??'';
|
const uniMpVersion = uniMpEntity?.version??'';
|
||||||
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
||||||
if(res == true){
|
if(res == true){
|
||||||
// 已释放,直接运行
|
// 已释放,直接运行
|
||||||
|
|
@ -83,7 +83,7 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
||||||
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
||||||
if(status == 2){
|
if(status == 2){
|
||||||
// 设置下载的版本信信
|
// 设置下载的版本信信
|
||||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpversion??'', path??'');
|
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpVersion??'', path??'');
|
||||||
callback(status, progress, path);
|
callback(status, progress, path);
|
||||||
// 已下载完成,释放并启动
|
// 已下载完成,释放并启动
|
||||||
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,8 @@ export interface UserInfo {
|
||||||
weixinAppIdType: string | null;
|
weixinAppIdType: string | null;
|
||||||
weixinAppOpenId: string | null;
|
weixinAppOpenId: string | null;
|
||||||
weixinOpenId: string | null;
|
weixinOpenId: string | null;
|
||||||
|
show_contact_menu: string | null;
|
||||||
|
|
||||||
//以下字段,目前由/api/user/account提供
|
//以下字段,目前由/api/user/account提供
|
||||||
vip_type: number | 0;
|
vip_type: number | 0;
|
||||||
create_time: string | null;
|
create_time: string | null;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export const BUILD_MODE_NAME = 'debug';
|
||||||
export const DEBUG = true;
|
export const DEBUG = true;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
export const CHANNEL = 'harmony';
|
export const CHANNEL = 'harmony';
|
||||||
export const BUILD_TIME = '2605131158';
|
export const BUILD_TIME = '2605150929';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BuildProfile Class is used only for compatibility purposes.
|
* BuildProfile Class is used only for compatibility purposes.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export const BUILD_MODE_NAME = 'debug';
|
||||||
export const DEBUG = true;
|
export const DEBUG = true;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
export const CHANNEL = 'harmony';
|
export const CHANNEL = 'harmony';
|
||||||
export const BUILD_TIME = '2605131158';
|
export const BUILD_TIME = '2605150929';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BuildProfile Class is used only for compatibility purposes.
|
* BuildProfile Class is used only for compatibility purposes.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
export struct GlobalDownloadingDialog {
|
export struct GlobalDownloadingDialog {
|
||||||
controller: CustomDialogController;
|
controller: CustomDialogController;
|
||||||
@State show: boolean = false;
|
@State show: boolean = false;
|
||||||
@State progress: number = 0;
|
@Link progress: number;
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
Stack() {
|
Stack() {
|
||||||
|
|
|
||||||
|
|
@ -69,9 +69,9 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
||||||
});
|
});
|
||||||
|
|
||||||
const targetPath = uniIconEntity.url??'';
|
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 uniMpId = uniMpEntity?.unimp_id??'';
|
||||||
const uniMpversion = uniMpEntity?.version??'';
|
const uniMpVersion = uniMpEntity?.version??'';
|
||||||
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
isUniMpNeedDownloadForPath(uniMpId).then(res => {
|
||||||
if(res == true){
|
if(res == true){
|
||||||
// 已释放,直接运行
|
// 已释放,直接运行
|
||||||
|
|
@ -83,7 +83,7 @@ export function downStartUpForPath(context: UIContext, uniMpVersions: UniVersion
|
||||||
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
downloadFile(getContext(), uniMpUrl??'', uniMpId + '.wgt', (status, progress, path) => {
|
||||||
if(status == 2){
|
if(status == 2){
|
||||||
// 设置下载的版本信信
|
// 设置下载的版本信信
|
||||||
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpversion??'', path??'');
|
setUniMpNeedDownload(uniMpId??'', uniMpType??'', uniMpVersion??'', path??'');
|
||||||
callback(status, progress, path);
|
callback(status, progress, path);
|
||||||
// 已下载完成,释放并启动
|
// 已下载完成,释放并启动
|
||||||
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
releaseRunUniMp(context, uniMpId??'', targetPath, (status) => {
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,8 @@ export interface UserInfo {
|
||||||
weixinAppIdType: string | null;
|
weixinAppIdType: string | null;
|
||||||
weixinAppOpenId: string | null;
|
weixinAppOpenId: string | null;
|
||||||
weixinOpenId: string | null;
|
weixinOpenId: string | null;
|
||||||
|
show_contact_menu: string | null;
|
||||||
|
|
||||||
//以下字段,目前由/api/user/account提供
|
//以下字段,目前由/api/user/account提供
|
||||||
vip_type: number | 0;
|
vip_type: number | 0;
|
||||||
create_time: string | null;
|
create_time: string | null;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
{
|
{
|
||||||
"name": "default",
|
"name": "default",
|
||||||
"output": {
|
"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;
|
const context = getContext(this) as common.UIAbilityContext;
|
||||||
jumpToWeChatCustomerService(context, this.serviceProfile?.corpid??'', this.serviceProfile?.address??'')
|
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() {
|
Row() {
|
||||||
Image($r('app.media.ic_mine_update')).width('19.5vp').height('21.51vp')
|
Image($r('app.media.ic_mine_update')).width('19.5vp').height('21.51vp')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue