分包医生

This commit is contained in:
zoujiandong
2024-01-16 14:59:06 +08:00
parent 562d4e9691
commit d5a9339ddd
1060 changed files with 3177 additions and 44707 deletions
+38
View File
@@ -0,0 +1,38 @@
// commpents/appraise_data/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
name: {
type: String,
value: '默认姓名',
},
start: {
type: Number,
value: '5',
},
content: {
type: String,
value: '默认评价内筒',
},
date: {
type: String,
value: '2023-01-25 12:09',
},
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
+6
View File
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"t-rate": "tdesign-miniprogram/rate/rate"
}
}
+10
View File
@@ -0,0 +1,10 @@
<view class="item">
<view class="top">
<view class="name">{{name}}</view>
<view class="start">
<t-rate value="{{start}}" count="{{start}}" color="#ED9C00"/>
</view>
</view>
<view class="content">{{content}}</view>
<view class="date">{{date}}</view>
</view>
+37
View File
@@ -0,0 +1,37 @@
.item{
display: flex;
padding: 20rpx;
flex-direction: column;
background-color: aqua;
}
.item:not(:last-child){
border-bottom: 1px solid #E7E7E7;
background-color: brown;
}
.top{
display: flex;
justify-content: space-between;
align-items: center;
flex: 1;
}
.name{
flex: 1;
font-size: 30rpx;
color: #666666;
}
.start{
flex: 1;
display: flex;
justify-content: flex-end;
}
.content{
flex: 2;
font-size: 34rpx;
color: #333333;
margin: 20rpx 0;
}
.date{
flex: 1;
font-size: 28rpx;
color: #666666;
}