修改手机显示

master
于肖磊 2024-10-18 16:02:03 +08:00
parent e998b632a6
commit 5e843d38ff
2 changed files with 7 additions and 12 deletions

View File

@ -7,12 +7,12 @@
data: {
//
//
// request_url: 'http://shopxo.com/',
request_url:'https://new.shopxo.vip/',
request_url: 'http://shopxo.com/',
// request_url:'https://new.shopxo.vip/',
// publicpublichttps://d1.shopxo.vip/public/
// static_url: 'http://shopxo.com/',
static_url:'https://new.shopxo.vip/',
static_url: 'http://shopxo.com/',
// static_url:'https://new.shopxo.vip/',
// default
system_type: 'default',

View File

@ -5,14 +5,14 @@
<view class="pr flex-row" :class="title_center">
<view class="z-i flex-row align-c gap-10">
<template v-if="!isEmpty(form.img_src) && !isEmpty(form.img_src[0].url)">
<view :style="{ 'height': form.img_height * 2 + 'rpx' }">
<image :src="form.img_src[0].url" class="title-img" mode="aspectFit"></image>
<view class="wh-auto" :style="{'height': new_style.img_height * 2 + 'rpx' }">
<image :src="form.img_src[0].url" class="ht-auto" mode="heightFix"></image>
</view>
</template>
<template v-else-if="!isEmpty(form.icon_class)">
<iconfont :name="'icon-' + form.icon_class" :size="new_style.icon_size * 2 + 'rpx'" :color="new_style.icon_color" propContainerDisplay="flex"></iconfont>
</template>
<view class="pr-15 nowrap" :style="title_style">{{ form.title }}</view>
<view v-if="!isEmpty(form.title)" class="pr-15 nowrap" :style="title_style">{{ form.title }}</view>
</view>
<view class="flex-row gap-10 align-c right-0 pa">
<template v-if="form.keyword_show == '1'">
@ -139,9 +139,4 @@
overflow-wrap: break-word;
word-wrap: break-word;
}
.title-img {
max-width: 120rpx;
max-height: 60rpx;
}
</style>