Commit 61b43029 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents b6acc5ad db714e04
Pipeline #4037 canceled with stages
...@@ -194,26 +194,28 @@ export default { ...@@ -194,26 +194,28 @@ export default {
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: absolute;
width: 100%; width: 100%;
height:1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
margin-top: 52px; margin-top: 52px;
margin-bottom: 8px; margin-bottom: 8px;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
background-color: rgba(239,239,239,0.55); background-color: rgba(239, 239, 239, 0.55);
padding:8px 12px; padding-left: 12px;
height:36px;
line-height: 36px;
border-radius: 4px; border-radius: 4px;
width: 100%; width: 100%;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
} }
input::placeholder { input::placeholder {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
letter-spacing: 0; letter-spacing: 0;
} }
...@@ -330,6 +332,20 @@ export default { ...@@ -330,6 +332,20 @@ export default {
.scrollContent { .scrollContent {
padding-top: 3.72rem; padding-top: 3.72rem;
} }
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
} }
} }
} }
......
...@@ -11,8 +11,12 @@ ...@@ -11,8 +11,12 @@
<input v-model="keyWord" placeholder="请输入合同号/产品线/承租人名称" > <input v-model="keyWord" placeholder="请输入合同号/产品线/承租人名称" >
</div> </div>
<scroll <scroll
ref="scroll" :updateData="[lists]" :pullUp="true" class="has-footer" ref="scroll"
@pullingUp="getList"> :updateData="[lists]"
:pullUp="true"
class="has-footer"
@pullingUp="getList"
>
<div v-for="(item,index) in showList" :key="index" class="item" @click="changePage(item)"> <div v-for="(item,index) in showList" :key="index" class="item" @click="changePage(item)">
<div class="left"> <div class="left">
<span> <span>
...@@ -208,26 +212,28 @@ export default { ...@@ -208,26 +212,28 @@ export default {
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: absolute;
width: 100%; width: 100%;
height:1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
margin-top: 52px; margin-top: 52px;
margin-bottom: 8px; margin-bottom: 8px;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
background-color: rgba(239,239,239,0.55); background-color: rgba(239, 239, 239, 0.55);
padding:8px 12px; padding-left: 12px;
height:36px;
line-height: 36px;
border-radius: 4px; border-radius: 4px;
width: 100%; width: 100%;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
} }
input::placeholder { input::placeholder {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
letter-spacing: 0; letter-spacing: 0;
} }
...@@ -330,7 +336,6 @@ export default { ...@@ -330,7 +336,6 @@ export default {
.scrollContent { .scrollContent {
padding-top: 3.32rem; padding-top: 3.32rem;
} }
} }
} }
...@@ -350,6 +355,20 @@ export default { ...@@ -350,6 +355,20 @@ export default {
.scrollContent { .scrollContent {
padding-top: 3.72rem; padding-top: 3.72rem;
} }
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
} }
} }
} }
......
...@@ -115,8 +115,9 @@ export default { ...@@ -115,8 +115,9 @@ export default {
background: #fff; background: #fff;
input { input {
width: 351px; width: 351px;
// height: 36px; height: 36px;
padding:8px 20px; line-height: 36px;
padding-left:12px;
margin: 0 auto; margin: 0 auto;
opacity: 0.4; opacity: 0.4;
border: none; border: none;
...@@ -199,6 +200,19 @@ export default { ...@@ -199,6 +200,19 @@ export default {
.scrollContent { .scrollContent {
padding-top: 3.05rem; padding-top: 3.05rem;
} }
.hinput {
input {
width: 351px;
// height: 36px;
padding:8px 20px;
margin: 0 auto;
opacity: 0.4;
border: none;
background: url("../../assets/drawback/uncheck.png") 310px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
}
}
} }
} }
} }
......
...@@ -253,7 +253,6 @@ export default { ...@@ -253,7 +253,6 @@ export default {
span { span {
flex: 2; flex: 2;
text-align: left; text-align: left;
line-height: 37px;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -262,7 +261,8 @@ export default { ...@@ -262,7 +261,8 @@ export default {
flex: 3; flex: 3;
text-align: right; text-align: right;
padding-right: 5px; padding-right: 5px;
height: 100%; height: 37px;
line-height: 37px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -184,7 +184,8 @@ export default { ...@@ -184,7 +184,8 @@ export default {
<style lang='less' > <style lang='less' >
#first-pay { #first-pay {
.currencyInput{ .currencyInput{
height:100%; height:37px;
line-height: 37px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -6,27 +6,27 @@ ...@@ -6,27 +6,27 @@
<h-view id="reimburse" class="public-style" style="height: 100%"> <h-view id="reimburse" class="public-style" style="height: 100%">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()"> <img src="@/assets/userBind/arrow.png" @click="$routeGo()" />
<span>我的还款</span> <span>我的还款</span>
</div> </div>
</h-header> </h-header>
<div class="search has-header"> <div class="search has-header">
<input v-model="keyWords" type="text" placeholder="请输入还款金额"> <input v-model="keyWords" type="text" placeholder="请输入还款金额" />
</div> </div>
<scroll <scroll ref="scroll" :updateData="[reimburseList]" :pullUp="true">
ref="scroll"
:updateData="[reimburseList]"
:pullUp="true"
>
<section class="reimburse-wrap"> <section class="reimburse-wrap">
<list-item v-for="(list,index) in reimburseList" :key="index" @click.native="godetail(list.order_id)"> <list-item
v-for="(list,index) in reimburseList"
:key="index"
@click.native="godetail(list.order_id)"
>
<item> <item>
<img slot="left-icon" src="@/assets/reimburseMyself/reimburse.png" class="left-icon"> <img slot="left-icon" src="@/assets/reimburseMyself/reimburse.png" class="left-icon" />
<div slot="name">还款金额</div> <div slot="name">还款金额</div>
<div slot="content" class="money-font">{{ list.orderamount | currency }}</div> <div slot="content" class="money-font">{{ list.orderamount | currency }}</div>
</item> </item>
<item> <item>
<div slot="left-icon" class="left-icon"/> <div slot="left-icon" class="left-icon" />
<div slot="name" class="time-font">还款时间</div> <div slot="name" class="time-font">还款时间</div>
<div slot="content" class="time-font">{{ list.order_date }}</div> <div slot="content" class="time-font">{{ list.order_date }}</div>
</item> </item>
...@@ -38,51 +38,51 @@ ...@@ -38,51 +38,51 @@
<script> <script>
export default { export default {
data () { data() {
return { return {
reimburseList: [], reimburseList: [],
keyWords: '', keyWords: ""
} };
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter(to, from, next) {
next(vm => { next(vm => {
// if (from.name === 'MyInfo') { // if (from.name === 'MyInfo') {
vm.getList() vm.getList();
// } // }
}) });
}, },
methods: { methods: {
godetail (e) { godetail(e) {
this.$router.push({ this.$router.push({
name: 'ReimburseDetail', name: "ReimburseDetail",
params: { params: {
order_id: e, order_id: e
}, }
}) });
}, },
getList () { getList() {
let vm = this let vm = this;
let url = process.env.basePath + 'my_repayment_query' let url = process.env.basePath + "my_repayment_query";
let param = { let param = {
user_phone: window.localStorage.getItem('user_phone'), user_phone: window.localStorage.getItem("user_phone")
} };
vm.hlsPopup.showLoading('数据加载中,请稍后!') vm.hlsPopup.showLoading("数据加载中,请稍后!");
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function(res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading();
if (res.result === 'S') { if (res.result === "S") {
vm.reimburseList = res.lists vm.reimburseList = res.lists;
// if (res.lists.length > 0 && res.lists.length < 10) { // if (res.lists.length > 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true) vm.$refs.scroll.update(true);
// } // }
} }
}) });
}, }
}, }
} };
</script> </script>
<style lang="less" rel="stylesheet"> <style lang="less" rel="stylesheet">
#reimburse{ #reimburse {
.h-header-btn { .h-header-btn {
img { img {
width: 16px; width: 16px;
...@@ -109,20 +109,21 @@ export default { ...@@ -109,20 +109,21 @@ export default {
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
background-color: rgba(239,239,239,0.55); background-color: rgba(239, 239, 239, 0.55);
padding:8px 12px; padding-left:12px;
border-radius: 4px; border-radius: 4px;
// height: 36px; height: 36px;
line-height: 36px;
width: 100%; width: 100%;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
} }
input::placeholder { input::placeholder {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #888C8F; color: #888c8f;
letter-spacing: 0; letter-spacing: 0;
} }
...@@ -139,29 +140,29 @@ export default { ...@@ -139,29 +140,29 @@ export default {
// .scrollContent{ // .scrollContent{
// padding-bottom: 70px; // padding-bottom: 70px;
// } // }
.reimburse-wrap{ .reimburse-wrap {
margin: 10px; margin: 10px;
} }
.hls-item .contents .add-name .left-icon{ .hls-item .contents .add-name .left-icon {
width: 30px; width: 30px;
} }
.add-name{ .add-name {
.time-font{ .time-font {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: rgba(56,63,69,0.60); color: rgba(56, 63, 69, 0.6);
} }
} }
.add-content { .add-content {
.money-font{ .money-font {
font-family: Verdana-Bold; font-family: Verdana-Bold;
font-size: 15px; font-size: 15px;
color: #1D3FFF; color: #1d3fff;
} }
.time-font{ .time-font {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: rgba(56,63,69,0.60); color: rgba(56, 63, 69, 0.6);
} }
} }
.content { .content {
...@@ -176,8 +177,8 @@ export default { ...@@ -176,8 +177,8 @@ export default {
width: 100%; width: 100%;
position: absolute; position: absolute;
} }
} }
.platform-ios { .platform-ios {
#reimburse { #reimburse {
.scrollContent { .scrollContent {
padding-top: 2.2rem; padding-top: 2.2rem;
...@@ -201,6 +202,20 @@ export default { ...@@ -201,6 +202,20 @@ export default {
.scrollContent { .scrollContent {
padding-top: 2.62rem; padding-top: 2.62rem;
} }
.search{
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
// height: 36px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
} }
} }
} }
......
...@@ -385,12 +385,13 @@ export default { ...@@ -385,12 +385,13 @@ export default {
height: 1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
margin-top: 52px; margin-top: 52px;
// margin-bottom: 8px;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
background-color: rgba(239,239,239,0.55); background-color: rgba(239,239,239,0.55);
padding:8px 12px; padding-left:12px;
height:36px;
line-height: 36px;
border-radius: 4px; border-radius: 4px;
width: 100%; width: 100%;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -556,6 +557,19 @@ export default { ...@@ -556,6 +557,19 @@ export default {
.scrollContent { .scrollContent {
padding-top: 3.52rem; padding-top: 3.52rem;
} }
.search{
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239,239,239,0.55);
padding:8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888C8F;
}
}
} }
} }
} }
......
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