|
|
@ -1,363 +1,377 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="address_edit"> |
|
|
<div class="address_edit"> |
|
|
<van-form @failed="onFailed" @submit="submit"> |
|
|
<van-form @failed="onFailed" @submit="submit"> |
|
|
|
|
|
<van-cell-group> |
|
|
<van-cell-group> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.enterpriseName" |
|
|
v-model="data.enterpriseInfo.enterpriseName" |
|
|
label="企业名称" |
|
|
label="企业名称" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<van-field |
|
|
<van-field class="mult-line" |
|
|
class="mult-line" |
|
|
v-model="data.enterpriseInfo.enterpriseNumber" |
|
|
v-model="data.enterpriseInfo.enterpriseNumber" |
|
|
label="统一社会信用代码" |
|
|
label="统一社会信用代码" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<div :class="is_show ? 'new_detail' : 'work_detail'"> |
|
|
<div :class="is_show ? 'new_detail' : 'work_detail'"> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.legalPerson" |
|
|
v-model="data.enterpriseInfo.legalPerson" |
|
|
label="法定代表人" |
|
|
label="法定代表人" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.enterpriseType" |
|
|
v-model="data.enterpriseInfo.enterpriseType" |
|
|
label="企业类型" |
|
|
label="企业类型" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.registeredCapital" |
|
|
v-model="data.enterpriseInfo.registeredCapital" |
|
|
label="注册资本" |
|
|
label="注册资本" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.establishmentTime" |
|
|
v-model="data.enterpriseInfo.establishmentTime" |
|
|
label="成立日期" |
|
|
label="成立日期" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<van-field |
|
|
<van-field |
|
|
v-model="data.enterpriseInfo.operatingTerm" |
|
|
v-model="data.enterpriseInfo.operatingTerm" |
|
|
label="经营期限" |
|
|
label="经营期限" |
|
|
readonly |
|
|
readonly |
|
|
/> |
|
|
/> |
|
|
<div class="fold-div"> |
|
|
<div class="fold-div"> |
|
|
<label>注册地址</label> |
|
|
<label>注册地址</label> |
|
|
<van-text-ellipsis :content="data.enterpriseInfo.enterpriseAddress" rows="2" autosize expand-text="展开" collapse-text="收起" /> |
|
|
<van-text-ellipsis |
|
|
</div> |
|
|
:content="data.enterpriseInfo.enterpriseAddress" |
|
|
<div class="fold-div"> |
|
|
rows="2" |
|
|
<label>经营范围</label> |
|
|
autosize |
|
|
<van-text-ellipsis :content="data.enterpriseInfo.businessScope" rows="2" autosize expand-text="展开" collapse-text="收起" /> |
|
|
expand-text="展开" |
|
|
</div> |
|
|
collapse-text="收起" |
|
|
</div> |
|
|
/> |
|
|
<div class="look_all" @click="is_show=!is_show" :class="{ new_up: !is_show }"> |
|
|
</div> |
|
|
<van-icon v-if="!is_show" name="arrow-down" /> |
|
|
<div class="fold-div"> |
|
|
<van-icon v-else name="arrow-up" /> |
|
|
<label>经营范围</label> |
|
|
</div> |
|
|
<van-text-ellipsis |
|
|
|
|
|
:content="data.enterpriseInfo.businessScope" |
|
|
</van-cell-group> |
|
|
rows="2" |
|
|
|
|
|
autosize |
|
|
|
|
|
expand-text="展开" |
|
|
</van-form> |
|
|
collapse-text="收起" |
|
|
</div> |
|
|
/> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div |
|
|
|
|
|
class="look_all" |
|
|
|
|
|
@click="is_show = !is_show" |
|
|
|
|
|
:class="{ new_up: !is_show }" |
|
|
|
|
|
> |
|
|
|
|
|
<van-icon v-if="!is_show" name="arrow-down" /> |
|
|
|
|
|
<van-icon v-else name="arrow-up" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
</van-cell-group> |
|
|
|
|
|
</van-form> |
|
|
|
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup name="register"> |
|
|
<script setup name="register"> |
|
|
|
|
|
// import {showSuccessToast} from 'vant'; |
|
|
// import {showSuccessToast} from 'vant'; |
|
|
import "vant/es/toast/style"; |
|
|
import 'vant/es/toast/style'; |
|
|
// import {addEnforcementRegistration, queryUserInfo, queryRegistrationList} from '@/api/enforce' |
|
|
// import {addEnforcementRegistration, queryUserInfo, queryRegistrationList} from '@/api/enforce' |
|
|
import { getEnterpriseInformation } from "@/api/enterprise"; |
|
|
import {getEnterpriseInformation} from '@/api/enterprise' |
|
|
import { getDict } from "@/api/Home"; |
|
|
import {getDict} from '@/api/Home' |
|
|
import { reactive } from "vue"; |
|
|
import {reactive} from "vue"; |
|
|
import { format } from "date-fns"; |
|
|
import {format} from 'date-fns'; |
|
|
import { nameCorrect } from "../../util/fileUpload"; |
|
|
import {nameCorrect}from'../../util/fileUpload' |
|
|
|
|
|
|
|
|
const { useMy } = $globalStore; |
|
|
const {useMy} = $globalStore |
|
|
|
|
|
|
|
|
const router = useRouter(); |
|
|
const router = useRouter(); |
|
|
//路由参数 |
|
|
//路由参数 |
|
|
const route = useRoute(); |
|
|
const route = useRoute(); |
|
|
const data = reactive({ |
|
|
const data = reactive({ |
|
|
optionList: [ |
|
|
optionList: [ |
|
|
{ name: "历史检查案件", val: 1, selected: true }, |
|
|
{name: "历史执法案件", val: 1, selected: true}, |
|
|
{ name: "历史处罚案件", val: 2, selected: false }, |
|
|
{name: "历史处罚案件", val: 2, selected: false}, |
|
|
{ name: "历史强制案件", val: 3, selected: false }, |
|
|
{name: "历史强制案件", val: 3, selected: false}], |
|
|
], |
|
|
show: 1, |
|
|
show: 1, |
|
|
searchParam: {}, |
|
|
searchParam: {}, |
|
|
enterpriseInfo: {}, |
|
|
enterpriseInfo: {}, |
|
|
checkDataList: [], |
|
|
checkDataList: [], |
|
|
punishDataList: [], |
|
|
punishDataList: [], |
|
|
forceDataList: [], |
|
|
forceDataList: [], |
|
|
showLawEnforcerFlag: false, |
|
|
showLawEnforcerFlag: false, |
|
|
currentPage: 1, |
|
|
currentPage: 1, |
|
|
good: "#7FFFD4", |
|
|
good: "#7FFFD4", |
|
|
bad: "#D3D3D3", |
|
|
bad: "#D3D3D3", |
|
|
|
|
|
|
|
|
popupVisible: false, |
|
|
popupVisible: false, |
|
|
popupContent: '', |
|
|
popupContent: "", |
|
|
popupVisible2: false, |
|
|
popupVisible2: false, |
|
|
popupContent2: '', |
|
|
popupContent2: "", |
|
|
|
|
|
|
|
|
enterpriseNumberTmp: '', |
|
|
enterpriseNumberTmp: "", |
|
|
|
|
|
|
|
|
loading_check: false, |
|
|
loading_check: false, |
|
|
finished_check: false, |
|
|
finished_check: false, |
|
|
refreshing_check: false, |
|
|
refreshing_check: false, |
|
|
curPage_check: 1, |
|
|
curPage_check: 1, |
|
|
|
|
|
|
|
|
loading_punish: false, |
|
|
loading_punish: false, |
|
|
finished_punish: false, |
|
|
finished_punish: false, |
|
|
refreshing_punish: false, |
|
|
refreshing_punish: false, |
|
|
curPage_punish: 1, |
|
|
curPage_punish: 1, |
|
|
|
|
|
|
|
|
loading_force: false, |
|
|
loading_force: false, |
|
|
finished_force: false, |
|
|
finished_force: false, |
|
|
refreshing_force: false, |
|
|
refreshing_force: false, |
|
|
curPage_force: 1, |
|
|
curPage_force: 1, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
let searchParam = reactive({ |
|
|
let searchParam = reactive({ |
|
|
enterpriseNumber: "", |
|
|
enterpriseNumber: "", |
|
|
// 分页 |
|
|
// 分页 |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
|
pageSize: 6, |
|
|
pageSize: 6, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
const props = defineProps({ |
|
|
enterpriseNumber: { |
|
|
enterpriseNumber: { |
|
|
type: String, |
|
|
type: String, |
|
|
default: "", |
|
|
default: "", |
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
//3a0096181c184e5aa56f70923680856d$6e74ceda1463c165fd43eeeadce4f7cd |
|
|
//3a0096181c184e5aa56f70923680856d$6e74ceda1463c165fd43eeeadce4f7cd |
|
|
//初始化参数,获取扫码的企业统一信用编码 |
|
|
//初始化参数,获取扫码的企业统一信用编码 |
|
|
onMounted(() => { |
|
|
onMounted(() => { |
|
|
nameCorrect(); |
|
|
nameCorrect(); |
|
|
//查询企业信息 |
|
|
//查询企业信息 |
|
|
getEnterpriseInformation(route?.query?.enterpriseNumber, success => { |
|
|
getEnterpriseInformation( |
|
|
// getEnterpriseInformation(props?.enterpriseNumber,success =>{ |
|
|
route?.query?.enterpriseNumber, |
|
|
if (null != success.data) { |
|
|
(success) => { |
|
|
console.log(success); |
|
|
// getEnterpriseInformation(props?.enterpriseNumber,success =>{ |
|
|
data.enterpriseInfo.enterpriseName = success.data.enterpriseName |
|
|
if (null != success.data) { |
|
|
data.enterpriseInfo.enterpriseNumber = success.data.enterpriseNumber |
|
|
console.log(success); |
|
|
data.enterpriseInfo.enterpriseType = success.data.companyOrgType |
|
|
data.enterpriseInfo.enterpriseName = success.data.enterpriseName; |
|
|
data.enterpriseInfo.enterpriseAddress = success.data.enterpriseAddress |
|
|
data.enterpriseInfo.enterpriseNumber = success.data.enterpriseNumber; |
|
|
data.enterpriseInfo.legalPerson = nameCorrect(success.data.legalPerson) |
|
|
data.enterpriseInfo.enterpriseType = success.data.companyOrgType; |
|
|
// data.enterpriseInfo.registeredCapital = success.data.registeredCapital +' (人民币/元)' |
|
|
data.enterpriseInfo.enterpriseAddress = success.data.enterpriseAddress; |
|
|
var amount = 0.00; |
|
|
data.enterpriseInfo.legalPerson = nameCorrect(success.data.legalPerson); |
|
|
if (null != success.data.registeredCapital) { |
|
|
// data.enterpriseInfo.registeredCapital = success.data.registeredCapital +' (人民币/元)' |
|
|
amount = Number(success.data.registeredCapital).toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,'); |
|
|
var amount = 0.0; |
|
|
} |
|
|
if (null != success.data.registeredCapital) { |
|
|
data.enterpriseInfo.registeredCapital = amount + ' (万元人民币)' |
|
|
amount = Number(success.data.registeredCapital) |
|
|
// data.enterpriseInfo.operatingTerm = success.data.operatingTerm |
|
|
.toFixed(2) |
|
|
var tmpoperatingTerm = success.data.operatingTerm; |
|
|
.replace(/\d(?=(\d{3})+\.)/g, "$&,"); |
|
|
var tmpoperatingTermEnd = success.data.operatingTermEnd; |
|
|
} |
|
|
if(tmpoperatingTermEnd == null || tmpoperatingTermEnd == "undefined"){ |
|
|
data.enterpriseInfo.registeredCapital = amount + " (万元人民币)"; |
|
|
tmpoperatingTerm = tmpoperatingTerm + " 至 " + "无固定期限"; |
|
|
// data.enterpriseInfo.operatingTerm = success.data.operatingTerm |
|
|
}else{ |
|
|
var tmpoperatingTerm = success.data.operatingTerm; |
|
|
tmpoperatingTerm = tmpoperatingTerm + " 至 " + tmpoperatingTermEnd; |
|
|
var tmpoperatingTermEnd = success.data.operatingTermEnd; |
|
|
|
|
|
if (tmpoperatingTermEnd == null || tmpoperatingTermEnd == "undefined") { |
|
|
|
|
|
tmpoperatingTerm = tmpoperatingTerm + " 至 " + "无固定期限"; |
|
|
|
|
|
} else { |
|
|
|
|
|
tmpoperatingTerm = tmpoperatingTerm + " 至 " + tmpoperatingTermEnd; |
|
|
|
|
|
} |
|
|
|
|
|
// if (tmpoperatingTerm.indexOf('null') >= 0) { |
|
|
|
|
|
// tmpoperatingTerm = tmpoperatingTerm.substring(0, tmpoperatingTerm.indexOf('null')) + " 无固定期限"; |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
data.enterpriseInfo.operatingTerm = tmpoperatingTerm; |
|
|
|
|
|
data.enterpriseInfo.businessScope = success.data.businessScope; |
|
|
|
|
|
data.enterpriseInfo.establishmentTime = format( |
|
|
|
|
|
success.data.establishmentTime, |
|
|
|
|
|
"yyyy-MM-dd", |
|
|
|
|
|
); |
|
|
|
|
|
//查询企业类型 |
|
|
|
|
|
getDict( |
|
|
|
|
|
{ dictType: "enterpriseType" }, |
|
|
|
|
|
(success) => { |
|
|
|
|
|
if (success.data != null) { |
|
|
|
|
|
success.data.forEach((res) => { |
|
|
|
|
|
if (data.enterpriseInfo.enterpriseType === res.dictValue) { |
|
|
|
|
|
data.enterpriseInfo.enterpriseType = res.dictLabel; |
|
|
} |
|
|
} |
|
|
// if (tmpoperatingTerm.indexOf('null') >= 0) { |
|
|
}); |
|
|
// tmpoperatingTerm = tmpoperatingTerm.substring(0, tmpoperatingTerm.indexOf('null')) + " 无固定期限"; |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
data.enterpriseInfo.operatingTerm = tmpoperatingTerm; |
|
|
|
|
|
data.enterpriseInfo.businessScope = success.data.businessScope |
|
|
|
|
|
data.enterpriseInfo.establishmentTime = format(success.data.establishmentTime, 'yyyy-MM-dd'); |
|
|
|
|
|
//查询企业类型 |
|
|
|
|
|
getDict({"dictType": "enterpriseType"}, success => { |
|
|
|
|
|
if (success.data != null) { |
|
|
|
|
|
success.data.forEach(res => { |
|
|
|
|
|
if (data.enterpriseInfo.enterpriseType === res.dictValue) { |
|
|
|
|
|
data.enterpriseInfo.enterpriseType = res.dictLabel |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}, error => { |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
data.enterpriseNumberTmp = success.data.enterpriseNumber |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, error => { |
|
|
}, |
|
|
|
|
|
(error) => {}, |
|
|
}) |
|
|
); |
|
|
|
|
|
|
|
|
}) |
|
|
data.enterpriseNumberTmp = success.data.enterpriseNumber; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
(error) => {}, |
|
|
|
|
|
); |
|
|
|
|
|
}); |
|
|
</script> |
|
|
</script> |
|
|
<script> |
|
|
<script> |
|
|
export default { |
|
|
export default { |
|
|
data() |
|
|
data() { |
|
|
{ |
|
|
|
|
|
return { |
|
|
return { |
|
|
is_show: true |
|
|
is_show: true, |
|
|
} |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
words() |
|
|
words() { |
|
|
{ |
|
|
if (this.is_show === false) return "展开"; |
|
|
if (this.is_show === false) |
|
|
else if (this.is_show === true) return "收起"; |
|
|
return '展开' |
|
|
else if (this.is_show === "") return null; |
|
|
else if (this.is_show === true) |
|
|
else return null; |
|
|
return '收起' |
|
|
}, |
|
|
else if (this.is_show === '') |
|
|
|
|
|
return null |
|
|
|
|
|
else |
|
|
|
|
|
return null |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
} |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="less" scoped> |
|
|
<style lang="less" scoped> |
|
|
.address_edit { |
|
|
.address_edit { |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
background-color: #ebf3fb; |
|
|
background-color: #ebf3fb; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.warp_body { |
|
|
|
|
|
margin: 0 3%; |
|
|
|
|
|
padding-bottom: 3rem; |
|
|
|
|
|
width: 94%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
//border-radius: 0.25rem; |
|
|
|
|
|
background-image: linear-gradient(to bottom, #ebf3fb, #fff); |
|
|
|
|
|
overflow-y: auto; |
|
|
|
|
|
margin-top: 0.15rem; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.qy-name, .zf-name { |
|
|
|
|
|
margin: 0 0.27rem; |
|
|
|
|
|
font-size: 0.42rem; |
|
|
|
|
|
height: 1.2rem; |
|
|
|
|
|
background-color: white; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
line-height: 3.5; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */ |
|
|
.warp_body { |
|
|
.van-popup.van-toast { |
|
|
margin: 0 3%; |
|
|
background: var(--van-toast-background) !important; |
|
|
padding-bottom: 3rem; |
|
|
box-sizing: content-box !important; |
|
|
width: 94%; |
|
|
/* 下面3条css,影响不大 */ |
|
|
height: 100%; |
|
|
transition: all var(--van-duration-fast) !important; |
|
|
//border-radius: 0.25rem; |
|
|
width: var(--van-toast-default-width) !important; |
|
|
background-image: linear-gradient(to bottom, #ebf3fb, #fff); |
|
|
max-width: var(--van-toast-max-width) !important; |
|
|
overflow-y: auto; |
|
|
} |
|
|
margin-top: 0.15rem; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.van-popup.van-toast .van-toast__icon { |
|
|
.qy-name, |
|
|
font-size: var(--van-toast-icon-size) !important; |
|
|
.zf-name { |
|
|
} |
|
|
margin: 0 0.27rem; |
|
|
|
|
|
font-size: 0.42rem; |
|
|
|
|
|
height: 1.2rem; |
|
|
|
|
|
background-color: white; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
line-height: 3.5; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.divdsty { |
|
|
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */ |
|
|
margin: auto; |
|
|
.van-popup.van-toast { |
|
|
width: 100%; |
|
|
background: var(--van-toast-background) !important; |
|
|
height: 0.25rem; |
|
|
box-sizing: content-box !important; |
|
|
background-color: #ebf3fb; |
|
|
/* 下面3条css,影响不大 */ |
|
|
border: 0; |
|
|
transition: all var(--van-duration-fast) !important; |
|
|
} |
|
|
width: var(--van-toast-default-width) !important; |
|
|
|
|
|
max-width: var(--van-toast-max-width) !important; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.file-upload { |
|
|
.van-popup.van-toast .van-toast__icon { |
|
|
position: relative; |
|
|
font-size: var(--van-toast-icon-size) !important; |
|
|
min-height: 3.0rem; |
|
|
} |
|
|
max-height: 6.5rem; |
|
|
|
|
|
padding: 1rem 0.27rem 0.27rem 0.43rem; |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.file-upload-center { |
|
|
.divdsty { |
|
|
position: absolute; |
|
|
margin: auto; |
|
|
top: 0.27rem; |
|
|
width: 100%; |
|
|
left: 0.43rem; |
|
|
height: 0.25rem; |
|
|
width: 90%; |
|
|
background-color: #ebf3fb; |
|
|
height: 0.65rem; |
|
|
border: 0; |
|
|
font-size: 0.37rem; |
|
|
} |
|
|
|
|
|
|
|
|
span { |
|
|
|
|
|
font-size: 0.32rem; |
|
|
|
|
|
color: rgb(221, 229, 227); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.file { |
|
|
.file-upload { |
|
|
position: relative; |
|
|
position: relative; |
|
|
width: 100%; |
|
|
min-height: 3rem; |
|
|
height: calc(100% - 1.5rem); |
|
|
max-height: 6.5rem; |
|
|
} |
|
|
padding: 1rem 0.27rem 0.27rem 0.43rem; |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-uploader__upload, /deep/ .van-uploader__preview-image { |
|
|
.file-upload-center { |
|
|
width: 1.95rem !important; |
|
|
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); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.preview-cover { |
|
|
.file { |
|
|
position: absolute; |
|
|
position: relative; |
|
|
bottom: 0; |
|
|
width: 100%; |
|
|
box-sizing: border-box; |
|
|
height: calc(100% - 1.5rem); |
|
|
width: 100%; |
|
|
} |
|
|
padding: 4px; |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
font-size: 0.32rem; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.3); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goods_box { |
|
|
/deep/ .van-uploader__upload, |
|
|
display: flex; |
|
|
/deep/ .van-uploader__preview-image { |
|
|
background-color: #fff; |
|
|
width: 1.95rem !important; |
|
|
margin: 0.27rem; |
|
|
} |
|
|
border-radius: 0.27rem; |
|
|
|
|
|
|
|
|
|
|
|
.swipe_cell { |
|
|
|
|
|
margin: 0 0 1% 0; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
box-shadow: 0 0 0.1rem #e7e7e7; |
|
|
|
|
|
border-radius: 0.15rem; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.card_box { |
|
|
.preview-cover { |
|
|
display: flex; |
|
|
position: absolute; |
|
|
width: 100%; |
|
|
bottom: 0; |
|
|
padding: 0.27rem 0; |
|
|
box-sizing: border-box; |
|
|
flex-direction: column; |
|
|
width: 100%; |
|
|
border-bottom: 1px solid #f3f4f5; |
|
|
padding: 4px; |
|
|
|
|
|
color: #fff; |
|
|
.card_body { |
|
|
font-size: 0.32rem; |
|
|
background-color: #fff; |
|
|
text-align: center; |
|
|
border-radius: 0.27rem; |
|
|
background: rgba(0, 0, 0, 0.3); |
|
|
flex: 1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.card_box_span { |
|
|
.goods_box { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
background-color: #fff; |
|
|
margin: 1% 0; |
|
|
margin: 0.27rem; |
|
|
padding: 0 3%; |
|
|
border-radius: 0.27rem; |
|
|
color: #666; |
|
|
|
|
|
font-size: 0.35rem; |
|
|
.swipe_cell { |
|
|
line-height: 1.5; |
|
|
margin: 0 0 1% 0; |
|
|
} |
|
|
width: 100%; |
|
|
|
|
|
box-shadow: 0 0 0.1rem #e7e7e7; |
|
|
|
|
|
border-radius: 0.15rem; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.card_box { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
padding: 0.27rem 0; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
border-bottom: 1px solid #f3f4f5; |
|
|
|
|
|
|
|
|
|
|
|
.card_body { |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
border-radius: 0.27rem; |
|
|
|
|
|
flex: 1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.card_box_action { |
|
|
.card_box_span { |
|
|
position: absolute; |
|
|
display: flex; |
|
|
right: 4%; |
|
|
align-items: center; |
|
|
} |
|
|
margin: 1% 0; |
|
|
} |
|
|
padding: 0 3%; |
|
|
|
|
|
color: #666; |
|
|
|
|
|
font-size: 0.35rem; |
|
|
|
|
|
line-height: 1.5; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.search-button-list { |
|
|
.card_box_action { |
|
|
display: flex; |
|
|
position: absolute; |
|
|
margin: 0 3% -1px; |
|
|
right: 4%; |
|
|
height: 1rem; |
|
|
|
|
|
padding: 0 0 3% 0; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.search-button-list { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
margin: 0 3% -1px; |
|
|
|
|
|
height: 1rem; |
|
|
|
|
|
padding: 0 0 3% 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/*.search-button-list span { |
|
|
/*.search-button-list span { |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
position: relative; |
|
|
position: relative; |
|
|
margin: 3% 1%; |
|
|
margin: 3% 1%; |
|
|
@ -371,157 +385,156 @@ export default { |
|
|
line-height: 1.75; |
|
|
line-height: 1.75; |
|
|
}*/ |
|
|
}*/ |
|
|
|
|
|
|
|
|
.search-button-list span { |
|
|
.search-button-list span { |
|
|
margin: 5% 2% 0; |
|
|
margin: 5% 2% 0; |
|
|
width: 30%; |
|
|
width: 30%; |
|
|
height: 90%; |
|
|
height: 90%; |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
border-color: #fff; |
|
|
border-color: #fff; |
|
|
color: #4c4c4c; |
|
|
color: #4c4c4c; |
|
|
font-size: 0.35rem; |
|
|
font-size: 0.35rem; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.search-button-list span.active { |
|
|
.search-button-list span.active { |
|
|
position: relative; |
|
|
position: relative; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
border-color: #fff; |
|
|
border-color: #fff; |
|
|
color: #1367fe; |
|
|
color: #1367fe; |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.search-button-list span.active::after { |
|
|
.search-button-list span.active::after { |
|
|
display: block; |
|
|
display: block; |
|
|
content: ""; |
|
|
content: ""; |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
z-index: 10; |
|
|
z-index: 10; |
|
|
left: 50%; |
|
|
left: 50%; |
|
|
top: 70%; |
|
|
top: 70%; |
|
|
transform: translate(-50%, -50%); |
|
|
transform: translate(-50%, -50%); |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 0.05rem; |
|
|
height: 0.05rem; |
|
|
background-color: #1367fe; |
|
|
background-color: #1367fe; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.goods_box .swipe_cell .card_box .card_box_span p { |
|
|
.goods_box .swipe_cell .card_box .card_box_span p { |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
color: #999; |
|
|
color: #999; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.goods_box .swipe_cell .card_box .card_box_span:first-child p { |
|
|
.goods_box .swipe_cell .card_box .card_box_span:first-child p { |
|
|
//height: 0.65rem; |
|
|
//height: 0.65rem; |
|
|
color: #000; |
|
|
color: #000; |
|
|
font-size: 0.37rem; |
|
|
font-size: 0.37rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-cell-group { |
|
|
/deep/ .van-cell-group { |
|
|
margin-top: -1px; |
|
|
margin-top: -1px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-button { |
|
|
/deep/ .van-button { |
|
|
margin: 2% -2% 3% 4.5%; |
|
|
margin: 2% -2% 3% 4.5%; |
|
|
padding: 2% 3%; |
|
|
padding: 2% 3%; |
|
|
font-size: 0.3rem; |
|
|
font-size: 0.3rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-text-ellipsis { |
|
|
/deep/ .van-text-ellipsis { |
|
|
font-size: 0.37rem; |
|
|
font-size: 0.37rem; |
|
|
padding: 0.27rem 0.43rem; |
|
|
padding: 0.27rem 0.43rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.fold-div { |
|
|
.fold-div { |
|
|
position: relative; |
|
|
position: relative; |
|
|
display: flex; |
|
|
display: flex; |
|
|
padding: 0 0.43rem 0.13rem; |
|
|
padding: 0 0.43rem 0.13rem; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
box-sizing: border-box; |
|
|
box-sizing: border-box; |
|
|
color: rgb(50, 50, 51); |
|
|
color: rgb(50, 50, 51); |
|
|
font-size: 0.37rem; |
|
|
font-size: 0.37rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.fold-div::after { |
|
|
.fold-div::after { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
left: 0.43rem; |
|
|
left: 0.43rem; |
|
|
bottom: 0; |
|
|
bottom: 0; |
|
|
width: calc(100% - 0.86rem); |
|
|
width: calc(100% - 0.86rem); |
|
|
border-bottom: 1px solid #ebedf0; |
|
|
border-bottom: 1px solid #ebedf0; |
|
|
content: ""; |
|
|
content: ""; |
|
|
transform: scaleY(.5); |
|
|
transform: scaleY(0.5); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.fold-div label { |
|
|
.fold-div label { |
|
|
width: 2.6rem; |
|
|
width: 2.6rem; |
|
|
padding: 0.27rem 0px 0.27rem 0; |
|
|
padding: 0.27rem 0px 0.27rem 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.fold-div .van-text-ellipsis { |
|
|
.fold-div .van-text-ellipsis { |
|
|
padding: 0.27rem 0; |
|
|
padding: 0.27rem 0; |
|
|
width: calc(100% - 2.6rem); |
|
|
width: calc(100% - 2.6rem); |
|
|
color: #666; |
|
|
color: #666; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .mult-line .van-field__label { |
|
|
/deep/ .mult-line .van-field__label { |
|
|
padding-right: 0.5rem; |
|
|
padding-right: 0.5rem; |
|
|
line-height: 1.25; |
|
|
line-height: 1.25; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-picker-column__item--selected { |
|
|
/deep/ .van-picker-column__item--selected { |
|
|
background: #e5eef9; |
|
|
background: #e5eef9; |
|
|
color: #000; |
|
|
color: #000; |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-field .van-field__control { |
|
|
/deep/ .van-field .van-field__control { |
|
|
color: #666; |
|
|
color: #666; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/deep/ .van-field__label--required:before { |
|
|
/deep/ .van-field__label--required:before { |
|
|
margin-left: -0.2rem; |
|
|
margin-left: -0.2rem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/***折叠**/ |
|
|
/***折叠**/ |
|
|
|
|
|
|
|
|
.look_all { |
|
|
.look_all { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 0.75rem; |
|
|
height: 0.75rem; |
|
|
font-size: 0.3rem; |
|
|
font-size: 0.3rem; |
|
|
color: #666; |
|
|
color: #666; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
user-select: none; |
|
|
user-select: none; |
|
|
border-radius: 0.05rem; |
|
|
border-radius: 0.05rem; |
|
|
/*background: linear-gradient(to top, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35));*/ |
|
|
/*background: linear-gradient(to top, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35));*/ |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.look_all i { |
|
|
.look_all i { |
|
|
margin: 0 0.2rem; |
|
|
margin: 0 0.2rem; |
|
|
padding: 0.1rem 0.3rem 0; |
|
|
padding: 0.1rem 0.3rem 0; |
|
|
color: rgba(0, 0, 0, 0.35); |
|
|
color: rgba(0, 0, 0, 0.35); |
|
|
font-size: 0.4rem; |
|
|
font-size: 0.4rem; |
|
|
height: 0.5rem; |
|
|
height: 0.5rem; |
|
|
/*background: linear-gradient(to bottom, rgba(0, 0, 0, .1), transparent);*/ |
|
|
/*background: linear-gradient(to bottom, rgba(0, 0, 0, .1), transparent);*/ |
|
|
border-radius: 0.2rem 0.2rem 0 0; |
|
|
border-radius: 0.2rem 0.2rem 0 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.new_detail { |
|
|
.new_detail { |
|
|
padding-top: 0.3rem; |
|
|
padding-top: 0.3rem; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
transition: height 2s linear; |
|
|
transition: height 2s linear; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work_detail { |
|
|
.work_detail { |
|
|
padding-top: 0.3rem; |
|
|
padding-top: 0.3rem; |
|
|
height: 0.2rem; |
|
|
height: 0.2rem; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.new_up { |
|
|
.new_up { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
bottom: 0.1rem; |
|
|
bottom: 0.1rem; |
|
|
} |
|
|
} |
|
|
/***/ |
|
|
/***/ |
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |
|
|
|