Commit a485275c by lanse

update

parent 9f04fd68
...@@ -323,7 +323,7 @@ const messages = { ...@@ -323,7 +323,7 @@ const messages = {
tip9: '審核流程:我們的團隊將快速審核您的申請,並與您聯繫', tip9: '審核流程:我們的團隊將快速審核您的申請,並與您聯繫',
tip10: '批核与拨款:一旦通过审核,您将迅速获得信贷批核和拨款', tip10: '批核与拨款:一旦通过审核,您将迅速获得信贷批核和拨款',
tip11: '貸款金額', tip11: '貸款金額',
tip12: '可貸300万日元', tip12: '',
tip13: '個人基本信息', tip13: '個人基本信息',
tip14: '請輸入姓名', tip14: '請輸入姓名',
tip15: '姓名', tip15: '姓名',
...@@ -350,8 +350,10 @@ const messages = { ...@@ -350,8 +350,10 @@ const messages = {
tip36: '聯絡客服', tip36: '聯絡客服',
tip37: '返回首頁', tip37: '返回首頁',
tip38: '单笔信用额度', tip38: '单笔信用额度',
tip39: '50-300', tip39: '100',
tip40: '万' tip40: '万',
tip41: '3',
tip42: '億'
}, },
orderLog: { orderLog: {
money: '金额', money: '金额',
......
...@@ -326,7 +326,7 @@ const messages = { ...@@ -326,7 +326,7 @@ const messages = {
tip10: `③ 承認とお振込: tip10: `③ 承認とお振込:
審査が承認され次第、即日でご融資金額をお振込みいたします。`, 審査が承認され次第、即日でご融資金額をお振込みいたします。`,
tip11: '融資金額', tip11: '融資金額',
tip12: '融資額300万円', tip12: '',
tip13: '基本的な個人情報', tip13: '基本的な個人情報',
tip14: 'お名前を入力してください', tip14: 'お名前を入力してください',
tip15: 'お名前', tip15: 'お名前',
...@@ -353,8 +353,10 @@ const messages = { ...@@ -353,8 +353,10 @@ const messages = {
tip36: 'お問い合わせ', tip36: 'お問い合わせ',
tip37: 'ホームへ戻る', tip37: 'ホームへ戻る',
tip38: 'ご利用可能なクレジット限度額', tip38: 'ご利用可能なクレジット限度額',
tip39: '50-300', tip39: '200',
tip40: '万円' tip40: '万円',
tip41: '3',
tip42: '億円'
}, },
orderLog: { orderLog: {
money: '金額', money: '金額',
......
...@@ -92,6 +92,10 @@ ...@@ -92,6 +92,10 @@
<view class="label">{{ t('hongli.window_yue') }}</view> <view class="label">{{ t('hongli.window_yue') }}</view>
<view class="value">{{ changeMoney(userMoneyInfo.money) }}</view> <view class="value">{{ changeMoney(userMoneyInfo.money) }}</view>
</view> </view>
<view class="row">
<view class="label">{{ t('jiaoyiDetail.ganggan') }}</view>
<view class="value">{{ windowDetail.buy_in_ratio }}</view>
</view>
<view class="row" style="width: 100%; justify-content: space-between"> <view class="row" style="width: 100%; justify-content: space-between">
<view class="label">{{ t('ipo.windowLabel2') }}{{ t('ipo.zang') }}</view> <view class="label">{{ t('ipo.windowLabel2') }}{{ t('ipo.zang') }}</view>
...@@ -163,7 +167,7 @@ const openWindow = (e: any) => { ...@@ -163,7 +167,7 @@ const openWindow = (e: any) => {
gupiaoWindowShow.value = true gupiaoWindowShow.value = true
} }
const totalPrice = computed(() => { const totalPrice = computed(() => {
return buyParams.value.num * 100 * Number(windowDetail.value.buy_in_money) return (buyParams.value.num * 100 * Number(windowDetail.value.buy_in_money)) / Number(windowDetail.value.buy_in_ratio)
}) })
// 購買 // 購買
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</view> </view>
<view class="row"> <view class="row">
<view class="label">{{ t('ipo.windowLabel2') }}{{ t('ipo.zang') }}</view> <view class="label">{{ t('ipo.windowLabel2') }}{{ t('ipo.zang') }}</view>
<van-stepper v-model="shengouParams.shuliang" step="1" /> <van-stepper v-model="shengouParams.shuliang" step="1000" disable-input />
</view> </view>
<view class="button" @click="shengou">{{ t('gupiaoDetail.submit') }}</view> <view class="button" @click="shengou">{{ t('gupiaoDetail.submit') }}</view>
<van-icon class="close" name="cross" color="#333" size="1.2rem" @click="gupiaoWindowShow = false" /> <van-icon class="close" name="cross" color="#333" size="1.2rem" @click="gupiaoWindowShow = false" />
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
<view class="tip-box"> <view class="tip-box">
<div class="left"> <div class="left">
<view class="tip">{{ t('rongzi.tip38') }}</view> <view class="tip">{{ t('rongzi.tip38') }}</view>
<view class="value" <view class="value">
>{{ t('rongzi.tip39') }}<span>{{ t('rongzi.tip40') }}</span></view {{ t('rongzi.tip39') }}<span>{{ t('rongzi.tip40') }}</span> - {{ t('rongzi.tip41') }}<span>{{ t('rongzi.tip42') }}</span>
> </view>
</div> </div>
</view> </view>
<view class="card"> <view class="card">
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<input v-model="params.address" :placeholder="t('rongzi.tip19')" class="info-input" /> <input v-model="params.address" :placeholder="t('rongzi.tip19')" class="info-input" />
</view> </view>
</view> </view>
<view class="xian"></view> <!-- <view class="xian"></view>
<view class="list"> <view class="list">
<view class="list-title">{{ t('rongzi.tip20') }}</view> <view class="list-title">{{ t('rongzi.tip20') }}</view>
<view> <view>
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<view> <view>
<input v-model="params.mail" :placeholder="t('rongzi.tip23')" class="info-input" /> <input v-model="params.mail" :placeholder="t('rongzi.tip23')" class="info-input" />
</view> </view>
</view> </view> -->
<view class="xian"></view> <view class="xian"></view>
</view> </view>
<view class="sumbit" @click="saveSumbit()">{{ t('rongzi.tip24') }}</view> <view class="sumbit" @click="saveSumbit()">{{ t('rongzi.tip24') }}</view>
...@@ -187,8 +187,6 @@ const params = ref({ ...@@ -187,8 +187,6 @@ const params = ref({
name: null, name: null,
card: null, card: null,
address: null, address: null,
phone: null,
mail: null,
income: null, income: null,
credit: null, credit: null,
qualifications: null qualifications: null
...@@ -199,20 +197,8 @@ let ist = true ...@@ -199,20 +197,8 @@ let ist = true
const saveSumbit = async () => { const saveSumbit = async () => {
if (!ist) return if (!ist) return
ist = false ist = false
if (params.value.money < 500000) {
ist = true
return showToast({
icon: 'none',
message: t('rongzi.tip33')
})
}
if (params.value.money > 3000000) {
ist = true
return showToast({
message: t('rongzi.tip34')
})
}
if (validInfo() === true) { if (validInfo() === true) {
showLoadingToast({ forbidClick: true })
const res = await rongziApi(params.value) const res = await rongziApi(params.value)
ist = true ist = true
params.value = { params.value = {
...@@ -220,8 +206,6 @@ const saveSumbit = async () => { ...@@ -220,8 +206,6 @@ const saveSumbit = async () => {
name: null, name: null,
card: null, card: null,
address: null, address: null,
phone: null,
mail: null,
income: null, income: null,
credit: null, credit: null,
qualifications: null qualifications: null
...@@ -229,14 +213,13 @@ const saveSumbit = async () => { ...@@ -229,14 +213,13 @@ const saveSumbit = async () => {
if (res.code === 1) { if (res.code === 1) {
state.value = 0 state.value = 0
} }
closeToast()
} else { } else {
ist = true ist = true
} }
} }
const validInfo = () => { const validInfo = () => {
if (params.value.name && params.value.card && params.value.address && params.value.phone && params.value.mail) { if (params.value.name && params.value.card && params.value.address) {
return true return true
} else { } else {
showToast({ showToast({
......
...@@ -76,13 +76,13 @@ const checkArr = [ ...@@ -76,13 +76,13 @@ const checkArr = [
] ]
const register = async () => { const register = async () => {
const reg = /^(070|080|090)\d{8}$/ // const reg = /^(070|080|090)\d{8}$/
if (!checkInput(checkArr, registerParams.value)) { if (!checkInput(checkArr, registerParams.value)) {
return return
} }
if (!reg.test(registerParams.value.account)) { // if (!reg.test(registerParams.value.account)) {
return showToast(t('register.tip1')) // return showToast(t('register.tip1'))
} // }
if (registerParams.value.password.length < 6 || registerParams.value.password.length > 10) { if (registerParams.value.password.length < 6 || registerParams.value.password.length > 10) {
return showToast(t('register.tip2')) return showToast(t('register.tip2'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment