Browse Source

用户排队中金额显示,活动规则查看

master
yangrz 2 years ago
parent
commit
20b4316e52
  1. 7
      agentApp/pages/allpages/index.vue
  2. 30
      agentApp/pages/payment/payment.vue
  3. 2
      agentApp/pages/queuing-information/queuing-information.vue
  4. 6
      agentApp/pages/user-orders/user-orders.vue

7
agentApp/pages/allpages/index.vue

@ -1,5 +1,5 @@
<template> <template>
<view class="page">
<view class="page" v-if="is_debug">
<text>商户相关</text> <text>商户相关</text>
<button @click="goPage(4)">商户登录</button> <button @click="goPage(4)">商户登录</button>
<button @click="goPage(5)">商户主页</button> <button @click="goPage(5)">商户主页</button>
@ -18,13 +18,16 @@
<button @click="goPage(12)">代理商提现详情</button> <button @click="goPage(12)">代理商提现详情</button>
<button @click="goPage(13)">代理商提现历史</button> <button @click="goPage(13)">代理商提现历史</button>
</view> </view>
<view class="page" v-else>
<button @click="goPage(20)">用户主页</button>
</view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
is_debug: process.env.NODE_ENV !== 'production'
}; };
}, },
methods: { methods: {

30
agentApp/pages/payment/payment.vue

@ -55,6 +55,11 @@
查看活动规则 查看活动规则
</view> </view>
</view> </view>
<u-overlay :show="showRule" :opacity="0.8" @click="showRule=false">
<view class="warp">
<image class="rect" :src="sysConfig.activity_rule_img" mode="aspectFit"></image>
</view>
</u-overlay>
<!-- <u-keyboard confirmText="1" mode="number" :closeOnClickOverlay="true" @close="close" :show="show" @confirm="confirm" @cancel="cancel"></u-keyboard> --> <!-- <u-keyboard confirmText="1" mode="number" :closeOnClickOverlay="true" @close="close" :show="show" @confirm="confirm" @cancel="cancel"></u-keyboard> -->
<cu-keyboard ref="cukeyboard" @change="change" @confirm="confirm" @hide="hide" :safeHeight="safeHeight"></cu-keyboard> <cu-keyboard ref="cukeyboard" @change="change" @confirm="confirm" @hide="hide" :safeHeight="safeHeight"></cu-keyboard>
</view> </view>
@ -64,7 +69,8 @@
<script> <script>
import { import {
userGetMerchantInfo, userGetMerchantInfo,
userCreateOrder
userCreateOrder,
publicSysConfig
} from '../../common/api.js' } from '../../common/api.js'
export default { export default {
@ -78,7 +84,9 @@
address: '', address: '',
logo: '' logo: ''
}, },
safeHeight:0
safeHeight:0,
sysConfig: {},
showRule: false
} }
}, },
onReady() { onReady() {
@ -96,9 +104,12 @@
this.safeHeight = 20; this.safeHeight = 20;
} }
this.getSysConfig();
}, },
methods: { methods: {
getSysConfig() {
publicSysConfig().then(data => this.sysConfig = data)
},
getMerchantInfo() { getMerchantInfo() {
userGetMerchantInfo({ userGetMerchantInfo({
payment_code: this.payment_code payment_code: this.payment_code
@ -192,6 +203,7 @@
}, },
showDetail() { showDetail() {
console.log("showDetail") console.log("showDetail")
this.showRule = true
} }
} }
@ -204,6 +216,18 @@
background: #ededed; background: #ededed;
} }
.warp {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.rect {
width: 90vw !important;
height: 90vh !important;
}
.pam-content { .pam-content {
padding-top: 50rpx; padding-top: 50rpx;
padding-left: 30rpx; padding-left: 30rpx;

2
agentApp/pages/queuing-information/queuing-information.vue

@ -39,7 +39,7 @@
tabList: [{ tabList: [{
name: '按时间排序' name: '按时间排序'
}, { }, {
name: '最快排序'
name: '最快排序'
}], }],
currentTab: 0, currentTab: 0,
queueList: [], queueList: [],

6
agentApp/pages/user-orders/user-orders.vue

@ -16,7 +16,11 @@
<image class="withdrawal-line" <image class="withdrawal-line"
src="https://common-1257637852.cos.ap-guangzhou.myqcloud.com/paidui-pay/withdrawal-line.png" /> src="https://common-1257637852.cos.ap-guangzhou.myqcloud.com/paidui-pay/withdrawal-line.png" />
</view> </view>
<view class="to-be-credited">待入账{{accountInfo.waiting_amount}}</view>
<view class="to-be-credited">
待入账{{accountInfo.waiting_amount}}
&emsp;
排队中金额{{accountInfo.wait_rebate_amount}}
</view>
<view class="divider-style"></view> <view class="divider-style"></view>
<view class="information-id-content"> <view class="information-id-content">

Loading…
Cancel
Save