feat: 新增退款和网约车用户管理页面
添加了退款和网约车用户管理相关页面,包括页面配置、样式、逻辑处理等。同时更新了应用配置文件和私有配置文件以支持新页面。
This commit is contained in:
55
pages/refund/refund.wxml
Normal file
55
pages/refund/refund.wxml
Normal file
@@ -0,0 +1,55 @@
|
||||
<view class="contain">
|
||||
<view class="content">
|
||||
<view class="title">退款</view>
|
||||
<form bindsubmit="onSubmitToGroup"> <!-- 查询前 -->
|
||||
<input class="input" name="code" auto-focus placeholder="请填写用户手机号码"/>
|
||||
<button class="button" form-type="submit" type="primary">查询用户订单</button>
|
||||
</form>
|
||||
|
||||
<!-- 显示用户信息 .userInfo -->
|
||||
<view class="userInfo" wx:if="{{showResult && userInfo}}">
|
||||
<view class="info">
|
||||
<view>手机号:<text>{{userInfo.mobile}}</text></view>
|
||||
<view>用户ID:<text>{{userInfo.uid}}</text></view>
|
||||
<view class="balance-info">
|
||||
<view class="balance-item">
|
||||
<view class="label">总余额</view>
|
||||
<view class="value r">{{userInfo.money}}</view>
|
||||
</view>
|
||||
<view class="balance-item">
|
||||
<view class="label">洗车金</view>
|
||||
<view class="value g">{{userInfo.principal}}</view>
|
||||
</view>
|
||||
<view class="balance-item">
|
||||
<view class="label">赠送金额</view>
|
||||
<view class="value b">{{userInfo.givenamount}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<block wx:if="{{showResult && userInfo}}">
|
||||
<form bindsubmit="onSubmitToGroup1" wx:if="{{userInfo.refundType === 'online'}}"> <!-- 查询后 线上退款 -->
|
||||
<view class="info">
|
||||
<view>本金:<text class="r">{{userInfo.recharge.money || ''}}</text></view>
|
||||
<view>赠送:{{userInfo.recharge.bonusamount || ''}}</view>
|
||||
<view class="mt">订单号:{{userInfo.recharge.orderid || ''}}</view>
|
||||
<view>充值时间:<text class="r">{{userInfo.recharge.date || ''}}</text></view>
|
||||
<view>网点:<text class="r">{{userInfo.recharge.agent || ''}}</text></view>
|
||||
</view>
|
||||
<button class="button" form-type="submit" type="primary">线上退款</button>
|
||||
</form>
|
||||
|
||||
<form bindsubmit="onSubmitToGroup2" wx:if="{{userInfo.refundType === 'offline'}}"> <!-- 查询后 线下退款 -->
|
||||
<view class="info">
|
||||
<view>本金:<text class="r">{{userInfo.recharge.money || ''}}</text></view>
|
||||
<view>赠送:{{userInfo.recharge.bonusamount || ''}}</view>
|
||||
<view class="mt">订单号:{{userInfo.recharge.orderid || ''}}</view>
|
||||
<view>充值时间:<text class="r">{{userInfo.recharge.date || ''}}</text></view>
|
||||
<view>网点:<text class="r">{{userInfo.recharge.agent || ''}}</text></view>
|
||||
</view>
|
||||
<button class="button" form-type="submit" type="warn">线下退款</button>
|
||||
</form>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user