Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
@@ -207,7 +207,7 @@ export default {
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '欢迎使用数字乡村治理服务一体化平台~',
|
||||
title: '欢迎使用数字平昌~',
|
||||
path: `/pages/AppEnteringCommunity/AppEnteringCommunity`
|
||||
}
|
||||
},
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB |
@@ -1,247 +1,379 @@
|
||||
<template>
|
||||
<section class="partyAuthApply">
|
||||
<div class="card">
|
||||
<div class="item">
|
||||
<div class="label required" v-text="`是否户主`"/>
|
||||
<div class="flex">
|
||||
<div class="radioBtn" v-for="op in ownerOps" :key="op.dictValue" v-text="op.dictName"
|
||||
:class="{current:op.dictValue==form.householdName}" @click="form.householdName=op.dictValue"/>
|
||||
<div class="partyAuthApply">
|
||||
<div class="tips">党员名单中未有你的信息,请完善资料等待审核。</div>
|
||||
<div class="form-item__group">
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>党员姓名</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入" v-model="form.name" :maxlength="20"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<template v-if="form.householdName==0">
|
||||
<div class="flex item">
|
||||
<div class="label required" required v-text="`户主身份证号`"/>
|
||||
<u-input v-model="form.householdIdNumber" input-align="right" maxlength="18"/>
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>身份证号</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入" v-model="form.idNumber" :maxlength="18"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex item">
|
||||
<div class="label required" required v-text="`与户主关系`"/>
|
||||
<AiSelect v-model="form.householdRelation" dict="householdRelation"/>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>手机号码</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入" v-model="form.idNumber" :maxlength="11"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>党组织</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入" v-model="form.idNumber" :maxlength="50"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>入党时间</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<div class="ai-area" @click="isShowDate = true">
|
||||
<div class="ai-area__wrapper">
|
||||
<span class="label" v-if="form.nucleicAcidDate">{{ form.nucleicAcidDate }}</span>
|
||||
<i v-else>请选择</i>
|
||||
<u-icon name="arrow-right" color="#ddd"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>党员类型</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入" v-model="form.idNumber" disabled :maxlength="20"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<view class="item flex spb" v-for="row in baseInfo" :key="row.prop">
|
||||
<span class="label" :class="{required:row.required}" v-text="row.label"/>
|
||||
<AiSelect v-if="row.dict" v-model="form[row.prop]" :dict="row.dict" :disabled="row.disabled"/>
|
||||
<AiDate v-else-if="row.type=='time'" @change="v=>$set(form,row.prop,v)" :value="form[row.prop]"/>
|
||||
<u-input v-else-if="row.type=='idNumber'" v-model="form[row.prop]" input-align="right" maxlength="18"/>
|
||||
<u-input v-else-if="row.type=='phone'" v-model="form[row.prop]" input-align="right" maxlength="11"/>
|
||||
<u-input v-else v-model="form[row.prop]" input-align="right"/>
|
||||
</view>
|
||||
|
||||
<u-picker mode="time" :params="dataParams" v-model="isShowDate" @confirm="onDateChange"></u-picker>
|
||||
|
||||
<div class="btn-wrapper">
|
||||
<div class="btn" hover-class="text-hover" @click="submit">提交</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<view class="item" :class="{spb:!row.topLabel,flex:!row.topLabel}" v-for="row in contract" :key="row.prop">
|
||||
<span class="label" :class="{required:row.required}" v-text="row.label"/>
|
||||
<AiAreaPicker v-if="row.type=='area'" @input="v=>$set(form,row.prop,v)" :fullName.sync="form.currentAreaName" :selectRoot="false">
|
||||
<u-icon name="arrow-right" :label="form.currentAreaName||'请选择'" label-pos="left" color="#ddd"/>
|
||||
</AiAreaPicker>
|
||||
<textarea v-else v-model="form[row.prop]" input-align="right" placeholder="请输入" placeholder-style="color:#999"
|
||||
maxlength="50"/>
|
||||
</view>
|
||||
</div>
|
||||
<div class="card">
|
||||
<view class="item" :class="{spb:!row.topLabel,flex:!row.topLabel}" v-for="row in household" :key="row.prop">
|
||||
<span class="label" :class="{required:row.required}" v-text="row.label"/>
|
||||
<AiAreaPicker v-if="row.prop=='householdAreaId'" all @input="v=>$set(form,row.prop,v)" v-model="form[row.prop]"
|
||||
:fullName.sync="form.householdAreaName" valueLevel="5" isForm :selectRoot="false"/>
|
||||
<textarea v-else v-model="form[row.prop]" input-align="right" placeholder="请输入" placeholder-style="color:#999"
|
||||
maxlength="50"/>
|
||||
</view>
|
||||
</div>
|
||||
<div class="card">
|
||||
<view class="item flex spb" v-for="row in extra" :key="row.prop">
|
||||
<span class="label" :class="{required:row.required}" v-text="row.label"/>
|
||||
<AiSelect v-if="row.dict" v-model="form[row.prop]" :dict="row.dict"/>
|
||||
<AiDate v-else-if="row.type=='time'" v-model="form[row.prop]"/>
|
||||
<AiAreaPicker v-else-if="row.type=='area'" all v-model="form[row.prop]"
|
||||
:fullName.sync="form.birthplaceAreaName">
|
||||
<u-icon name="arrow-right" :label="form.birthplaceAreaName||'请选择'" label-pos="left" color="#ddd"/>
|
||||
</AiAreaPicker>
|
||||
<u-input v-else v-model="form[row.prop]" input-align="right"/>
|
||||
</view>
|
||||
</div>
|
||||
<div class="fixed-bottom">
|
||||
<u-button type="primary" @click="submit">
|
||||
<text style="font-size: 16px" v-text="`提交`"/>
|
||||
</u-button>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
name: "partyAuthApply",
|
||||
appName: "居民档案申请",
|
||||
data() {
|
||||
return {
|
||||
isShowDate: false,
|
||||
dataParams: {
|
||||
year: true,
|
||||
month: true,
|
||||
day: true
|
||||
},
|
||||
form: {
|
||||
name: '',
|
||||
idNumber: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
},
|
||||
data() {
|
||||
let required = true
|
||||
return {
|
||||
ownerOps: [],
|
||||
form: {
|
||||
householdName: "1",
|
||||
currentAreaName: "",
|
||||
householdAreaName: "",
|
||||
birthplaceAreaName: ""
|
||||
},
|
||||
baseInfo: [
|
||||
{label: "姓名", prop: "name", required},
|
||||
{label: "身份证号", prop: "idNumber", required, type: "idNumber"},
|
||||
{label: "性别", prop: "sex", required, dict: "sex", disabled: true},
|
||||
{label: "出生日期", prop: "birthDate", required, type: "time", disabled: true},
|
||||
{label: "联系方式", prop: "phone", type: "phone"},
|
||||
],
|
||||
contract: [
|
||||
{label: "现住址", prop: "currentAreaId", type: "area", required},
|
||||
{label: "详细住址", prop: "currentAddress", type: 'textarea', topLabel: true},
|
||||
],
|
||||
household: [
|
||||
{label: "户籍地址", prop: "householdAreaId", type: "area"},
|
||||
{label: "详细地址", prop: "householdAddress", type: 'textarea', topLabel: true},
|
||||
],
|
||||
extra: [
|
||||
{label: "籍贯", prop: "birthplaceAreaId", type: "area"},
|
||||
{label: "民族", prop: "nation", dict: "nation"},
|
||||
{label: "文化程度", prop: "education", dict: "education"},
|
||||
{label: "婚姻状况", prop: "maritalStatus", dict: "maritalStatus"},
|
||||
{label: "政治面貌", prop: "politicsStatus", dict: "politicsStatus"},
|
||||
{label: "兵役状况", prop: "militaryStatus", dict: "militaryStatus"},
|
||||
{label: "宗教信仰", prop: "faithType", dict: "faithType"},
|
||||
{label: "职业", prop: "job", dict: "job"},
|
||||
]
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.$dict.load("yesOrNo", "householdRelation").then(() => {
|
||||
this.ownerOps = this.$dict.getDict("yesOrNo")
|
||||
|
||||
onLoad(query) {
|
||||
this.$dict.load(['epidemicTouchInFourteen','EP_healthType','EP_nucleicAcidResult','EP_jkmType','EP_vaccinationCount']).then(()=> {
|
||||
this.form.reportUserId = query.id
|
||||
this.form.name = query.name
|
||||
this.form.idNumber = query.idNumber
|
||||
})
|
||||
this.getResident()
|
||||
},
|
||||
watch: {
|
||||
'form.idNumber'(v) {
|
||||
let {birthday: birthDate, sex} = this.$idCardNoUtil.getIdCardInfo(v),
|
||||
age = this.$calcAge(v)
|
||||
this.form = {...this.form, birthDate, sex, age}
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
getResident() {
|
||||
let {residentId: id} = this.user
|
||||
if (id) {
|
||||
this.$instance.post("/app/appresident/detailForWx", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.form = res.data.resident
|
||||
}
|
||||
})
|
||||
} else if (uni.getStorageSync("authForm")) {
|
||||
let info = uni.getStorageSync("authForm"),
|
||||
{birthday: birthDate, sex} = this.$idCardNoUtil.getIdCardInfo(info.idNumber)
|
||||
uni.removeStorageSync("authForm")
|
||||
this.form = {...this.form, ...info, birthDate, sex}
|
||||
}
|
||||
onDateChange(e) {
|
||||
this.form.nucleicAcidDate = `${e.year}-${e.month}-${e.day}`
|
||||
},
|
||||
|
||||
submit() {
|
||||
let {baseInfo, contract, household, extra, form: {householdName, householdIdNumber, householdRelation}} = this
|
||||
if (householdName == 0) {
|
||||
if (!householdIdNumber) return this.$u.toast("请输入户主身份证号")
|
||||
else if (!this.$idCardNoUtil.checkIdCardNo(householdIdNumber)) return this.$u.toast("请输入正确的身份证号")
|
||||
if (!householdRelation) return this.$u.toast("请输入与户主关系")
|
||||
|
||||
if (!this.form.temperature) {
|
||||
return this.$toast('请输入当前体温')
|
||||
}
|
||||
let flag = [baseInfo, contract, household, extra].flat().reverse().some(e => {
|
||||
if (e.required && !this.form[e.prop]) {
|
||||
if (!e.dict && (['textarea', 'idNumber'].includes(e.type) || !e.type)) return this.$u.toast("请输入" + e.label) || true
|
||||
else return this.$u.toast("请选择" + e.label) || true
|
||||
} else if (e.type == 'idNumber' && !this.$idCardNoUtil.checkIdCardNo(this.form[e.prop])) {
|
||||
return this.$u.toast("请输入正确的身份证号") || true
|
||||
|
||||
if (!this.form.contactPatients) {
|
||||
return this.$toast('请选择14天内是否接触新冠确诊或疑似患者')
|
||||
}
|
||||
|
||||
if (!this.form.healthList.length) {
|
||||
return this.$toast('请选择当前健康状况')
|
||||
} else {
|
||||
this.form.health = this.form.healthList.toString()
|
||||
}
|
||||
|
||||
if(!this.form.nucleicAcidDate) {
|
||||
return this.$toast('请选择核酸检测日期')
|
||||
}
|
||||
|
||||
if (!this.form.nucleicAcidResult) {
|
||||
return this.$toast('请选择核酸检测结果')
|
||||
}
|
||||
|
||||
if (!this.form.jkmType) {
|
||||
return this.$toast('请选择健康码类型')
|
||||
}
|
||||
|
||||
if (!this.form.vaccinationCount) {
|
||||
return this.$toast('请选择已接种疫苗次数')
|
||||
}
|
||||
|
||||
if (!this.form.jkmUrlArr.length) {
|
||||
return this.$toast('请上传健康码截图')
|
||||
}
|
||||
|
||||
if (!this.form.nucleicAcidUrlArr.length) {
|
||||
return this.$toast('请上核酸检测结果截图')
|
||||
}
|
||||
|
||||
|
||||
this.$loading()
|
||||
this.$instance.post(`/app/appepidemicpreventionhealthreportinfo/addReportInfo`, {
|
||||
...this.form,
|
||||
jkmUrl: this.form.jkmUrlArr[0].url,
|
||||
nucleicAcidUrl: this.form.nucleicAcidUrlArr[0].url,
|
||||
nucleicAcidDate: this.form.nucleicAcidDate + ' 00:00:00'
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
uni.$emit('update')
|
||||
this.$toast('提交成功')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 400)
|
||||
}
|
||||
this.$hideLoading()
|
||||
})
|
||||
if (!flag) {
|
||||
this.$instance.post("/app/appresident/addOrUpdate", this.form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$u.toast("提交成功!")
|
||||
setTimeout(() => uni.switchTab({url: "/pages/AppMine/AppMine"}), 1000)
|
||||
// uni.redirectTo({url: "./authSuccess"})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
.partyAuthApply {
|
||||
background: #F3F6F9;
|
||||
min-height: 100vh;
|
||||
padding-bottom: 280px;
|
||||
padding-bottom: 140px;
|
||||
|
||||
.card {
|
||||
.title {
|
||||
padding: 16px 32px 0 32px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
padding-left: 32px;
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.tips {
|
||||
line-height: 1.3;
|
||||
padding: 32px 32px;
|
||||
color: #FF883C;
|
||||
font-size: 30px;
|
||||
text-align: justify;
|
||||
background: #FFF8F3;
|
||||
}
|
||||
|
||||
.form-item__group {
|
||||
margin-bottom: 24px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.form-item {
|
||||
padding-left: 32px;
|
||||
|
||||
.label {
|
||||
font-size: 34px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
color: #666;
|
||||
font-weight: bold;
|
||||
line-height: 112px;
|
||||
position: relative;
|
||||
.form-item__checkbox {
|
||||
width: 100%;
|
||||
|
||||
&.required:before {
|
||||
content: "*";
|
||||
color: #FF4466;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
transform: translateX(-100%);
|
||||
div {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
margin-bottom: 24px;
|
||||
text-align: center;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16px;
|
||||
color: #333333;
|
||||
font-size: 28px;
|
||||
border: 1px solid #CCCCCC;
|
||||
|
||||
&.active {
|
||||
background: #4181FF;
|
||||
color: #fff;
|
||||
border-color: #4181FF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
min-height: 128px;
|
||||
color: #333;
|
||||
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
|
||||
padding-right: 32px;
|
||||
box-sizing: border-box;
|
||||
// .form-item__radio {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// flex-wrap: wrap;
|
||||
|
||||
// div {
|
||||
// width: 212px;
|
||||
// height: 80px;
|
||||
// line-height: 80px;
|
||||
// margin-right: 16px;
|
||||
// margin-bottom: 8px;
|
||||
// text-align: center;
|
||||
// background: #FFFFFF;
|
||||
// border-radius: 16px;
|
||||
// color: #333333;
|
||||
// font-size: 28px;
|
||||
// border: 1px solid #CCCCCC;
|
||||
|
||||
// &:nth-of-type(3n) {
|
||||
// margin-right: 0;
|
||||
// }
|
||||
|
||||
// &.active {
|
||||
// background: #4181FF;
|
||||
// color: #fff;
|
||||
// border-color: #4181FF;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
.ai-area__wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 100px;
|
||||
|
||||
span {
|
||||
color: #333;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #999;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 16px;
|
||||
height: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-item__wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 128px;
|
||||
padding-right: 28px;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
box-sizing: border-box;
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
color: #333;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.form-item__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 32px;
|
||||
|
||||
span {
|
||||
max-width: 400px;
|
||||
margin-right: 8px;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 8px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.radioBtn {
|
||||
width: 218px;
|
||||
height: 80px;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16px;
|
||||
border: 1px solid #CCC;
|
||||
margin-right: 16px;
|
||||
text-align: center;
|
||||
line-height: 80px;
|
||||
margin-bottom: 48px;
|
||||
|
||||
&.current {
|
||||
background: #4181FF;
|
||||
color: #fff;
|
||||
border-color: #4181ff;
|
||||
&:last-child {
|
||||
.form-item__wrapper {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
width: 100vw;
|
||||
height: 120px;
|
||||
padding: 16px 32px;
|
||||
box-sizing: border-box;
|
||||
background: inherit;
|
||||
}
|
||||
.form-item__title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
i {
|
||||
font-size: 32px;
|
||||
color: #FF4466;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 28px;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding: 0 4px;
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// &.form-item__imgs, &.form-item__textarea {
|
||||
// .form-item__wrapper {
|
||||
// display: block;
|
||||
// height: auto;
|
||||
// padding-bottom: 32px;
|
||||
// }
|
||||
|
||||
// textarea {
|
||||
// width: 100%;
|
||||
// height: 90px;
|
||||
// }
|
||||
|
||||
// .form-item__title {
|
||||
// padding: 32px 0;
|
||||
// }
|
||||
|
||||
// .form-item__right {
|
||||
// padding-left: 18px;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -40,7 +40,6 @@ import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "partyAuthInfo",
|
||||
appName: "我的档案",
|
||||
data() {
|
||||
return {
|
||||
detail: {},
|
||||
|
||||
@@ -1,34 +1,22 @@
|
||||
<template>
|
||||
<div class="partyAuthSuccess">
|
||||
<template v-if="isSuccess">
|
||||
<!-- <image src="https://cdn.cunwuyun.cn/img/authSuccess.png"/> -->
|
||||
<image src="./img/success.png"/>
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/success.png"/>
|
||||
<h2 v-text="`认证成功!`"/>
|
||||
<div class="btn" @click="gotoInfo" v-text="`前往查看`"/>
|
||||
<div class="btn" @click="goBack" v-text="`返回`"/>
|
||||
</template>
|
||||
<template v-else-if="isFail">
|
||||
<image src="https://cdn.cunwuyun.cn/img/authFail.png"/>
|
||||
<h2 v-text="`认证失败!`"/>
|
||||
<span class="flex">请先填写<div class="blue" v-text="`居民档案`"/> 进行申请</span>
|
||||
<div class="btn" @click="apply">居民档案申请</div>
|
||||
<div class="btn plain" @click="backToHome">返回</div>
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/fail.png"/>
|
||||
<h2 v-text="`党员认证审核未通过!`"/>
|
||||
<div class="feedback">
|
||||
审核意见:{{}}
|
||||
</div>
|
||||
<div class="btn" @click="rewrite">重新提交</div>
|
||||
</template>
|
||||
<div class="authing" v-else>
|
||||
<div class="result" v-text="`你发起的申请/修改`"/>
|
||||
<div class="result" v-text="authingResult"/>
|
||||
<div class="failReason" v-if="authFail">
|
||||
<div class="title flex spb">
|
||||
<b v-text="`审核结果`"/>
|
||||
<b class="red" v-text="`未通过`"/>
|
||||
</div>
|
||||
<b v-text="`原因`"/>
|
||||
<div v-html="info.resident.auditOpinion"/>
|
||||
</div>
|
||||
<div class="fixed-bottom">
|
||||
<u-button type="primary" @click="$linkTo('./authInfo')">
|
||||
<text style="font-size: 16px" v-text="`查看填报内容`"/>
|
||||
</u-button>
|
||||
</div>
|
||||
<div class="isReview" v-else-if="isReview">
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/review.png"/>
|
||||
<div class="result" v-text="`认证正在审核中,请耐心等待`"/>
|
||||
<div class="btn" @click="rewrite">重新提交</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -36,40 +24,57 @@
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
appName: "实名身份认证",
|
||||
data() {
|
||||
return {
|
||||
info: {}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 0未认证 1认证中 2已认证 3认证失败
|
||||
...mapState(['user']),
|
||||
isSuccess() {
|
||||
return this.user.partyStatusForWX == 2
|
||||
},
|
||||
isFail() {
|
||||
return this.user.partyStatusForWX == 3
|
||||
},
|
||||
isReview() {
|
||||
return this.user.partyStatusForWX == 0
|
||||
},
|
||||
// isFail() {
|
||||
// return this.user.partyStatusForWX == 0
|
||||
// },
|
||||
authFail() {
|
||||
return this.user.status == -1
|
||||
},
|
||||
authingResult() {
|
||||
return this.authFail ? "审核未通过" : "正在审核中"
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
// let titles = ''
|
||||
// if(this.user.partyStatusForWX == 1){
|
||||
// titles = '认证中'
|
||||
// } else if(this.user.partyStatusForWX == 2) {
|
||||
// titles = '认证成功'
|
||||
// } else if(this.user.partyStatusForWX == 3) {
|
||||
// titles = '认证失败'
|
||||
// }
|
||||
uni.setNavigationBarTitle({
|
||||
title: '党员认证'
|
||||
});
|
||||
},
|
||||
onLoad() {
|
||||
if (!this.isSuccess && !this.isFail) this.getAuthResult()
|
||||
let title = ''
|
||||
if(this.user.partyStatusForWX == 1){
|
||||
title = '认证中'
|
||||
} else if(this.user.partyStatusForWX == 2) {
|
||||
title = '认证成功'
|
||||
} else if(this.user.partyStatusForWX == 3) {
|
||||
title = '认证失败'
|
||||
}
|
||||
uni.setNavigationBarTitle({
|
||||
title: title
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
backToHome() {
|
||||
rewrite() {
|
||||
uni.redirectTo({url: "./partyAuthApply"})
|
||||
},
|
||||
goBack() {
|
||||
uni.navigateBack({})
|
||||
},
|
||||
apply() {
|
||||
uni.redirectTo({url: "./authApply"})
|
||||
},
|
||||
gotoInfo() {
|
||||
uni.redirectTo({url: "./authInfo"})
|
||||
},
|
||||
getAuthResult() {
|
||||
this.$instance.post(`/app/appresident/detailForWx`, null, {
|
||||
params: {id: this.user.residentId}
|
||||
@@ -106,6 +111,19 @@ export default {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
width: 80vw;
|
||||
margin-left: 10vw;
|
||||
min-height: 192px;
|
||||
background: #EFF5FA;
|
||||
border-radius: 0 8px 8px 0;
|
||||
text-align: left;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
font-size: 26px;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
@@ -137,58 +155,24 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.authing {
|
||||
.isReview {
|
||||
margin-top: -272px;
|
||||
padding: 224px 32px 0;
|
||||
box-sizing: border-box;
|
||||
height: calc(100vh + 272px);
|
||||
background-image: url("https://cdn.cunwuyun.cn/shandong10086/authInfoHbg.png");
|
||||
background-size: 100vw;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #f3f6f9;
|
||||
background-color: #fff;
|
||||
|
||||
.image {
|
||||
width: 240px;
|
||||
height: 240px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.result {
|
||||
font-size: 56px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
line-height: 88px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.failReason {
|
||||
margin-top: 160px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
padding: 0 32px 34px;
|
||||
font-size: 32px;
|
||||
text-align: left;
|
||||
|
||||
.title {
|
||||
height: 112px;
|
||||
box-shadow: inset 0px -1px 0px 0px #DDDDDD;
|
||||
}
|
||||
|
||||
b {
|
||||
font-size: inherit;
|
||||
color: #999;
|
||||
line-height: 112px;
|
||||
|
||||
&.red {
|
||||
color: #f46;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
position: fixed;
|
||||
bottom: 16px;
|
||||
width: 100vw;
|
||||
height: 120px;
|
||||
padding: 16px 32px;
|
||||
box-sizing: border-box;
|
||||
background-color: inherit;
|
||||
margin-bottom: 16px;
|
||||
color: #333333;
|
||||
font-size: 40px;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
<template>
|
||||
<div class="AppCommunityInfo" v-if="pageShow">
|
||||
<h2>{{ info.title }}</h2>
|
||||
<div class="info-info">
|
||||
<span>{{ info.areaName }}</span>
|
||||
<span>{{ info.createDate }}</span>
|
||||
</div>
|
||||
<image class="banner" @click="preview(banner)" v-if="banner" mode="widthFix" :src="banner"/>
|
||||
<div class="rich-content">
|
||||
<u-parse :html="info.content"></u-parse>
|
||||
</div>
|
||||
<AiEmpty v-if="!info.title"></AiEmpty>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "AppCommunityInfo",
|
||||
appName: "社区简介",
|
||||
data() {
|
||||
return {
|
||||
pageShow: false,
|
||||
info: {},
|
||||
banner: ''
|
||||
}
|
||||
},
|
||||
|
||||
onLoad(query) {
|
||||
if (query.type !== '0') {
|
||||
uni.setNavigationBarTitle({
|
||||
title: query.type == 4 ? '社区公约' : '党员阵地'
|
||||
})
|
||||
}
|
||||
|
||||
this.$loading()
|
||||
this.getInfo(query.type)
|
||||
},
|
||||
|
||||
methods: {
|
||||
getInfo(type) {
|
||||
this.$instance.post(`/app/appcountrysidetourism/queryDetailByAreaIdForWX?areaId=${uni.getStorageSync('areaId')}&type=${type}`).then(res => {
|
||||
if (res.code === 0 && res.data) {
|
||||
this.info = res.data
|
||||
this.banner = res.data.thumbUrl ? JSON.parse(res.data.thumbUrl)[0].url : ''
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
preview(url) {
|
||||
uni.previewImage({
|
||||
urls: [url],
|
||||
current: url
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppCommunityInfo {
|
||||
min-height: 100vh;
|
||||
padding: 0 32px 40px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
|
||||
.banner {
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
line-height: 1.3;
|
||||
padding: 32px 0 16px;
|
||||
font-size: 48px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.info-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 30px;
|
||||
|
||||
span {
|
||||
color: #999999;
|
||||
font-size: 30px;
|
||||
|
||||
&:last-child {
|
||||
margin-left: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep.emptyWrap {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,523 @@
|
||||
<template>
|
||||
<div class="AppPartyEnteringCommunity">
|
||||
<div class="header" :class="[isFixed ? 'header-active' : '']">
|
||||
<div class="status-bar" :style="{height: statusBarHeight + 'px'}"></div>
|
||||
<div class="nav-bar">
|
||||
<h2>进村</h2>
|
||||
</div>
|
||||
</div>
|
||||
<header>
|
||||
<image src="/static/img/top-bg.png"/>
|
||||
<div>
|
||||
<AiAreaPicker :selectRoot="false" ref="area" :value="areaId" :name.sync="areaName" :areaId="$areaId"
|
||||
@input="areaSelect">
|
||||
<div class="ai-area__wrapper">
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<image src="/static/img/area-bottom.png"/>
|
||||
</div>
|
||||
</AiAreaPicker>
|
||||
<div class="welcome">欢迎进入{{ areaName }}</div>
|
||||
<div class="tag" v-if="user.homeArea === areaId">我的家乡</div>
|
||||
<div class="tag1" @click="updateUserInfo" v-if="!user.homeArea && token">设为家乡</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="card">
|
||||
<div class="card-item" hover-class="text-hover" @click="$linkTo('./AppCommunityInfo?type=0')">
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/sqjj.png"/>
|
||||
</div>
|
||||
<div class="card-item" hover-class="text-hover" @click="$linkTo('./AppCommunityInfo?type=4')">
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/sqgy.png"/>
|
||||
</div>
|
||||
<div class="card-item" hover-class="text-hover" @click="$linkTo('./AppCommunityInfo?type=5')">
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/dyzd.png"/>
|
||||
</div>
|
||||
<div class="card-item" hover-class="text-hover"
|
||||
@click="linkTo('/mods/AppVillagerDiscussion/AppVillagerDiscussion', 'idNumber')">
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/jmys.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="banner" @click="linkTo('/mods/AppCreditPoints/AppCpSupermarket', 'idNumber')">
|
||||
<image src="/static/img/jf-banner.png" class="banner"/>
|
||||
</div> -->
|
||||
<tempalte v-if="publicList.length">
|
||||
<div class="title-wrap">
|
||||
<span class="title">三务公开</span>
|
||||
<div class="right" hover-class="text-hover"
|
||||
@click="$linkTo(`/mods/AppContent/AppContent?names=三务公开&areaId=${areaId}`)">
|
||||
<span class="title-more">更多专题</span>
|
||||
<u-icon name="arrow-right" size="28" color="#999999"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-news">
|
||||
<div class="news-wrap" v-for="(item,index) in publicList" :key="index"
|
||||
@click="$linkTo('/mods/AppContent/contentDetail?id='+ item.id)">
|
||||
<div class="news-title">{{ item.title }}</div>
|
||||
<div class="news-bottom">
|
||||
<div class="tag">{{ item.categoryName }}</div>
|
||||
<div class="date">{{ item.createTime ? item.createTime.split(' ')[0] : '' }}</div>
|
||||
<div class="view">
|
||||
<em>{{ item.viewCount }}</em>
|
||||
人看过
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</tempalte>
|
||||
<AiLogin ref="login"/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {mapActions, mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
name: "AppPartyEnteringCommunity",
|
||||
appName: "党建社区",
|
||||
customNavigation: true,
|
||||
data() {
|
||||
return {
|
||||
isFixed: false,
|
||||
statusBarHeight: 20,
|
||||
top: 0,
|
||||
areaName: '',
|
||||
areaId: '',
|
||||
$areaId: '',
|
||||
publicList: [],
|
||||
moduleId: "",
|
||||
isInit: false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
this.areaId = this.$mp.query.areaId || this.$areaId
|
||||
this.areaName = this.$mp.query.areaName || this.$areaName
|
||||
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight
|
||||
this.autoLogin()
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.getName()
|
||||
})
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user', 'token'])
|
||||
},
|
||||
|
||||
onShow() {
|
||||
this.$nextTick(() => {
|
||||
this.token && this.getUserInfo()
|
||||
})
|
||||
|
||||
if (this.user.homeArea) {
|
||||
if (!this.isInit) {
|
||||
this.areaId = this.user.homeArea
|
||||
this.areaName = this.user.homeName
|
||||
uni.setStorageSync('areaId', this.user.homeArea)
|
||||
uni.setStorageSync('areaName', this.user.homeName)
|
||||
this.isInit = true
|
||||
}
|
||||
} else if (!this.isInit && !this.user.homeArea) {
|
||||
setTimeout(() => {
|
||||
this.$dialog.alert({
|
||||
content: '请选择您的家乡'
|
||||
}).then(() => {
|
||||
this.$refs.area?.handleJump()
|
||||
this.isInit = true
|
||||
})
|
||||
}, 600)
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['autoLogin', 'getUserInfo']),
|
||||
getName() {
|
||||
this.$instance.post("/app/appcontentmoduleinfo/listByNames", null, {
|
||||
params: {names: "三务公开"}
|
||||
}).then(res => {
|
||||
if (res.data && res.data.length) {
|
||||
this.moduleId = res.data[0]["id"];
|
||||
this.getPublicList();
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
updateUserInfo() {
|
||||
if (this.areaId.endsWith('000')) {
|
||||
this.$dialog.alert({
|
||||
content: '请选择村'
|
||||
}).then(() => {
|
||||
})
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.$instance.post("/app/appwechatuser/updateById", {
|
||||
id: this.user.id,
|
||||
homeArea: this.areaId,
|
||||
homeName: this.areaName
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.getUserInfo()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getPublicList() {
|
||||
this.$instance.post("/app/appcontentinfo/list", null, {
|
||||
params: {moduleId: this.moduleId, size: 3, areaId: this.areaId}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.publicList = res.data.records;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
linkTo(url, type) {
|
||||
if (type) {
|
||||
if (this.token) {
|
||||
if (type === 'idNumber') {
|
||||
if (!this.user.residentId) {
|
||||
this.$linkTo('/mods/AppAuth/AppAuth')
|
||||
} else {
|
||||
this.$linkTo(url)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.$refs.login.show()
|
||||
}
|
||||
} else {
|
||||
this.$linkTo(url)
|
||||
}
|
||||
},
|
||||
|
||||
areaSelect(v) {
|
||||
this.areaId = v
|
||||
this.isMore = false
|
||||
this.current = 0
|
||||
this.newsList = []
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.getPublicList()
|
||||
uni.setStorageSync('areaId', this.areaId)
|
||||
uni.setStorageSync('areaName', this.areaName)
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '欢迎使用数字党建平昌~',
|
||||
path: `/pages/AppPartyEnteringCommunity/AppPartyEnteringCommunity`
|
||||
}
|
||||
},
|
||||
|
||||
onPageScroll(params) {
|
||||
this.isFixed = params.scrollTop > 60;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.AppPartyEnteringCommunity {
|
||||
min-height: 100%;
|
||||
background: #F3F6F9;
|
||||
|
||||
::v-deep .emptyImg {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
opacity: 0;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&.header-active {
|
||||
z-index: 1111;
|
||||
opacity: 1;
|
||||
background: #4181FF;
|
||||
}
|
||||
|
||||
.nav-bar {
|
||||
position: relative;
|
||||
height: 88px;
|
||||
line-height: 88px;
|
||||
color: #fff;
|
||||
font-size: 32px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
& > header {
|
||||
position: relative;
|
||||
height: 656px;
|
||||
box-sizing: border-box;
|
||||
padding-left: 32px;
|
||||
|
||||
& > div {
|
||||
position: relative;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
.ai-area__wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 100px;
|
||||
|
||||
span {
|
||||
margin-right: 16px;
|
||||
color: #FFFFFF;
|
||||
font-size: 44px;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 16px;
|
||||
height: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
& > image {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
height: 656px;
|
||||
}
|
||||
|
||||
.welcome {
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #FFFFFF;
|
||||
line-height: 40px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.tag {
|
||||
width: 120px;
|
||||
height: 44px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
color: #c0cae0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.tag1 {
|
||||
width: 120px;
|
||||
height: 44px;
|
||||
border: 1px solid #c0cae0;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
color: #c0cae0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: #FFFFFF;
|
||||
border-radius: 32px 32px 0 0;
|
||||
margin-top: -336px;
|
||||
box-sizing: border-box;
|
||||
padding: 32px 32px 0 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.card-item {
|
||||
width: 332px;
|
||||
height: 160px;
|
||||
margin-bottom: 32px;
|
||||
border-radius: 16px;
|
||||
|
||||
image {
|
||||
width: 332px;
|
||||
height: 160px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.banner {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
height: 200px;
|
||||
background: linear-gradient(180deg, #FFFFFF 0%, #F3F6F9 100%);
|
||||
|
||||
image {
|
||||
display: block;
|
||||
width: 692px;
|
||||
height: 200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
padding: 48px 32px 32px;
|
||||
|
||||
.title {
|
||||
font-size: 44px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.right {
|
||||
|
||||
.title-more {
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
line-height: 40px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-news {
|
||||
box-sizing: border-box;
|
||||
padding: 0 32px;
|
||||
|
||||
.news-wrap {
|
||||
height: 186px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
box-sizing: border-box;
|
||||
padding: 32px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.news-title {
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.news-bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.tag {
|
||||
width: 144px;
|
||||
height: 48px;
|
||||
background: #EEEEEE;
|
||||
border-radius: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.view {
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
& > em {
|
||||
color: #4181FF;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-wrap {
|
||||
box-sizing: border-box;
|
||||
padding: 0 32px;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
|
||||
.scroll-card {
|
||||
display: inline-block;
|
||||
width: 400px;
|
||||
height: 332px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
margin-right: 32px;
|
||||
font-size: 0;
|
||||
|
||||
& > image {
|
||||
width: 400px;
|
||||
height: 240px;
|
||||
border-radius: 16px 16px 0 0;
|
||||
}
|
||||
|
||||
.text {
|
||||
height: calc(100% - 240px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32px;
|
||||
|
||||
& > span {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .AiArea {
|
||||
padding-top: 64px;
|
||||
height: 88px;
|
||||
|
||||
._img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.area-name {
|
||||
font-size: 44px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
src/project/pingchang/AppPartyEnteringCommunity/custom.png
Normal file
BIN
src/project/pingchang/AppPartyEnteringCommunity/custom.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 970 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user