3 Commits

5 changed files with 23 additions and 11 deletions
Unified View
  1. +8
    -0
      api/api.js
  2. +1
    -1
      components/config/configPopup.vue
  3. +2
    -2
      config.js
  4. +9
    -5
      pages_order/mine/purse.vue
  5. +3
    -3
      pages_order/mine/runningWater.vue

+ 8
- 0
api/api.js View File

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


+ 1
- 1
components/config/configPopup.vue View File

@ -50,4 +50,4 @@
box-sizing: border-box; box-sizing: border-box;
} }
} }
</style>
</style>

+ 2
- 2
config.js View File

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


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

@ -10,10 +10,10 @@
<view class="from-body"> <view class="from-body">
<view>我要提现</view> <view>我要提现</view>
<view class="from-line"> <view class="from-line">
<input placeholder="请输入提现金额" />
<input placeholder="请输入提现金额" v-model="form.price"/>
</view> </view>
<view class="from-line"> <view class="from-line">
<input placeholder="请输入姓名" />
<input placeholder="请输入姓名" v-model="form.name"/>
</view> </view>
<!-- <view class="from-line"> <!-- <view class="from-line">
<input placeholder="请输入开户行" /> <input placeholder="请输入开户行" />
@ -47,13 +47,17 @@
}, },
data() { data() {
return { return {
notice : ''
notice : '',
form:{
price:null,
name:'',
}
} }
}, },
methods: { methods: {
submit() { submit() {
if (this.$utils.verificationAll(this.form, { if (this.$utils.verificationAll(this.form, {
money: '请输入提现金额',
price: '请输入提现金额',
name: '请输入姓名', name: '请输入姓名',
})) { })) {
return return
@ -66,7 +70,7 @@
}) })
setTimeout(uni.navigateTo, 800, { 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> <template #value>
<view class="info"> <view class="info">
<view class="price"> <view class="price">
{{ x[item.type] + item.balance }}
{{ x[item.type] + item.price }}
</view> </view>
<view class="uni-color-btn" <view class="uni-color-btn"
@click="requestMerchantTransfer(item)" @click="requestMerchantTransfer(item)"
v-if="status == 1 && item.status == 4"
v-if="item.type == 1 && item.state == 4"
> >
领取 领取
</view> </view>
<view class="status" <view class="status"
v-else> v-else>
{{ item.status_dictText }}
{{ item.state_dictText }}
</view> </view>
</view> </view>
</template> </template>


Loading…
Cancel
Save