xiugai
This commit is contained in:
31
miniprogram_npm/futext.js
Normal file
31
miniprogram_npm/futext.js
Normal file
@ -0,0 +1,31 @@
|
||||
// miniprogram_npm/rich-text.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
settlementDesc: {
|
||||
type: String,
|
||||
value: ''
|
||||
},
|
||||
xiangmuname: {
|
||||
type: String,
|
||||
value: ''
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
4
miniprogram_npm/futext.json
Normal file
4
miniprogram_npm/futext.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
12
miniprogram_npm/futext.wxml
Normal file
12
miniprogram_npm/futext.wxml
Normal 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>
|
27
miniprogram_npm/futext.wxss
Normal file
27
miniprogram_npm/futext.wxss
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user