1.bug测试修改

master
sws 2024-10-15 18:36:30 +08:00
parent 980fa21b34
commit 42481f3851
4 changed files with 17 additions and 17 deletions

View File

@ -1356,4 +1356,10 @@ button[disabled].bg-grey {
/* #ifndef H5 */
padding-top: calc(var(--status-bar-height) + 10rpx);
/* #endif */
}
/* 富文本 */
.diy-rich-text * {
max-width: 100%;
width: 100%;
}

View File

@ -363,8 +363,8 @@
.item {
flex-basis: auto;
flex-shrink: 0;
width: 180rpx;
height: 180rpx;
width: 168rpx;
height: 168rpx;
border-radius: 20rpx;
margin-top: 20rpx;
@ -411,7 +411,7 @@
font-size: 18rpx;
border-radius: 46rpx;
position: relative;
top: -4rpx;
top: -10rpx;
}
}
}
@ -803,14 +803,13 @@
.coupon-theme-6 {
display: flex;
.item {
flex-basis: auto;
flex-shrink: 0;
border-radius: 24rpx;
padding: 12rpx;
width: 280rpx;
height: 200rpx;
width: 268rpx;
height: 188rpx;
position: relative;
box-sizing: border-box;
@ -876,12 +875,12 @@
}
.bottom {
margin-top: 12rpx;
margin-top: 8rpx;
text-align: center;
.coupon-btn {
position: relative;
font-size: 32rpx;
font-size: 28rpx;
line-height: 44rpx;
font-weight: 500;
text-align: center;

View File

@ -12,7 +12,7 @@
<view class="model-head pr flex-row align-c" :style="header_style">
<view class="model-head-content flex-row align-c jc-sb gap-16 wh-auto pr padding-left-main">
<view v-if="!is_tabbar_pages" class="z-i dis-inline-block margin-top-xs" @tap="top_nav_left_back_event">
<iconfont name="icon-arrow-left" size="40rpx" propContainerDisplay="flex"></iconfont>
<iconfont name="icon-arrow-left" size="40rpx" propContainerDisplay="flex" :color="form.style.left_back_btn_color || '#333'"></iconfont>
</view>
<view v-if="['1', '2', '3'].includes(form.content.theme)" class="flex-1">
<view class="flex-row align-c jc-c ht-auto gap-16" :class="position_class" :style="text_style + 'justify-content:' + form.content.indicator_location || 'center'">

View File

@ -1,6 +1,6 @@
<template>
<!-- 富文本 -->
<view class="rich-text" :style="style_container">
<view class="diy-rich-text" :style="style_container">
<view :style="style_img_container">
<mp-html :content="content" />
</view>
@ -45,15 +45,10 @@
style_container: common_styles_computer(new_style.common_style),
style_img_container: common_img_computer(new_style.common_style),
});
console.log(new_content.html);
},
},
};
</script>
<style>
.rich-text {
* {
max-width: 100%;
}
}
</style>
<style></style>