1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!--pages/recordPages/sfzyYyjl/sfzyYyjl.wxml-->
- <scroll-view class="containers" scroll-y="{{true}}">
- <view class="tips {{infos.status == 1?'tipsWarning':infos.status == 2?'tipsSuccess':infos.status == 3?'tipsError':''}}">{{infos.status == 1?'待办理':infos.status == 2?'已办理':infos.status == 3?'爽约':'取消预约'}}</view>
- <view class="infosBox">
- <view class="item">
- <view class="label">预约日期</view>
- <view class="value">{{tools.date(infos.jssj)}}</view>
- </view>
- <view class="item">
- <view class="label">预约时段</view>
- <view class="value">{{tools.time(infos.yysd)}}</view>
- </view>
- <view class="item">
- <view class="label">预约大厅</view>
- <view class="value">{{infos.yydt}}</view>
- </view>
- <view class="item">
- <view class="label">大厅地址</view>
- <view class="value">{{infos.dtdz}}</view>
- </view>
- <view class="item">
- <view class="label"><text>调节室具\n体位置</text></view>
- <view class="value">{{infos.jtdz}}</view>
- </view>
- <view class="item">
- <view class="label">咨询电话</view>
- <view class="value"><view class="phone" data-phone="{{infos.zxsjhm}}" bind:tap="call">{{infos.zxsjhm}}</view></view>
- </view>
- </view>
- <view class="infosBox infosBox1">
- <view class="item">
- <view class="label">我的诉求</view>
- <view class="value">{{infos.wdsq}}</view>
- </view>
- </view>
- <view wx:if="{{infos.status == 10}}" class="button" hover-class="active" bind:tap="brush">已完成调节</view>
- <view wx:if="{{infos.status == 1}}" class="button button1" hover-class="active" bind:tap="cancle">取消预约</view>
- </scroll-view>
- <wxs module="tools">
- var date = function (e) {
- if (e) {
- return e.substring(0, 10)
- } else {
- return ""
- }
- }
- var time = function (e) {
- if (e) {
- return e.substring(12, 22)
- } else {
- return ""
- }
- }
- var tools = {
- date: date,
- time: time
- }
- module.exports = tools;
- </wxs>
|