fix:修复设备详情页显示bug
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
<view class="container data-v-45fad95c"><view class="device-header data-v-45fad95c"><view class="{{['device-status-card', 'data-v-45fad95c', b]}}"><view class="status-indicator data-v-45fad95c"></view><text class="status-text data-v-45fad95c">{{a}}</text></view><view class="device-title data-v-45fad95c"><text class="name data-v-45fad95c">共享风扇</text><view class="device-meta data-v-45fad95c"><text class="id-label data-v-45fad95c">设备号:</text><text class="id-value data-v-45fad95c">{{c}}</text></view></view></view><view class="card device-info-card data-v-45fad95c"><view class="card-row data-v-45fad95c"><view class="card-item data-v-45fad95c"><view class="item-icon location-icon data-v-45fad95c"><image class="data-v-45fad95c" src="{{d}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-45fad95c"><text class="item-label data-v-45fad95c">当前位置</text><text class="item-value data-v-45fad95c">{{e}}</text></view></view><view class="card-item data-v-45fad95c"><view class="{{['item-icon', 'battery-icon', 'data-v-45fad95c', g && 'battery-low']}}"><image class="data-v-45fad95c" src="{{f}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-45fad95c"><text class="item-label data-v-45fad95c">电池电量</text><text class="item-value data-v-45fad95c">{{h}}%</text></view></view></view></view><view class="card pricing-card data-v-45fad95c"><view class="card-header data-v-45fad95c"><text class="card-title data-v-45fad95c">计费规则</text></view><view class="pricing-banner data-v-45fad95c"><view class="pricing-main data-v-45fad95c"><text class="price data-v-45fad95c">¥{{i}}</text><text class="unit data-v-45fad95c">/小时</text></view><text class="cap-price data-v-45fad95c">封顶 ¥{{j}}</text></view><view class="pricing-rules data-v-45fad95c"><view class="rule-item data-v-45fad95c"><view class="rule-dot data-v-45fad95c"></view><text class="rule-text data-v-45fad95c">不足60分钟按60分钟计费</text></view><view class="rule-item data-v-45fad95c"><view class="rule-dot data-v-45fad95c"></view><text class="rule-text data-v-45fad95c">持续计费至99元视为买断</text></view></view></view><view class="card notice-card data-v-45fad95c"><view class="card-header data-v-45fad95c"><text class="card-title data-v-45fad95c">使用须知</text></view><view class="notice-items data-v-45fad95c"><view class="notice-item data-v-45fad95c"><view class="notice-dot data-v-45fad95c"></view><text class="notice-text data-v-45fad95c">请在使用前检查设备是否完好</text></view><view class="notice-item data-v-45fad95c"><view class="notice-dot data-v-45fad95c"></view><text class="notice-text data-v-45fad95c">请在指定区域内使用设备</text></view><view class="notice-item data-v-45fad95c"><view class="notice-dot data-v-45fad95c"></view><text class="notice-text data-v-45fad95c">归还时请确保设备完好,避免损坏</text></view></view></view><view class="footer data-v-45fad95c"><button class="{{['rent-button', 'data-v-45fad95c', l && 'return-button']}}" bindtap="{{m}}"><text class="data-v-45fad95c">{{k}}</text></button><view class="wechat-credit data-v-45fad95c"><image src="{{n}}" mode="aspectFit" class="wx-icon data-v-45fad95c"></image><view class="credit-text data-v-45fad95c"><text class="data-v-45fad95c">微信支付分</text><text class="credit-divider data-v-45fad95c">|</text><text class="credit-score data-v-45fad95c">550分及以上优享</text></view></view></view><view wx:if="{{o}}" class="phone-auth-popup data-v-45fad95c"><view class="popup-mask data-v-45fad95c" catchtap="{{p}}"></view><view class="popup-content data-v-45fad95c"><view class="popup-header data-v-45fad95c"><text class="popup-title data-v-45fad95c">授权获取手机号</text></view><view class="popup-body data-v-45fad95c"><view class="auth-desc data-v-45fad95c"><text class="data-v-45fad95c">为了提供更好的服务,需要授权获取您的手机号</text></view><button class="auth-btn data-v-45fad95c" open-type="getPhoneNumber" bindgetphonenumber="{{q}}"> 一键获取手机号 </button><view class="auth-cancel data-v-45fad95c" bindtap="{{r}}"><text class="data-v-45fad95c">暂不授权</text></view></view></view></view></view>
|
||||
<view class="container data-v-44067fec"><view class="device-header data-v-44067fec"><view class="{{['device-status-card', 'data-v-44067fec', b]}}"><view class="status-indicator data-v-44067fec"></view><text class="status-text data-v-44067fec">{{a}}</text></view><view class="device-title data-v-44067fec"><text class="name data-v-44067fec">共享风扇</text><view class="device-meta data-v-44067fec"><text class="id-label data-v-44067fec">设备号:</text><text class="id-value data-v-44067fec">{{c}}</text></view></view></view><view class="card device-info-card data-v-44067fec"><view class="card-row data-v-44067fec"><view class="card-item data-v-44067fec"><view class="item-icon location-icon data-v-44067fec"><image class="data-v-44067fec" src="{{d}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-44067fec"><text class="item-label data-v-44067fec">当前位置</text><text class="item-value data-v-44067fec">{{e}}</text></view></view><view class="card-item data-v-44067fec"><view class="{{['item-icon', 'battery-icon', 'data-v-44067fec', g && 'battery-low']}}"><image class="data-v-44067fec" src="{{f}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-44067fec"><text class="item-label data-v-44067fec">电池电量</text><text class="item-value data-v-44067fec">{{h}}%</text></view></view></view></view><view class="card pricing-card data-v-44067fec"><view class="card-header data-v-44067fec"><text class="card-title data-v-44067fec">计费规则</text></view><view class="pricing-banner data-v-44067fec"><view class="pricing-main data-v-44067fec"><text class="price data-v-44067fec">¥{{i}}</text><text class="unit data-v-44067fec">/小时</text></view><text class="cap-price data-v-44067fec">封顶 ¥{{j}}</text></view><view class="pricing-rules data-v-44067fec"><view wx:for="{{k}}" wx:for-item="rule" wx:key="b" class="rule-item data-v-44067fec"><view class="rule-dot data-v-44067fec"></view><text class="rule-text data-v-44067fec">{{rule.a}}</text></view></view></view><view class="card notice-card data-v-44067fec"><view class="card-header data-v-44067fec"><text class="card-title data-v-44067fec">使用须知</text></view><view class="notice-items data-v-44067fec"><view wx:for="{{l}}" wx:for-item="notice" wx:key="b" class="notice-item data-v-44067fec"><view class="notice-dot data-v-44067fec"></view><text class="notice-text data-v-44067fec">{{notice.a}}</text></view></view></view><view class="footer data-v-44067fec"><button class="{{['rent-button', 'data-v-44067fec', n && 'return-button']}}" bindtap="{{o}}"><text class="data-v-44067fec">{{m}}</text></button><view class="wechat-credit data-v-44067fec"><image src="{{p}}" mode="aspectFit" class="wx-icon data-v-44067fec"></image><view class="credit-text data-v-44067fec"><text class="data-v-44067fec">微信支付分</text><text class="credit-divider data-v-44067fec">|</text><text class="credit-score data-v-44067fec">550分及以上优享</text></view></view></view><view wx:if="{{q}}" class="phone-auth-popup data-v-44067fec"><view class="popup-mask data-v-44067fec" catchtap="{{r}}"></view><view class="popup-content data-v-44067fec"><view class="popup-header data-v-44067fec"><text class="popup-title data-v-44067fec">授权获取手机号</text></view><view class="popup-body data-v-44067fec"><view class="auth-desc data-v-44067fec"><text class="data-v-44067fec">为了提供更好的服务,需要授权获取您的手机号</text></view><button class="auth-btn data-v-44067fec" open-type="getPhoneNumber" bindgetphonenumber="{{s}}"> 一键获取手机号 </button><view class="auth-cancel data-v-44067fec" bindtap="{{t}}"><text class="data-v-44067fec">暂不授权</text></view></view></view></view></view>
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user