forked from nsjcy/frontEnd/nsjcy

liuwh
2020-04-27 4e44bc1fd7806a6c1611302120882b91d96640b5
SunshineLnsMinApp/pages/fzpxInfo/fzpxInfo.wxml
@@ -2,7 +2,7 @@
<view class="fzpxInfo-bg" wx:if="{{!loading}}">
  <view class="flex1">
    <swiper class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
      <swiper-item wx:for="{{activity.attList}}" wx:key>
      <swiper-item wx:for="{{topattList}}" wx:key>
        <image src="{{item.imgPath}}" mode="aspectFill"></image>
        <!-- <video src="{{item.url}}" autoplay loop muted show-play-btn="{{false}}" controls="{{false}}" objectFit="cover" wx:if="{{item.type=='video'}}"></video> -->
      </swiper-item>
@@ -30,13 +30,40 @@
        </view>
      </view>
      <view class="fzpxInfo-main-group">
        <view class="fzpxInfo-main-group-title">培训对象</view>
        <view class="fzpxInfo-main-group-title">报名要求</view>
        <view class="fzpxInfo-main-group-around">{{activity.requirement}}</view>
      </view>
      <view class="fzpxInfo-main-group">
        <view class="fzpxInfo-main-group-title">培训进程</view>
        <view class="fzpxInfo-main-group-around">
          <rich-text nodes="{{activity.course||'暂无'}}"></rich-text>
        </view>
      </view>
      <view class="fzpxInfo-main-group" style="display:block;padding: 10rpx 30rpx;">
        <view class="fzpxInfo-main-group-title">培训内容</view>
        <view>
          <view class="fzpxInfo-main-group-around">{{activity.activityDesc}}</view>
        </view>
      </view>
      <view class="fzpxInfo-main-group" wx:if="{{statequeId&&signStatus !=='2'}}" data-id="{{statequeId}}" data-queStatus="{{activity.queStatus}}" bindtap="businessSchedule">
        <view class="fzpxInfo-main-group-title">问卷调查</view>
        <view style="display: flex; line-height:48rpx;">
          <image class="index-pane-icon " src="{{user}} " />
        </view>
      </view>
      <view wx:if="{{activity.result}}" class="fzpxInfo-main-group">
        <view class="fzpxInfo-main-group-title">培训结果</view>
        <view class="fzpxInfo-main-group-around">{{activity.result}}</view>
      </view>
      <view wx:if="{{activity.result}}" class="fzpxInfo-main-group">
        <view class="fzpxInfo-main-group-title">培训材料</view>
        <view class="fzpxInfo-main-group-around" style="display:flex;flex-wrap: wrap">
          <view class="educt_hasupload_pic" wx:for="{{bottomattList}}" wx:key="index">
            <image src="{{item.imgPath}}" class="upload"></image>
          </view>
        </view>
      </view>
    </view>
@@ -62,20 +89,34 @@
  </view>
  <view class="fzpxInfo-foot margin-top">
    <!-- <view class="fzpxInfo-foot-title">报名须知</view>
    <view wx:if="{{signStatus}}">
      <view wx:if="{{signStatus == 2}}">
        <view class="fzpxInfo-foot-button bg-grey" bindtap='sign'>签到</view>
      </view>
      <view wx:else>
        <view class="fzpxInfo-foot-button bg-grey" bindtap='goBack'>返回</view>
      </view>
    </view>
    <view wx:else>
      <!-- <view class="fzpxInfo-foot-title">报名须知</view>
    <view class="fzpxInfo-foot-txt">请确认所有参赛人员的排列顺序。相关信息会在参赛证件、参赛证明、获取证书等重要比赛文件中提现。</view>
    <view class="fzpxInfo-foot-txt">由于参赛队信息填报原因产生的任何错误,在相关文件完成制作后一律不予修改;</view> -->
    <view wx:if="{{flag == 'false'}}">
      <view class="fzpxInfo-foot-button bg-grey">您已报名</view>
    </view>
    <view wx:if="{{flag == 'true'}}">
      <view wx:if="{{flag == 'false'}}">
        <view class="fzpxInfo-foot-button bg-grey">您已报名</view>
      </view>
      <view wx:if="{{flag == 'true'}}">
      <view class="fzpxInfo-foot-button bg-blue" wx:if="{{activity.activityStatus == 1}}" bindtap='submit'>我要报名</view>
      <view class="fzpxInfo-foot-button bg-blue" wx:elif="{{activity.activityStatus == 2}}">活动正在进行</view>
      <view class="fzpxInfo-foot-button bg-grey" wx:elif="{{activity.activityStatus == 3}}">活动已结束</view>
      <view class="fzpxInfo-foot-button bg-grey" wx:else>报名人数已满</view>
        <view class="fzpxInfo-foot-button bg-blue" wx:if="{{activity.activityStatus == 1}}" bindtap='submit'>我要报名</view>
        <view class="fzpxInfo-foot-button bg-blue" wx:elif="{{activity.activityStatus == 2}}">活动正在进行</view>
        <view class="fzpxInfo-foot-button bg-grey" wx:elif="{{activity.activityStatus == 3}}">活动已结束</view>
        <view class="fzpxInfo-foot-button bg-grey" wx:else>报名人数已满</view>
      </view>
    </view>
    <view>
    </view>