12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!--index.wxml-->
- <view class="top">
- <view class="logo">
- <image src="../../images/logo.png" ></image>
- <view>巴中逸沣安全培训</view>
- <text>BA ZHONG YIFENG SAFETY TRAINING</text>
- </view>
- <view wx:if="{{data.length>0}}" class="marquee_container" style="--marqueeWidth--:-12em">
- <view class="zd"></view>
- <image src="../../images/tt.png" mode="widthFix"></image>
- <view class="marquee_text">
- <navigator url="../intro/intro?id={{item.id}}&type=1" wx:for="{{news}}">{{item.title}}</navigator>
- </view>
- </view>
- <block wx:for="{{data}}" wx:key='*this'>
- <navigator class="part" wx:if="{{item.type == 'nav'}}" open-type="{{item.name == '在线报名'?'switchTab':'navigate'}}" url="..{{item.path}}">
- <view>{{item.name}}</view>
- <text>{{item.name}}</text>
- <image src="{{item.icon}}" mode="widthFix"></image>
- </navigator>
- </block>
- <!-- <navigator open-type="switchTab" class="part">
- <view>机构介绍</view>
- <text>机构介绍</text>
- <image src="../../images/机构介绍.png" mode="widthFix"></image>
- </navigator>
- <navigator url="../apply/apply" open-type="switchTab" class="part">
- <view>在线报名</view>
- <text>在线报名</text>
- <image src="../../images/在线报名.png" mode="widthFix"></image>
- </navigator>
- <navigator class="part">
- <view>考场介绍</view>
- <text>考场介绍</text>
- <image src="../../images/考场介绍.png" mode="widthFix"></image>
- </navigator>
- <navigator class="part" url="../online/online" >
- <view>在线培训</view>
- <text>在线培训</text>
- <image src="../../images/在线培训.png" mode="widthFix"></image>
- </navigator>
- <navigator url="../plan/plan" class="part">
- <view>培训计划</view>
- <text>培训计划</text>
- <image src="../../images/培训计划.png" mode="widthFix"></image>
- </navigator>
- <navigator class="part">
- <view>联系我们</view>
- <text>联系我们</text>
- <image src="../../images/联系我们.png" mode="widthFix"></image>
- </navigator> -->
- <!-- <view class="news"> -->
- <!-- <image src="../../images/tt.png" mode="widthFix"></image>
- <text wx:for="{{news}}">{{item}}</text> -->
- <!-- </view> -->
- </view>
- <view class="bottom">
- <view class="tab">
- <text wx:for="{{data}}" wx:key='*this' wx:if="{{item.type=='article'}}" bindtap='tabchange'
- data-id='{{index}}' class="{{act==index ? 'active':''}}">{{item.name}}</text>
- <!-- <text bindtap='tabchange' data-id='1' class="{{act==1 ? 'active':''}}">咨询文章</text> -->
- <!-- <text bindtap='tabchange' data-id='2' class="{{act==2 ? 'active':''}}">咨询文章</text> -->
- </view>
- <view wx:for="{{data}}" wx:key='*this' wx:if="{{item.type=='article' && act == index}}" class="article">
- <navigator url="../intro/intro?id={{list.id}}&type=1" class="list" wx:for="{{item.list}}" wx:for-item="list" wx:key='*this'>
- <view>{{list.title}}</view>
- <text>{{list.ctime}}</text>
- </navigator>
- </view>
- </view>
- <view class="login" wx:if='{{show}}'>
- <view>
- <view>
- <image src="../../images/logo.png" mode="widthFix"></image>
- <text class="slogen">巴中逸沣安全培训</text>
- </view>
- <text class="xx">申请获取您的用户信息(头像、昵称等)</text>
- <button bindgetuserinfo="onGotUserInfo" open-type="getUserInfo">确定</button>
- </view>
- </view>
|