Browse Source

提交数据

master
主管理员 1 day ago
parent
commit
fa6a93c739
4 changed files with 22 additions and 10 deletions
  1. +8
    -0
      api/api.js
  2. +2
    -2
      config.js
  3. +9
    -5
      pages_order/mine/purse.vue
  4. +3
    -3
      pages_order/mine/runningWater.vue

+ 8
- 0
api/api.js View File

@ -335,6 +335,14 @@ const config = {
auth : true,
showLoading : true,
},
//提现
storeWithdrawalApplication : {
url: '/token/withdraw',
method: 'POST',
auth : true,
showLoading : true,
},
// 点击查看联系方式 类型 0帖子 1租房 2工作 3门店
checkGivePhone : {
url: '/token/checkGivePhone',


+ 2
- 2
config.js View File

@ -7,13 +7,13 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'prod'
const type = 'dev'
// 环境配置
const config = {
dev : {
baseUrl : 'http://h5.xzaiyp.top/api',
baseUrl : 'http://youyi-test.natapp1.cc/api',
},
prod : {
baseUrl : 'https://admin.hhlm1688.com/api',


+ 9
- 5
pages_order/mine/purse.vue View File

@ -10,10 +10,10 @@
<view class="from-body">
<view>我要提现</view>
<view class="from-line">
<input placeholder="请输入提现金额" />
<input placeholder="请输入提现金额" v-model="form.price"/>
</view>
<view class="from-line">
<input placeholder="请输入姓名" />
<input placeholder="请输入姓名" v-model="form.name"/>
</view>
<!-- <view class="from-line">
<input placeholder="请输入开户行" />
@ -47,13 +47,17 @@
},
data() {
return {
notice : ''
notice : '',
form:{
price:null,
name:'',
}
}
},
methods: {
submit() {
if (this.$utils.verificationAll(this.form, {
money: '请输入提现金额',
price: '请输入提现金额',
name: '请输入姓名',
})) {
return
@ -66,7 +70,7 @@
})
setTimeout(uni.navigateTo, 800, {
url: '/pages_order/mine/runningWater?status=1'
url: '/pages_order/mine/runningWater?status=0'
})
}
})


+ 3
- 3
pages_order/mine/runningWater.vue View File

@ -22,17 +22,17 @@
<template #value>
<view class="info">
<view class="price">
{{ x[item.type] + item.balance }}
{{ x[item.type] + item.price }}
</view>
<view class="uni-color-btn"
@click="requestMerchantTransfer(item)"
v-if="status == 1 && item.status == 4"
v-if="item.type == 1 && item.state == 4"
>
领取
</view>
<view class="status"
v-else>
{{ item.status_dictText }}
{{ item.state_dictText }}
</view>
</view>
</template>


Loading…
Cancel
Save