租房掌柜微信小程序Api以及小程序前端模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

103 lines
3.2 KiB

<cu-custom bgColor="bg-blue" isCustom="{{true}}">
<view slot="backText">返回</view>
<view slot="content">子房间详情</view>
</cu-custom>
<view class="cu-bar bg-white solid-bottom">
<view class='action'>
<text class='cuIcon-titles text-orange '></text> 基础信息
</view>
</view>
<view class="bg-white padding-lr">
<view class="grid col-2">
<view class="padding-sm">
子房间编号:
<label class="text-gray">{{data.room.room_number}}</label>
</view>
<view class="padding-sm">
租金:
<label class="text-gray">{{data.room.rent}}元/月</label>
</view>
<view class="padding-sm">
物业费:
<label class="text-gray">{{data.room.property_fee}}元/月</label>
</view>
<view class="padding-sm">
钥匙押金:
<label class="text-gray">{{data.room.key_deposit}}元/月</label>
</view>
<view class="padding-sm">
宽带费:
<label class="text-gray">{{data.room.broadband_fee}}元/月</label>
</view>
<view class="padding-sm">
面积:
<label class="text-gray">{{data.room.measure}}㎡</label>
</view>
<view class="padding-sm">
开始时间:
<label class="text-gray">{{data.room.start_time}}</label>
</view>
<view class="padding-sm">
到期时间:
<label class="text-gray">{{data.room.end_time}}</label>
</view>
<view class="padding-sm">
收租方式:
<label class="text-gray">{{rent_type[data.room.rent_type]}}</label>
</view>
</view>
<view class="grid col-1 ">
<view class="padding-sm">
房间说明:
<label class="text-gray">{{data.room.notes}}</label>
</view>
</view>
<view class="grid col-1 ">
<view class="padding-sm text-red">
收入总计:
<label class="text-gray">{{data.room.orderAmount}}元</label>
</view>
</view>
</view>
<view class="cu-bar bg-white solid-bottom">
<view class='action'>
<text class='cuIcon-titles text-green'></text> 租户列表
</view>
</view>
<view class="cu-card article">
<view class="cu-item shadow solid-bottom" wx:for="{{data.tenant_list}}">
<view class="content">
<view class="desc">
<view>
<navigator url="{{tenantUrl}}?id={{item.id}}&phone={{item.phone}}&room_id={{data.room.id}}">
<view class="light sm fl">{{item.name}} / {{item.sex}}</view>
</navigator>
<view class="text-green cuIcon-dianhua fr" bindtap="phoneCall" data-phone="{{item.phone}}">
{{item.phone}}
</view>
</view>
</view>
</view>
</view>
</view>
<view class="cu-tabbar-height"></view>
<view class="cu-bar tabbar bg-white foot">
<navigator url="/pages/house/room/add?id={{id}}" class="action text-blue">
<view class="cuIcon-edit"></view>修改
</navigator>
<view class="action text-gray add-action">
<navigator url="/pages/tenant/list/add?room_id={{id}}&rent_type={{data.room.rent_type}}" class="cu-btn cuIcon-add bg-green shadow"></navigator>
增加租户
</view>
<view class="action text-gray">
<view class="action text-red" bindtap="delRoom">
<view class="cuIcon-deletefill"></view>删除
</view>
</view>
</view>