This commit is contained in:
Ling53666
2025-05-15 21:01:14 +08:00
parent 9b8553930b
commit 7c371623eb
35 changed files with 620 additions and 401 deletions

31
miniprogram_npm/futext.js Normal file
View File

@ -0,0 +1,31 @@
// miniprogram_npm/rich-text.js
Component({
/**
* 组件的属性列表
*/
properties: {
settlementDesc: {
type: String,
value: ''
},
xiangmuname: {
type: String,
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1,12 @@
<view class="fenbu">
<view class="xiangqing">
<view class="titlemessgae">
<image style="width: 20px;height: 20px;margin-left: 20rpx;" src="/image/close.png" mode=""/>
<text style="margin-left: 10rpx; color: #ff8d1a;">{{xiangmuname}}</text>
</view>
<view class="richtext">
<rich-text user-select="true" nodes="{{settlementDesc}}"/>
</view>
</view>
</view>

View File

@ -0,0 +1,27 @@
.xiangqing{
width: 95%;
margin-top: 20rpx;
border-radius: 20px;
background-color: #F8F8F8;
}
.titlemessgae{
width: 100%;
height: 50px;
display: flex;
align-items: center;
}
.richtext {
padding: 0rpx 24rpx 24rpx 0rpx;
border-radius: 16rpx;
font-size: 28rpx;
color: #333;
line-height: 1.8;
box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.05);
}
.fenbu{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}