This commit is contained in:
zpc 2026-02-04 14:27:10 +08:00
parent fb4da9a581
commit e2d32829cd
3 changed files with 27 additions and 2 deletions

View File

@ -157,7 +157,7 @@
<uni-popup ref="qunliao_show" type="center" maskBackgroundColor="rgba(0,0,0,0.8)">
<view class="pop-ball">
<image show-menu-by-longpress
src="https://image.zfunbox.cn/topic/20250418/0b40de65d2fc4801517569193bfd4cac.png" mode="aspectFit"
:src="erweimaUrl" mode="aspectFit"
style="width:80vw;height:468px;position:relative;top:-14%;left:0;">
</image>
</view>
@ -193,6 +193,10 @@
//
visibleMenuList() {
return this.menuList.filter(item => item.show);
},
// URL
erweimaUrl() {
return this.$config.getBaseConfigKey('erweima') || 'https://image.zfunbox.cn/topic/20250418/0b40de65d2fc4801517569193bfd4cac.png';
}
},
onLoad(e) {

View File

@ -88,7 +88,10 @@ public class ConfigService : IConfigService
IsShouTan = GetIntValue(baseConfig, "is_shou_tan"),
JumpAppid = GetStringValue(baseConfig, "jump_appid"),
Corpid = GetStringValue(baseConfig, "corpid"),
WxLink = GetStringValue(baseConfig, "wx_link")
WxLink = GetStringValue(baseConfig, "wx_link"),
Erweima = GetStringValue(baseConfig, "erweima"),
ShareImage = GetStringValue(baseConfig, "share_image"),
ShareTitle = GetStringValue(baseConfig, "share_title")
};
}
}

View File

@ -162,6 +162,24 @@ public class BaseConfigDto
/// </summary>
[JsonPropertyName("wx_link")]
public string? WxLink { get; set; }
/// <summary>
/// 福利群二维码图片
/// </summary>
[JsonPropertyName("erweima")]
public string? Erweima { get; set; }
/// <summary>
/// 分享图片
/// </summary>
[JsonPropertyName("share_image")]
public string? ShareImage { get; set; }
/// <summary>
/// 分享标题
/// </summary>
[JsonPropertyName("share_title")]
public string? ShareTitle { get; set; }
}
/// <summary>