caseDetail.wxml 4.2 KB
<!--pages/caseDetail/caseDetail.wxml-->
<view class='case_detail_page'>
    <view class='case_detail_top'>
        <view class='case_detail_banner'>
            <swiper autoplay="{{false}}" interval="2000" duration="500" circular="{{true}}" bindchange="swiperChange">
              <block wx:for="{{imgUrls}}" wx:key="index">
                <swiper-item>
                  <!-- <navigator url="{{item.url}}" hover-class="navigator-hover">  bindpause="clickStop"-->
                    <view class="index_top">
                        <block wx:if="{{item.type == 'video'}}" >
                            <!-- <view wx:if="{{isPlay}}"  class="video-box" catchtap="play"> -->
                                <video src="{{item.url}}" wx:if="{{item.type == 'video'}}" class="slide-image" autoplay="{{false}}"
                                    controls="{{true}}"></video>
                            <!-- </view> -->
                            <!-- <view wx:else  class="video-box {{item.video_img!==''?'position-re':''}}" catchtap="play"> -->
                            <!-- <block wx:if="{{item.video_img !== ''}}">
                                <image src="{{item.video_img}}"
                                    class="slide-image fmImg" mode="aspectFill">
                                </image>
                                <image src='{{baseImgUrl}}/video_btn.png' class="video_btn {{item.video_img!==''?'position-ab':''}}"></image>
                           
                            </block>
                            <block wx:else>
                                <view class="iconfont icon-ziyuan"></view>
                            </block> -->
                            <!-- </view> -->
                        </block>
                        <block wx:else>
                            <image src="{{item.url}}" wx:if="{{item.type == 'image'}}" bindtap='previewImage' class="slide-image banner" mode="aspectFill"/>
                        </block>
                    </view>
                  <!-- </navigator> -->
                </swiper-item>
              </block>
            </swiper>
            <view class='dots_box'>
                <view class="dots">
                    <block wx:for="{{imgUrls}}" wx:key="">
                        <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
                    </block>
                </view>
            </view>
        </view>
        <view class='case_info'>
            <view class='case_title'>{{data.title}}</view>
            <view class='lable_list_box'>
                <view class='lable_list' wx:for="{{data.label}}" wx:key="index">{{item.name}}</view>
            </view>
        </view>
    </view>
    <view class='case_info_lists'>
        <view class='case_info_title'>
            <view data-id='0' class="info_title_list {{listStatus == 0 ? ' now' : ''}}" bindtap='toggleFun'>
                项目简介
                <view class='line'></view>
            </view>
            <view data-id='1' class="info_title_list {{listStatus == 1 ? ' now' : ''}}" bindtap='toggleFun'>
                实施与应用
                <view class='line'></view>
            </view>
        </view>
        <view class='info_box'>
            <view class='info_list' wx:if="{{listStatus==0}}">
                <import src="../../wxParse/wxParse.wxml"/>
                <template is="wxParse" data="{{wxParseData:content_1.nodes}}"/>
                 <!-- <image src="{{baseImgUrl}}/jianjie.png" mode='widthFix'></image>  -->
            </view>
             <view class='info_list' wx:else>
                <import src="../../wxParse/wxParse.wxml"/>
                <template is="wxParse" data="{{wxParseData:content_2.nodes}}"/>
                <!-- <image src="{{baseImgUrl}}/shishi.png" mode='widthFix'></image> -->
            </view> 
        </view>
    </view>
    <!--  客服  -->
    <view class='chat_peo'>
        <button open-type="contact" class='contacButton'>
            <image src='{{baseImgUrl}}/chat_peo.png'></image>
        </button>
    </view>
    <!--  返回顶部  -->
    <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" >
        <image src='{{baseImgUrl}}/dingbu.png'></image>
    </view>
</view>