unit-list-item-legacy.880f4444.js 6.3 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.90c82f08.js","./icon-edit-legacy.4520ee5d.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.55839436.js","./index-legacy.f3e5e283.js","./index-legacy.eb4bc59e.js"],(function(t){"use strict";var e,_,n,i,a,o,r,l,q,s,m,u;return{setters:[function(t){e=t.d,_=t.ag,n=t.c,i=t.q,a=t.ai,o=t.F,r=t.e},function(t){l=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",c="_testName_1atnt_9",d="_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:function(){}}},setup:function(t){var e=_(),f=function(e){var _;e.stopPropagation(),r({api:"joinChatGroup",content:{type:"multi",id:null===(_=t.item)||void 0===_?void 0:_.imGroupId}})},D=function(){e.push({path:"/unitDetail",query:{id:t.item.id}})};return function(){return n(o,null,[n(s,{inset:!0,class:v,onClick:D},{default:function(){return[n(m,{center:!0},{icon:function(){return n(u,{src:l,class:d},null)},title:function(){var e;return n("div",{class:["van-ellipsis",c]},[(null===(e=t.item)||void 0===e?void 0:e.name)||"--"])},extra:function(){return n(u,{src:q,class:w,onClick:f},null)}}),n(m,null,{title:function(){var e,_,o,r,l;return n("div",{class:p},[n("div",{class:g},[n("span",{class:h},[i("班级名称")]),n("p",null,[null===(e=t.item)||void 0===e?void 0:e.classGroupName])]),n("div",{class:g},[n("span",{class:h},[i("乐团名称")]),n("p",null,[null===(_=t.item)||void 0===_?void 0:_.orchestraName])]),n("div",{class:g},[n("span",{class:h},[i("截止时间")]),n("p",null,[a(null===(o=t.item)||void 0===o?void 0:o.expiryDate).format("YYYY-MM-DD")])]),n("div",{class:g},[n("span",{class:h},[i("提交人数")]),n("p",null,[(null===(r=t.item)||void 0===r?void 0:r.commitNum)||0,i("人")])]),n("div",{class:g},[n("span",{class:h},[i("达标人数")]),n("p",{style:{color:"var(--van-primary)"}},[(null===(l=t.item)||void 0===l?void 0:l.passNum)||0,i("人")])])])}})]}})])}}}))}}}))}();