appintment.wxml 6.1 KB
<!--pages/appointment/appintment.wxml-->
<import src="../template/template.wxml"></import>
<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='https://wxapp.xianghejia.cn/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='https://wxapp.xianghejia.cn/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='https://wxapp.xianghejia.cn/imgs/aicon16@2x.png'></image>
     </view>
     <text>{{address.telNumber}}</text>
    </view>
   </view>
   <view class='address'>
    <view class='addresint'>
   <view class='int_img'>
    <image src='https://wxapp.xianghejia.cn/imgs/aicon11@2x.png'></image>
   </view>
   <view class='additem_txt'>{{address.cityName}}{{address.countyName}}{{address.detailInfo}}</view>
  </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='https://wxapp.xianghejia.cn/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 app_picker'>
   <view class='int_rigth'>
    <view class='int_img'>
     <image src='https://wxapp.xianghejia.cn/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>
   <view class='txt_box' catchtap='setshowstate' data-showstate='1'>
     <text class='nimi_txt'>打包说明</text>
     <text class='iconfont icon-jinggao'></text>
    </view>
  </view>
 </picker>
 <view class='appint_item app_bottom'>
  <view class='int_rigth'>
   <view class='int_img'>
    <image src='https://wxapp.xianghejia.cn/imgs/aicon13@2x.png'></image>
   </view>
   <text>备 注</text>
  </view>
  <view class='int'>
   <view class='vlue_txt input_txt'>
    <textarea placeholder-class='input_p' maxlength='45' placeholder='请输入(限制在45字以内)' bindinput='setremark' 
    value='{{remark}}' wx:if='{{showstate==""}}'></textarea>
   
   </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}}{{district}}【
   <text class="txt-green {{ifexp?'':'gry'}}" catchtap='setshowstate' data-showstate='3'>{{ifexp?'已':'未'}}开启</text>】</view>
 </view>
 <navigator class='tranpost_item' url='/pages/img_text/img_text?state=12' hover-class="other-navigator-hover ">
  <view>处置方式</view>
  <view>环保+公益+出口
   <text class='iconfont icon-xiangyou'></text>
  </view>
 </navigator>
</view>
<form bindsubmit="{{ifexp &&(is_mobile==1)?'submit':''}}"  report-submit='true'>
<view class="int_btn {{ifexp?'':'gry_btn'}}" bindtap="">
<button  bindgetphonenumber="getPhoneNumber" open-type="getPhoneNumber" 
 wx:if='{{ifexp &&(is_mobile==0)}}' ></button>
<button   form-type="submit" wx:if='{{ifexp &&(is_mobile==1)}}' ></button>
确认提交
</view>
</form>

<!-- 弹框打包说明 -->
<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>
<template is="callback" data='{{showlocation}}'></template>