index.wxml 3.5 KB

1
  1. <view class="addfb data-v-2eb0ff40"><view class="card data-v-2eb0ff40"><view class="tit data-v-2eb0ff40">接收班级<text class="fwn f14 co6 data-v-2eb0ff40">(单选)</text></view><block wx:for="{{classval}}" wx:for-item="ite" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['getCheck',[idx]]]]]}}" class="bjlist data-v-2eb0ff40" bindtap="__e"><block wx:if="{{classidx==idx}}"><image src="{{checkimg}}" class="data-v-2eb0ff40"></image></block><block wx:else><image src="{{ncheckimg}}" class="data-v-2eb0ff40"></image></block><view class="f16 c16 flex1 data-v-2eb0ff40">{{ite.dictLabel}}</view></view></block></view><view class="card data-v-2eb0ff40"><view class="flexc mb20 data-v-2eb0ff40"><view class="cttit data-v-2eb0ff40">成绩标题</view><input class="ctinp data-v-2eb0ff40" type="text" placeholder-style="color:#aaa;" placeholder="请输入成绩标题" data-event-opts="{{[['input',[['__set_model',['$0','scoreTitle','$event',[]],['datainfo']]]]]}}" value="{{datainfo.scoreTitle}}" bindinput="__e"/></view><picker range-key="dictLabel" value="{{ksindex}}" range="{{kaoshilist}}" data-event-opts="{{[['change',[['bindDateChangea',['$event']]]]]}}" bindchange="__e" class="data-v-2eb0ff40"><view class="flexc mb20 data-v-2eb0ff40"><view class="cttit data-v-2eb0ff40">考试类型</view><view class="{{['f16','flex1','txr','data-v-2eb0ff40',datainfo.scoreType?'co16':'coa']}}">{{scoreType||"请选择考试分类"}}</view></view></picker><picker class="mb20 data-v-2eb0ff40" mode="date" value="{{datainfo.scoreTime}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><view class="flexc data-v-2eb0ff40"><view class="cttit data-v-2eb0ff40">本次考试时间</view><view class="{{['f16','flex1','txr','data-v-2eb0ff40',datainfo.scoreTime?'co16':'coa']}}">{{datainfo.scoreTime||'请选择本次考试时间'}}</view></view></picker><view data-event-opts="{{[['tap',[['getImport',['$event']]]]]}}" class="addbtn flexcc data-v-2eb0ff40" bindtap="__e"><image class="addimg data-v-2eb0ff40" src="{{addimg}}"></image>导入或录入成绩</view></view><view data-event-opts="{{[['tap',[['getPrivacy',['$event']]]]]}}" class="card data-v-2eb0ff40" bindtap="__e"><view class="tit data-v-2eb0ff40" style="margin-bottom:32rpx;">隐私设置</view><view class="flexc mb8 data-v-2eb0ff40"><view class="f15 co6 fw flex1 data-v-2eb0ff40">学生只能查看自己的成绩</view><image class="openimg data-v-2eb0ff40" src="{{openimg}}"></image></view></view><view class="fbtn data-v-2eb0ff40"><view data-event-opts="{{[['tap',[['getSubmit',['$event']]]]]}}" class="fbtnr flexcc data-v-2eb0ff40" bindtap="__e">发布</view></view><pop-up vue-id="53e95115-1" type="{{type}}" data-event-opts="{{[['^getClose',[['getClose']]],['^getDel',[['getDel']]],['^getLook',[['getLook']]],['^getEnter',[['getEnter']]],['^getConfirm',[['getConfirm']]]]}}" bind:getClose="__e" bind:getDel="__e" bind:getLook="__e" bind:getEnter="__e" bind:getConfirm="__e" class="data-v-2eb0ff40" bind:__l="__l"></pop-up><view class="data-v-2eb0ff40"><lsj-upload vue-id="53e95115-2" childId="upload1" width="{{width}}" height="{{height}}" option="{{option}}" size="{{size}}" count="{{count}}" formats="{{formats}}" debug="{{debug}}" instantly="{{instantly}}" files="{{files}}" data-ref="lsjUpload" data-event-opts="{{[['^change',[['change']]],['^uploadEnd',[['onuploadEnd']]]]}}" bind:change="__e" bind:uploadEnd="__e" class="data-v-2eb0ff40 vue-ref" bind:__l="__l"></lsj-upload><view class="rebtn data-v-2eb0ff40" style="{{'width:'+(width)+';'+('height:'+(height)+';')}}"></view></view></view>