appintment.wxml 5.3 KB
<!--pages/appointment/appintment.wxml-->
<import src="../../wxParse/wxParse.wxml" />
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="true" indicator-active-color='#fff'>
 <block wx:for="{{postdata.slide}}" wx:key>
  <swiper-item>
   <view class='item_img'>
    <image src="{{item.image}}" class="slide-image" />
   </view>
  </swiper-item>
 </block>
</swiper>

<view class='appintmentbox' >
 <view class='appint_item' wx:if='{{address.length==0}}' bindtap='chooseadress'>
  <view class='int_rigth'>
   <view class='int_img'>
    <image src='../imgs/aicon11@2x.png'></image>
   </view>
   <text>地址信息</text>
  </view>
  <view class='int'>
   <view class='vlue_txt'>请选择新建地址</view>
  </view>
  <view class='iconfont icon-xiangyou'></view>
 </view>
 <view class='appint_item' wx:else bindtap='chooseadress'>
  <view class='address_box'>
   <view class='additem'>
    <view class='int_rigth'>
     <view class='int_img'>
      <image src='../imgs/aicon15@2x.png'></image>
     </view>
     <text>{{address.userName}}</text>
    </view>
    <view class='int_rigth tel_box'>
     <view class='int_img tel_img'>
      <image src='../imgs/aicon16@2x.png'></image>
     </view>
     <text>{{address.telNumber}}</text>
    </view>
   </view>
   <view class='address'>
    <view class='addresint'>
   <view class='int_img'>
    <image src='../imgs/aicon11@2x.png'></image>
   </view>
   <text>{{address.cityName}}{{address.countyName}}{{address.detailInfo}}</text>
  </view>
   </view>
  </view>


  <view class='iconfont icon-xiangyou'></view>
 </view>
 <view class='info_box'>
  <view class='int_title'>
   <view>预约信息</view>
   <view>
    <view class='txt_box' bindtap='setshowstate' data-showstate='2'>
     <text class='nimi_txt'>预约须知</text>
     <text class='iconfont icon-jinggao'></text>
    </view>
   </view>
  </view>
 </view>
 <picker mode='date' bindchange="bindDateChange" start='{{nowdate}}' end='{{enddate}}'>
  <view class='appint_item'>
   <view class='int_rigth'>
    <view class='int_img'>
     <image src='../imgs/icon_rl.png'></image>
    </view>
    <text>预约日期</text>
   </view>
   <view class='int'>
    <view class='vlue_txt'>{{choosedate}}</view>
   </view>
  </view>
 </picker>
 <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  <view class='appint_item'>
   <view class='int_rigth'>
    <view class='int_img'>
     <image src='../imgs/aicon12@2x.png'></image>
    </view>
    <text>预约重量</text>
   </view>
   <view class='int'>
    <view class='vlue_txt'>
     <!-- <input placeholder-class='input_p' placeholder='请预估衣服重量' bindinput='setweight' type='digit'></input> -->
     {{arraytxt}}
    </view>
    <view class='txt_box' bindtap='setshowstate' data-showstate='1'>
     <text class='nimi_txt'>打包说明</text>
     <text class='iconfont icon-jinggao'></text>
    </view>
   </view>
  </view>
  </picker>
 <view class='appint_item'>
  <view class='int_rigth'>
   <view class='int_img'>
    <image src='../imgs/aicon13@2x.png'></image>
   </view>
   <text>备 注</text>
  </view>
  <view class='int'>
   <view class='vlue_txt input_txt'>
    <input placeholder-class='input_p' placeholder='请输入(限制在45字以内)' bindinput='setremark' 
    value='{{remark}}'></input>
   </view>
  </view>
 </view>
</view>
<view class='tranpost'>
 <view class='tranpost_item'>
  <view>委托快递</view>
  <view class="{{ifexp?'':'gry'}}">{{ifexp?postdata.logistics.logistics_name:'暂无快速'}}</view>
 </view>
 <view class='tranpost_item'>
  <view>运费支付</view>
  <view class="{{ifexp?'':'gry'}}">{{ifexp?'象和家':'暂无'}}</view>
 </view>
 <view class='tranpost_item'>
  <view>开通情况</view>
  <view>{{city}}【
   <text class="txt-green {{ifexp?'':'gry'}}">{{ifexp?'已':'未'}}开通</text>】</view>
 </view>
 <view class='tranpost_item'>
  <view>处置方式</view>
  <view>环保+公益+出口
   <text class='iconfont icon-xiangyou'></text>
  </view>
 </view>
</view>
<view class="int_btn {{ifexp?'':'gry_btn'}}" bindtap='submit'>确认提交</view>

<!-- 弹框打包说明 -->
<view class="mold " wx:if='{{showstate==1}}' bindtap='setshowstateno'>
 <view class="mold_main {{showstate==1?'Augly-bounceinR':'Augly-fadeoutR'}}">
  <view class='mold_titlebox'> 打包说明 </view>
  <view class='mold_content'>
  <template is='wxParse' data='{{wxParseData:content2.nodes}}' />
  </view>
  <view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
 </view>
</view>
<!-- 弹框预约说明 -->
<view class="mold  " wx:if='{{showstate==2}}' bindtap='setshowstateno'>
 <view class="mold_main {{showstate==2?'Augly-bounceinR':'Augly-fadeoutR'}}">
  <view class='mold_titlebox'> 预约须知 </view>
  <view class='mold_content'>
   <template is='wxParse' data='{{wxParseData:content1.nodes}}' />
  </view>
  <view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
 </view>
</view>
<!-- 弹框开通说明 -->
<view class="mold " wx:if='{{showstate==3}}' bindtap='setshowstateno'>
 <view class="mold_main {{showstate==3?'Augly-bounceinR':'Augly-fadeoutR'}}" >
  <view class='mold_titlebox'> 开通说明 </view>
  <view class='mold_content'>
  <template is='wxParse' data='{{wxParseData:content3.nodes}}' />
  </view>
  <view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
 </view>
</view>