Commit 6a334cba authored by ly's avatar ly

测试修改样式

parent 69c16940
NODE_ENV=development
VUE_APP_API=https://bifrost.billionsat.net
VUE_APP_API_PUBLIC_URL=http://ht.billionsat.net/
VUE_APP_ROUTE=http://ht.billionsat.net/index.html#/
VUE_APP_API_PUBLIC_URL=http://192.168.0.118:8080/
VUE_APP_ROUTE=http://192.168.0.118:8080/index.html#/
......@@ -16,25 +16,25 @@
background-size: 730px 350px;
}
.bill-page .bill-mians .bill-card .card-main {
padding: 53px 43px;
padding: 32px 43px;
}
.bill-page .bill-mians .bill-card .card-main .main-top {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 32px;
color: #212121;
text-align: left;
font-style: normal;
}
.bill-page .bill-mians .bill-card .card-main .mian-loanNo {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24px;
line-height: 34px;
color: #999999;
text-align: left;
font-style: normal;
}
.bill-page .bill-mians .bill-card .card-main .main-top .top-text {
padding-right: 24px;
font-weight: 500;
font-size: 32px;
color: #212121;
}
.bill-page .bill-mians .bill-card .card-main .main-s {
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -42,7 +42,7 @@
font-weight: 400;
font-size: 24px;
color: #999999;
line-height: 68px;
line-height: 48px;
text-align: left;
font-style: normal;
}
......@@ -55,7 +55,7 @@
padding-left: 8px;
}
.bill-page .bill-mians .bill-card .card-main .main-text {
padding-top: 28px;
padding-top: 18px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24px;
......@@ -63,7 +63,6 @@
line-height: 38px;
text-align: left;
font-style: normal;
border-top: 2px dashed #ccc;
}
.bill-page .bill-mians .bill-card .card-main .main-num {
padding-top: 18px;
......@@ -71,7 +70,7 @@
font-weight: bold;
font-size: 60px;
color: #2F87FF;
line-height: 70px;
line-height: 60px;
text-align: left;
font-style: normal;
}
......
......@@ -15,25 +15,26 @@
background: url('../../assets/img/bg-imgs.png') 0 0 no-repeat;
background-size: 730px 350px;
.card-main{
padding: 53px 43px;
.main-top{
padding: 32px 43px;
.main-top {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 32px;
color: #212121;
text-align: left;
font-style: normal;
}
.mian-loanNo{
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24px;
line-height: 34px;
color: #999999;
text-align: left;
font-style: normal;
.top-text{
padding-right: 24px;
font-weight: 500;
font-size: 32px;
color: #212121;
}
}
.main-s{
// padding:10px 0;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -41,14 +42,13 @@
font-weight: 400;
font-size: 24px;
color: #999999;
line-height: 68px;
line-height: 48px;
text-align: left;
font-style: normal;
.s-qishu{
text-align: right;
padding-left: 10px;
padding-right: 8px;
// border-right: 2px solid #ccc;
}
.s-time{
padding-left: 8px;
......@@ -56,7 +56,7 @@
}
.main-text{
padding-top:28px;
padding-top:18px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24px;
......@@ -64,7 +64,6 @@
line-height: 38px;
text-align: left;
font-style: normal;
border-top: 2px dashed #ccc;
}
.main-num{
padding-top:18px;
......@@ -72,7 +71,7 @@
font-weight: bold;
font-size: 60px;
color: #2F87FF;
line-height: 70px;
line-height: 60px;
text-align: left;
font-style: normal;
}
......
......@@ -12,6 +12,9 @@
<div class='card-main'>
<div class='main-top'>
<span class='top-text'>{{billDetails.loanName}}</span>
</div>
<div class='mian-loanNo'>
<span>协议编号:{{billDetails.loanNo}}</span>
</div>
<div class='main-s'>
......
......@@ -42,7 +42,16 @@
}
.login-page .login-main .mian-box .box-id .id-input {
border: none;
width: 360px;
width: 380px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 36px;
color: #1E1E1E;
font-style: normal;
}
.login-page .login-main .mian-box .box-id .id-input-s {
border: none;
width: 280px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 36px;
......
......@@ -39,7 +39,16 @@
}
.id-input{
border: none;
width:360px;
width:380px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 36px;
color: #1E1E1E;
font-style: normal;
}
.id-input-s{
border: none;
width:280px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 36px;
......
......@@ -20,21 +20,22 @@
<input class='id-input'
:value="phone"
type="tel"
maxlength="11"
type="number"
@input="phoneChange($event)"
placeholder="输入手机号" />
</div>
<div class='box-id'>
<i class='id-send'></i>
<input class='id-input'
<input class='id-input-s'
placeholder="输入验证码"
:value="sendcode"
type="number"
type="tel"
maxlength="4"
@input="changecode($event)"/>
<div class='id-sendcode' @click='loginSendCode' v-if="canSendCode">获取验证码</div>
<div class='id-sendcodes' v-else>重新获取({{count}}秒)</div>
<div class='id-sendcodes' v-else >重新获取({{count}}秒)</div>
</div>
<div class='box-footer'>
......@@ -50,6 +51,7 @@
<script>
import { onMounted, toRefs, reactive } from "vue";
import API from "../../api/api";
import { showToast } from 'vant'
import { useRouter } from 'vue-router';
export default {
setup(){
......@@ -79,6 +81,14 @@ export default {
state.sendcode = e.target.value
}
const loginSendCode=async()=>{
if(state.idCardNumber==''){
showToast('身份证号不能为空')
return false
}
if(state.phone==''){
showToast('手机号不能为空')
return false
}
const res=await API.loginSend({
"mobile":state.phone,
"orgIp":""
......@@ -90,6 +100,18 @@ export default {
}
const loginbtn=async()=>{
if(state.idCardNumber==''){
showToast('身份证号不能为空')
return false
}
if(state.phone==''){
showToast('手机号不能为空')
return false
}
if(state.sendcode==''){
showToast('验证码不能为空')
return false
}
const res=await API.logins({
"mobile":state.phone,
"idCard":state.idCardNumber,
......
......@@ -7,7 +7,6 @@
.loan-contant{
box-sizing: border-box;
padding-top:10px;
.loan-main{
margin:32px;
width: 690px;
......
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