完善审核来源标识与图片读取设置
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
const assert = require('assert')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const modalChoices = []
|
||||
const toasts = []
|
||||
@@ -37,6 +39,11 @@ function createPage() {
|
||||
}
|
||||
|
||||
async function run() {
|
||||
const styles = fs.readFileSync(path.join(__dirname, 'index.wxss'), 'utf8')
|
||||
assert(styles.includes('min-width: 0;'))
|
||||
assert(styles.includes('flex-wrap: wrap;'))
|
||||
assert(styles.includes('@media (max-width: 390px)'))
|
||||
assert(styles.includes('text-overflow: ellipsis;'))
|
||||
const employeesApi = require('../../api/employees')
|
||||
const planningApi = require('../../api/planning')
|
||||
const application = {
|
||||
|
||||
@@ -98,6 +98,8 @@
|
||||
|
||||
.review-item {
|
||||
gap: 14rpx;
|
||||
min-width: 0;
|
||||
flex-wrap: wrap;
|
||||
padding: 18rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #fff;
|
||||
@@ -115,6 +117,7 @@
|
||||
.review-info {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.review-name {
|
||||
@@ -141,6 +144,7 @@
|
||||
.review-actions {
|
||||
flex: 0 0 auto;
|
||||
gap: 8rpx;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.review-action {
|
||||
@@ -178,6 +182,23 @@
|
||||
color: #a8554e;
|
||||
}
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.review-item {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.review-info {
|
||||
max-width: calc(100% - 100rpx);
|
||||
}
|
||||
|
||||
.review-actions {
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
padding-left: 86rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
.review-retry {
|
||||
width: 150rpx;
|
||||
min-width: 150rpx;
|
||||
|
||||
Reference in New Issue
Block a user