|
|
|
@ -41,6 +41,24 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
|
|
|
<text class="label">故障类型</text>
|
|
|
|
|
|
|
|
<picker
|
|
|
|
|
|
|
|
@change="handleFaultTypeChange"
|
|
|
|
|
|
|
|
:value="faultTypeIndex"
|
|
|
|
|
|
|
|
:range="dict.get('fault_type')"
|
|
|
|
|
|
|
|
:range-key="'dictLabel'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="picker-row">
|
|
|
|
|
|
|
|
<text class="value" v-if="selectedFaultType">
|
|
|
|
|
|
|
|
{{ selectedFaultType }}
|
|
|
|
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<text class="placeholder" v-else>请选择故障类型</text>
|
|
|
|
|
|
|
|
<text class="iconfont icon-xiangyou"></text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</picker>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
<view class="form-item">
|
|
|
|
<text class="label">联系方式</text>
|
|
|
|
<text class="label">联系方式</text>
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
@ -65,14 +83,24 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="form-item">
|
|
|
|
<view class="form-item">
|
|
|
|
<text class="label">期望上门时间(选填)</text>
|
|
|
|
<text class="label">上传图片(选填)</text>
|
|
|
|
<input
|
|
|
|
<view class="upload-section">
|
|
|
|
class="input"
|
|
|
|
<view class="upload-list">
|
|
|
|
type="text"
|
|
|
|
<view
|
|
|
|
v-model="form.expectedTime"
|
|
|
|
class="upload-item"
|
|
|
|
placeholder="例如:工作日白天 / 周末上午"
|
|
|
|
v-for="(image, index) in images"
|
|
|
|
maxlength="50"
|
|
|
|
:key="index"
|
|
|
|
/>
|
|
|
|
>
|
|
|
|
|
|
|
|
<image :src="HTTP_ADMIN_URL + '/' + image.url" mode="aspectFill"></image>
|
|
|
|
|
|
|
|
<text class="delete-btn" @click="deleteImage(index)">×</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="upload-btn" @click="chooseImage" v-if="images.length < 9">
|
|
|
|
|
|
|
|
<text class="iconfont icon-tianjia"></text>
|
|
|
|
|
|
|
|
<text>添加图片</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<text class="hint">最多上传9张图片</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@ -113,6 +141,12 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="card-body">
|
|
|
|
<view class="card-body">
|
|
|
|
|
|
|
|
<view class="row" v-if="item.faultType">
|
|
|
|
|
|
|
|
<text class="label">故障类型</text>
|
|
|
|
|
|
|
|
<text class="value">
|
|
|
|
|
|
|
|
{{ getFaultTypeLabel(item.faultType) }}
|
|
|
|
|
|
|
|
</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<view class="row" v-if="item.assigneContext">
|
|
|
|
<view class="row" v-if="item.assigneContext">
|
|
|
|
<text class="label">报修内容</text>
|
|
|
|
<text class="label">报修内容</text>
|
|
|
|
<text class="value">
|
|
|
|
<text class="value">
|
|
|
|
@ -185,12 +219,10 @@
|
|
|
|
@click="chooseHouse(item)"
|
|
|
|
@click="chooseHouse(item)"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<text class="name">
|
|
|
|
<text class="name">
|
|
|
|
{{ item.houseName || item.houseNo || '房屋' }}
|
|
|
|
{{ (item.unitNo ? item.unitNo + '单元' : '') + (item.floorNo ? ' ' + item.floorNo + '层' : '') + (item.houseNo ? ' ' + item.houseNo + '室' : '') || item.houseName || '房屋' }}
|
|
|
|
</text>
|
|
|
|
</text>
|
|
|
|
<text class="desc">
|
|
|
|
<text class="desc">
|
|
|
|
{{ item.buildingId ? '楼栋 ' + item.buildingId : '' }}
|
|
|
|
{{ item.buildingId ? '楼栋 ' + item.buildingId : '' }}
|
|
|
|
{{ item.unitNo ? ' 单元 ' + item.unitNo : '' }}
|
|
|
|
|
|
|
|
{{ item.floorNo ? ' ' + item.floorNo + '层' : '' }}
|
|
|
|
|
|
|
|
</text>
|
|
|
|
</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view
|
|
|
|
@ -213,21 +245,24 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
import { createMaintenanceOrder, listMaintenanceOrder, listMaintenanceOrderDetail, listHouses } from '@/api/property.js';
|
|
|
|
createMaintenanceDispatch,
|
|
|
|
import request from '@/utils/request.js';
|
|
|
|
listMaintenanceDispatch,
|
|
|
|
import { HTTP_ADMIN_URL } from '@/config/app';
|
|
|
|
listHouses
|
|
|
|
|
|
|
|
} from '@/api/property.js';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
|
|
|
|
dicts: ['fault_type'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
HTTP_ADMIN_URL,
|
|
|
|
activeTab: 'form',
|
|
|
|
activeTab: 'form',
|
|
|
|
form: {
|
|
|
|
form: {
|
|
|
|
phone: '',
|
|
|
|
phone: '',
|
|
|
|
handleContent: '',
|
|
|
|
handleContent: '',
|
|
|
|
expectedTime: ''
|
|
|
|
expectedTime: '',
|
|
|
|
|
|
|
|
faultType: ''
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
faultTypeIndex: 0,
|
|
|
|
|
|
|
|
images: [],
|
|
|
|
selectedHouseId: null,
|
|
|
|
selectedHouseId: null,
|
|
|
|
selectedHouseName: '',
|
|
|
|
selectedHouseName: '',
|
|
|
|
records: [],
|
|
|
|
records: [],
|
|
|
|
@ -240,6 +275,15 @@ export default {
|
|
|
|
houseLoading: false
|
|
|
|
houseLoading: false
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
|
|
selectedFaultType() {
|
|
|
|
|
|
|
|
const types = this.dict.get('fault_type');
|
|
|
|
|
|
|
|
if (types && types.length > this.faultTypeIndex) {
|
|
|
|
|
|
|
|
return types[this.faultTypeIndex].dictLabel;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
if (this.activeTab === 'list') {
|
|
|
|
if (this.activeTab === 'list') {
|
|
|
|
this.refreshList();
|
|
|
|
this.refreshList();
|
|
|
|
@ -249,6 +293,14 @@ export default {
|
|
|
|
goBack() {
|
|
|
|
goBack() {
|
|
|
|
uni.navigateBack();
|
|
|
|
uni.navigateBack();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleFaultTypeChange(e) {
|
|
|
|
|
|
|
|
const index = e.detail.value;
|
|
|
|
|
|
|
|
this.faultTypeIndex = index;
|
|
|
|
|
|
|
|
const types = this.dict.get('fault_type');
|
|
|
|
|
|
|
|
if (types && types.length > index) {
|
|
|
|
|
|
|
|
this.form.faultType = types[index].dictValue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
switchToList() {
|
|
|
|
switchToList() {
|
|
|
|
this.activeTab = 'list';
|
|
|
|
this.activeTab = 'list';
|
|
|
|
if (!this.records.length) {
|
|
|
|
if (!this.records.length) {
|
|
|
|
@ -265,7 +317,7 @@ export default {
|
|
|
|
this.houseLoading = true;
|
|
|
|
this.houseLoading = true;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const res = await listHouses({});
|
|
|
|
const res = await listHouses({});
|
|
|
|
this.houseList = (res && (res.list || res.data || res.rows)) || [];
|
|
|
|
this.houseList = res?.data?.list || [];
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
title: typeof e === 'string' ? e : '获取房屋失败',
|
|
|
|
title: typeof e === 'string' ? e : '获取房屋失败',
|
|
|
|
@ -277,9 +329,72 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
chooseHouse(item) {
|
|
|
|
chooseHouse(item) {
|
|
|
|
this.selectedHouseId = item.id;
|
|
|
|
this.selectedHouseId = item.id;
|
|
|
|
this.selectedHouseName = item.houseName || item.houseNo || '';
|
|
|
|
// 按照格式拼接房屋名称
|
|
|
|
|
|
|
|
const unitPart = item.unitNo ? item.unitNo + '单元' : '';
|
|
|
|
|
|
|
|
const floorPart = item.floorNo ? item.floorNo + '层' : '';
|
|
|
|
|
|
|
|
const housePart = item.houseNo ? item.houseNo + '室' : '';
|
|
|
|
|
|
|
|
this.selectedHouseName = [unitPart, floorPart, housePart].filter(Boolean).join(' ');
|
|
|
|
this.housePopupVisible = false;
|
|
|
|
this.housePopupVisible = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
chooseImage() {
|
|
|
|
|
|
|
|
// 根据平台选择不同的API
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #ifndef MP-WEIXIN
|
|
|
|
|
|
|
|
// H5平台使用chooseImage
|
|
|
|
|
|
|
|
uni.chooseImage({
|
|
|
|
|
|
|
|
count: 9 - this.images.length,
|
|
|
|
|
|
|
|
sizeType: ['compressed'],
|
|
|
|
|
|
|
|
sourceType: ['album', 'camera'],
|
|
|
|
|
|
|
|
success: (res) => {
|
|
|
|
|
|
|
|
this.uploadImages(res.tempFilePaths);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
|
|
|
console.error('选择图片失败:', err);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
|
|
|
// 小程序平台使用chooseMedia
|
|
|
|
|
|
|
|
uni.chooseMedia({
|
|
|
|
|
|
|
|
count: 9 - this.images.length,
|
|
|
|
|
|
|
|
mediaType: ['image'],
|
|
|
|
|
|
|
|
sourceType: ['album', 'camera'],
|
|
|
|
|
|
|
|
sizeType: ['compressed'],
|
|
|
|
|
|
|
|
success: (res) => {
|
|
|
|
|
|
|
|
const tempFilePaths = res.tempFiles.map(file => file.tempFilePath);
|
|
|
|
|
|
|
|
this.uploadImages(tempFilePaths);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
|
|
|
console.error('选择图片失败:', err);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
async uploadImages(filePaths) {
|
|
|
|
|
|
|
|
for (let i = 0; i < filePaths.length; i++) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
uni.showLoading({ title: '上传中...', mask: true });
|
|
|
|
|
|
|
|
const result = await request.uploadFile(filePaths[i], 'multipart', {}, {
|
|
|
|
|
|
|
|
params: {
|
|
|
|
|
|
|
|
model: 'app-repair',
|
|
|
|
|
|
|
|
pid: 10
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.images.push(result);
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
console.error('上传图片失败:', e);
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
|
|
title: '上传失败:' + (typeof e === 'string' ? e : '未知错误'),
|
|
|
|
|
|
|
|
icon: 'none'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} finally {
|
|
|
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
deleteImage(index) {
|
|
|
|
|
|
|
|
this.images.splice(index, 1);
|
|
|
|
|
|
|
|
},
|
|
|
|
async submitRepair() {
|
|
|
|
async submitRepair() {
|
|
|
|
if (!this.selectedHouseId) {
|
|
|
|
if (!this.selectedHouseId) {
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
@ -288,6 +403,13 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!this.form.faultType) {
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
|
|
title: '请选择故障类型',
|
|
|
|
|
|
|
|
icon: 'none'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!this.form.handleContent.trim()) {
|
|
|
|
if (!this.form.handleContent.trim()) {
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
title: '请填写报修内容',
|
|
|
|
title: '请填写报修内容',
|
|
|
|
@ -296,25 +418,53 @@ export default {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 处理图片信息
|
|
|
|
|
|
|
|
const imagefiles = this.images.map(file => {
|
|
|
|
|
|
|
|
let attDir = file.url;
|
|
|
|
|
|
|
|
// 如果路径以/file/public/开头,去掉这个前缀,因为后端存储格式不需要
|
|
|
|
|
|
|
|
if (attDir.startsWith('file/public/')) {
|
|
|
|
|
|
|
|
attDir = attDir.replace('file/public/', '')
|
|
|
|
|
|
|
|
} else if (attDir.startsWith('file/')) {
|
|
|
|
|
|
|
|
attDir = attDir.replace('file/', '')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
attId: file.id + '',
|
|
|
|
|
|
|
|
name: file.fileName,
|
|
|
|
|
|
|
|
attDir,
|
|
|
|
|
|
|
|
attSize: file.fileSize,
|
|
|
|
|
|
|
|
attType: file.type, // 附件类型
|
|
|
|
|
|
|
|
fileName: file.fileName,
|
|
|
|
|
|
|
|
filePath: attDir,
|
|
|
|
|
|
|
|
url: attDir,
|
|
|
|
|
|
|
|
originalFileName: file.fileName,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const payload = {
|
|
|
|
const payload = {
|
|
|
|
phone: this.form.phone.trim(),
|
|
|
|
phone: this.form.phone.trim(),
|
|
|
|
assigneContext: this.form.handleContent.trim(),
|
|
|
|
assigneContext: this.form.handleContent.trim(),
|
|
|
|
remark: this.form.expectedTime.trim(),
|
|
|
|
remark: this.form.expectedTime.trim(),
|
|
|
|
status: '待派单',
|
|
|
|
status: this.form.status || '0',
|
|
|
|
houseName: this.selectedHouseName
|
|
|
|
houseName: this.selectedHouseName,
|
|
|
|
|
|
|
|
files: imagefiles,
|
|
|
|
|
|
|
|
faultType: this.form.faultType
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
uni.showLoading({ title: '提交中...', mask: true });
|
|
|
|
uni.showLoading({ title: '提交中...', mask: true });
|
|
|
|
await createMaintenanceDispatch(payload);
|
|
|
|
await createMaintenanceOrder(payload);
|
|
|
|
uni.hideLoading();
|
|
|
|
uni.hideLoading();
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
title: '报修已提交',
|
|
|
|
title: '报修已提交',
|
|
|
|
icon: 'success'
|
|
|
|
icon: 'success'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.form.phone = '';
|
|
|
|
this.form.handleContent = '';
|
|
|
|
this.form.handleContent = '';
|
|
|
|
this.form.expectedTime = '';
|
|
|
|
this.form.expectedTime = '';
|
|
|
|
|
|
|
|
this.form.faultType = '';
|
|
|
|
|
|
|
|
this.faultTypeIndex = 0;
|
|
|
|
|
|
|
|
this.images = [];
|
|
|
|
|
|
|
|
|
|
|
|
this.page = 1;
|
|
|
|
this.page = 1;
|
|
|
|
this.records = [];
|
|
|
|
this.records = [];
|
|
|
|
@ -348,8 +498,8 @@ export default {
|
|
|
|
page: this.page,
|
|
|
|
page: this.page,
|
|
|
|
limit: this.limit
|
|
|
|
limit: this.limit
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const res = await listMaintenanceDispatch(params);
|
|
|
|
const res = await listMaintenanceOrder(params);
|
|
|
|
const list = (res && (res.list || res.data || res.rows)) || [];
|
|
|
|
const list = res?.data?.list || [];
|
|
|
|
if (this.page === 1) {
|
|
|
|
if (this.page === 1) {
|
|
|
|
this.records = list;
|
|
|
|
this.records = list;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
@ -368,18 +518,26 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
statusText(status) {
|
|
|
|
statusText(status) {
|
|
|
|
if (!status) return '待处理';
|
|
|
|
if (status === 0 || status === '0') return '待处理';
|
|
|
|
if (status === '已完成' || status === '完成') return '已完成';
|
|
|
|
if (status === 1 || status === '1') return '处理中';
|
|
|
|
if (status === '待派单' || status === '待处理') return '待处理';
|
|
|
|
if (status === 2 || status === '2') return '已处理';
|
|
|
|
if (status === '处理中') return '处理中';
|
|
|
|
if (status === 99 || status === '99') return '已办结';
|
|
|
|
return status;
|
|
|
|
return status;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
statusClass(status) {
|
|
|
|
statusClass(status) {
|
|
|
|
const text = this.statusText(status);
|
|
|
|
const text = this.statusText(status);
|
|
|
|
if (text === '已完成') return 'status-done';
|
|
|
|
if (text === '已处理' || text === '已办结') return 'status-done';
|
|
|
|
if (text === '处理中') return 'status-doing';
|
|
|
|
if (text === '处理中') return 'status-doing';
|
|
|
|
if (text === '待处理') return 'status-pending';
|
|
|
|
if (text === '待处理') return 'status-pending';
|
|
|
|
return '';
|
|
|
|
return '';
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getFaultTypeLabel(value) {
|
|
|
|
|
|
|
|
const types = this.dict.get('fault_type');
|
|
|
|
|
|
|
|
if (types) {
|
|
|
|
|
|
|
|
const type = types.find(t => t.dictValue === value);
|
|
|
|
|
|
|
|
return type ? type.dictLabel : value;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@ -527,6 +685,74 @@ export default {
|
|
|
|
color: #ccc;
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.upload-section {
|
|
|
|
|
|
|
|
.upload-list {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
gap: 20rpx;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.upload-item {
|
|
|
|
|
|
|
|
width: 180rpx;
|
|
|
|
|
|
|
|
height: 180rpx;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
border: 1rpx solid #e5e5e5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.delete-btn {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 10rpx;
|
|
|
|
|
|
|
|
right: 10rpx;
|
|
|
|
|
|
|
|
width: 36rpx;
|
|
|
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.upload-btn {
|
|
|
|
|
|
|
|
width: 180rpx;
|
|
|
|
|
|
|
|
height: 180rpx;
|
|
|
|
|
|
|
|
border: 1rpx dashed #d9d9d9;
|
|
|
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
background-color: #fafafa;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.iconfont {
|
|
|
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
|
|
|
color: #bfbfbf;
|
|
|
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text {
|
|
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hint {
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|