123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714 |
- <template>
- <view class="detail">
- <view class="navbox">
- <!-- 步骤条 -->
- <view class="dtabs">
- <view class="tab" :class="progress==ite.value?'act':''" v-for="(ite,idx) in stepList" :key="idx">
- <view class="cir"></view>
- <view class="tit">{{ite.label}}</view>
- </view>
- </view>
- </view>
- <!-- 主体 -->
- <view class="deboxs">
- <view class="bghbox"></view>
- <view class="dbox fmt30">
- <!-- <text>【市政协十五届一 次会议第301号提案】</text> -->
- <view class="dtit">{{datainfo.title}}</view>
- <!-- <view class="titbox mb14">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>提案者信息</view>
- </view>
- </view> -->
- <view class="titinf">
- <view class="txt"><text>上报者</text>{{datainfo.sqmyName}}</view>
- <view class="txt"><text>联系方式</text>{{datainfo.sqmyPhone}}</view>
- <view class="txt"><text>主题类别</text>{{typeFormat(datainfo.topicType,ztlxlist)}}</view>
- <view class="txt"><text>工作单位及职务</text>{{datainfo.unit}}</view>
- <!-- <view class="txt"><text>联系人</text>{{datainfo.lxrName}}</view>
- <view class="txt"><text>联系方式</text>{{datainfo.lxrPhone}}</view> -->
- <view class="txt"> <text>是否公开</text>{{datainfo.isPublicity==0?'是':'否'}}</view>
- <view class="txt"><text>是否涉密</text>{{datainfo.isSecret==0?'是':'否'}}</view>
- <view class="txt"><text>提交时间</text>{{datainfo.createTime}}</view>
- </view>
- </view>
- <view class="dbox">
- <view class="titbox mb14">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>信息内容</view>
- </view>
- </view>
- <view class="txtbox" :class="zheList[1].zheflag?'nact':'act'">
- <rich-text :nodes="datainfo.sqmyContent"></rich-text>
- </view>
- <!-- 折叠 -->
- <view class="zhebox" :class="zheList[1].zheflag?'':'act'" @click="getZheFn(1)">
- <image :src="upsimg"></image>
- <view>{{zheList[1].zheflag?'展开信息':'折叠信息'}}</view>
- </view>
- <view class="bortop"></view>
- <view class="ftit mb14">附件信息</view>
- <view class="fjlists flext" v-for="(ite,idx) in filelist" :key='idx' @click="getDown(ite.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{ite.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
- <!-- <view class="dbox">
- <view class="titbox mb16">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>审核情况</view>
- </view>
- </view>
- <block v-for="(ite,idx) in datainfo.sqmyUnitReplyList" :key="idx">
- <view v-if="dwVal==ite.type">
- <view class="titinf" v-if="ite.type==2">
- <view class="txt wb100"><text>审核单位</text>{{ite.deptName}}</view>
- <view class="txt"><text>签收时间</text>{{ite.startTime}}</view>
- <view class="txt"> <text>审核时间</text>{{ite.endTime}}</view>
- <view class="txt" :class="zheList[2].zheflag?'nact':'act'"><text>答复内容</text>
- <rich-text :nodes="ite.content"></rich-text>
- </view>
- </view>
-
- <view class="zhebox" :class="zheList[2].zheflag?'':'act'" @click="getZheFn(2)">
- <image :src="upsimg"></image>
- <view>{{zheList[2].zheflag?'展开信息':'折叠信息'}}</view>
- </view>
- <view class="bortop"></view>
- <view class="ftit mb14">答复函</view>
- <view class="fjlists flext" v-for="(item,idx) in ite.zxFjList" :key='item.id' @click="getDown(item.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{item.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
-
- </block>
- </view> -->
- <!-- 提案立案以下隐藏 -->
- <view class="dbox" v-if="hflist.length||datainfo.cbdwdfwy">
- <view class="titbox mb16">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>反馈情况</view>
- </view>
- </view>
- <!-- 单位回复委员 -->
- <!-- 单位反馈 -->
- <view class="titinf" v-for="(ite,idx) in hflist" :key="idx">
- <view class="ftit mb10">{{ite.deptName}}</view>
- <view class="txt wb100"><text class="w65">回复内容</text>{{ite.content}}</view>
- <block v-if="ite.zxFjList.length">
- <view class="txt fjbox">
- <text class="w65">附件</text>
- <view class="flexdc">
- <view class="fjlists flext" v-for="(fite,fidx) in ite.zxFjList" :key='fidx' @click="getDown(fite.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{fite.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
- </view>
- </block>
- </view>
- <view class="titinf" v-if="datainfo.cbdwdfwy">
- <view class="ftit mb10">单位反馈委员</view>
- <view class="txt wb100"><text class="w65">反馈内容</text>{{datainfo.cbdwdfwy}}</view>
- <block v-if="datainfo.dfFjList&&datainfo.dfFjList.length">
- <view class="txt fjbox">
- <text class="w65">附件</text>
- <view class="fjlists flext" v-for="(fite,fidx) in datainfo.dfFjList" :key='fidx' @click="getDown(fite.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{fite.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
- </block>
- </view>
- </view>
- <!-- 提案立案以下隐藏 -->
- <view class="dbox" v-if="zblist.length||xblist.length">
- <view class="titbox mb16">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>办理情况</view>
- </view>
- </view>
- <view class="dbtabs flexc mb20">
- <view class="dbtab" :class="ite.val==dwVal?'act':''" v-for="(ite,idx) in dwList" :key="idx" @click="getDwFn(ite.val)">{{ite.tit}}</view>
- </view>
- <block v-for="(ite,idx) in datainfo.sqmyUnitReplyList" :key="idx">
- <view v-if="dwVal==ite.type">
- <view class="titinf" v-if="ite.type==2||ite.type==3">
- <view class="txt wb100"><text>{{ite.type==2?'主办单位':'协办单位'}}</text>{{ite.deptName}}</view>
- <view class="txt"><text>办理方式</text>{{ite.handling}}</view>
- <view class="txt"><text>办理程度</text>{{ite.degree}}</view>
- <view class="txt"><text>签收时间</text>{{ite.startTime}}</view>
- <view class="txt"> <text>办结时间</text>{{ite.endTime}}</view>
- <view class="txt" :class="zheList[2].zheflag?'nact':'act'"><text>答复内容</text>
- <rich-text :nodes="ite.content" v-if="ite.content"></rich-text>
- </view>
- </view>
- <!-- 折叠 -->
- <view class="zhebox" :class="zheList[2].zheflag?'':'act'" @click="getZheFn(2)">
- <image :src="upsimg"></image>
- <view>{{zheList[2].zheflag?'展开信息':'折叠信息'}}</view>
- </view>
- <view class="bortop"></view>
- <view class="ftit mb14">答复函</view>
- <view class="fjlists flext" v-for="(item,idx) in ite.zxFjList" :key='item.id' @click="getDown(item.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{item.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
- <!-- 暂无反馈 -->
- <!-- <block v-else>
- <no-data></no-data>
- </block> -->
-
- </block>
-
- </view>
- <view class="dbox">
- <!-- <view class="titbox mb16">
- <view class="tit flexc">
- <image :src="titimg"></image>
- <view>反馈情况</view>
- </view>
- </view>
- <view class="titinf">
- <view class="ftit mb10">委员反馈</view>
- <view class="txt wb100" style="align-items: center;"><text class="w65">对办理情况是否满意</text>{{typeFormattext(datainfo.satisfaction,mycdlist)}}</view>
- <view class="txt"><text class="w65">有何进一步意见和建议</text>
- {{datainfo.membersOpinion}}
- </view>
- </view> -->
- <view class="titinf">
- <view class="ftit mb10 mt2">采用详情</view>
- <view class="txt wb100" style="align-items: center;"><text class="w65">备注</text>{{datainfo.zxOpinion}}</view>
- <view class="txt" style="flex:1"><text class="w65">附件</text>
- <view class="flexdc">
- <view class="fjlists flext" v-for="(fite,fidx) in datainfo.dfFjList" :key='fidx' @click="getDown(fite.url)">
- <view class="imgl"><image :src="fjimg" ></image></view>
- <view class="tit">{{fite.name}}</view>
- <view class="fjlook">查看</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="fbtns" style="flex-wrap: wrap;">
- <!-- 按角色选择按钮 -->
- <view class="btn btn3" @click="getDelFn" v-if="checkPermi(['sqmyInfo:info:remove'])">删除</view>
- <view class="btn btn1" @click="getEditFn" v-if="checkPermi(['sqmyInfo:info:edit'])&&progress<2">修改</view>
- <view class="btn btn2" @click="getScfkFn('sfcy')" v-if="checkPermi(['sqmyInfo:info:isRecord'])&&progress==1">审查反馈</view>
- <!-- <view class="btn btn2" @click="getScfkFn('tajb')" v-if="checkPermi(['sqmyInfo:info:assign'])&&progress==2">提案交办</view>
- <view class="btn btn2" @click="getScfkFn('dffk')" v-if="checkPermi(['sqmy:unit:reply'])&&(progress==4||progress==6)">答复反馈</view>
- <view class="btn btn2" @click="getScfkFn('jbsh')" v-if="checkPermi(['sqmyInfo:info:assignsh'])&&progress==5">交办审核</view>
- <view class="btn btn2" @click="getScfkFn('dwdf')" v-if="checkPermi(['sqmy:unit:reply'])&&progress==3&&hflist[0].isReply!=0">单位答复</view>
- <view class="btn btn2" @click="getScfkFn('dwdf')" v-if="checkPermi(['sqmyInfo:info:cbdwdfwy'])&&progress==7">单位答复委员</view> -->
- <!-- <view class="btn btn2" @click="getScfkFn('bzhf')" v-if="checkPermi(['sqmyInfo:info:idea'])">备注回复</view> -->
- <view class="btn btn2" @click="getScfkFn('bzhf')" v-if="checkPermi(['sqmyInfo:info:zxIdea'])">备注回复</view>
-
- <!--委员答复填内容,委员填满意度 -->
- <!--协办单位,主办单位 填办理方式,办理程度,内容 附件 -->
- <!-- 4.承办单位答复,交办单位审核(通过,不通过), -->
-
- <!-- 交办单位 审核后,承办单位答复(),委员直接提交评价(满意程度)-->
- <!-- 流程 -->
- <!-- 提案进度(0:提交提案,1:提案审查,2:提案立案,3:提案交办,4:办理提案,5:提案反馈,6:办结审核,7:已办结) -->
- <!-- 1.委员录入
- 2.提案委立案是否,否 指定答复(交办)单位
- 3.交办 选择答复(承办)单位(主办,协办)
- 4.承办单位 答复反馈(办理方式,办理程度,内容)
- 5.交办单位审核(通过,不通过),承办单位答复交办单位审核(内容,附件)
- 6.审核不通过,承办单位答复
- 7.审核通过 承办单位答复委员
- 8.委员提交满意度,评价
- 8.政协 提交满意度(办结审核) -->
-
- <!-- 只要提案就可以 推荐重点,推荐优秀
- 提案办理,催办,联名,单列表 -->
- <!-- 征集通知 ,提案查重,暂不需要 -->
- <!-- 政协评价 -->
-
- </view>
-
- </view>
- <pop-up :type='ptype' :blfsList="matterList" :dflxlist="dflxlist" :progress="progress" :blcdlist="blcdlist" :mycdlist="mycdlist" :dataTree="deptTree" @getClose="getClose" @getupSubmit="getupSubmit"></pop-up>
- </view>
- </template>
- <script>
- import config from '@/config'
- const baseUrl = config.baseUrl
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- import popUp from "@/work/components/popup/popup.vue"
- import noData from "@/components/nodata/nodata.vue"
- import {getDeptTree} from"@/api/mine/mine.js"
- import { selectValue,selectValuetext } from '@/utils/common.js';
- import {getsqmyInfoDetailFn,getsqmyInfoDelFn,getsqmyInfoisRecordFn,getsqmyInfoAssignFn,getsqmyReplyFn,
- getsqmyInfoShFn,getsqmyInfoIdeaFn,getsqmyInfozxIdeaFn,getsqmyInfoReplywyFn} from "@/api/mine/sqmyInfo.js"
- import {getDictionaryFn} from "@/api/mine/register.js"
- export default{
- components:{popUp,noData},
- data(){
- return{
- bgimg:require("@/static/images/bg.png"),
- fjimg:require("@/work/static/images/fjimg.png"),
- filelist:[],
-
- tabidx:5,
- titimg:require("@/work/static/images/titbg.png"),
- upsimg:require("@/work/static/images/ups.png"),
- zheList:[{val:0,zheflag:true,moreflag:true},{val:0,zheflag:true,moreflag:true},{val:0,zheflag:true,moreflag:true},{val:0,zheflag:true,moreflag:true},],
- dwList:[{tit:'主办单位',val:2},{tit:'协办单位',val:3}],
- dwVal:2,
- ptype:'',
- datainfo:{},
-
- tajdval:'0',
- dflxlist:[],
- ztlxlist:[],//主题类型
- stepList:[{label:'信息提交',value:"0"},{label:'信息审查',value:"1"},{label:'信息采用',value:"2"}],//提案状态
- jblist:[],//界别
- matterList:[],//方式
- blcdlist:[],//办理程度
- deptTree:[],//答复单位
- mycdlist:[],//满意程度
- tary:'',
- progress:'',
- hflist:[],
- zblist:[],
- xblist:[],
- from:""
- }
- },
- onUnload(){
- uni.$off('refreshdetail')
- },
- onLoad(e) {
- this.id=e.id;
- this.getDetail()
- this.init()
- uni.$on('refreshdetail', (e) => {
- this.getDetail()
- })
- if(e.f){
- this.from=e.f
- }
- // this.deptTree=[{id:100,label:"若依科技",children:[{id:200,label:"吃完",},{id:201,label:"vf",}]}]
- },
- methods:{
- checkPermi, checkRole,
- kaType(ite){
- if(ite){
- var newArr=ite.split(',')
- var actions=[];
- var datas=this.matterList;
- newArr.forEach(ite=>{
- Object.keys(datas).some((key) => {
- if (datas[key].value == ('' + ite)) {
- actions.push(datas[key].label);
- return true;
- }
- })
- })
- return actions.join(' ')
- }
- },
- typeFormat(ite,list){
- return selectValue(list, ite);
- },
- typeFormattext(ite,list){
- return selectValuetext(list, ite);
- },
- init(){
- //提案状态
- // getDictionaryFn('sqmy_jd').then(res=>{
- // if(res.code==200&&res.data.length){
- // this.stepList = res.data.map(v => {
- // return {
- // label: v.dictLabel,
- // value:v.dictValue
- // }
- // })
- // }
- // })
- // 主题类型
- getDictionaryFn('sqmy_topic_type').then(res=>{
- if(res.code==200&&res.data.length){
- this.ztlxlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- // 协办单位
- getDeptTree().then(res=>{
- if(res.code==200){
- this.deptTree=res.data
- }
- })
- // 办理方式
- getDictionaryFn('negotiation_mode').then(res=>{
- if(res.code==200&&res.data.length){
- this.matterList = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- // 办理程度degree
- getDictionaryFn('degree').then(res=>{
- if(res.code==200&&res.data.length){
- this.blcdlist = res.data.map(v => {
- return {
- text: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- // 满意程度
- getDictionaryFn('member_satisfaction').then(res=>{
- if(res.code==200&&res.data.length){
- this.mycdlist = res.data.map(v => {
- return {
- text: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- //答复类型
- getDictionaryFn('proposal_complex_type').then(res=>{
- if(res.code==200&&res.data.length){
- this.dflxlist = res.data.map(v => {
- return {
- text: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- },
- getsqmyInfoisRecordFn(){
- getsqmyInfoisRecordFn().then(res=>{
-
- })
- },
- getupSubmit(e){
- var that=this;
- var type=this.ptype;
- if(type=='sfcy'){
- var params=JSON.parse(JSON.stringify(e))
- params.sqmyId=this.id
- getsqmyInfoisRecordFn(params).then(res=>{
- if(res.code==200){
- var str='采用';
- if(params.isRecord==1){
- str='不采用'
- }
- this.$toast(str+"成功");
- setTimeout(function(){
- uni.$emit('refreshlist')
- uni.$emit('refreindexlist')
- that.ptype='';
- that.getDetail()
- },1200)
-
- }
- })
- }else if(type=='tajb'){
- var params=JSON.parse(JSON.stringify(e))
- params.sqmyId=this.id
- getsqmyInfoAssignFn(params).then(res=>{
- if(res.code==200){
- this.$toast("信息办结成功");
- setTimeout(function(){
- uni.$emit('refreshlist')
- uni.$emit('refreindexlist')
- that.ptype='';
- that.getDetail()
- },1200)
- }
- })
- }else if(type=='dffk'||type=='dwdf'){
- var params=JSON.parse(JSON.stringify(e))
- params.sqmyId=this.id
- if(this.progress==7){
- getsqmyInfoReplywyFn(params).then(res=>{
- params.cbdwdfwy=params.content;
- if(res.code==200){
- this.$toast("答复反馈成功");
- setTimeout(function(){
- uni.$emit('refreshlist')
- uni.$emit('refreindexlist')
- that.ptype='';
- that.getDetail()
- },1200)
- }
- })
- }else{
- getsqmyReplyFn(params).then(res=>{
- if(res.code==200){
- this.$toast("答复反馈成功");
- setTimeout(function(){
- uni.$emit('refreshlist')
- uni.$emit('refreindexlist')
- that.ptype='';
- that.getDetail()
- },1200)
- }
- })
- }
-
- }else if(type=='jbsh'){
- var params=JSON.parse(JSON.stringify(e))
- params.sqmyId=this.id
- getsqmyInfoShFn(params).then(res=>{
- if(res.code==200){
- this.$toast("交办审核成功");
- setTimeout(function(){
- uni.$emit('refreshlist')
- uni.$emit('refreindexlist')
- that.ptype='';
- that.getDetail()
- },1200)
- }
- })
- }else if(type=='bzhf'){
- var params=JSON.parse(JSON.stringify(e))
- params.sqmyId=this.id
- getsqmyInfozxIdeaFn(params).then(res=>{
- if(res.code==200){
- this.$toast("备注成功");
- setTimeout(function(){
- // uni.$emit('refreshlist')
- that.ptype='';
- that.getDetail()
- },1200)
- }
- })
- // }else if(type=='zxmyfk'){
- // var params=JSON.parse(JSON.stringify(e))
- // params.sqmyId=this.id
- // getsqmyInfozxIdeaFn(params).then(res=>{
- // if(res.code==200){
- // this.$toast("备注成功");
- // setTimeout(function(){
- // // uni.$emit('refreshlist')
- // that.ptype='';
- // that.getDetail()
- // },1200)
- // }
- // })
- }
- },
- getEditFn(){
- this.$tab.navigateTo('/work/pages/sqmyInfo/add?type=edit&id='+this.id)
- },
- getClose(){
- this.ptype=""
- },
- getScfkFn(type){
- this.ptype=type
- },
- getZheFn(idx){
- this.zheList[idx].zheflag=!this.zheList[idx].zheflag
- },
- getDwFn(idx){
- this.dwVal=idx
- },
- getDelFn(){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- getsqmyInfoDelFn(that.id).then(res=>{
- if(res.code==200){
- that.$toast('删除成功')
- uni.$emit("refreshlist")
- uni.$emit('refreindexlist')
- setTimeout(function(){
- uni.navigateBack({
- delta: 1 //返回层数,2则上上页
- });
- },1200)
- }
- })
- } else if (res.cancel) {
- // console.log('用户点击取消');
- }
- }
- });
- },
- getDetail(){
- getsqmyInfoDetailFn(this.id).then(res=>{
- if(res.code==200){
- this.datainfo=res.data;
- this.progress=res.data.sqmyProgress;
- if(this.progress==3){ // 不立案
- var newArr=[{label:'提交信息',value:"0"},{label:'信息审查',value:"1"},
- {label:'未采用',value:"3"}];
- this.stepList=newArr
- }
- if(res.data.zxFjList&&res.data.zxFjList.length){
- this.filelist=JSON.parse(JSON.stringify(res.data.zxFjList))
- }
- // var taryList=res.data.proposalUserList;
- // if(taryList&&taryList.length){
- // var newArr=[]
- // taryList.forEach(ite=>{
- // newArr.push(ite.name)
- // })
- // this.tary=newArr.join('/')
- // }
- var dwList=res.data.sqmyUnitReplyList;
- var hflist=[],zblist=[],xblist=[];
- if(dwList&&dwList.length){
- dwList.forEach(ite=>{
- if(ite.type==1){
- hflist.push(ite)
- }else if(ite.type==2){
- zblist.push(ite)
- }else if(ite.type==3){
- xblist.push(ite)
- }
- })
- }
- this.hflist=hflist;
- this.zblist=zblist;
- this.xblist=xblist;
- }
- })
- },
- getDown(e){
- uni.showLoading({
- title: '加载中'
- });
- var url=baseUrl+e;
- uni.downloadFile({
- url: url,//文件的下载路径
- success(result) {
- uni.hideLoading()
- var filePath = result.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
- // console.log('打开文档成功');
- }
- });
- },
- fail(res) {uni.hideLoading()}
- })
- },
- }
- }
- </script>
- <style scoped lang="scss">
- .detail{display: flex;flex-direction: column;height: 100vh;}
- .navbox{background-color: $com-cd3;flex:0 0 auto;
- .dtabs{display: flex;padding: 40rpx 24rpx;
- .tab{position: relative;display: flex;flex-direction: column;align-items: center;flex: 1;
- &::after{content: '';height: 2rpx;width: 50%;background: #86B2FF;left: 50%;top: 10rpx;position: absolute;transform: translateX(50%);}
- &:last-child{
- &::after{display: none;}
- }
- &.act{
- .cir{background: #FFFFFF;}
- .tit{color: #FFFFFF;}
- }
- .cir{width: 20rpx;height: 20rpx;background: #86B2FF;border-radius: 50%;margin-bottom: 24rpx;}
- .tit{font-weight: bold;font-size: 24rpx;color: #86B2FF;width: 100%;text-align: center;padding: 0 8rpx;}
- }
- }
- }
- .deboxs{flex:1;overflow: auto;padding-bottom: 30rpx;
- .bghbox{height: 60rpx;background-color: $com-cd3;}
- .dbox{background: #FFFFFF;border-radius: 10rpx;margin: 0 24rpx 24rpx;padding: 36rpx 24rpx 24rpx;
- .dtit{font-weight: bold;font-size: 15px;color: #222327;margin-bottom: 48rpx;
- text{color: #E70000;}
- }
- .titbox{
- .tit{
- image{width: 32rpx;height: 18rpx;margin-right: 10rpx;}
- view{font-weight: bold;font-size: 32rpx;color: #222327;}
- }
- }
- .titinf{display: flex;flex-wrap: wrap;
- &.nact{height: 0;overflow: hidden;}
- &.act{height: auto;}
- .txt{font-weight: 500;font-size: 26rpx;margin-bottom: 20rpx;color: #222327;display: flex;align-items: flex-start;flex:0 1 auto;min-width: 50%;
- &.nact{height: 80rpx;overflow: hidden;}
- &.act{height: auto;}
- text{color: #AAAAAA;min-width: 104rpx;text-align-last: justify;flex: 0 0 auto;margin-right: 20rpx;
- &.w65{width: 130rpx;}
- }
- &.fjbox{flex: 1 !important;display: flex;
- .fjlists{flex: 1;}
- }
- // view{text-indent: 2rem;}
- }
-
- }
- .txtbox{text-indent: 2rem;line-height: 36rpx;font-weight: 500;font-size: 26rpx;color: #222327;
- &.nact{max-height: 432rpx;overflow: hidden;}
- &.act{height: auto;}
- }
- // tab
- .dbtabs{
- .dbtab{font-weight: 500;font-size: 26rpx;height: 60rpx;line-height: 60rpx;color: #666666;position: relative;padding: 0 38rpx;margin-left: 8rpx;
- &.act{font-weight: bold;font-size: 30rpx;color: #222327;
- &::after{content: "";width: 48rpx;height: 4rpx;background: #3699FF;border-radius: 2rpx;position: absolute;left: 50%;margin-left: -24rpx;bottom: -4rpx;}
- }
- }
- }
-
-
- .bortop{border-top: 2rpx dashed #C1C1C1;margin-bottom: 32rpx;margin-top: 14rpx;width: 100%;}
- .ftit{font-weight: bold;font-size: 26rpx;color: #222327;}
- .zhebox{display: flex;align-items: center;flex-direction: column;padding: 24rpx 0;
- image{width: 28rpx;height: 30rpx;margin-bottom: 10rpx;transition: all 0.3s;}
- &.act{
- image{transform: rotate(-180deg);}
- }
- view{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
- }
- // 附件
- .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
- // image{margin-right: 18rpx;flex: 0 0 auto;}
- .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;justify-content: center;margin-right: 6rpx;flex: 0 0 auto;
- image{width: 26rpx;height: 24rpx;}
- }
- .tit{font-size: 26rpx;color: #343434;font-weight: 500;margin-top: 4rpx;flex:1;}
- .fjlook{font-weight: 500;font-size: 26rpx;color: #1D64E2;flex: 0 0 auto;margin-left: 20rpx;margin-top: 4rpx;}
- }
- }
-
- }
- // 按钮
- .fbtns{display: flex;align-items: center;justify-content: space-between;padding: 54rpx 12rpx 34rpx;display: flex;flex-wrap: wrap;
- .btn{height: 80rpx;font-weight: bold;font-size: 30rpx;box-sizing: border-box;border-radius: 40rpx;display: flex;align-items: center;
- justify-content: center;margin:0 12rpx;flex:1;
- &.btn1{border: 2rpx solid #1D64E2;background: #ffffff;color: #1D64E2;}
- &.btn2{background: #1D64E2;color: #ffffff;}
- &.btn3{border: 2rpx solid #FF0000;background: #ffffff;color: #FF0000;}
- }
- }
- </style>
|