@@ -18,7 +18,11 @@ export interface IBannerItem {
export interface IConfigurationItem {
banners: {
homeTop: string;
- homeTitle: string;
+ homeTitle: {
+ url: string;
+ width: number;
+ height: number;
+ };
home: IBannerItem;
dig: IBannerItem;
discover: IBannerItem;
@@ -1,7 +1,11 @@
{
"banners": {
"homeTop": "https://xy.wenlvti.net/app_static/images/home/BannerHomeNew.png",
- "homeTitle": "https://xy.wenlvti.net/app_static/images/home/BannerHomeTitle.png",
+ "homeTitle": {
+ "width": 140,
+ "height": 75,
+ "url": "https://xy.wenlvti.net/app_static/images/home/BannerHomeTitle.png"
+ },
"home": {
"height": 460,
"images": [
@@ -18,9 +18,9 @@
:text="currentCity"
/>
<Image
- :src="appConfiguration?.banners.homeTitle"
- :width="140"
- :height="75"
+ :src="appConfiguration?.banners.homeTitle.url"
+ :width="appConfiguration?.banners.homeTitle.width || 140"
+ :height="appConfiguration?.banners.homeTitle.height || 75"
<Width :width="150" />
</FlexRow>