Commit afaa55af by liwk

commit

1 parent 206896c3
.layout {
.tips {
height: 40px;
font-size: 16px;
font-weight: 500;
color: #545454;
padding: 0 16px;
box-shadow: 0px 1px 0px 0px #e9e9e9;
background-color: #f7f7f7;
.time {
font-size: 12px;
margin-left: auto;
}
}
.content {
height: calc(100vh - 90px);
.item {
height: 79px;
border-bottom: 1px solid rgba(195, 195, 195, 0.3);
padding: 0 16px;
position: relative;
.avatar {
margin-right: 16px;
}
.info {
font-size: 14px;
color: #333333;
.phone {
font-weight: 600;
font-size: 16px;
margin-bottom: 6px;
.wx {
font-weight: 400;
color: #6760ff;
}
}
.time {
color: #999999;
}
}
.btns {
margin-left: auto;
.line {
margin: 0 13px 0 16px;
width: 1px;
height: 42px;
background: rgba(0, 0, 0, 0.1);
}
.btn {
flex-direction: column;
font-size: 12px;
color: #666666;
.sprite-icon {
margin-bottom: 7px;
}
}
}
.icon-arrow {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
}
}
}
}
.page-type-0 {
.content {
height: calc(100vh - 220px);
}
.copy-box {
height: 130px;
box-sizing: border-box;
padding: 10px 16px;
font-weight: 500;
font-size: 14px;
color: #333333;
word-break: break-all;
position: relative;
background: #ffffff;
box-shadow: 0px 1px 0px 0px #e9e9e9;
.sprite-icon {
position: absolute;
top: 10px;
right: 15px;
}
.title {
margin-bottom: 16px;
}
}
}
.page-type-2 {
.content {
height: calc(100vh - 164px);
}
.checked-box {
margin-right: 16px;
.checked {
width: 14px;
height: 14px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.15);
}
}
.checked-control {
font-size: 14px;
color: #333333;
padding: 0 16px;
height: 74px;
.all {
font-size: 16px;
font-weight: 600;
margin-right: 16px;
}
.btn {
width: 148px;
height: 36px;
background: #5850ff;
box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3);
border-radius: 21px;
margin-left: auto;
color: #ffffff;
}
}
}
\ No newline at end of file
......@@ -2,6 +2,7 @@ const pages = {
customerGroup: [{
name: 'index',
}],
attractCustomer: [{
name: 'index',
meta: {
......@@ -16,9 +17,15 @@ const pages = {
backgroundColor: '#F7F7F7'
}
}, {
name: 'information',
meta: {
title: '完善信息',
backgroundColor: '#F7F7F7'
}
}]
}
const redirect = ''
let routes = []
const keepAlives = []
......
......@@ -127,125 +127,5 @@ export default {
</script>
<style scoped lang='scss'>
.layout {
.tips {
height: 40px;
font-size: 16px;
font-weight: 500;
color: #545454;
padding: 0 16px;
box-shadow: 0px 1px 0px 0px #e9e9e9;
background-color: #f7f7f7;
.time {
font-size: 12px;
margin-left: auto;
}
}
.content {
height: calc(100vh - 90px);
.item {
height: 79px;
border-bottom: 1px solid rgba(195, 195, 195, 0.3);
padding: 0 16px;
.avatar {
margin-right: 16px;
}
.info {
font-size: 14px;
color: #333333;
.phone {
font-weight: 600;
font-size: 16px;
margin-bottom: 6px;
.wx {
font-weight: 400;
color: #6760ff;
}
}
.time {
color: #999999;
}
}
.btns {
margin-left: auto;
.line {
margin: 0 13px 0 16px;
width: 1px;
height: 42px;
background: rgba(0, 0, 0, 0.1);
}
.btn {
flex-direction: column;
font-size: 12px;
color: #666666;
.sprite-icon {
margin-bottom: 7px;
}
}
}
.icon-arrow {
margin-left: auto;
}
}
}
}
.page-type-0 {
.content {
height: calc(100vh - 220px);
}
.copy-box {
height: 130px;
box-sizing: border-box;
padding: 10px 16px;
font-weight: 500;
font-size: 14px;
color: #333333;
word-break: break-all;
position: relative;
background: #ffffff;
box-shadow: 0px 1px 0px 0px #e9e9e9;
.sprite-icon {
position: absolute;
top: 10px;
right: 15px;
}
.title {
margin-bottom: 16px;
}
}
}
.page-type-2 {
.content {
height: calc(100vh - 164px);
}
.checked-box {
margin-right: 16px;
.checked {
width: 14px;
height: 14px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.15);
}
}
.checked-control {
font-size: 14px;
color: #333333;
padding: 0 16px;
height: 74px;
.all {
font-size: 16px;
font-weight: 600;
margin-right: 16px;
}
.btn {
width: 148px;
height: 36px;
background: #5850ff;
box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3);
border-radius: 21px;
margin-left: auto;
color: #ffffff;
}
}
}
@import '@/assets/css/customer.scss';
</style>
\ No newline at end of file
<template>
<div class="layout">
<div class="tips flex">
请完善以下客户信息
</div>
<template>
<template>
<scroll-view
class="content"
@ReachBottom="onReachBottom"
ref="scrollView"
>
<template v-for="(item,index) in 10">
<div
:key="index"
class="item flex"
>
<div class="avatar">
<div class="sprite-icon icon-avatar"></div>
</div>
<div class="info">
<div class="phone flex">
恒河猴
</div>
<div class="tags flex">
<template v-for="(i,ind) in 5">
<div
:key="ind"
class="tag text-center"
>
{{index}}{{ind}}恒河猴
</div>
</template>
</div>
</div>
<div class="sprite-icon icon-arrow"></div>
</div>
</template>
</scroll-view>
</template>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
onReachBottom () {
console.log('触底')
this.$refs.scrollView.loading = false
this.$refs.scrollView.finished = true
}
}
}
</script>
<style scoped lang='scss'>
@import '@/assets/css/customer.scss';
.layout {
.content {
height: calc(100vh - 40px);
.item {
min-height: 92px;
height: auto;
padding: 16px 16px 12px 16px;
box-sizing: border-box;
.tags {
flex-wrap: wrap;
.tag {
padding: 0 12px;
height: 28px;
background: rgba(88, 80, 255, 0.15);
border-radius: 14px;
margin: 0 4px 4px 0;
font-size: 14px;
font-weight: 400;
color: #5850ff;
}
}
}
}
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!