style:设备详情页采用动态设备数据
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
export const URL = "https://my.gxfs123.com/api" //正式服务器
|
||||
// export const URL = "https://unifans.gxfs123.com/api" //测试服务器
|
||||
// export const URL = "http://192.168.10.16:8080" //本地调试
|
||||
// export const URL = "http://192.168.10.31:8080" //本地调试
|
||||
|
||||
export const appid = "wx2165f0be356ae7a9" //小程序appid
|
||||
+26
-22
@@ -50,10 +50,10 @@
|
||||
|
||||
<view class="pricing-banner">
|
||||
<view class="pricing-main">
|
||||
<text class="price">¥5.00</text>
|
||||
<text class="price">¥{{deviceFeeConfig.maxHourPrice}}</text>
|
||||
<text class="unit">/小时</text>
|
||||
</view>
|
||||
<text class="cap-price">封顶 ¥99</text>
|
||||
<text class="cap-price">封顶 ¥{{deviceInfo.depositAmount}}</text>
|
||||
</view>
|
||||
|
||||
<view class="pricing-rules">
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
<!-- 底部操作区 -->
|
||||
<view class="footer">
|
||||
|
||||
|
||||
|
||||
<button class="rent-button" :class="{ 'return-button': hasActiveOrder }"
|
||||
@click="handleRent('wx-score-pay')">
|
||||
@@ -123,11 +123,11 @@
|
||||
<text class="credit-score">550分及以上优享</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="" style="align-items: center;align-content: center;text-align: center;line-height: 50rpx;"
|
||||
<!-- <view class="" style="align-items: center;align-content: center;text-align: center;line-height: 50rpx;"
|
||||
@click="handleRent('wx-pay')">
|
||||
无法免押点这里></view>
|
||||
无法免押点这里></view> -->
|
||||
</view>
|
||||
|
||||
|
||||
<!-- 手机号授权弹窗 -->
|
||||
<view class="phone-auth-popup" v-if="showPhoneAuthPopup">
|
||||
<view class="popup-mask" @click.stop></view>
|
||||
@@ -181,6 +181,7 @@
|
||||
// 响应式状态
|
||||
const deviceInfo = ref({})
|
||||
const deviceId = ref('')
|
||||
const deviceFeeConfig = ref({})
|
||||
const deviceLocation = ref('一号教学楼大厅')
|
||||
const batteryLevel = ref(95)
|
||||
const hasActiveOrder = ref(false)
|
||||
@@ -191,7 +192,7 @@
|
||||
const isLoggedIn = ref(true)
|
||||
const phoneNumber = ref('')
|
||||
const showPhoneAuthPopup = ref(false)
|
||||
|
||||
|
||||
// 生命周期 onLoad 钩子
|
||||
onLoad((options) => {
|
||||
deviceId.value = options.deviceNo
|
||||
@@ -199,16 +200,16 @@
|
||||
console.log(options.deviceNo)
|
||||
fetchDeviceInfo()
|
||||
})
|
||||
|
||||
onMounted(()=>{
|
||||
|
||||
onMounted(() => {
|
||||
checkUserPhone()
|
||||
})
|
||||
|
||||
|
||||
const checkUserPhone = async () => {
|
||||
try {
|
||||
const userInfoRes = await getUserInfo()
|
||||
console.log(userInfoRes.data.phone, 'getUserInfoPhone')
|
||||
|
||||
|
||||
if (userInfoRes.code == 200 && userInfoRes.data && userInfoRes.data.phone) {
|
||||
phoneNumber.value = userInfoRes.data.phone
|
||||
} else {
|
||||
@@ -219,11 +220,11 @@
|
||||
console.error('获取用户信息失败:', error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 处理获取手机号
|
||||
const onGetPhoneNumber = (e) => {
|
||||
console.log('getPhoneNumber event:', e.detail)
|
||||
|
||||
|
||||
// 用户拒绝授权的情况
|
||||
if (e.detail.errMsg && e.detail.errMsg.includes('deny')) {
|
||||
uni.showToast({
|
||||
@@ -232,22 +233,22 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
// 获取到授权code
|
||||
if (e.detail.code) {
|
||||
uni.showLoading({
|
||||
title: '获取中...'
|
||||
})
|
||||
|
||||
|
||||
console.log('获取到的授权code:', e.detail.code)
|
||||
|
||||
|
||||
// 添加 try-catch 以捕获任何 Promise 外部的错误
|
||||
try {
|
||||
getUserPhoneNumber(e.detail.code)
|
||||
.then(res => {
|
||||
console.log('获取手机号API响应原始数据:', JSON.stringify(res))
|
||||
uni.hideLoading()
|
||||
|
||||
|
||||
// 不立即抛出错误,而是记录问题并继续处理
|
||||
if (!res) {
|
||||
console.error('API返回数据为空')
|
||||
@@ -258,15 +259,15 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
// 检查响应格式
|
||||
console.log('响应code:', res.code, '响应类型:', typeof res.code)
|
||||
console.log('是否有data:', !!res.data, '是否有phone:', res.data && !!res.data.phone)
|
||||
|
||||
|
||||
if (res.code == 200 && res.data && res.data.phoneNumber) {
|
||||
phoneNumber.value = res.data.phoneNumber
|
||||
showPhoneAuthPopup.value = false
|
||||
|
||||
|
||||
uni.showToast({
|
||||
title: '手机号获取成功',
|
||||
icon: 'success'
|
||||
@@ -284,7 +285,7 @@
|
||||
.catch(err => {
|
||||
uni.hideLoading()
|
||||
console.error('获取手机号码失败(catch):', err)
|
||||
|
||||
|
||||
// 显示更详细的错误信息
|
||||
let errMsg = err.message || err.toString()
|
||||
uni.showModal({
|
||||
@@ -333,6 +334,9 @@
|
||||
deviceStatus.class = 'offline'
|
||||
}
|
||||
}
|
||||
console.log('feeconfig',deviceInfo.value.feeConfig);
|
||||
|
||||
deviceFeeConfig.value = JSON.parse(deviceInfo.value.feeConfig)[0] || {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -388,7 +392,7 @@
|
||||
showLoginTip()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
// 检查是否有手机号,如果没有则提示授权
|
||||
if (!phoneNumber.value) {
|
||||
showPhoneAuthPopup.value = true
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
<view class="container data-v-716cc21d"><view class="device-header data-v-716cc21d"><view class="{{['device-status-card', 'data-v-716cc21d', b]}}"><view class="status-indicator data-v-716cc21d"></view><text class="status-text data-v-716cc21d">{{a}}</text></view><view class="device-title data-v-716cc21d"><text class="name data-v-716cc21d">共享风扇</text><view class="device-meta data-v-716cc21d"><text class="id-label data-v-716cc21d">设备号:</text><text class="id-value data-v-716cc21d">{{c}}</text></view></view></view><view class="card device-info-card data-v-716cc21d"><view class="card-row data-v-716cc21d"><view class="card-item data-v-716cc21d"><view class="item-icon location-icon data-v-716cc21d"><image class="data-v-716cc21d" src="{{d}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-716cc21d"><text class="item-label data-v-716cc21d">当前位置</text><text class="item-value data-v-716cc21d">{{e}}</text></view></view><view class="card-item data-v-716cc21d"><view class="{{['item-icon', 'battery-icon', 'data-v-716cc21d', g && 'battery-low']}}"><image class="data-v-716cc21d" src="{{f}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-716cc21d"><text class="item-label data-v-716cc21d">电池电量</text><text class="item-value data-v-716cc21d">{{h}}%</text></view></view></view></view><view class="card pricing-card data-v-716cc21d"><view class="card-header data-v-716cc21d"><text class="card-title data-v-716cc21d">计费规则</text></view><view class="pricing-banner data-v-716cc21d"><view class="pricing-main data-v-716cc21d"><text class="price data-v-716cc21d">¥5.00</text><text class="unit data-v-716cc21d">/小时</text></view><text class="cap-price data-v-716cc21d">封顶 ¥99</text></view><view class="pricing-rules data-v-716cc21d"><view class="rule-item data-v-716cc21d"><view class="rule-dot data-v-716cc21d"></view><text class="rule-text data-v-716cc21d">不足60分钟按60分钟计费</text></view><view class="rule-item data-v-716cc21d"><view class="rule-dot data-v-716cc21d"></view><text class="rule-text data-v-716cc21d">持续计费至99元视为买断</text></view></view></view><view class="card notice-card data-v-716cc21d"><view class="card-header data-v-716cc21d"><text class="card-title data-v-716cc21d">使用须知</text></view><view class="notice-items data-v-716cc21d"><view class="notice-item data-v-716cc21d"><view class="notice-dot data-v-716cc21d"></view><text class="notice-text data-v-716cc21d">请在使用前检查设备是否完好</text></view><view class="notice-item data-v-716cc21d"><view class="notice-dot data-v-716cc21d"></view><text class="notice-text data-v-716cc21d">请在指定区域内使用设备</text></view><view class="notice-item data-v-716cc21d"><view class="notice-dot data-v-716cc21d"></view><text class="notice-text data-v-716cc21d">归还时请确保设备完好,避免损坏</text></view></view></view><view class="footer data-v-716cc21d"><button class="{{['rent-button', 'data-v-716cc21d', j && 'return-button']}}" bindtap="{{k}}"><text class="data-v-716cc21d">{{i}}</text></button><view class="wechat-credit data-v-716cc21d"><image src="{{l}}" mode="aspectFit" class="wx-icon data-v-716cc21d"></image><view class="credit-text data-v-716cc21d"><text class="data-v-716cc21d">微信支付分</text><text class="credit-divider data-v-716cc21d">|</text><text class="credit-score data-v-716cc21d">550分及以上优享</text></view></view></view><view wx:if="{{m}}" class="phone-auth-popup data-v-716cc21d"><view class="popup-mask data-v-716cc21d" catchtap="{{n}}"></view><view class="popup-content data-v-716cc21d"><view class="popup-header data-v-716cc21d"><text class="popup-title data-v-716cc21d">授权获取手机号</text></view><view class="popup-body data-v-716cc21d"><view class="auth-desc data-v-716cc21d"><text class="data-v-716cc21d">为了提供更好的服务,需要授权获取您的手机号</text></view><button class="auth-btn data-v-716cc21d" open-type="getPhoneNumber" bindgetphonenumber="{{o}}"> 一键获取手机号 </button><view class="auth-cancel data-v-716cc21d" bindtap="{{p}}"><text class="data-v-716cc21d">暂不授权</text></view></view></view></view></view>
|
||||
<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>
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../util/index.js");if(!Array){e.resolveComponent("uni-icons")()}const n={__name:"index",setup(n){const t=e.ref({}),i=e.ref("0.00"),r=e.ref(""),s=e.ref(null),d=e.ref(!1);e.onMounted((()=>{c()}));const c=async()=>{try{if(!e.index.getStorageSync("token"))return void(await o.wxLogin());const a=await o.getUserInfo();console.log("User info response:",a),200==a.code&&(a.data.openId&&(r.value=a.data.openId,e.index.setStorageSync("openId",a.data.openId)),t.value={nickName:a.data.nickname,phone:a.data.phone,avatar:a.data.iconUrl,isAdmin:a.data.isAdmin},e.index.setStorageSync("userInfo",t.value),i.value=a.data.balanceAmount||"0.00")}catch(a){console.error("获取用户信息失败:",a),e.index.showToast({title:"获取用户信息失败",icon:"none"})}},l=a=>{e.index.navigateTo({url:a})},p=()=>{l("/pages/deposit/index")},u=()=>{t.value||v()},v=()=>{s.value&&(s.value.open(),d.value=!0)};return(o,n)=>e.e({a:t.value.avatar},t.value.avatar?{b:t.value.avatar}:{c:a._imports_0$1},{d:t.value.isAdmin},(t.value.isAdmin,{}),{e:t.value},t.value?{f:e.t(t.value.nickName),g:e.t(t.value.phone||"未绑定手机号")}:{},{h:e.p({type:"right",size:"16",color:"#999"}),i:e.o(u),j:e.t(i.value),k:e.o(p),l:a._imports_1$1,m:e.p({type:"right",size:"16",color:"#999"}),n:e.o((e=>l("/pages/order/index"))),o:a._imports_2,p:e.p({type:"right",size:"16",color:"#999"}),q:e.o((e=>l("/pages/feedback/index"))),r:a._imports_3,s:e.p({type:"right",size:"16",color:"#999"}),t:e.o((e=>l("/pages/help/index")))})}},t=e._export_sfc(n,[["__scopeId","data-v-ac1cfc8d"]]);wx.createPage(t);
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../util/index.js");if(!Array){e.resolveComponent("uni-icons")()}const n={__name:"index",setup(n){const t=e.ref({}),r=e.ref("0.00"),i=e.ref(""),s=e.ref(null),d=e.ref(!1);e.onMounted((()=>{l()}));const l=async()=>{try{if(!e.index.getStorageSync("token"))return void(await o.wxLogin());const a=await o.getUserInfo();console.log("User info response:",a),200==a.code&&(a.data.openId&&(i.value=a.data.openId,e.index.setStorageSync("openId",a.data.openId)),t.value={nickName:a.data.nickname,phone:a.data.phone,avatar:a.data.iconUrl,isAdmin:a.data.isAdmin},e.index.setStorageSync("userInfo",t.value),r.value=a.data.balanceAmount||"0.00")}catch(a){console.error("获取用户信息失败:",a),e.index.showToast({title:"获取用户信息失败",icon:"none"})}},c=a=>{e.index.navigateTo({url:a})},p=()=>{c("/pages/deposit/index")},u=()=>{t.value||v()},v=()=>{s.value&&(s.value.open(),d.value=!0)};return(o,n)=>{return e.e({a:t.value.avatar},t.value.avatar?{b:t.value.avatar}:{c:a._imports_0$1},{d:t.value.isAdmin},(t.value.isAdmin,{}),{e:t.value},t.value?{f:e.t(t.value.nickName),g:e.t(t.value.phone?(i=t.value.phone,i?i.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2"):""):"未绑定手机号")}:{},{h:e.p({type:"right",size:"16",color:"#999"}),i:e.o(u),j:e.t(r.value),k:e.o(p),l:a._imports_1$1,m:e.p({type:"right",size:"16",color:"#999"}),n:e.o((e=>c("/pages/order/index"))),o:a._imports_2,p:e.p({type:"right",size:"16",color:"#999"}),q:e.o((e=>c("/pages/feedback/index"))),r:a._imports_3,s:e.p({type:"right",size:"16",color:"#999"}),t:e.o((e=>c("/pages/help/index")))});var i}}},t=e._export_sfc(n,[["__scopeId","data-v-6fbc3933"]]);wx.createPage(t);
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="profile-container data-v-ac1cfc8d"><view class="header-section data-v-ac1cfc8d"><view class="user-profile data-v-ac1cfc8d" bindtap="{{i}}"><view class="avatar-container data-v-ac1cfc8d"><image wx:if="{{a}}" class="avatar data-v-ac1cfc8d" src="{{b}}" mode="aspectFill"></image><image wx:else class="avatar data-v-ac1cfc8d" src="{{c}}" mode="aspectFill"></image><view wx:if="{{d}}" class="avatar-badge data-v-ac1cfc8d"></view></view><view wx:if="{{e}}" class="user-details data-v-ac1cfc8d"><view class="username data-v-ac1cfc8d">{{f}}</view><view class="user-id data-v-ac1cfc8d">{{g}}</view></view><view wx:else class="user-details data-v-ac1cfc8d"><view class="username data-v-ac1cfc8d">点击登录</view><view class="user-id data-v-ac1cfc8d">授权登录后享受更多服务</view></view><view class="edit-profile data-v-ac1cfc8d"><uni-icons wx:if="{{h}}" class="data-v-ac1cfc8d" u-i="ac1cfc8d-0" bind:__l="__l" u-p="{{h}}"></uni-icons></view></view></view><view class="balance-card data-v-ac1cfc8d"><view class="balance-info data-v-ac1cfc8d"><view class="balance-label data-v-ac1cfc8d">押金余额</view><view class="balance-amount data-v-ac1cfc8d">¥{{j}}</view></view><view class="action-button data-v-ac1cfc8d" bindtap="{{k}}"><text class="data-v-ac1cfc8d">提现</text></view></view><view class="function-list data-v-ac1cfc8d"><view class="function-item data-v-ac1cfc8d" bindtap="{{n}}"><view class="item-left data-v-ac1cfc8d"><view class="item-icon data-v-ac1cfc8d"><image class="data-v-ac1cfc8d" src="{{l}}" mode="aspectFit"></image></view><text class="item-title data-v-ac1cfc8d">订单中心</text></view><view class="item-right data-v-ac1cfc8d"><uni-icons wx:if="{{m}}" class="data-v-ac1cfc8d" u-i="ac1cfc8d-1" bind:__l="__l" u-p="{{m}}"></uni-icons></view></view><view class="function-item data-v-ac1cfc8d" bindtap="{{q}}"><view class="item-left data-v-ac1cfc8d"><view class="item-icon data-v-ac1cfc8d"><image class="data-v-ac1cfc8d" src="{{o}}" mode="aspectFit"></image></view><text class="item-title data-v-ac1cfc8d">投诉建议</text></view><view class="item-right data-v-ac1cfc8d"><uni-icons wx:if="{{p}}" class="data-v-ac1cfc8d" u-i="ac1cfc8d-2" bind:__l="__l" u-p="{{p}}"></uni-icons></view></view><view class="function-item data-v-ac1cfc8d" bindtap="{{t}}"><view class="item-left data-v-ac1cfc8d"><view class="item-icon data-v-ac1cfc8d"><image class="data-v-ac1cfc8d" src="{{r}}" mode="aspectFit"></image></view><text class="item-title data-v-ac1cfc8d">帮助中心</text></view><view class="item-right data-v-ac1cfc8d"><uni-icons wx:if="{{s}}" class="data-v-ac1cfc8d" u-i="ac1cfc8d-3" bind:__l="__l" u-p="{{s}}"></uni-icons></view></view></view></view>
|
||||
<view class="profile-container data-v-6fbc3933"><view class="header-section data-v-6fbc3933"><view class="user-profile data-v-6fbc3933" bindtap="{{i}}"><view class="avatar-container data-v-6fbc3933"><image wx:if="{{a}}" class="avatar data-v-6fbc3933" src="{{b}}" mode="aspectFill"></image><image wx:else class="avatar data-v-6fbc3933" src="{{c}}" mode="aspectFill"></image><view wx:if="{{d}}" class="avatar-badge data-v-6fbc3933"></view></view><view wx:if="{{e}}" class="user-details data-v-6fbc3933"><view class="username data-v-6fbc3933">{{f}}</view><view class="user-id data-v-6fbc3933">{{g}}</view></view><view wx:else class="user-details data-v-6fbc3933"><view class="username data-v-6fbc3933">点击登录</view><view class="user-id data-v-6fbc3933">授权登录后享受更多服务</view></view><view class="edit-profile data-v-6fbc3933"><uni-icons wx:if="{{h}}" class="data-v-6fbc3933" u-i="6fbc3933-0" bind:__l="__l" u-p="{{h}}"></uni-icons></view></view></view><view class="balance-card data-v-6fbc3933"><view class="balance-info data-v-6fbc3933"><view class="balance-label data-v-6fbc3933">押金余额</view><view class="balance-amount data-v-6fbc3933">¥{{j}}</view></view><view class="action-button data-v-6fbc3933" bindtap="{{k}}"><text class="data-v-6fbc3933">提现</text></view></view><view class="function-list data-v-6fbc3933"><view class="function-item data-v-6fbc3933" bindtap="{{n}}"><view class="item-left data-v-6fbc3933"><view class="item-icon data-v-6fbc3933"><image class="data-v-6fbc3933" src="{{l}}" mode="aspectFit"></image></view><text class="item-title data-v-6fbc3933">订单中心</text></view><view class="item-right data-v-6fbc3933"><uni-icons wx:if="{{m}}" class="data-v-6fbc3933" u-i="6fbc3933-1" bind:__l="__l" u-p="{{m}}"></uni-icons></view></view><view class="function-item data-v-6fbc3933" bindtap="{{q}}"><view class="item-left data-v-6fbc3933"><view class="item-icon data-v-6fbc3933"><image class="data-v-6fbc3933" src="{{o}}" mode="aspectFit"></image></view><text class="item-title data-v-6fbc3933">投诉建议</text></view><view class="item-right data-v-6fbc3933"><uni-icons wx:if="{{p}}" class="data-v-6fbc3933" u-i="6fbc3933-2" bind:__l="__l" u-p="{{p}}"></uni-icons></view></view><view class="function-item data-v-6fbc3933" bindtap="{{t}}"><view class="item-left data-v-6fbc3933"><view class="item-icon data-v-6fbc3933"><image class="data-v-6fbc3933" src="{{r}}" mode="aspectFit"></image></view><text class="item-title data-v-6fbc3933">帮助中心</text></view><view class="item-right data-v-6fbc3933"><uni-icons wx:if="{{s}}" class="data-v-6fbc3933" u-i="6fbc3933-3" bind:__l="__l" u-p="{{s}}"></uni-icons></view></view></view></view>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.profile-container.data-v-ac1cfc8d{min-height:100vh;background-color:#f5f7fa;padding-bottom:env(safe-area-inset-bottom)}.header-section.data-v-ac1cfc8d{padding:40rpx;background:linear-gradient(135deg,#4facfe,#00f2fe);position:relative;border-radius:0 0 30rpx 30rpx;margin-bottom:20rpx;box-shadow:0 10rpx 30rpx rgba(79,172,254,.2)}.user-profile.data-v-ac1cfc8d{display:flex;align-items:center;padding:20rpx 0}.avatar-container.data-v-ac1cfc8d{position:relative;margin-right:30rpx}.avatar.data-v-ac1cfc8d{width:120rpx;height:120rpx;border-radius:60rpx;border:4rpx solid rgba(255,255,255,.6);box-shadow:0 8rpx 20rpx rgba(0,0,0,.1)}.avatar-badge.data-v-ac1cfc8d{position:absolute;bottom:0;right:0;width:36rpx;height:36rpx;border-radius:18rpx;background-color:#ff9500;border:4rpx solid white}.user-details.data-v-ac1cfc8d{flex:1}.username.data-v-ac1cfc8d{font-size:36rpx;font-weight:600;color:#fff;margin-bottom:8rpx}.user-id.data-v-ac1cfc8d{font-size:26rpx;color:rgba(255,255,255,.8)}.edit-profile.data-v-ac1cfc8d{background-color:rgba(255,255,255,.2);padding:10rpx;border-radius:50%}.balance-card.data-v-ac1cfc8d{margin:30rpx;background:#fff;border-radius:20rpx;padding:30rpx;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10rpx 30rpx rgba(0,0,0,.05)}.balance-label.data-v-ac1cfc8d{font-size:28rpx;color:#666;margin-bottom:10rpx}.balance-amount.data-v-ac1cfc8d{font-size:48rpx;font-weight:600;color:#4facfe}.action-button.data-v-ac1cfc8d{background:linear-gradient(135deg,#4facfe,#00f2fe);border-radius:40rpx;height:80rpx;display:flex;align-items:center;justify-content:center;padding:0 40rpx;color:#fff;font-weight:500;font-size:30rpx;box-shadow:0 8rpx 16rpx rgba(79,172,254,.2)}.action-button.data-v-ac1cfc8d:active{opacity:.9;transform:scale(.98)}.action-button text.data-v-ac1cfc8d{margin-right:10rpx}.function-list.data-v-ac1cfc8d{margin:30rpx;background:#fff;border-radius:20rpx;overflow:hidden;box-shadow:0 6rpx 16rpx rgba(0,0,0,.04)}.function-item.data-v-ac1cfc8d{display:flex;justify-content:space-between;align-items:center;padding:32rpx 30rpx;border-bottom:1rpx solid #f0f0f0}.function-item.data-v-ac1cfc8d:last-child{border-bottom:none}.function-item.data-v-ac1cfc8d:active{background-color:#f9f9f9}.item-left.data-v-ac1cfc8d{display:flex;align-items:center}.item-icon.data-v-ac1cfc8d{width:48rpx;height:48rpx;margin-right:24rpx;display:flex;align-items:center;justify-content:center}.item-icon image.data-v-ac1cfc8d{width:40rpx;height:40rpx}.item-title.data-v-ac1cfc8d{font-size:30rpx;color:#333;font-weight:500}.item-right.data-v-ac1cfc8d{display:flex;align-items:center}.auth-popup.data-v-ac1cfc8d{background-color:#fff;width:100%;padding:40rpx;border-radius:15rpx}.auth-title.data-v-ac1cfc8d{font-size:34rpx;font-weight:600;color:#333;text-align:center;margin-bottom:20rpx}.auth-desc.data-v-ac1cfc8d{font-size:28rpx;color:#666;text-align:center;margin-bottom:40rpx}.auth-buttons.data-v-ac1cfc8d{display:flex;justify-content:space-between}.cancel-btn.data-v-ac1cfc8d,.confirm-btn.data-v-ac1cfc8d{width:240rpx;height:80rpx;line-height:80rpx;text-align:center;border-radius:40rpx;font-size:28rpx}.cancel-btn.data-v-ac1cfc8d:after,.confirm-btn.data-v-ac1cfc8d:after{border:none}.cancel-btn.data-v-ac1cfc8d{background-color:#f0f0f0;color:#666}.confirm-btn.data-v-ac1cfc8d{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}
|
||||
.profile-container.data-v-6fbc3933{min-height:100vh;background-color:#f5f7fa;padding-bottom:env(safe-area-inset-bottom)}.header-section.data-v-6fbc3933{padding:40rpx;background:linear-gradient(135deg,#4facfe,#00f2fe);position:relative;border-radius:0 0 30rpx 30rpx;margin-bottom:20rpx;box-shadow:0 10rpx 30rpx rgba(79,172,254,.2)}.user-profile.data-v-6fbc3933{display:flex;align-items:center;padding:20rpx 0}.avatar-container.data-v-6fbc3933{position:relative;margin-right:30rpx}.avatar.data-v-6fbc3933{width:120rpx;height:120rpx;border-radius:60rpx;border:4rpx solid rgba(255,255,255,.6);box-shadow:0 8rpx 20rpx rgba(0,0,0,.1)}.avatar-badge.data-v-6fbc3933{position:absolute;bottom:0;right:0;width:36rpx;height:36rpx;border-radius:18rpx;background-color:#ff9500;border:4rpx solid white}.user-details.data-v-6fbc3933{flex:1}.username.data-v-6fbc3933{font-size:36rpx;font-weight:600;color:#fff;margin-bottom:8rpx}.user-id.data-v-6fbc3933{font-size:26rpx;color:rgba(255,255,255,.8)}.edit-profile.data-v-6fbc3933{background-color:rgba(255,255,255,.2);padding:10rpx;border-radius:50%}.balance-card.data-v-6fbc3933{margin:30rpx;background:#fff;border-radius:20rpx;padding:30rpx;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10rpx 30rpx rgba(0,0,0,.05)}.balance-label.data-v-6fbc3933{font-size:28rpx;color:#666;margin-bottom:10rpx}.balance-amount.data-v-6fbc3933{font-size:48rpx;font-weight:600;color:#4facfe}.action-button.data-v-6fbc3933{background:linear-gradient(135deg,#4facfe,#00f2fe);border-radius:40rpx;height:80rpx;display:flex;align-items:center;justify-content:center;padding:0 40rpx;color:#fff;font-weight:500;font-size:30rpx;box-shadow:0 8rpx 16rpx rgba(79,172,254,.2)}.action-button.data-v-6fbc3933:active{opacity:.9;transform:scale(.98)}.action-button text.data-v-6fbc3933{margin-right:10rpx}.function-list.data-v-6fbc3933{margin:30rpx;background:#fff;border-radius:20rpx;overflow:hidden;box-shadow:0 6rpx 16rpx rgba(0,0,0,.04)}.function-item.data-v-6fbc3933{display:flex;justify-content:space-between;align-items:center;padding:32rpx 30rpx;border-bottom:1rpx solid #f0f0f0}.function-item.data-v-6fbc3933:last-child{border-bottom:none}.function-item.data-v-6fbc3933:active{background-color:#f9f9f9}.item-left.data-v-6fbc3933{display:flex;align-items:center}.item-icon.data-v-6fbc3933{width:48rpx;height:48rpx;margin-right:24rpx;display:flex;align-items:center;justify-content:center}.item-icon image.data-v-6fbc3933{width:40rpx;height:40rpx}.item-title.data-v-6fbc3933{font-size:30rpx;color:#333;font-weight:500}.item-right.data-v-6fbc3933{display:flex;align-items:center}.auth-popup.data-v-6fbc3933{background-color:#fff;width:100%;padding:40rpx;border-radius:15rpx}.auth-title.data-v-6fbc3933{font-size:34rpx;font-weight:600;color:#333;text-align:center;margin-bottom:20rpx}.auth-desc.data-v-6fbc3933{font-size:28rpx;color:#666;text-align:center;margin-bottom:40rpx}.auth-buttons.data-v-6fbc3933{display:flex;justify-content:space-between}.cancel-btn.data-v-6fbc3933,.confirm-btn.data-v-6fbc3933{width:240rpx;height:80rpx;line-height:80rpx;text-align:center;border-radius:40rpx;font-size:28rpx}.cancel-btn.data-v-6fbc3933:after,.confirm-btn.data-v-6fbc3933:after{border:none}.cancel-btn.data-v-6fbc3933{background-color:#f0f0f0;color:#666}.confirm-btn.data-v-6fbc3933{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),t=require("../../config/user.js"),n={__name:"details",setup(n){const r=e.ref(""),i=e.ref({}),o=e.computed((()=>{switch(i.value.orderStatus){case"waiting_for_payment":return"等待支付";case"in_used":return"使用中";case"used_done":return"已完成";case"order_cancelled":return"已取消";default:return"未知状态"}})),s=e.computed((()=>{switch(i.value.orderStatus){case"waiting_for_payment":return"status-waiting";case"in_used":return"status-using";case"used_done":return"status-finished";case"order_cancelled":return"status-cancelled";default:return""}})),u=e.computed((()=>{switch(i.value.orderStatus){case"waiting_for_payment":return"请在15分钟内完成支付";case"in_used":return"设备正在使用中";case"used_done":return"感谢您的使用";case"order_cancelled":return"该订单已取消";default:return""}}));e.computed((()=>{const e=i.value.payWay;return"wx_score_pay"===e?"微信支付分 (免押金)":"wx_pay"===e?"微信支付":"押金支付"})),e.onLoad((async a=>{a&&a.orderId?(r.value=a.orderId,await d()):(e.index.showToast({title:"订单信息不存在",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500))}));const d=async()=>{try{e.index.showLoading({title:"加载中"});const a=await t.queryById(r.value);if(200!==a.code||!a.data)throw new Error("获取订单详情失败");i.value=a.data,i.value.createTime&&(i.value.createTime=c(new Date(i.value.createTime))),i.value.startTime&&(i.value.startTime=c(new Date(i.value.startTime))),i.value.endTime&&(i.value.endTime=c(new Date(i.value.endTime))),e.index.hideLoading()}catch(a){e.index.hideLoading(),e.index.showToast({title:a.message||"获取订单详情失败",icon:"none"})}},c=e=>`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`,l=e=>{if(!e)return"";const a=parseInt(e);if(a<60)return`${a}分钟`;{const e=Math.floor(a/60),t=a%60;return t>0?`${e}小时${t}分钟`:`${e}小时`}},v=()=>{e.index.showModal({title:"确认取消",content:"确定要取消此订单吗?",success:async a=>{if(a.confirm)try{e.index.showLoading({title:"处理中"});const a=await t.cancelOrder({orderId:r.value});if(200!==a.code)throw new Error(a.msg||"取消订单失败");e.index.hideLoading(),e.index.showToast({title:"订单已取消",icon:"success"}),await d()}catch(n){e.index.hideLoading(),e.index.showToast({title:n.message||"取消订单失败",icon:"none"})}}})},m=async()=>{try{e.index.showLoading({title:"处理中"});const a=await t.confirmPaymentAndRent(r.value);if(200!==a.code)throw new Error(a.msg||"支付失败");e.index.hideLoading(),e.index.showToast({title:"支付成功",icon:"success"}),await d()}catch(a){e.index.hideLoading(),e.index.showToast({title:a.message||"支付失败",icon:"none"})}},g=()=>{e.index.navigateTo({url:`/pages/return/index?deviceId=${i.value.deviceNo}&orderId=${r.value}`})};return(t,n)=>e.e({a:e.n(s.value),b:e.t(o.value),c:e.t(u.value),d:e.t(i.value.orderNo||"-"),e:e.t(i.value.deviceNo||"-"),f:"wx_score_pay"===i.value.payWay},"wx_score_pay"===i.value.payWay?{g:a._imports_0$2}:{},{h:e.t(i.value.createTime||"-"),i:e.t(i.value.startTime||"-"),j:i.value.endTime},i.value.endTime?{k:e.t(i.value.endTime)}:{},{l:i.value.phone},i.value.phone?{m:e.t(i.value.phone)}:{},{n:i.value.depositAmount},i.value.depositAmount?{o:e.t(i.value.depositAmount)}:{},{p:i.value.packageTime&&i.value.packagePrice},i.value.packageTime&&i.value.packagePrice?{q:e.t(i.value.packagePrice),r:e.t(l(i.value.packageTime))}:{},{s:e.t(i.value.payAmount||0),t:"waiting_for_payment"===i.value.orderStatus},"waiting_for_payment"===i.value.orderStatus?{v:e.o(v),w:e.o(m)}:"in_used"===i.value.orderStatus?{y:e.o(g)}:{},{x:"in_used"===i.value.orderStatus})}},r=e._export_sfc(n,[["__scopeId","data-v-e8875514"]]);wx.createPage(r);
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),t=require("../../config/user.js"),r={__name:"details",setup(r){const n=e.ref(""),o=e.ref({}),i=e.computed((()=>{switch(o.value.orderStatus){case"waiting_for_payment":return"待支付";case"in_used":default:return"使用中";case"used_done":return"已完成";case"order_cancelled":return"已取消"}}));e.onLoad((async a=>{a&&a.orderId?(n.value=a.orderId,await u()):(e.index.showToast({title:"订单信息不存在",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500))}));const u=async()=>{try{e.index.showLoading({title:"加载中"});const a=await t.queryById(n.value);if(200!==a.code||!a.data)throw new Error("获取订单详情失败");o.value=a.data,o.value.createTime&&(o.value.createTime=s(new Date(o.value.createTime))),o.value.startTime&&(o.value.startTime=s(new Date(o.value.startTime))),o.value.endTime&&(o.value.endTime=s(new Date(o.value.endTime))),e.index.hideLoading()}catch(a){e.index.hideLoading(),e.index.showToast({title:a.message||"获取订单详情失败",icon:"none"})}},s=e=>`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`,d=e=>{if(!e)return"";const a=parseInt(e);if(a<60)return`${a}分钟`;{const e=Math.floor(a/60),t=a%60;return t>0?`${e}小时${t}分钟`:`${e}小时`}};return(t,r)=>e.e({a:e.t(i.value),b:e.t(o.value.orderNo||"-"),c:e.t(o.value.deviceNo||"-"),d:"wx_score_pay"===o.value.payWay},"wx_score_pay"===o.value.payWay?{e:a._imports_0$2}:{},{f:e.t(o.value.startTime||"-"),g:o.value.endTime},o.value.endTime?{h:e.t(o.value.endTime)}:{},{i:o.value.phone},o.value.phone?{j:e.t(o.value.phone)}:{},{k:o.value.depositAmount},o.value.depositAmount?{l:e.t(o.value.depositAmount)}:{},{m:o.value.packageTime&&o.value.packagePrice},o.value.packageTime&&o.value.packagePrice?{n:e.t(o.value.packagePrice),o:e.t(d(o.value.packageTime))}:{},{p:e.t(o.value.payAmount||0)})}},n=e._export_sfc(r,[["__scopeId","data-v-f9b4f795"]]);wx.createPage(n);
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="details-container data-v-e8875514"><view class="status-card data-v-e8875514"><view class="{{['status-icon', 'data-v-e8875514', a]}}"></view><view class="status-text data-v-e8875514">{{b}}</view><view class="status-desc data-v-e8875514">{{c}}</view></view><view class="info-card data-v-e8875514"><view class="card-title data-v-e8875514">订单信息</view><view class="info-item data-v-e8875514"><text class="label data-v-e8875514">订单号</text><text class="value data-v-e8875514">{{d}}</text></view><view class="info-item data-v-e8875514"><text class="label data-v-e8875514">设备号</text><text class="value data-v-e8875514">{{e}}</text></view><view class="info-item data-v-e8875514"><text class="label data-v-e8875514">租借方式</text><view class="value payment-method data-v-e8875514"><view wx:if="{{f}}" class="payment-badge wx-score data-v-e8875514"><image src="{{g}}" mode="aspectFit" class="badge-icon data-v-e8875514"></image><view class="badge-text data-v-e8875514"><text class="data-v-e8875514">微信支付分</text><text class="divider data-v-e8875514">|</text><text class="highlight data-v-e8875514">免押租借</text></view></view><view wx:else class="payment-badge deposit data-v-e8875514"><text class="badge-text data-v-e8875514">押金租借</text></view></view></view><view class="info-item data-v-e8875514"><text class="label data-v-e8875514">创建时间</text><text class="value data-v-e8875514">{{h}}</text></view><view class="info-item data-v-e8875514"><text class="label data-v-e8875514">开始时间</text><text class="value data-v-e8875514">{{i}}</text></view><view wx:if="{{j}}" class="info-item data-v-e8875514"><text class="label data-v-e8875514">结束时间</text><text class="value data-v-e8875514">{{k}}</text></view><view wx:if="{{l}}" class="info-item data-v-e8875514"><text class="label data-v-e8875514">联系电话</text><text class="value data-v-e8875514">{{m}}</text></view></view><view class="info-card data-v-e8875514"><view class="card-title data-v-e8875514">费用信息</view><view wx:if="{{n}}" class="info-item data-v-e8875514"><text class="label data-v-e8875514">押金</text><text class="value data-v-e8875514">¥{{o}}</text></view><view wx:if="{{p}}" class="info-item data-v-e8875514"><text class="label data-v-e8875514">套餐</text><text class="value data-v-e8875514">¥{{q}}元 / {{r}}</text></view><view class="info-item total data-v-e8875514"><text class="label data-v-e8875514">合计</text><text class="value data-v-e8875514">¥{{s}}</text></view></view><view wx:if="{{t}}" class="action-buttons data-v-e8875514"><view class="btn cancel data-v-e8875514" bindtap="{{v}}">取消订单</view><view class="btn primary data-v-e8875514" bindtap="{{w}}">立即支付</view></view><view wx:elif="{{x}}" class="action-buttons data-v-e8875514"><view class="btn primary data-v-e8875514" bindtap="{{y}}">归还设备</view></view></view>
|
||||
<view class="return-container data-v-f9b4f795"><view class="order-card data-v-f9b4f795"><view class="order-header data-v-f9b4f795"><text class="title data-v-f9b4f795">{{a}}</text><text class="order-no data-v-f9b4f795">订单号:{{b}}</text></view><view class="device-info data-v-f9b4f795"><view class="device-left data-v-f9b4f795"><view class="device-name data-v-f9b4f795">共享风扇</view><view class="device-id data-v-f9b4f795">设备号:{{c}}</view></view><view class="device-right data-v-f9b4f795"><view wx:if="{{d}}" class="payment-badge wx-score data-v-f9b4f795"><image src="{{e}}" mode="aspectFit" class="badge-icon data-v-f9b4f795"></image><view class="badge-text data-v-f9b4f795"><text class="data-v-f9b4f795">微信支付分</text><text class="divider data-v-f9b4f795">|</text><text class="highlight data-v-f9b4f795">免押租借</text></view></view><view wx:else class="payment-badge deposit data-v-f9b4f795"><text class="badge-text data-v-f9b4f795">押金租借</text></view></view></view><view class="time-info data-v-f9b4f795"><view class="time-item data-v-f9b4f795"><text class="label data-v-f9b4f795">开始时间</text><text class="value data-v-f9b4f795">{{f}}</text></view><view wx:if="{{g}}" class="time-item data-v-f9b4f795"><text class="label data-v-f9b4f795">结束时间</text><text class="value data-v-f9b4f795">{{h}}</text></view><view wx:if="{{i}}" class="time-item data-v-f9b4f795"><text class="label data-v-f9b4f795">联系电话</text><text class="value data-v-f9b4f795">{{j}}</text></view></view></view><view class="notice-card data-v-f9b4f795"><view class="notice-title data-v-f9b4f795">费用信息</view><view class="notice-list data-v-f9b4f795"><view wx:if="{{k}}" class="notice-item data-v-f9b4f795"><view class="dot data-v-f9b4f795"></view><text class="data-v-f9b4f795">押金:¥{{l}}</text></view><view wx:if="{{m}}" class="notice-item data-v-f9b4f795"><view class="dot data-v-f9b4f795"></view><text class="data-v-f9b4f795">套餐:¥{{n}}元 / {{o}}</text></view><view class="notice-item data-v-f9b4f795"><view class="dot data-v-f9b4f795"></view><text class="data-v-f9b4f795">合计:¥{{p}}</text></view></view></view></view>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.details-container.data-v-e8875514{min-height:100vh;background:#f7f8fa;padding:30rpx 30rpx 100rpx;box-sizing:border-box}.details-container .status-card.data-v-e8875514{background:#fff;border-radius:20rpx;padding:40rpx;display:flex;flex-direction:column;align-items:center;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.details-container .status-card .status-icon.data-v-e8875514{width:120rpx;height:120rpx;border-radius:50%;margin-bottom:20rpx}.details-container .status-card .status-icon.status-waiting.data-v-e8875514{background:#fff9c4}.details-container .status-card .status-icon.status-using.data-v-e8875514{background:#e8f5e9}.details-container .status-card .status-icon.status-finished.data-v-e8875514{background:#e3f2fd}.details-container .status-card .status-icon.status-cancelled.data-v-e8875514{background:#ffebee}.details-container .status-card .status-text.data-v-e8875514{font-size:36rpx;font-weight:600;color:#333;margin-bottom:10rpx}.details-container .status-card .status-desc.data-v-e8875514{font-size:28rpx;color:#999}.details-container .info-card.data-v-e8875514{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.details-container .info-card .card-title.data-v-e8875514{font-size:32rpx;font-weight:600;color:#333;margin-bottom:20rpx;position:relative;padding-left:20rpx}.details-container .info-card .card-title.data-v-e8875514:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:8rpx;height:32rpx;background:#1976d2;border-radius:4rpx}.details-container .info-card .info-item.data-v-e8875514{display:flex;justify-content:space-between;align-items:center;padding:20rpx 0;border-bottom:1px solid #f5f5f5}.details-container .info-card .info-item.data-v-e8875514:last-child{border-bottom:none}.details-container .info-card .info-item .label.data-v-e8875514{font-size:28rpx;color:#666}.details-container .info-card .info-item .value.data-v-e8875514{font-size:28rpx;color:#333;word-break:break-all;text-align:right;max-width:70%}.details-container .info-card .info-item .value.payment-method.data-v-e8875514{display:flex;flex-direction:column;align-items:flex-end}.details-container .info-card .info-item .value.payment-method .payment-badge.data-v-e8875514{margin-top:8rpx;display:flex;align-items:center;padding:4rpx 10rpx;border-radius:8rpx}.details-container .info-card .info-item .value.payment-method .payment-badge.wx-score.data-v-e8875514{background:rgba(7,193,96,.08)}.details-container .info-card .info-item .value.payment-method .payment-badge.wx-score .badge-icon.data-v-e8875514{width:32rpx;height:26rpx;margin-right:8rpx}.details-container .info-card .info-item .value.payment-method .payment-badge.wx-score .badge-text.data-v-e8875514{font-size:22rpx;color:#07c160;display:flex;align-items:center}.details-container .info-card .info-item .value.payment-method .payment-badge.wx-score .badge-text .divider.data-v-e8875514{margin:0 6rpx}.details-container .info-card .info-item .value.payment-method .payment-badge.wx-score .badge-text .highlight.data-v-e8875514{font-weight:500}.details-container .info-card .info-item .value.payment-method .payment-badge.deposit.data-v-e8875514{background:#f5f5f5}.details-container .info-card .info-item .value.payment-method .payment-badge.deposit .badge-text.data-v-e8875514{font-size:22rpx;color:#666;font-weight:500}.details-container .info-card .info-item.total.data-v-e8875514{margin-top:10rpx;padding-top:30rpx;border-top:1px solid #f5f5f5}.details-container .info-card .info-item.total .label.data-v-e8875514,.details-container .info-card .info-item.total .value.data-v-e8875514{font-size:32rpx;font-weight:600;color:#333}.details-container .info-card .info-item.total .value.data-v-e8875514{color:#ff5722}.details-container .action-buttons.data-v-e8875514{display:flex;justify-content:space-between;padding:30rpx 0}.details-container .action-buttons .btn.data-v-e8875514{flex:1;height:88rpx;display:flex;align-items:center;justify-content:center;font-size:32rpx;font-weight:500;border-radius:44rpx}.details-container .action-buttons .btn.cancel.data-v-e8875514{background:#f5f5f5;color:#666;margin-right:20rpx}.details-container .action-buttons .btn.primary.data-v-e8875514{background:#1976d2;color:#fff}.details-container .action-buttons .btn.data-v-e8875514:active{opacity:.9}
|
||||
.return-container.data-v-f9b4f795{min-height:100vh;background:#f7f8fa;padding:30rpx 30rpx 180rpx;box-sizing:border-box}.return-container .order-card.data-v-f9b4f795{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .order-card .order-header.data-v-f9b4f795{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx;padding-bottom:16rpx;border-bottom:1rpx solid #f0f0f0}.return-container .order-card .order-header .title.data-v-f9b4f795{font-size:30rpx;font-weight:700;color:#333}.return-container .order-card .order-header .order-no.data-v-f9b4f795{font-size:24rpx;color:#999}.return-container .order-card .device-info.data-v-f9b4f795{margin-bottom:24rpx;display:flex;justify-content:space-between;align-items:flex-start}.return-container .order-card .device-info .device-left.data-v-f9b4f795{flex:1;margin-right:20rpx}.return-container .order-card .device-info .device-left .device-name.data-v-f9b4f795{font-size:32rpx;font-weight:500;color:#333;margin-bottom:8rpx}.return-container .order-card .device-info .device-left .device-id.data-v-f9b4f795{font-size:26rpx;color:#999;margin-bottom:0}.return-container .order-card .device-info .device-right .payment-badge.data-v-f9b4f795{display:inline-flex;align-items:center;padding:6rpx 12rpx;border-radius:8rpx;white-space:nowrap}.return-container .order-card .device-info .device-right .payment-badge.wx-score.data-v-f9b4f795{background:rgba(7,193,96,.08)}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-icon.data-v-f9b4f795{width:32rpx;height:26rpx;margin-right:8rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text.data-v-f9b4f795{font-size:22rpx;color:#07c160;display:flex;align-items:center}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .divider.data-v-f9b4f795{margin:0 6rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .highlight.data-v-f9b4f795{font-weight:500}.return-container .order-card .device-info .device-right .payment-badge.deposit.data-v-f9b4f795{background:#f5f5f5}.return-container .order-card .device-info .device-right .payment-badge.deposit .badge-text.data-v-f9b4f795{font-size:22rpx;color:#666;font-weight:500}.return-container .order-card .time-info.data-v-f9b4f795{background:#f9f9f9;border-radius:16rpx;padding:20rpx}.return-container .order-card .time-info .time-item.data-v-f9b4f795{display:flex;justify-content:space-between;align-items:center;margin-bottom:16rpx}.return-container .order-card .time-info .time-item.data-v-f9b4f795:last-child{margin-bottom:0}.return-container .order-card .time-info .time-item .label.data-v-f9b4f795{font-size:26rpx;color:#666}.return-container .order-card .time-info .time-item .value.data-v-f9b4f795{font-size:26rpx;color:#333}.return-container .order-card .time-info .time-item .value.highlight.data-v-f9b4f795{color:#ff6b6b;font-weight:700}.return-container .notice-card.data-v-f9b4f795{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .notice-card .notice-title.data-v-f9b4f795{font-size:30rpx;font-weight:700;color:#333;margin-bottom:20rpx}.return-container .notice-card .notice-list .notice-item.data-v-f9b4f795{display:flex;align-items:flex-start;margin-bottom:16rpx}.return-container .notice-card .notice-list .notice-item.data-v-f9b4f795:last-child{margin-bottom:0}.return-container .notice-card .notice-list .notice-item .dot.data-v-f9b4f795{width:12rpx;height:12rpx;background:#07c160;border-radius:50%;margin-top:10rpx;margin-right:16rpx;flex-shrink:0}.return-container .notice-card .notice-list .notice-item text.data-v-f9b4f795{font-size:26rpx;color:#666;line-height:1.5}.return-container .bottom-bar.data-v-f9b4f795{position:fixed;left:0;right:0;bottom:0;padding:20rpx 30rpx;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4rpx 16rpx rgba(0,0,0,.04);z-index:10;display:flex;justify-content:space-between;gap:20rpx}.return-container .bottom-bar .action-item.data-v-f9b4f795{height:88rpx;display:flex;align-items:center;justify-content:center;font-size:30rpx;border-radius:44rpx;flex:1}.return-container .bottom-bar .action-item.primary.data-v-f9b4f795{background:#07c160;color:#fff}.return-container .bottom-bar .action-item.primary.data-v-f9b4f795:active{opacity:.8}.return-container .bottom-bar .action-item.secondary.data-v-f9b4f795{background:#f5f5f5;color:#333;border:1rpx solid #e0e0e0}.return-container .bottom-bar .action-item.secondary.data-v-f9b4f795:active{opacity:.8}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
<view class="payment-container data-v-9930ec32"><view class="status-card data-v-9930ec32"><view class="{{['status-icon', 'data-v-9930ec32', a]}}"></view><view class="status-text data-v-9930ec32">{{b}}</view><view class="status-desc data-v-9930ec32">{{c}}</view></view><view class="order-card data-v-9930ec32"><view class="card-title data-v-9930ec32">订单信息</view><view class="info-item data-v-9930ec32"><text class="label data-v-9930ec32">订单号</text><text class="value data-v-9930ec32">{{d}}</text></view><view class="info-item data-v-9930ec32"><text class="label data-v-9930ec32">设备号</text><text class="value data-v-9930ec32">{{e}}</text></view><view class="info-item data-v-9930ec32"><text class="label data-v-9930ec32">创建时间</text><text class="value data-v-9930ec32">{{f}}</text></view><view class="info-item data-v-9930ec32"><text class="label data-v-9930ec32">联系电话</text><text class="value data-v-9930ec32">{{g}}</text></view></view><view class="price-card data-v-9930ec32"><view class="card-title data-v-9930ec32">费用信息</view><view class="price-item data-v-9930ec32"><text class="label data-v-9930ec32">押金</text><text class="value data-v-9930ec32">¥{{h}}</text></view><view class="price-item data-v-9930ec32"><text class="label data-v-9930ec32">套餐</text><text class="value data-v-9930ec32">{{i}}元/{{j}}小时</text></view><view class="price-item total data-v-9930ec32"><text class="label data-v-9930ec32">合计</text><text class="value data-v-9930ec32">¥{{k}}</text></view></view><view class="bottom-bar data-v-9930ec32"><view class="total-amount data-v-9930ec32"><text class="data-v-9930ec32">合计:</text><text class="amount data-v-9930ec32">¥{{l}}</text></view><view class="pay-btn data-v-9930ec32" bindtap="{{m}}">立即支付</view></view></view>
|
||||
<view class="payment-container data-v-6af544c6"><view class="status-card data-v-6af544c6"><view class="{{['status-icon', 'data-v-6af544c6', a]}}"></view><view class="status-text data-v-6af544c6">{{b}}</view><view class="status-desc data-v-6af544c6">{{c}}</view></view><view class="order-card data-v-6af544c6"><view class="card-title data-v-6af544c6">订单信息</view><view class="info-item data-v-6af544c6"><text class="label data-v-6af544c6">订单号</text><text class="value data-v-6af544c6">{{d}}</text></view><view class="info-item data-v-6af544c6"><text class="label data-v-6af544c6">设备号</text><text class="value data-v-6af544c6">{{e}}</text></view><view class="info-item data-v-6af544c6"><text class="label data-v-6af544c6">创建时间</text><text class="value data-v-6af544c6">{{f}}</text></view><view class="info-item data-v-6af544c6"><text class="label data-v-6af544c6">联系电话</text><text class="value data-v-6af544c6">{{g}}</text></view></view><view class="price-card data-v-6af544c6"><view class="card-title data-v-6af544c6">费用信息</view><view class="price-item data-v-6af544c6"><text class="label data-v-6af544c6">押金</text><text class="value data-v-6af544c6">¥{{h}}</text></view><view class="price-item data-v-6af544c6"><text class="label data-v-6af544c6">套餐</text><text class="value data-v-6af544c6">{{i}}元/{{j}}小时</text></view><view class="price-item total data-v-6af544c6"><text class="label data-v-6af544c6">合计</text><text class="value data-v-6af544c6">¥{{k}}</text></view></view><view class="bottom-bar data-v-6af544c6"><view class="total-amount data-v-6af544c6"><text class="data-v-6af544c6">合计:</text><text class="amount data-v-6af544c6">¥{{l}}</text></view><view class="pay-btn data-v-6af544c6" bindtap="{{m}}">立即支付</view></view></view>
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
<view class="return-container data-v-571550e1"><view class="order-card data-v-571550e1"><view class="order-header data-v-571550e1"><text class="title data-v-571550e1">{{a}}</text><text class="order-no data-v-571550e1">订单号:{{b}}</text></view><view class="device-info data-v-571550e1"><view class="device-left data-v-571550e1"><view class="device-name data-v-571550e1">共享风扇</view><view class="device-id data-v-571550e1">设备号:{{c}}</view></view><view class="device-right data-v-571550e1"><view wx:if="{{d}}" class="payment-badge wx-score data-v-571550e1"><image src="{{e}}" mode="aspectFit" class="badge-icon data-v-571550e1"></image><view class="badge-text data-v-571550e1"><text class="data-v-571550e1">微信支付分</text><text class="divider data-v-571550e1">|</text><text class="highlight data-v-571550e1">免押租借</text></view></view><view wx:else class="payment-badge deposit data-v-571550e1"><text class="badge-text data-v-571550e1">押金租借</text></view></view></view><view class="time-info data-v-571550e1"><view class="time-item data-v-571550e1"><text class="label data-v-571550e1">开始时间</text><text class="value data-v-571550e1">{{f}}</text></view><view class="time-item data-v-571550e1"><text class="label data-v-571550e1">已使用时长</text><text class="value highlight data-v-571550e1">{{g}}</text></view><view class="time-item data-v-571550e1"><text class="label data-v-571550e1">当前费用</text><text class="value data-v-571550e1">¥{{h}}</text></view></view><view wx:if="{{false}}" class="debug-info data-v-571550e1"><view class="debug-title data-v-571550e1">调试信息</view><view class="debug-item data-v-571550e1">原始开始时间: {{i}}</view><view class="debug-item data-v-571550e1">处理后开始时间: {{j}}</view><view class="debug-item data-v-571550e1">订单状态: {{k}}</view></view></view><view class="notice-card data-v-571550e1"><view class="notice-title data-v-571550e1">归还说明</view><view class="notice-list data-v-571550e1"><view class="notice-item data-v-571550e1"><view class="dot data-v-571550e1"></view><text class="data-v-571550e1">请确保设备完好无损</text></view><view class="notice-item data-v-571550e1"><view class="dot data-v-571550e1"></view><text class="data-v-571550e1">将风扇插入原位置或空闲插口</text></view><view class="notice-item data-v-571550e1"><view class="dot data-v-571550e1"></view><text class="data-v-571550e1">系统将自动检测归还并处理退款</text></view><view class="notice-item data-v-571550e1"><view class="dot data-v-571550e1"></view><text class="data-v-571550e1">归还成功后将自动跳转到成功页面</text></view></view></view><view class="bottom-bar data-v-571550e1"><view class="action-item secondary data-v-571550e1" bindtap="{{l}}">刷新状态</view><view class="action-item primary data-v-571550e1" bindtap="{{m}}">返回首页</view></view></view>
|
||||
<view class="return-container data-v-30d62b50"><view class="order-card data-v-30d62b50"><view class="order-header data-v-30d62b50"><text class="title data-v-30d62b50">{{a}}</text><text class="order-no data-v-30d62b50">订单号:{{b}}</text></view><view class="device-info data-v-30d62b50"><view class="device-left data-v-30d62b50"><view class="device-name data-v-30d62b50">共享风扇</view><view class="device-id data-v-30d62b50">设备号:{{c}}</view></view><view class="device-right data-v-30d62b50"><view wx:if="{{d}}" class="payment-badge wx-score data-v-30d62b50"><image src="{{e}}" mode="aspectFit" class="badge-icon data-v-30d62b50"></image><view class="badge-text data-v-30d62b50"><text class="data-v-30d62b50">微信支付分</text><text class="divider data-v-30d62b50">|</text><text class="highlight data-v-30d62b50">免押租借</text></view></view><view wx:else class="payment-badge deposit data-v-30d62b50"><text class="badge-text data-v-30d62b50">押金租借</text></view></view></view><view class="time-info data-v-30d62b50"><view class="time-item data-v-30d62b50"><text class="label data-v-30d62b50">开始时间</text><text class="value data-v-30d62b50">{{f}}</text></view><view class="time-item data-v-30d62b50"><text class="label data-v-30d62b50">已使用时长</text><text class="value highlight data-v-30d62b50">{{g}}</text></view><view class="time-item data-v-30d62b50"><text class="label data-v-30d62b50">当前费用</text><text class="value data-v-30d62b50">¥{{h}}</text></view></view><view wx:if="{{false}}" class="debug-info data-v-30d62b50"><view class="debug-title data-v-30d62b50">调试信息</view><view class="debug-item data-v-30d62b50">原始开始时间: {{i}}</view><view class="debug-item data-v-30d62b50">处理后开始时间: {{j}}</view><view class="debug-item data-v-30d62b50">订单状态: {{k}}</view></view></view><view class="notice-card data-v-30d62b50"><view class="notice-title data-v-30d62b50">归还说明</view><view class="notice-list data-v-30d62b50"><view class="notice-item data-v-30d62b50"><view class="dot data-v-30d62b50"></view><text class="data-v-30d62b50">请确保设备完好无损</text></view><view class="notice-item data-v-30d62b50"><view class="dot data-v-30d62b50"></view><text class="data-v-30d62b50">将风扇插入原位置或空闲插口</text></view><view class="notice-item data-v-30d62b50"><view class="dot data-v-30d62b50"></view><text class="data-v-30d62b50">系统将自动检测归还并处理退款</text></view><view class="notice-item data-v-30d62b50"><view class="dot data-v-30d62b50"></view><text class="data-v-30d62b50">归还成功后将自动跳转到成功页面</text></view></view></view><view class="bottom-bar data-v-30d62b50"><view class="action-item secondary data-v-30d62b50" bindtap="{{l}}">刷新状态</view><view class="action-item primary data-v-30d62b50" bindtap="{{m}}">返回首页</view></view></view>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.return-container.data-v-571550e1{min-height:100vh;background:#f7f8fa;padding:30rpx 30rpx 180rpx;box-sizing:border-box}.return-container .order-card.data-v-571550e1{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .order-card .order-header.data-v-571550e1{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx;padding-bottom:16rpx;border-bottom:1rpx solid #f0f0f0}.return-container .order-card .order-header .title.data-v-571550e1{font-size:30rpx;font-weight:700;color:#333}.return-container .order-card .order-header .order-no.data-v-571550e1{font-size:24rpx;color:#999}.return-container .order-card .device-info.data-v-571550e1{margin-bottom:24rpx;display:flex;justify-content:space-between;align-items:flex-start}.return-container .order-card .device-info .device-left.data-v-571550e1{flex:1;margin-right:20rpx}.return-container .order-card .device-info .device-left .device-name.data-v-571550e1{font-size:32rpx;font-weight:500;color:#333;margin-bottom:8rpx}.return-container .order-card .device-info .device-left .device-id.data-v-571550e1{font-size:26rpx;color:#999;margin-bottom:0}.return-container .order-card .device-info .device-right .payment-badge.data-v-571550e1{display:inline-flex;align-items:center;padding:6rpx 12rpx;border-radius:8rpx;white-space:nowrap}.return-container .order-card .device-info .device-right .payment-badge.wx-score.data-v-571550e1{background:rgba(7,193,96,.08)}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-icon.data-v-571550e1{width:32rpx;height:26rpx;margin-right:8rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text.data-v-571550e1{font-size:22rpx;color:#07c160;display:flex;align-items:center}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .divider.data-v-571550e1{margin:0 6rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .highlight.data-v-571550e1{font-weight:500}.return-container .order-card .device-info .device-right .payment-badge.deposit.data-v-571550e1{background:#f5f5f5}.return-container .order-card .device-info .device-right .payment-badge.deposit .badge-text.data-v-571550e1{font-size:22rpx;color:#666;font-weight:500}.return-container .order-card .time-info.data-v-571550e1{background:#f9f9f9;border-radius:16rpx;padding:20rpx}.return-container .order-card .time-info .time-item.data-v-571550e1{display:flex;justify-content:space-between;align-items:center;margin-bottom:16rpx}.return-container .order-card .time-info .time-item.data-v-571550e1:last-child{margin-bottom:0}.return-container .order-card .time-info .time-item .label.data-v-571550e1{font-size:26rpx;color:#666}.return-container .order-card .time-info .time-item .value.data-v-571550e1{font-size:26rpx;color:#333}.return-container .order-card .time-info .time-item .value.highlight.data-v-571550e1{color:#ff6b6b;font-weight:700}.return-container .notice-card.data-v-571550e1{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .notice-card .notice-title.data-v-571550e1{font-size:30rpx;font-weight:700;color:#333;margin-bottom:20rpx}.return-container .notice-card .notice-list .notice-item.data-v-571550e1{display:flex;align-items:flex-start;margin-bottom:16rpx}.return-container .notice-card .notice-list .notice-item.data-v-571550e1:last-child{margin-bottom:0}.return-container .notice-card .notice-list .notice-item .dot.data-v-571550e1{width:12rpx;height:12rpx;background:#07c160;border-radius:50%;margin-top:10rpx;margin-right:16rpx;flex-shrink:0}.return-container .notice-card .notice-list .notice-item text.data-v-571550e1{font-size:26rpx;color:#666;line-height:1.5}.return-container .bottom-bar.data-v-571550e1{position:fixed;left:0;right:0;bottom:0;padding:20rpx 30rpx;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4rpx 16rpx rgba(0,0,0,.04);z-index:10;display:flex;justify-content:space-between;gap:20rpx}.return-container .bottom-bar .action-item.data-v-571550e1{height:88rpx;display:flex;align-items:center;justify-content:center;font-size:30rpx;border-radius:44rpx;flex:1}.return-container .bottom-bar .action-item.primary.data-v-571550e1{background:#07c160;color:#fff}.return-container .bottom-bar .action-item.primary.data-v-571550e1:active{opacity:.8}.return-container .bottom-bar .action-item.secondary.data-v-571550e1{background:#f5f5f5;color:#333;border:1rpx solid #e0e0e0}.return-container .bottom-bar .action-item.secondary.data-v-571550e1:active{opacity:.8}
|
||||
.return-container.data-v-30d62b50{min-height:100vh;background:#f7f8fa;padding:30rpx 30rpx 180rpx;box-sizing:border-box}.return-container .order-card.data-v-30d62b50{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .order-card .order-header.data-v-30d62b50{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx;padding-bottom:16rpx;border-bottom:1rpx solid #f0f0f0}.return-container .order-card .order-header .title.data-v-30d62b50{font-size:30rpx;font-weight:700;color:#333}.return-container .order-card .order-header .order-no.data-v-30d62b50{font-size:24rpx;color:#999}.return-container .order-card .device-info.data-v-30d62b50{margin-bottom:24rpx;display:flex;justify-content:space-between;align-items:flex-start}.return-container .order-card .device-info .device-left.data-v-30d62b50{flex:1;margin-right:20rpx}.return-container .order-card .device-info .device-left .device-name.data-v-30d62b50{font-size:32rpx;font-weight:500;color:#333;margin-bottom:8rpx}.return-container .order-card .device-info .device-left .device-id.data-v-30d62b50{font-size:26rpx;color:#999;margin-bottom:0}.return-container .order-card .device-info .device-right .payment-badge.data-v-30d62b50{display:inline-flex;align-items:center;padding:6rpx 12rpx;border-radius:8rpx;white-space:nowrap}.return-container .order-card .device-info .device-right .payment-badge.wx-score.data-v-30d62b50{background:rgba(7,193,96,.08)}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-icon.data-v-30d62b50{width:32rpx;height:26rpx;margin-right:8rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text.data-v-30d62b50{font-size:22rpx;color:#07c160;display:flex;align-items:center}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .divider.data-v-30d62b50{margin:0 6rpx}.return-container .order-card .device-info .device-right .payment-badge.wx-score .badge-text .highlight.data-v-30d62b50{font-weight:500}.return-container .order-card .device-info .device-right .payment-badge.deposit.data-v-30d62b50{background:#f5f5f5}.return-container .order-card .device-info .device-right .payment-badge.deposit .badge-text.data-v-30d62b50{font-size:22rpx;color:#666;font-weight:500}.return-container .order-card .time-info.data-v-30d62b50{background:#f9f9f9;border-radius:16rpx;padding:20rpx}.return-container .order-card .time-info .time-item.data-v-30d62b50{display:flex;justify-content:space-between;align-items:center;margin-bottom:16rpx}.return-container .order-card .time-info .time-item.data-v-30d62b50:last-child{margin-bottom:0}.return-container .order-card .time-info .time-item .label.data-v-30d62b50{font-size:26rpx;color:#666}.return-container .order-card .time-info .time-item .value.data-v-30d62b50{font-size:26rpx;color:#333}.return-container .order-card .time-info .time-item .value.highlight.data-v-30d62b50{color:#ff6b6b;font-weight:700}.return-container .notice-card.data-v-30d62b50{background:#fff;border-radius:20rpx;padding:30rpx;margin-bottom:30rpx;box-shadow:0 4rpx 16rpx rgba(0,0,0,.04)}.return-container .notice-card .notice-title.data-v-30d62b50{font-size:30rpx;font-weight:700;color:#333;margin-bottom:20rpx}.return-container .notice-card .notice-list .notice-item.data-v-30d62b50{display:flex;align-items:flex-start;margin-bottom:16rpx}.return-container .notice-card .notice-list .notice-item.data-v-30d62b50:last-child{margin-bottom:0}.return-container .notice-card .notice-list .notice-item .dot.data-v-30d62b50{width:12rpx;height:12rpx;background:#07c160;border-radius:50%;margin-top:10rpx;margin-right:16rpx;flex-shrink:0}.return-container .notice-card .notice-list .notice-item text.data-v-30d62b50{font-size:26rpx;color:#666;line-height:1.5}.return-container .bottom-bar.data-v-30d62b50{position:fixed;left:0;right:0;bottom:0;padding:20rpx 30rpx;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4rpx 16rpx rgba(0,0,0,.04);z-index:10;display:flex;justify-content:space-between;gap:20rpx}.return-container .bottom-bar .action-item.data-v-30d62b50{height:88rpx;display:flex;align-items:center;justify-content:center;font-size:30rpx;border-radius:44rpx;flex:1}.return-container .bottom-bar .action-item.primary.data-v-30d62b50{background:#07c160;color:#fff}.return-container .bottom-bar .action-item.primary.data-v-30d62b50:active{opacity:.8}.return-container .bottom-bar .action-item.secondary.data-v-30d62b50{background:#f5f5f5;color:#333;border:1rpx solid #e0e0e0}.return-container .bottom-bar .action-item.secondary.data-v-30d62b50:active{opacity:.8}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"url.js","sources":["config/url.js"],"sourcesContent":["export const URL = \"https://my.gxfs123.com/api\" //正式服务器\r\n// export const URL = \"https://unifans.gxfs123.com/api\" //测试服务器\r\n// export const URL = \"http://192.168.10.16:8080\" \t\t//本地调试\r\n\r\nexport const appid = \"wx2165f0be356ae7a9\" //小程序appid"],"names":[],"mappings":";AAAY,MAAC,MAAM;AAIP,MAAC,QAAQ;;;"}
|
||||
{"version":3,"file":"url.js","sources":["config/url.js"],"sourcesContent":["export const URL = \"https://my.gxfs123.com/api\" //正式服务器\r\n// export const URL = \"https://unifans.gxfs123.com/api\" //测试服务器\r\n// export const URL = \"http://192.168.10.31:8080\" \t\t//本地调试\r\n\r\nexport const appid = \"wx2165f0be356ae7a9\" //小程序appid"],"names":[],"mappings":";AAAY,MAAC,MAAM;AAIP,MAAC,QAAQ;;;"}
|
||||
File diff suppressed because one or more lines are too long
+2
-2
@@ -6988,9 +6988,9 @@ function isConsoleWritable() {
|
||||
return isWritable;
|
||||
}
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.10.13,127.0.0.1";
|
||||
const hosts = "192.168.10.30,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_4_oLdt";
|
||||
const id = "mp-weixin_wcZ9WZ";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
+30
-26
@@ -8,6 +8,7 @@ const _sfc_main = {
|
||||
setup(__props) {
|
||||
const deviceInfo = common_vendor.ref({});
|
||||
const deviceId = common_vendor.ref("");
|
||||
const deviceFeeConfig = common_vendor.ref({});
|
||||
const deviceLocation = common_vendor.ref("一号教学楼大厅");
|
||||
const batteryLevel = common_vendor.ref(95);
|
||||
const hasActiveOrder = common_vendor.ref(false);
|
||||
@@ -21,7 +22,7 @@ const _sfc_main = {
|
||||
common_vendor.onLoad((options) => {
|
||||
deviceId.value = options.deviceNo;
|
||||
checkOrderStatus();
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:199", options.deviceNo);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:200", options.deviceNo);
|
||||
fetchDeviceInfo();
|
||||
});
|
||||
common_vendor.onMounted(() => {
|
||||
@@ -30,18 +31,18 @@ const _sfc_main = {
|
||||
const checkUserPhone = async () => {
|
||||
try {
|
||||
const userInfoRes = await util_index.getUserInfo();
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:210", userInfoRes.data.phone, "getUserInfoPhone");
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:211", userInfoRes.data.phone, "getUserInfoPhone");
|
||||
if (userInfoRes.code == 200 && userInfoRes.data && userInfoRes.data.phone) {
|
||||
phoneNumber.value = userInfoRes.data.phone;
|
||||
} else {
|
||||
showPhoneAuthPopup.value = true;
|
||||
}
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:219", "获取用户信息失败:", error);
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:220", "获取用户信息失败:", error);
|
||||
}
|
||||
};
|
||||
const onGetPhoneNumber = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:225", "getPhoneNumber event:", e.detail);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:226", "getPhoneNumber event:", e.detail);
|
||||
if (e.detail.errMsg && e.detail.errMsg.includes("deny")) {
|
||||
common_vendor.index.showToast({
|
||||
title: "需要授权手机号才能使用设备",
|
||||
@@ -53,13 +54,13 @@ const _sfc_main = {
|
||||
common_vendor.index.showLoading({
|
||||
title: "获取中..."
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:242", "获取到的授权code:", e.detail.code);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:243", "获取到的授权code:", e.detail.code);
|
||||
try {
|
||||
util_index.getUserPhoneNumber(e.detail.code).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:248", "获取手机号API响应原始数据:", JSON.stringify(res));
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:249", "获取手机号API响应原始数据:", JSON.stringify(res));
|
||||
common_vendor.index.hideLoading();
|
||||
if (!res) {
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:253", "API返回数据为空");
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:254", "API返回数据为空");
|
||||
common_vendor.index.showModal({
|
||||
title: "数据异常",
|
||||
content: "API返回为空",
|
||||
@@ -67,8 +68,8 @@ const _sfc_main = {
|
||||
});
|
||||
return;
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:263", "响应code:", res.code, "响应类型:", typeof res.code);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:264", "是否有data:", !!res.data, "是否有phone:", res.data && !!res.data.phone);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:264", "响应code:", res.code, "响应类型:", typeof res.code);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:265", "是否有data:", !!res.data, "是否有phone:", res.data && !!res.data.phone);
|
||||
if (res.code == 200 && res.data && res.data.phoneNumber) {
|
||||
phoneNumber.value = res.data.phoneNumber;
|
||||
showPhoneAuthPopup.value = false;
|
||||
@@ -77,7 +78,7 @@ const _sfc_main = {
|
||||
icon: "success"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("warn", "at pages/device/detail.vue:276", "获取手机号响应异常:", res.msg || "未知错误");
|
||||
common_vendor.index.__f__("warn", "at pages/device/detail.vue:277", "获取手机号响应异常:", res.msg || "未知错误");
|
||||
common_vendor.index.showModal({
|
||||
title: "获取手机号异常",
|
||||
content: `状态码: ${res.code}, 消息: ${res.msg || "无"}`,
|
||||
@@ -86,7 +87,7 @@ const _sfc_main = {
|
||||
}
|
||||
}).catch((err) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:286", "获取手机号码失败(catch):", err);
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:287", "获取手机号码失败(catch):", err);
|
||||
let errMsg = err.message || err.toString();
|
||||
common_vendor.index.showModal({
|
||||
title: "获取手机号失败",
|
||||
@@ -96,7 +97,7 @@ const _sfc_main = {
|
||||
});
|
||||
} catch (outerError) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:298", "获取手机号外部错误:", outerError);
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:299", "获取手机号外部错误:", outerError);
|
||||
common_vendor.index.showModal({
|
||||
title: "意外错误",
|
||||
content: "处理过程发生异常: " + (outerError.message || outerError),
|
||||
@@ -128,6 +129,8 @@ const _sfc_main = {
|
||||
deviceStatus.class = "offline";
|
||||
}
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:337", "feeconfig", deviceInfo.value.feeConfig);
|
||||
deviceFeeConfig.value = JSON.parse(deviceInfo.value.feeConfig)[0] || {};
|
||||
}
|
||||
};
|
||||
const showLoginTip = () => {
|
||||
@@ -207,17 +210,17 @@ const _sfc_main = {
|
||||
packagePrice: parseFloat(selectedPkg.price)
|
||||
});
|
||||
if (updateRes.code !== 200) {
|
||||
common_vendor.index.__f__("warn", "at pages/device/detail.vue:441", "更新订单套餐信息失败:", updateRes.msg);
|
||||
common_vendor.index.__f__("warn", "at pages/device/detail.vue:445", "更新订单套餐信息失败:", updateRes.msg);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:444", "订单套餐信息已提前更新");
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:448", "订单套餐信息已提前更新");
|
||||
}
|
||||
} catch (updateError) {
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:447", "更新订单套餐信息时出错:", updateError);
|
||||
common_vendor.index.__f__("error", "at pages/device/detail.vue:451", "更新订单套餐信息时出错:", updateError);
|
||||
}
|
||||
if (payWay == "wx-pay") {
|
||||
common_vendor.index.hideLoading();
|
||||
const res = await config_user.getOrderByOrderNo(order.orderNo);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:456", res);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:460", res);
|
||||
const deposit = parseFloat(deviceInfo.value.depositAmount);
|
||||
const packagePrice = parseFloat(selectedPkg.price);
|
||||
const totalAmount = (deposit + packagePrice).toFixed(2);
|
||||
@@ -234,7 +237,7 @@ const _sfc_main = {
|
||||
const payResult = await util_index.initiateWeChatScorePayment(res);
|
||||
if (payResult.errCode == "0") {
|
||||
const res2 = await config_user.getOrderByOrderNoScorePayStatus(order.orderNo);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:484", res2.data.orderStatus);
|
||||
common_vendor.index.__f__("log", "at pages/device/detail.vue:488", res2.data.orderStatus);
|
||||
if (res2.data.orderStatus == "in_used") {
|
||||
common_vendor.index.showToast({
|
||||
title: "设备租借成功",
|
||||
@@ -291,17 +294,18 @@ const _sfc_main = {
|
||||
f: common_assets._imports_1$2,
|
||||
g: batteryLevel.value < 20 ? 1 : "",
|
||||
h: common_vendor.t(batteryLevel.value),
|
||||
i: common_vendor.t(hasActiveOrder.value ? "归还设备" : "免押租借"),
|
||||
j: hasActiveOrder.value ? 1 : "",
|
||||
k: common_vendor.o(($event) => handleRent("wx-score-pay")),
|
||||
l: common_assets._imports_0$2,
|
||||
m: common_vendor.o(($event) => handleRent("wx-pay")),
|
||||
n: showPhoneAuthPopup.value
|
||||
i: common_vendor.t(deviceFeeConfig.value.maxHourPrice),
|
||||
j: common_vendor.t(deviceInfo.value.depositAmount),
|
||||
k: common_vendor.t(hasActiveOrder.value ? "归还设备" : "免押租借"),
|
||||
l: hasActiveOrder.value ? 1 : "",
|
||||
m: common_vendor.o(($event) => handleRent("wx-score-pay")),
|
||||
n: common_assets._imports_0$2,
|
||||
o: showPhoneAuthPopup.value
|
||||
}, showPhoneAuthPopup.value ? {
|
||||
o: common_vendor.o(() => {
|
||||
p: common_vendor.o(() => {
|
||||
}),
|
||||
p: common_vendor.o(onGetPhoneNumber),
|
||||
q: common_vendor.o(($event) => showPhoneAuthPopup.value = false)
|
||||
q: common_vendor.o(onGetPhoneNumber),
|
||||
r: common_vendor.o(($event) => showPhoneAuthPopup.value = false)
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="container data-v-d65de3a7"><view class="device-header data-v-d65de3a7"><view class="{{['device-status-card', 'data-v-d65de3a7', b]}}"><view class="status-indicator data-v-d65de3a7"></view><text class="status-text data-v-d65de3a7">{{a}}</text></view><view class="device-title data-v-d65de3a7"><text class="name data-v-d65de3a7">共享风扇</text><view class="device-meta data-v-d65de3a7"><text class="id-label data-v-d65de3a7">设备号:</text><text class="id-value data-v-d65de3a7">{{c}}</text></view></view></view><view class="card device-info-card data-v-d65de3a7"><view class="card-row data-v-d65de3a7"><view class="card-item data-v-d65de3a7"><view class="item-icon location-icon data-v-d65de3a7"><image class="data-v-d65de3a7" src="{{d}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-d65de3a7"><text class="item-label data-v-d65de3a7">当前位置</text><text class="item-value data-v-d65de3a7">{{e}}</text></view></view><view class="card-item data-v-d65de3a7"><view class="{{['item-icon', 'battery-icon', 'data-v-d65de3a7', g && 'battery-low']}}"><image class="data-v-d65de3a7" src="{{f}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-d65de3a7"><text class="item-label data-v-d65de3a7">电池电量</text><text class="item-value data-v-d65de3a7">{{h}}%</text></view></view></view></view><view class="card pricing-card data-v-d65de3a7"><view class="card-header data-v-d65de3a7"><text class="card-title data-v-d65de3a7">计费规则</text></view><view class="pricing-banner data-v-d65de3a7"><view class="pricing-main data-v-d65de3a7"><text class="price data-v-d65de3a7">¥5.00</text><text class="unit data-v-d65de3a7">/小时</text></view><text class="cap-price data-v-d65de3a7">封顶 ¥99</text></view><view class="pricing-rules data-v-d65de3a7"><view class="rule-item data-v-d65de3a7"><view class="rule-dot data-v-d65de3a7"></view><text class="rule-text data-v-d65de3a7">不足60分钟按60分钟计费</text></view><view class="rule-item data-v-d65de3a7"><view class="rule-dot data-v-d65de3a7"></view><text class="rule-text data-v-d65de3a7">持续计费至99元视为买断</text></view></view></view><view class="card notice-card data-v-d65de3a7"><view class="card-header data-v-d65de3a7"><text class="card-title data-v-d65de3a7">使用须知</text></view><view class="notice-items data-v-d65de3a7"><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">请在使用前检查设备是否完好</text></view><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">请在指定区域内使用设备</text></view><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">归还时请确保设备完好,避免损坏</text></view></view></view><view class="footer data-v-d65de3a7"><button class="{{['rent-button', 'data-v-d65de3a7', j && 'return-button']}}" bindtap="{{k}}"><text class="data-v-d65de3a7">{{i}}</text></button><view class="wechat-credit data-v-d65de3a7"><image src="{{l}}" mode="aspectFit" class="wx-icon data-v-d65de3a7"></image><view class="credit-text data-v-d65de3a7"><text class="data-v-d65de3a7">微信支付分</text><text class="credit-divider data-v-d65de3a7">|</text><text class="credit-score data-v-d65de3a7">550分及以上优享</text></view></view><view class=" data-v-d65de3a7" style="align-items:center;align-content:center;text-align:center;line-height:50rpx" bindtap="{{m}}"> 无法免押点这里></view></view><view wx:if="{{n}}" class="phone-auth-popup data-v-d65de3a7"><view class="popup-mask data-v-d65de3a7" catchtap="{{o}}"></view><view class="popup-content data-v-d65de3a7"><view class="popup-header data-v-d65de3a7"><text class="popup-title data-v-d65de3a7">授权获取手机号</text></view><view class="popup-body data-v-d65de3a7"><view class="auth-desc data-v-d65de3a7"><text class="data-v-d65de3a7">为了提供更好的服务,需要授权获取您的手机号</text></view><button class="auth-btn data-v-d65de3a7" open-type="getPhoneNumber" bindgetphonenumber="{{p}}"> 一键获取手机号 </button><view class="auth-cancel data-v-d65de3a7" bindtap="{{q}}"><text class="data-v-d65de3a7">暂不授权</text></view></view></view></view></view>
|
||||
<view class="container data-v-d65de3a7"><view class="device-header data-v-d65de3a7"><view class="{{['device-status-card', 'data-v-d65de3a7', b]}}"><view class="status-indicator data-v-d65de3a7"></view><text class="status-text data-v-d65de3a7">{{a}}</text></view><view class="device-title data-v-d65de3a7"><text class="name data-v-d65de3a7">共享风扇</text><view class="device-meta data-v-d65de3a7"><text class="id-label data-v-d65de3a7">设备号:</text><text class="id-value data-v-d65de3a7">{{c}}</text></view></view></view><view class="card device-info-card data-v-d65de3a7"><view class="card-row data-v-d65de3a7"><view class="card-item data-v-d65de3a7"><view class="item-icon location-icon data-v-d65de3a7"><image class="data-v-d65de3a7" src="{{d}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-d65de3a7"><text class="item-label data-v-d65de3a7">当前位置</text><text class="item-value data-v-d65de3a7">{{e}}</text></view></view><view class="card-item data-v-d65de3a7"><view class="{{['item-icon', 'battery-icon', 'data-v-d65de3a7', g && 'battery-low']}}"><image class="data-v-d65de3a7" src="{{f}}" mode="aspectFill" style="width:45rpx;height:45rpx"></image></view><view class="item-content data-v-d65de3a7"><text class="item-label data-v-d65de3a7">电池电量</text><text class="item-value data-v-d65de3a7">{{h}}%</text></view></view></view></view><view class="card pricing-card data-v-d65de3a7"><view class="card-header data-v-d65de3a7"><text class="card-title data-v-d65de3a7">计费规则</text></view><view class="pricing-banner data-v-d65de3a7"><view class="pricing-main data-v-d65de3a7"><text class="price data-v-d65de3a7">¥{{i}}</text><text class="unit data-v-d65de3a7">/小时</text></view><text class="cap-price data-v-d65de3a7">封顶 ¥{{j}}</text></view><view class="pricing-rules data-v-d65de3a7"><view class="rule-item data-v-d65de3a7"><view class="rule-dot data-v-d65de3a7"></view><text class="rule-text data-v-d65de3a7">不足60分钟按60分钟计费</text></view><view class="rule-item data-v-d65de3a7"><view class="rule-dot data-v-d65de3a7"></view><text class="rule-text data-v-d65de3a7">持续计费至99元视为买断</text></view></view></view><view class="card notice-card data-v-d65de3a7"><view class="card-header data-v-d65de3a7"><text class="card-title data-v-d65de3a7">使用须知</text></view><view class="notice-items data-v-d65de3a7"><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">请在使用前检查设备是否完好</text></view><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">请在指定区域内使用设备</text></view><view class="notice-item data-v-d65de3a7"><view class="notice-dot data-v-d65de3a7"></view><text class="notice-text data-v-d65de3a7">归还时请确保设备完好,避免损坏</text></view></view></view><view class="footer data-v-d65de3a7"><button class="{{['rent-button', 'data-v-d65de3a7', l && 'return-button']}}" bindtap="{{m}}"><text class="data-v-d65de3a7">{{k}}</text></button><view class="wechat-credit data-v-d65de3a7"><image src="{{n}}" mode="aspectFit" class="wx-icon data-v-d65de3a7"></image><view class="credit-text data-v-d65de3a7"><text class="data-v-d65de3a7">微信支付分</text><text class="credit-divider data-v-d65de3a7">|</text><text class="credit-score data-v-d65de3a7">550分及以上优享</text></view></view></view><view wx:if="{{o}}" class="phone-auth-popup data-v-d65de3a7"><view class="popup-mask data-v-d65de3a7" catchtap="{{p}}"></view><view class="popup-content data-v-d65de3a7"><view class="popup-header data-v-d65de3a7"><text class="popup-title data-v-d65de3a7">授权获取手机号</text></view><view class="popup-body data-v-d65de3a7"><view class="auth-desc data-v-d65de3a7"><text class="data-v-d65de3a7">为了提供更好的服务,需要授权获取您的手机号</text></view><button class="auth-btn data-v-d65de3a7" open-type="getPhoneNumber" bindgetphonenumber="{{q}}"> 一键获取手机号 </button><view class="auth-cancel data-v-d65de3a7" bindtap="{{r}}"><text class="data-v-d65de3a7">暂不授权</text></view></view></view></view></view>
|
||||
Reference in New Issue
Block a user