unit-list-item-legacy.93d9b3b6.js 6.2 KB

1
  1. !function(){var t=document.createElement("style");t.innerHTML="._unitTest_wtvqq_1 ._searchBand_wtvqq_1{display:inline-block;font-size:.37333rem;font-weight:500;color:#333}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7{margin-bottom:.32rem}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7 .van-cell{padding:.32rem;font-size:.42667rem;font-weight:500}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7 ._img_wtvqq_15{width:.48rem;height:.48rem;margin-right:.16rem}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7 ._unitTitle_wtvqq_20{color:#333;max-width:4rem;line-height:.58667rem}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7 ._no-start_wtvqq_25{color:#f44541}._unitTest_wtvqq_1 ._cellGroup_wtvqq_7 ._pass_wtvqq_28{color:#4ab78e}._unitTest_wtvqq_1 ._unitSection_wtvqq_31{padding-top:.4rem!important;padding-bottom:.53333rem!important}._unitTest_wtvqq_1 ._unitSection_wtvqq_31 ._name_wtvqq_35{font-size:.4rem;font-weight:500;color:#333;padding-bottom:.16rem}._unitTest_wtvqq_1 ._unitSection_wtvqq_31 ._endTime_wtvqq_41{font-size:.34667rem;color:#777}._unitTest_wtvqq_1 ._unitBtnGroup_wtvqq_45{display:flex;align-items:center;justify-content:space-between;padding-top:.42667rem}._unitTest_wtvqq_1 ._unitBtnGroup_wtvqq_45 .van-button{line-height:1.06667rem;height:1.06667rem}._unitTest_wtvqq_1 ._unitBtnGroup_wtvqq_45 .van-button+.van-button{margin-left:.34667rem}._unitTest_wtvqq_1 ._liveList_wtvqq_58{padding:0 .34667rem}._unitDetail_wtvqq_61{padding:.4rem .34667rem}._unitDetail_wtvqq_61 ._tabsWrap_wtvqq_64{position:relative;margin-top:-.26667rem}._unitDetail_wtvqq_61 ._tabsWrap_wtvqq_64 ._tabsWrapIcon_wtvqq_68{position:absolute;right:.32rem;top:.34667rem;z-index:1900}._unitDetail_wtvqq_61 ._DialogTitle_wtvqq_74{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._unitDetail_wtvqq_61 ._DialogTitle_wtvqq_74 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._unitDetail_wtvqq_61 ._DialogTitle_wtvqq_74 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._unitDetail_wtvqq_61 ._DialogConent_wtvqq_94{padding:0 .66667rem .8rem}._unitDetail_wtvqq_61 ._DialogConent_wtvqq_94 p{font-size:.42667rem;line-height:.69333rem;color:#333}._unitDetail_wtvqq_61 ._DialogConent_wtvqq_94 p span{width:2.13333rem;display:inline-block;text-align:right}._unitDetail_wtvqq_61 .van-tabs__nav{padding-right:0;padding-left:0;padding-bottom:.26667rem}._unitDetail_wtvqq_61 .van-tabs__nav .van-tab:nth-child(1){margin-left:-.21333rem}._unitDetail_wtvqq_61 .van-tab__text{font-size:.42667rem}._unitDetail_wtvqq_61 .van-tabs__line{bottom:.4rem;width:.53333rem}._unitDetail_wtvqq_61 .van-cell__title{margin-bottom:0!important}._unitDetail_wtvqq_61 .exercisDetailDialog{border-radius:.26667rem}._unitDetail_wtvqq_61 .exercisDetailDialog .van-dialog__header{padding-top:0!important}._unitDetail_wtvqq_61 .van-dialog{top:47%}._unitItem_1atnt_1{background-color:#fff;margin:0 0 .37333rem;border-radius:.26667rem}._unitItem_1atnt_1 .van-cell{padding:.34667rem .32rem}._unitItem_1atnt_1 ._testName_1atnt_9{max-width:6.93333rem;font-size:.4rem;font-weight:500;color:#333;line-height:.56rem}._unitItem_1atnt_1 ._editImg_1atnt_16{width:.48rem;height:.48rem;margin-right:.21333rem}._unitItem_1atnt_1 ._msgImg_1atnt_21{width:.64rem;height:.64rem}._unitItem_1atnt_1 ._testContent_1atnt_25{font-size:.37333rem;font-weight:400;color:#333;line-height:.53333rem}._unitItem_1atnt_1 ._testContent_1atnt_25 ._testItem_1atnt_31{display:flex;align-items:center;padding-bottom:.32rem}._unitItem_1atnt_1 ._testContent_1atnt_25 ._testItem_1atnt_31:last-child{padding-bottom:.10667rem}._unitItem_1atnt_1 ._testContent_1atnt_25 ._testItem_1atnt_31 p{font-weight:500}._unitItem_1atnt_1 ._testContent_1atnt_25 ._name_1atnt_42{color:#777;width:2.13333rem}\n",document.head.appendChild(t),System.register(["./index-legacy.eb062188.js","./icon-edit-legacy.4520ee5d.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.148f784c.js","./index-legacy.918b8c74.js","./index-legacy.fecc738b.js"],(function(t){"use strict";var e,_,i,n,a,l,o,r,q,s,m,u;return{setters:[function(t){e=t.d,_=t.ag,i=t.c,n=t.q,a=t.ai,l=t.F,o=t.e},function(t){r=t.i},function(t){q=t.i},function(t){s=t.C},function(t){m=t.C},function(t){u=t.I}],execute:function(){t("s",{unitTest:"_unitTest_wtvqq_1",searchBand:"_searchBand_wtvqq_1",cellGroup:"_cellGroup_wtvqq_7",img:"_img_wtvqq_15",unitTitle:"_unitTitle_wtvqq_20","no-start":"_no-start_wtvqq_25",pass:"_pass_wtvqq_28",unitSection:"_unitSection_wtvqq_31",name:"_name_wtvqq_35",endTime:"_endTime_wtvqq_41",unitBtnGroup:"_unitBtnGroup_wtvqq_45",liveList:"_liveList_wtvqq_58",unitDetail:"_unitDetail_wtvqq_61",tabsWrap:"_tabsWrap_wtvqq_64",tabsWrapIcon:"_tabsWrapIcon_wtvqq_68",DialogTitle:"_DialogTitle_wtvqq_74",DialogConent:"_DialogConent_wtvqq_94"});var v="_unitItem_1atnt_1",d="_testName_1atnt_9",c="_editImg_1atnt_16",w="_msgImg_1atnt_21",p="_testContent_1atnt_25",g="_testItem_1atnt_31",h="_name_1atnt_42";t("U",e({name:"unit-list-item",props:{item:{type:Object,default:()=>{}}},setup(t){const e=_(),f=e=>{var _;e.stopPropagation(),o({api:"joinChatGroup",content:{type:"multi",id:null===(_=t.item)||void 0===_?void 0:_.imGroupId}})},b=()=>{e.push({path:"/unitDetail",query:{id:t.item.id}})};return()=>i(l,null,[i(s,{inset:!0,class:v,onClick:b},{default:()=>[i(m,{center:!0},{icon:()=>i(u,{src:r,class:c},null),title:()=>{var e;return i("div",{class:["van-ellipsis",d]},[(null===(e=t.item)||void 0===e?void 0:e.name)||"--"])},extra:()=>i(u,{src:q,class:w,onClick:f},null)}),i(m,null,{title:()=>{var e,_,l,o,r;return i("div",{class:p},[i("div",{class:g},[i("span",{class:h},[n("班级名称")]),i("p",null,[null===(e=t.item)||void 0===e?void 0:e.classGroupName])]),i("div",{class:g},[i("span",{class:h},[n("乐团名称")]),i("p",null,[null===(_=t.item)||void 0===_?void 0:_.orchestraName])]),i("div",{class:g},[i("span",{class:h},[n("截止时间")]),i("p",null,[a(null===(l=t.item)||void 0===l?void 0:l.expiryDate).format("YYYY-MM-DD")])]),i("div",{class:g},[i("span",{class:h},[n("提交人数")]),i("p",null,[(null===(o=t.item)||void 0===o?void 0:o.commitNum)||0,n("人")])]),i("div",{class:g},[i("span",{class:h},[n("达标人数")]),i("p",{style:{color:"var(--van-primary)"}},[(null===(r=t.item)||void 0===r?void 0:r.passNum)||0,n("人")])])])}})]})])}}))}}}))}();