You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
879 lines
25 KiB
879 lines
25 KiB
<template>
|
|
<div class="address_edit">
|
|
<!-- 中间 -->
|
|
<div class="warp_body">
|
|
<van-form>
|
|
<van-cell-group>
|
|
<view v-if="data.isNoScan==false">
|
|
<van-field
|
|
v-model="submitData.complaintDepartments"
|
|
label="执法单位"
|
|
readonly
|
|
/>
|
|
</view>
|
|
<view v-if="data.isNoScan==true">
|
|
<van-field
|
|
v-for="(item,index) in deptArr"
|
|
v-model="item.value"
|
|
:key="index"
|
|
:label="item.label"
|
|
readonly
|
|
/>
|
|
</view>
|
|
<van-field
|
|
v-model="submitData.createTime"
|
|
label="投诉时间"
|
|
readonly
|
|
/>
|
|
<Popup :visible="popupVisible" :content="popupContent" @close="closePopup" @reciveData="reciveData"/>
|
|
<van-field
|
|
v-model="submitData.enforceTypeText"
|
|
label="投诉类型"
|
|
readonly
|
|
/>
|
|
<van-field
|
|
v-model="submitData.complaintRecordItem"
|
|
label="投诉事项"
|
|
readonly
|
|
/>
|
|
<van-popup v-model:show="data.showPicker" position="bottom">
|
|
<van-picker
|
|
v-model="data.selectTypeValue"
|
|
:columns="data.columns"
|
|
@cancel="data.showPicker = false"
|
|
@confirm="onConfirm"
|
|
/>
|
|
</van-popup>
|
|
<van-divider class="divdsty"/>
|
|
<van-field
|
|
label="投诉内容"
|
|
/>
|
|
<van-field class="complaint-cont"
|
|
v-model="submitData.problemDescription"
|
|
rows="5"
|
|
autosize
|
|
type="textarea"
|
|
readonly
|
|
show-word-limit
|
|
/>
|
|
<van-divider class="divdsty"/>
|
|
<!-- <div class="file-upload">
|
|
<van-image v-for="(item, index) in submitData.fileList" :key="index"
|
|
width="100"
|
|
height="100"
|
|
:src="item.url"
|
|
@click="showBig(item.url)"
|
|
/>
|
|
<div class="file-upload-center">
|
|
<label>附 件</label>
|
|
</div>
|
|
</div> -->
|
|
<div class="file-upload">
|
|
<div class="file-upload-center">
|
|
<label>附 件</label>
|
|
</div>
|
|
<div class="zoom">
|
|
<img v-for="(ite, index) in data.imageList" class="img" :src="ite" alt="预览图片" @click="imagePreview(index)" :key="index" />
|
|
<van-image-preview v-model:show="data.show" :images="data.imageList" @change="onChange" ref="imagePre" >
|
|
<template v-slot:index>第{{ indexImg + 1 }}页</template>
|
|
</van-image-preview>
|
|
</div>
|
|
</div>
|
|
<van-divider class="divdsty"/>
|
|
|
|
<van-field v-if="submitData.enterpriseAddress"
|
|
v-model="submitData.enterpriseAddress"
|
|
rows="3"
|
|
autosize
|
|
label="涉事地址"
|
|
type="textarea"
|
|
readonly
|
|
show-word-limit
|
|
/>
|
|
<van-divider class="divdsty"/>
|
|
|
|
<van-field
|
|
v-model="submitData.linkman"
|
|
label="联系人"
|
|
readonly
|
|
/>
|
|
<van-field
|
|
v-model="submitData.linkmanTel"
|
|
label="联系电话"
|
|
readonly
|
|
/>
|
|
<div class="agree-box">
|
|
<span class="remsty" style="color: gray;">是否授权</span>
|
|
<span class="accept-item" style="color: gray;">
|
|
|
|
<input disabled="true" class="checksty" type="checkbox" name="checkData" v-model="data.has_authorization">同意</span>
|
|
|
|
<span class="accept-item" style="color: gray;">
|
|
<input disabled="true" class="checksty" type="checkbox" name="checkData" v-model="data.no_authorization" >不同意</span>
|
|
</div>
|
|
<div class="agree-remark">
|
|
<span class="accept-item">注:选择“同意”,处置部门将通过登记的联系人、联系电话与您联系,并对您的个人信息严格保密。</span>
|
|
</div>
|
|
</van-cell-group>
|
|
<!-- <van-action-bar v-if="data.isMssq">-->
|
|
<!-- <van-button round block type="info" @click="mssq">评价</van-button>-->
|
|
<!-- </van-action-bar>-->
|
|
</van-form>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup name="register">
|
|
|
|
import {showSuccessToast, showLoadingToast, closeToast, Toast} from 'vant';
|
|
import {addEnterpriseComplaint, complaintInfoById, mssqQueryEndInfo, toMssqAppraise} from '../../api/enterprise'
|
|
import { baseUrl } from "@/config/env";
|
|
import {getDict} from '../../api/Home'
|
|
import {uploadFile} from '@/util/fileUpload'
|
|
import { formattedTimeYYYYmmdd } from '@/util/util'
|
|
import {reactive, ref} from "vue";
|
|
import { showImagePreview } from 'vant'
|
|
import * as w6s from 'szient-js-sdk';
|
|
import {nameCorrect} from'@/util/fileUpload';
|
|
|
|
const {useCommon, useMy} = $globalStore
|
|
|
|
const router = useRouter();
|
|
const route = useRoute();
|
|
let queryaddressId = ref("");
|
|
const indexImg = ref(0);
|
|
const data = reactive({
|
|
searchResult: [],
|
|
showPicker: false,
|
|
columns: [],
|
|
selectTypeValue: ref[0],
|
|
isSelect: true,
|
|
isCheckedon: false,
|
|
isCheckedoff: false,
|
|
isMssq: false,
|
|
imageList: [],
|
|
show: ref(false),
|
|
mssqParams: {},
|
|
// 判断是否入企不扫码
|
|
isNoScan: false,
|
|
has_authorization: false,
|
|
no_authorization: false,
|
|
});
|
|
const deptArr = ref([]);
|
|
//保存参数
|
|
const submitData = reactive({
|
|
// 用户id
|
|
userId: ref(useCommon.userId),
|
|
//关联案件ID
|
|
relId: "",
|
|
//案件名称
|
|
lawEnforcementIncidentText: "",
|
|
lawEnforcementIncident: "",
|
|
//企业名称
|
|
enterpriseName: "",
|
|
//纳税识别号
|
|
enterpriseNumber: "",
|
|
//执法投诉
|
|
enforceType: "",
|
|
enforceTypeText: "",
|
|
//投诉内容
|
|
problemDescription: "",
|
|
//涉事地址
|
|
enterpriseAddress: "",
|
|
//联系人
|
|
linkman: "",
|
|
//联系电话
|
|
linkmanTel: "",
|
|
// 是否授权
|
|
authorization: 1,
|
|
//后台保存图片列表
|
|
fileList: [],
|
|
//vant组件上传照片列表
|
|
fileListObj: [],
|
|
comOrOpi: 0,
|
|
// 工单状态
|
|
status: "",
|
|
// 可评价 同步时间
|
|
evaluateTime: "",
|
|
//执法单位-局级
|
|
bureauDeptName:"",
|
|
complaintTime:"",
|
|
complaintDepartments:"",
|
|
complaintDepartmentIds:"",
|
|
enforcementTime:"",
|
|
})
|
|
//接收组件传参
|
|
const props = defineProps({
|
|
enterpriseNumber: {
|
|
type: String,
|
|
default: "",
|
|
},
|
|
});
|
|
|
|
// 返回
|
|
const goBack = () => {
|
|
router.go(-1);
|
|
};
|
|
|
|
const validator = (val) => /^1[34578]\d{9}$/.test(val);
|
|
|
|
const onFailed = (errorInfo) => {
|
|
console.log('failed', errorInfo);
|
|
};
|
|
|
|
|
|
//消息提醒
|
|
// const toast = showLoadingToast({
|
|
// duration: 0,
|
|
// forbidClick: true,
|
|
// message: '提交成功',
|
|
// });
|
|
// let second = 3;
|
|
// const timer = setInterval(() => {
|
|
// second--;
|
|
// if (second) {
|
|
// } else {
|
|
// clearInterval(timer);
|
|
// closeToast();
|
|
// }
|
|
// }, 1000);
|
|
// 保存地址操作
|
|
const onSave = () => {
|
|
router.replace({name: "addressList"});
|
|
};
|
|
|
|
const onConfirm = (value) => {
|
|
data.showPicker = false;
|
|
console.log(value)
|
|
submitData.enforceType = value.selectedValues[0];
|
|
submitData.enforceTypeText = value.selectedOptions[0].text;
|
|
}
|
|
const selectType = () => {
|
|
data.showPicker = true;
|
|
// console.log(data)
|
|
}
|
|
const selectCh = (val) => {
|
|
submitData.authorization = val;
|
|
if (val == 0) {
|
|
data.isCheckedon = false;
|
|
data.isCheckedoff = true;
|
|
} else {
|
|
data.isCheckedon = true;
|
|
data.isCheckedoff = false;
|
|
}
|
|
}
|
|
|
|
|
|
const uploadFiles = (file) => {
|
|
if(Array.isArray(file)){
|
|
file.forEach((item,index)=>{
|
|
uploadFile(item, (res) => {
|
|
submitData.fileList.push(res.url)
|
|
});
|
|
});
|
|
}else{
|
|
uploadFile(file, (res) => {
|
|
submitData.fileList.push(res.url)
|
|
});
|
|
}
|
|
}
|
|
const deleteFile = (file, index) => {
|
|
// submitData.fileListObj.filter((item, indexs) => {
|
|
// if (index.index == indexs) {
|
|
// submitData.fileListObj.splice(indexs, 1);//splice 删除
|
|
// }
|
|
// });
|
|
submitData.fileList.filter((item, indexs) => {
|
|
if (index.index == indexs) {
|
|
submitData.fileList.splice(indexs, 1);//splice 删除
|
|
}
|
|
});
|
|
return true;
|
|
}
|
|
onMounted(() => {
|
|
nameCorrect();
|
|
console.log(props.id);
|
|
submitData.relId = route?.query?.id;
|
|
submitData.lawEnforcementIncidentText = route?.query?.lawEnforcementItemText;
|
|
data.isSelect = route?.query?.isSelect;
|
|
submitData.comOrOpi = route?.query?.comOrOpi;
|
|
complaintInfoById({id:route?.query?.id},success =>{
|
|
submitData.authorization = success.data.authorization;
|
|
if (submitData.authorization == 0) {
|
|
data.has_authorization = false;
|
|
data.no_authorization = true;
|
|
} else if (submitData.authorization == 1) {
|
|
data.has_authorization = true;
|
|
data.no_authorization = false;
|
|
} else {
|
|
data.has_authorization = false;
|
|
data.no_authorization = false;
|
|
}
|
|
submitData.complaintRecordItem=success.data.complaintRecordItem;
|
|
submitData.complaintDepartments=success.data.complaintDepartments;
|
|
submitData.createTime = success.data.createTime;
|
|
submitData.enforceType = success.data.enforceType;
|
|
submitData.enforceTypeText = success.data.enforceTypeText;
|
|
submitData.problemDescription = success.data.problemDescription;
|
|
submitData.lawEnforcementIncidentText = success.data.lawEnforcementIncident;
|
|
submitData.enterpriseAddress = success.data.enterpriseAddress;
|
|
let statusTmp = success.data.status;
|
|
// if("0" == statusTmp) {
|
|
// submitData.status = "已受理";
|
|
// } else if("2" == statusTmp) {
|
|
// submitData.status = "已办结";
|
|
// } else {
|
|
// submitData.status = "处理中";
|
|
// }
|
|
submitData.evaluateTime = success.data.evaluateTime;
|
|
submitData.linkman = nameCorrect(success.data.linkman);
|
|
submitData.linkmanTel = success.data.linkmanTel;
|
|
submitData.bureauDeptName = success.data.bureauDeptName
|
|
// // 判断是否入企不扫码
|
|
// if (3 == success.data.enforceType || null == success.data.relId) {
|
|
// data.isNoScan = true;
|
|
// submitData.complaintTime = success.data.complaintTime;
|
|
// submitData.complaintDepartments = success.data.complaintDepartments;
|
|
// submitData.enforcementTime = formattedTimeYYYYmmdd(success.data.enforcementTime);
|
|
// const depts = submitData.complaintDepartments.split(",");
|
|
// for (let index = 0; index < depts.length; index++) {
|
|
// const element = depts[index];
|
|
// if(index == 0 ){
|
|
// var obj = {
|
|
// label:"投诉对象",
|
|
// value: element
|
|
// }
|
|
// deptArr.value.push(obj)
|
|
// }else{
|
|
// var obj = {
|
|
// label:" ",
|
|
// value: element
|
|
// }
|
|
// deptArr.value.push(obj)
|
|
// }
|
|
// }
|
|
// console.log(deptArr.value)
|
|
// }
|
|
if(success.data.status == 1){
|
|
data.isMssq = true;
|
|
}
|
|
|
|
if ("0"!=success.data.params.res) {
|
|
|
|
// data.mssqParams = {
|
|
// assessServiceCode: success.data.params.res.proWoCode,
|
|
// assessObjectName: success.data.params.res.handleOrgName,
|
|
// assessObjectCode: success.data.params.res.proWoCode,
|
|
// deptCode: success.data.params.res.handleOrgCode,
|
|
// evaluatorName: success.data.params.res.replyDetails,
|
|
// evaluatorPapersPhone: success.data.linkmanTel,
|
|
// backUrl: "http://jdm.szssfj.cn/enterprise", // 正式环境用这个
|
|
// // backUrl: "http://192.168.31.196:3301/",
|
|
// }
|
|
data.mssqParams = {
|
|
assessServiceCode: success.data.proWoCode,
|
|
assessObjectName: success.data.handleOrgName,
|
|
assessObjectCode: success.data.proWoCode,
|
|
deptCode: success.data.handleOrgCode,
|
|
evaluatorName: success.data.replyDetails,
|
|
evaluatorPapersPhone: success.data.linkmanTel,
|
|
backUrl: "http://jdm.szssfj.cn/enterprise", // 正式环境用这个
|
|
// backUrl: "http://192.168.31.196:3301/",
|
|
}
|
|
}
|
|
|
|
if (null!=success.data.params.file && success.data.params.file.length > 0) {
|
|
for (var i=0; i<success.data.params.file.length; i++) {
|
|
console.log("===> ", success.data.params.file[i].uploadPath)
|
|
// submitData.fileList.push({"url": "http://127.0.0.1:85/"+success.data.params.file[i].uploadPath})
|
|
submitData.fileList.push({"url": "http://jdm.szssfj.cn/"+success.data.params.file[i].uploadPath})
|
|
data.imageList.push(baseUrl + success.data.params.file[i].uploadPath);
|
|
}
|
|
}
|
|
|
|
if (success.data.authorization == 0) {
|
|
data.isCheckedon = false;
|
|
data.isCheckedoff = true;
|
|
} else {
|
|
data.isCheckedon = true;
|
|
data.isCheckedoff = false;
|
|
}
|
|
},error =>{})
|
|
});
|
|
const queryEndInfo = (proWoCode) => {
|
|
mssqQueryEndInfo({"proWoCode":proWoCode},success =>{
|
|
console.log("====> : ", success.data);
|
|
},error =>{})
|
|
}
|
|
const toNoScanView = () => {
|
|
router.push({
|
|
path: "/enterprise/complaintNoScan"
|
|
})
|
|
}
|
|
|
|
const imagePreview = (newIndex) => {
|
|
data.show = ref(true);
|
|
};
|
|
|
|
const onChange = (newIndex) => {
|
|
indexImg.value = newIndex;
|
|
};
|
|
|
|
const reciveData = (item) => {
|
|
console.log(item)
|
|
submitData.lawEnforcementIncidentText = item.lawEnforcementItemText;
|
|
submitData.lawEnforcementIncident = item.lawEnforcementItem;
|
|
submitData.relId = item.id;
|
|
}
|
|
const getAddressInfo = () => {
|
|
console.log(url);
|
|
const access_key = '6374106c5eb449a4ad6c2430f30796e6';
|
|
const access_secret = '434fec85aa5846e88bbeb8fac6cf6d7f';
|
|
// generateRandomNumber()
|
|
const nonce = "887954";
|
|
const timestamp = `${Date.now()}`;
|
|
|
|
const str = [access_secret, nonce, timestamp]
|
|
.sort()
|
|
.reduce((str, item) => str += item, '');
|
|
|
|
// 最终还需要转成全小写
|
|
const signature = sha1(str).toString().toLowerCase();
|
|
var siqObject = {
|
|
access_key: access_key,
|
|
nonce: nonce,
|
|
timestamp: timestamp,
|
|
signature: signature,
|
|
};
|
|
console.log(siqObject);
|
|
//深i企鉴权
|
|
w6s.config(siqObject)
|
|
.then((res) => {
|
|
// 成功
|
|
console.log("鉴权成功", res);
|
|
w6s.ready(() => {
|
|
w6s.location.getLocation({
|
|
success: function (res) {
|
|
console.log(res)
|
|
},
|
|
fail: function (err) {
|
|
},
|
|
});
|
|
});
|
|
|
|
})
|
|
.catch((err) => {
|
|
// 失败
|
|
// console.log(err)
|
|
console.log("鉴权失败", err);
|
|
});
|
|
}
|
|
|
|
const mssq = () => {
|
|
// let params = {
|
|
// assessServiceCode: "672407221630025057401",
|
|
// assessObjectName: "深圳市卫生健康委员会",
|
|
// assessObjectCode: "672407221630025057401",
|
|
// deptCode: "152076",
|
|
// evaluatorName: "测试",
|
|
// evaluatorPapersPhone: "18520089969",
|
|
// // backUrl: "http://jdm.szssfj.cn/enterprise", // 正式环境用这个
|
|
// backUrl: "http://192.168.31.196:3301/",
|
|
// }
|
|
toMssqAppraise(data.mssqParams, success => {
|
|
window.location.href = success.data;
|
|
});
|
|
}
|
|
|
|
</script>
|
|
<script>
|
|
//案件筛选弹窗
|
|
import Popup from './caseFilter.vue';
|
|
|
|
export default {
|
|
components: {
|
|
Popup
|
|
},
|
|
data() {
|
|
return {
|
|
popupVisible: false,
|
|
popupContent: ''
|
|
}
|
|
},
|
|
methods: {
|
|
showPopup() {
|
|
this.popupVisible = true;
|
|
},
|
|
closePopup() {
|
|
this.popupVisible = false;
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.address_edit {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: #ebf3fb;
|
|
}
|
|
|
|
.warp_body {
|
|
margin: 0 3%;
|
|
padding-bottom: 1rem;
|
|
width: 94%;
|
|
height: calc(100% - 1.15rem);
|
|
background-color: #fff;
|
|
overflow-y: auto;
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */
|
|
.van-popup.van-toast {
|
|
background: var(--van-toast-background) !important;
|
|
box-sizing: content-box !important;
|
|
/* 下面3条css,影响不大 */
|
|
transition: all var(--van-duration-fast) !important;
|
|
width: var(--van-toast-default-width) !important;
|
|
max-width: var(--van-toast-max-width) !important;
|
|
}
|
|
|
|
.van-popup.van-toast .van-toast__icon {
|
|
font-size: var(--van-toast-icon-size) !important;
|
|
}
|
|
|
|
.divdsty {
|
|
margin: auto;
|
|
width: 100%;
|
|
height: 0.25rem;
|
|
background-color: #f4f4f4;
|
|
border: 0;
|
|
}
|
|
|
|
.file-upload {
|
|
position: relative;
|
|
min-height: 3.0rem;
|
|
max-height: 6.5rem;
|
|
padding: 1rem 0.27rem 0.27rem 0.43rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.file-upload-center {
|
|
position: absolute;
|
|
top: 0.27rem;
|
|
left: 0.43rem;
|
|
width: 90%;
|
|
height: 0.65rem;
|
|
font-size: 0.37rem;
|
|
span {
|
|
font-size: 0.32rem;
|
|
color: rgb(221, 229, 227);
|
|
}
|
|
}
|
|
.file {
|
|
position: relative;
|
|
width: 100%;
|
|
height: calc(100% - 1.5rem);
|
|
}
|
|
|
|
/deep/ .van-uploader__upload, /deep/ .van-uploader__preview-image {
|
|
width: 1.95rem !important;
|
|
}
|
|
|
|
.preview-cover {
|
|
position: absolute;
|
|
bottom: 0;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 4px;
|
|
color: #fff;
|
|
font-size: 0.32rem;
|
|
text-align: center;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.zoom {
|
|
/*margin-top: 0.65rem;
|
|
padding-top: 0.27rem;
|
|
padding-left: 0.27rem;*/
|
|
img {
|
|
width: 1.95rem;
|
|
height: 2rem;
|
|
margin: 0 0.21rem 0.21rem 0;
|
|
font-size: 0.35rem;
|
|
}
|
|
}
|
|
|
|
.rigbtn {
|
|
float: right;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin: 0.3rem 0.5rem;
|
|
padding: 0.2rem 0.3rem;
|
|
background-color: #e9f2fb;
|
|
color: #1367fe;
|
|
border-radius: 1rem;
|
|
font-size: 0.3rem;
|
|
}
|
|
|
|
.popup {
|
|
position: fixed;
|
|
z-index: 999;
|
|
top: 3rem;
|
|
left: 0;
|
|
width: 100%;
|
|
height: calc(100% - 3rem);
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.popup-title {
|
|
margin: 0.3rem 0 0;
|
|
width: 100%;
|
|
height: 1rem;
|
|
border-bottom: 1px solid #f3f4f5;
|
|
text-align: center;
|
|
font-size: 0.45rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.close-button {
|
|
position: absolute;
|
|
top: 0.15rem;
|
|
right: 0.1rem;
|
|
width: 0.8rem;
|
|
height: 0.8rem;
|
|
background-color: rgba(255, 255, 255, .5);
|
|
border: 0.05rem solid rgba(255, 255, 255, .7);
|
|
border-radius: 50%;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.close-button:before,
|
|
.close-button:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
background: #333;
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
height: 0.4rem;
|
|
width: 0.02rem;
|
|
}
|
|
|
|
.close-button:after {
|
|
height: 0.02rem;
|
|
width: 0.4rem;
|
|
}
|
|
|
|
.popup-content {
|
|
margin: 0.25rem 3% 0;
|
|
padding-bottom: 3rem;
|
|
width: 94%;
|
|
height: calc(100% - 1.6rem);
|
|
overflow-y: auto;
|
|
font-size: 0.37rem;
|
|
}
|
|
|
|
.subsearch {
|
|
width: 100%;
|
|
height: 1.25rem;
|
|
}
|
|
|
|
.searchbox {
|
|
margin: 2% 3%;
|
|
padding: 0.15rem 0.3rem 0.1rem 1.15rem;
|
|
width: 94%;
|
|
height: 1.0rem;
|
|
background: #f6f7fe url(../../assets/images/icon_sou.png) no-repeat;
|
|
background-position: left 0.5rem center;
|
|
background-size: auto 50%;
|
|
box-sizing: border-box;
|
|
border: 1px solid rgba(0, 0, 0, .05);
|
|
border-radius: 0.5rem;
|
|
color: #999999;
|
|
outline: none;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0.5rem 0 0.25rem;
|
|
font-size: 0.4rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.quick-item {
|
|
display: flex;
|
|
}
|
|
|
|
.quick-item span {
|
|
display: inline-block;
|
|
margin: 1% 0 2% 3.5%;
|
|
padding: 2% 3.75%;
|
|
background: #f2f3f4;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
color: #4c4c4c;
|
|
}
|
|
|
|
.quick-item span.seled {
|
|
background: #e9f2fb;
|
|
color: #1367fe;
|
|
}
|
|
|
|
.btnbox {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 5% 2%;
|
|
width: 96%;
|
|
height: 1.0rem;
|
|
}
|
|
|
|
.btn-reset,
|
|
.btn-search {
|
|
display: inline-block;
|
|
margin: 0 2%;
|
|
padding: 0;
|
|
width: 60%;
|
|
color: #fff;
|
|
font-size: 0.35rem;
|
|
border-radius: 1rem;
|
|
background: #1367fe;
|
|
border: 1px solid #1367fe;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-reset {
|
|
width: 35%;
|
|
background-color: #fff;
|
|
border-color: rgba(19, 103, 254, .7);
|
|
color: #1367fe;
|
|
}
|
|
|
|
.search-result {
|
|
width: 100%;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
.case-item {
|
|
margin: 3% 2%;
|
|
padding: 2% 0;
|
|
width: 96%;
|
|
font-size: 0.35rem;
|
|
border-bottom: 1px solid #f4f4f4;
|
|
color: #999;
|
|
line-height: 2;
|
|
}
|
|
|
|
.case-title {
|
|
margin: 2% 0;
|
|
font-size: 0.42rem;
|
|
color: #333;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */
|
|
.van-popup.van-toast {
|
|
background: var(--van-toast-background) !important;
|
|
box-sizing: content-box !important;
|
|
/* 下面3条css,影响不大 */
|
|
transition: all var(--van-duration-fast) !important;
|
|
width: var(--van-toast-default-width) !important;
|
|
max-width: var(--van-toast-max-width) !important;
|
|
}
|
|
|
|
.van-popup.van-toast .van-toast__icon {
|
|
font-size: var(--van-toast-icon-size) !important;
|
|
}
|
|
|
|
.agree-box {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
.agree-box .remsty {
|
|
margin: 0.5rem 0.5rem;
|
|
padding-left: 0.85rem;
|
|
background: url("../../assets/images/icon_remind2.png") no-repeat left center;
|
|
background-size: auto 100%;
|
|
font-size: 0.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.accept-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 0.15rem;
|
|
font-size: 0.42rem;
|
|
}
|
|
|
|
.checksty {
|
|
margin: 0 0.25rem;
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
}
|
|
|
|
.agree-remark {
|
|
.accept-item {
|
|
font-size: 0.3rem;
|
|
padding: 0px 10px;
|
|
width: 80%;
|
|
color: #969799
|
|
}
|
|
|
|
height: 1.4rem;
|
|
|
|
}
|
|
|
|
/deep/ .van-button {
|
|
margin: 5% 3%;
|
|
padding: 0;
|
|
width: 94%;
|
|
height: 1rem;
|
|
color: #fff;
|
|
font-size: 0.4rem;
|
|
border-radius: 1rem;
|
|
background: #1367fe;
|
|
border: 0.01rem solid #1367fe;
|
|
text-align: center;
|
|
}
|
|
|
|
/deep/ .van-action-bar {
|
|
box-shadow: 0 0 0.27rem #e5e5e5;
|
|
}
|
|
|
|
/deep/ .van-picker-column__item--selected {
|
|
background: #e5eef9;
|
|
color: #000;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/deep/ .van-field .van-field__control {
|
|
color: #666;
|
|
}
|
|
|
|
/deep/ .van-field__label--required:before {
|
|
margin-left: -0.2rem;
|
|
}
|
|
|
|
.complaint-cont {
|
|
margin: -1px 0.43rem 2%;
|
|
padding: 0 0 0.5rem;
|
|
width: calc(100% - 0.86rem);
|
|
border-radius: 0.15rem;
|
|
box-sizing: border-box;
|
|
line-height: 1.5;
|
|
font-size: 0.37rem;
|
|
}
|
|
|
|
/deep/ .complaint-cont textarea.van-field__control {
|
|
padding: 0.1rem 0.2rem;
|
|
background: #f5f6f7;
|
|
border-radius: 0.15rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
</style>
|
|
|