courseItem.wxml 8.2 KB

1
  1. <view class="courselist-item data-v-beb9dc34" style="height:100%;"><view data-event-opts="{{[['tap',[['toCourseDetail',['$0'],['info']]]]]}}" class="courselist-con x-start data-v-beb9dc34" bindtap="__e"><view class="courselist-img data-v-beb9dc34"><image src="{{info.thumbnail}}" mode="aspectFill" class="data-v-beb9dc34"></image></view><view class="courselist-con-r data-v-beb9dc34"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" catchtap="__e" class="data-v-beb9dc34"><text class="more-t data-v-beb9dc34">{{info.title}}</text><view data-event-opts="{{[['tap',[['copyId',['$event']]]]]}}" class="btn_icon data-v-beb9dc34" style="margin-left:5px;" bindtap="__e">ID<image src="{{imgpath+'/app/images/copy_icon.png'}}" mode="aspectFill" class="data-v-beb9dc34"></image></view></view><view hidden="{{!(from!='course')}}" class="courselist-desc one-t data-v-beb9dc34">{{info.courseName}}</view><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="{{['data-v-beb9dc34',from=='course'?'courselist-con-timebox ':'courselist-con-timebox x-f']}}" catchtap="__e"><view class="x-f acea-row data-v-beb9dc34"><u-icon class="icon data-v-beb9dc34" vue-id="73bfabe0-1" name="hourglass" color="#999" size="20" bind:__l="__l"></u-icon>{{'开始时间:'+(info.startDateTime?info.startDateTime:'')+''}}</view><view class="x-f acea-row data-v-beb9dc34"><u-icon class="icon data-v-beb9dc34" vue-id="73bfabe0-2" name="hourglass-half-fill" color="#999" size="20" bind:__l="__l"></u-icon>{{'结束时间:'+(info.endDateTime?info.endDateTime:'')+''}}</view><view class="justify-between align-center data-v-beb9dc34"><view class="x-f acea-row data-v-beb9dc34"><u-icon class="icon data-v-beb9dc34" vue-id="73bfabe0-3" name="clock" color="#999" size="16" bind:__l="__l"></u-icon>{{''+$root.m0+''}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="u-border radius50 ptb8 plr18 base-color-6 data-v-beb9dc34" style="width:fit-content;" bindtap="__e">调整看课时间</view></view><u-modal vue-id="73bfabe0-4" show="{{showtime}}" title="{{titletime}}" closeOnClickOverlay="{{true}}" showCancelButton="{{true}}" data-event-opts="{{[['^confirm',[['confirmtime']]],['^close',[['e1']]],['^cancel',[['e2']]]]}}" bind:confirm="__e" bind:close="__e" bind:cancel="__e" class="data-v-beb9dc34" bind:__l="__l" vue-slots="{{['default']}}"><view class="slot-content data-v-beb9dc34"><view class="justify-start align-center data-v-beb9dc34"><view class="mr20 data-v-beb9dc34">开始时间:</view><u-input vue-id="{{('73bfabe0-5')+','+('73bfabe0-4')}}" placeholder="请选择开始时间" value="{{startTimevalue}}" data-event-opts="{{[['^focus',[['e3']]],['^input',[['__set_model',['','startTimevalue','$event',[]]]]]]}}" bind:focus="__e" bind:input="__e" class="data-v-beb9dc34" bind:__l="__l"></u-input></view><view class="justify-start align-center mt20 data-v-beb9dc34"><view class="mr20 data-v-beb9dc34">结束时间:</view><u-input vue-id="{{('73bfabe0-6')+','+('73bfabe0-4')}}" placeholder="请选择结束时间" value="{{endTimevalue}}" data-event-opts="{{[['^focus',[['e4']]],['^input',[['__set_model',['','endTimevalue','$event',[]]]]]]}}" bind:focus="__e" bind:input="__e" class="data-v-beb9dc34" bind:__l="__l"></u-input></view></view></u-modal><u-datetime-picker vue-id="73bfabe0-7" show="{{startTime}}" mode="time" value="{{value1}}" data-event-opts="{{[['^cancel',[['e5']]],['^confirm',[['confirmstart']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" class="data-v-beb9dc34" bind:__l="__l"></u-datetime-picker><u-datetime-picker vue-id="73bfabe0-8" show="{{endtime}}" mode="time" value="{{value2}}" data-event-opts="{{[['^cancel',[['e6']]],['^confirm',[['confirmend']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" class="data-v-beb9dc34" bind:__l="__l"></u-datetime-picker></view></view></view><view class="justify-start align-center ml20 data-v-beb9dc34"><view class="base-color-6 mr20 data-v-beb9dc34">所属项目</view><view class="data-v-beb9dc34">{{info.projectName}}</view></view><view class="courselist-footer x-f data-v-beb9dc34"><view data-event-opts="{{[['tap',[['handleClick']]]]}}" class="courselist-footer-item x-c data-v-beb9dc34" bindtap="__e"><u-icon vue-id="73bfabe0-9" name="share-square" color="#1677ff" size="18" class="data-v-beb9dc34" bind:__l="__l"></u-icon>分享课程</view><view data-event-opts="{{[['tap',[['handleStatistics',['$event']]]]]}}" hidden="{{!(activeTab==1)}}" class="courselist-footer-item x-c shishi data-v-beb9dc34" bindtap="__e"><u-icon vue-id="73bfabe0-10" name="share-square" color="#1677ff" size="18" class="data-v-beb9dc34" bind:__l="__l"></u-icon>课程统计</view><view data-event-opts="{{[['tap',[['handleStatistics',['$event']]]]]}}" hidden="{{!(activeTab==2)}}" class="courselist-footer-item x-c shuju data-v-beb9dc34" bindtap="__e"><u-icon vue-id="73bfabe0-11" name="share-square" color="#1677ff" size="18" class="data-v-beb9dc34" bind:__l="__l"></u-icon>数据统计</view></view><u-popup vue-id="73bfabe0-12" show="{{showShare}}" closeOnClickOverlay="{{true}}" round="{{20}}" data-event-opts="{{[['^close',[['closeShare']]],['^open',[['openShare']]]]}}" bind:close="__e" bind:open="__e" class="data-v-beb9dc34" bind:__l="__l" vue-slots="{{['default']}}"><view class="sharePop x-ac data-v-beb9dc34"><view class="sharePop-item y-f card-share data-v-beb9dc34"><image style="width:80rpx;height:80rpx;margin-top:20rpx;" src="{{imgPath+'/app/images/card_icon.png'}}" mode="aspectFill" class="data-v-beb9dc34"></image><view style="font-weight:bold;margin-bottom:4px;" class="data-v-beb9dc34">生成卡片</view><view style="font-size:12px;color:#888;" class="data-v-beb9dc34">指导分享轻松转发</view></view></view></u-popup><u-modal class="model data-v-beb9dc34" vue-id="73bfabe0-13" show="{{setTimeShow}}" content="content" closeOnClickOverlay="{{true}}" data-event-opts="{{[['^confirm',[['confirmTime']]],['^close',[['closetext']]]]}}" bind:confirm="__e" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="setTimebox data-v-beb9dc34"><view class="timetip data-v-beb9dc34">不传默认以系统参数为准</view><view class="x-f data-v-beb9dc34"><text style="margin-right:20px;" class="data-v-beb9dc34">链接有效时长(分钟)</text><u-input bind:input="__e" vue-id="{{('73bfabe0-14')+','+('73bfabe0-13')}}" fontSize="14px" placeholder="链接有效时长" border="none" maxlength="5" value="{{time}}" data-event-opts="{{[['^input',[['__set_model',['','time','$event',[]]]]]]}}" class="data-v-beb9dc34" bind:__l="__l"></u-input></view></view></u-modal><u-notify vue-id="73bfabe0-15" message data-ref="uNotify" class="data-v-beb9dc34 vue-ref" bind:__l="__l"></u-notify><u-popup style="z-index:999;" vue-id="73bfabe0-16" show="{{setImg}}" round="{{12}}" data-event-opts="{{[['^close',[['closeimg']]]]}}" bind:close="__e" class="data-v-beb9dc34" bind:__l="__l" vue-slots="{{['default']}}"><view class="w100 h540 center data-v-beb9dc34"><image src="{{codeLink.url}}" mode="aspectFill" class="data-v-beb9dc34"></image></view><view class="justify-around mb40 data-v-beb9dc34"><view data-event-opts="{{[['tap',[['downimg',['$event']]]]]}}" class="column justify-center align-center data-v-beb9dc34" bindtap="__e"><image class="w80 h80 data-v-beb9dc34" src="{{imgPath+'/app/image/downicon.png'}}"></image><view class="mb10 data-v-beb9dc34">长按图片保存</view></view></view></u-popup><u-overlay style="z-index:9999;" vue-id="73bfabe0-17" show="{{showzhidao}}" data-event-opts="{{[['^click',[['e7']]]]}}" bind:click="__e" class="data-v-beb9dc34" bind:__l="__l" vue-slots="{{['default']}}"><view class="point-box data-v-beb9dc34"><view class="imgshe data-v-beb9dc34"><image class="w300 h300 data-v-beb9dc34" src="{{imgPath+'/app/image/point.png'}}"></image></view><view class="column colorf fs32 xu-box fs40 align-center justify-center data-v-beb9dc34"><view class="justify-center data-v-beb9dc34">点击右上角<image class="w50 h50 mlr10 data-v-beb9dc34" src="{{imgPath+'/app/image/wxmore.png'}}"></image></view><view class="mt20 data-v-beb9dc34">选择 “转发给朋友”</view><view class="fs28 mt40 data-v-beb9dc34" style="color:#cbcbcb;">点击任意位置关闭弹窗</view></view></view></u-overlay></view>