| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- <template>
- <view class="flex-direction" :style="{height: (commonHeight + 40) + 'px'}">
- <swiper class="swiper-box flex-direction animate__animated animate__fadeInRight flex-1" circular
- v-if="taskList.length>0">
- <swiper-item v-for="(item,index) in taskList" :key="index"
- class="swiper-item flex-direction p-30 box-border-box flex-1">
- <view class="item-box flex-direction flex-1 page-box-bg-fff r-30 box-shadow-197">
- <view class="item-top box-border-box" :style="{background:lineColor[item.id%2]}">
- <view class="center row-justify-sb mb-24">
- <view class="center">
- <view class="size-64 mr-10">
- 🏢
- </view>
- <view class="fc-155DFB sys-size-24 sys-weight-600 title-box">
- 商业地产
- </view>
- </view>
- <view class="heart-box" @click.stop="heartBut(item,true)" v-if="!item.live">
- <uni-icons type="heart" size="18" color="#99A1AF"></uni-icons>
- </view>
- <view class="heart-box animate__animated animate__zoomIn" @click.stop="heartBut(item,false)"
- v-else>
- <uni-icons type="heart-filled" size="18" color="#FB2C36"></uni-icons>
- </view>
- </view>
- <view class="mb-16 sys-size-32">
- {{item.name}}
- </view>
- <view class="center">
- <uni-icons v-for="item in item.percentage" class="mr-8" type="star-filled" size="18"
- color="#FFB900"></uni-icons>
- <view class="size-28 fc-4B5666">
- {{item.percentage}} Quality
- </view>
- </view>
- </view>
- <view class="item-bot box-border-box">
- <view class="center mb-14">
- <uni-icons type="home" size="18" color="#99A1AF" class="mr-10"></uni-icons>
- <view class="size-28 fc-99A1AF">
- 借款人
- </view>
- </view>
- <view class="sys-size-32 mb-12">
- {{item.description}}
- </view>
- <view class="size-22 fc-99A1AF mb-40">
- #{{item.time}}
- </view>
- <view class="amount-box box-border-box sys-radius-20 center">
- <view class="mr-20 amount-icon">
- <uni-icons type="wallet" size="18" color="#F54900"></uni-icons>
- </view>
- <view class="flex-direction">
- <view class="fc-343C47 size-24">
- 本金
- </view>
- <view class="size-48">
- ${{item.amount}}M
- </view>
- </view>
- </view>
- <view class="flex-stretch flex-wrap mb-32">
- <view class="mb-16 mr-20 bgc-F9FAFB r-40 b-F3F4F6-1 p-24 box-border-box w-49">
- <view class="icon-box mb-16 bgc-fff">
- <uni-icons type="arrow-up" size="18" color="#0F41AF"></uni-icons>
- </view>
- <view class="fc-6A7383 size-24 mb-16">
- 利率
- </view>
- <view class="size-36">
- {{item.trend}}
- </view>
- </view>
- <view class="mb-16 flex-1 bgc-F0FDF4 r-40 b-B9F8CF-1 p-24 box-border-box">
- <view class="icon-box mb-16 bgc-DBFCE7">
- <uni-icons type="locked" size="18" color="#00A63D"></uni-icons>
- </view>
- <view class="fc-6A7383 size-24 mb-16">
- 贷款房价比
- </view>
- <view class="size-36">
- {{item.risk}}
- </view>
- </view>
- <view class="mr-20 bgc-F9FAFB r-40 b-F3F4F6-1 p-24 box-border-box w-49">
- <view class="icon-box mb-16 bgc-fff">
- <uni-icons type="calendar" size="18" color="#9810FA"></uni-icons>
- </view>
- <view class="fc-6A7383 size-24 mb-16">
- 应付款
- </view>
- <view class="size-36">
- Dec 31, 2027
- </view>
- </view>
- <view class="bgc-F9FAFB flex-1 r-40 b-F3F4F6-1 p-24 box-border-box">
- <view class="icon-box mb-16 bgc-fff">
- <uni-icons type="close" size="18" color="#4E38F5"></uni-icons>
- </view>
- <view class="fc-6A7383 size-24 mb-16">
- 抵押品
- </view>
- <view class="size-36">
- $13.5M
- </view>
- </view>
- </view>
- <view class="tiem-box box-border-box center flex-justify-around r-40">
- <uni-icons type="checkbox" size="18" color="#008235"></uni-icons>
- <view class="fc-008235 size-28">
- 活跃的
- </view>
- </view>
- </view>
- </view>
- </swiper-item>
- </swiper>
- <!-- <view class="task-body animate__animated animate__fadeIn flex-1" v-if="taskList.length>0">
- </view> -->
- <view class="p-30 box-border-box flex-direction flex-1" v-else>
- <en-blank class="flex-1"></en-blank>
- </view>
- </view>
- </template>
- <script>
- import EnButton from "@/components/en-utils/en-button/en-button.vue";
- import tools from "@/service/tools";
- import EnBlank from "@/components/en-utils/en-blank/en-blank.vue";
- import ClientType from "@/pages/loan/components/clientType.vue";
- export default {
- components: {
- ClientType,
- EnBlank,
- EnButton
- },
- props: {
- type: {
- type: Number,
- default: 1
- },
- taskList: {
- type: Array,
- default: () => []
- },
- commonHeight: {
- type: Number,
- default: 0
- },
- iconStatus: {
- type: Number,
- default: 1
- },
- leftImgStatus: {
- type: Number,
- default: 0
- },
- opacity: {
- type: Number,
- default: 0
- },
- back: {
- type: Boolean,
- default: false
- },
- is_bottom: {
- type: Boolean,
- default: false
- },
- },
- data() {
- return {
- leftImg: ['task-house', 'task-business', 'task-repayment'],
- iconList: ['task-audit', 'task-do', 'task-stay'],
- lineColor: ['#EEFDF4', '#EFF4FF'],
- isAjax: false,
- item: {}
- }
- },
- methods: {
- moveHandle() {
- return false
- },
- onCalculate(item, type) {
- this.$emit('onCalculate', {
- 'item': item,
- 'type': type
- })
- },
- makCall(phone) {
- tools.makingCall(phone)
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- // .swiper-box{
- // height: 800rpx;
- // }
- // .swiper-item{
- // height: 800rpx;
- // }
- .tiem-box {
- width: 200rpx;
- padding: 16rpx 32rpx;
- background: #F0FDF4;
- border: .1rpx solid #B9F8CF;
- }
- .icon-box {
- width: 64rpx;
- height: 64rpx;
- line-height: 64rpx;
- text-align: center;
- border-radius: 50%;
- }
- .w-49 {
- width: 49%;
- }
- .amount-icon {
- width: 96rpx;
- height: 96rpx;
- background: #fff;
- line-height: 96rpx;
- text-align: center;
- border-radius: 40rpx;
- box-shadow: 0 2rpx 12rpx 0 rgba(0, 0, 0, 0.2);
- }
- .amount-box {
- width: 100%;
- padding: 32rpx;
- margin-bottom: 32rpx;
- border: .1rpx solid #FFEED5;
- background-image: linear-gradient(45deg, #FFF7ED 4%, #FDF3F7);
- }
- .en_button {
- border: none;
- }
- .task-body {
- height: 100%;
- }
- .left_button {
- height: 56rpx;
- color: #008FD6;
- line-height: 56rpx;
- background: #FFFFFF;
- border: 1rpx solid #008FD6;
- border-radius: 100rpx;
- }
- .right_button {}
- .placeholder {
- height: 40rpx;
- }
- .item-box {
- // display: block;
- position: relative;
- box-shadow: 5rpx 5rpx 5px 0 rgba(0, 0, 0, 0.2);
- overflow: auto;
- }
- .loan-item {
- position: relative;
- }
- .accomplish-text {
- font-size: 24rpx;
- color: #00994D;
- background-color: #e7f7ef;
- padding: 6rpx 30rpx;
- line-height: 30rpx;
- border-radius: 0 30rpx 0 30rpx;
- position: absolute;
- right: 0;
- top: 0;
- }
- .unfinished {
- color: #F64646;
- background-color: #feeded;
- }
- button::after {
- border: none;
- }
- .item-top {
- width: 100%;
- padding: 48rpx 48rpx 32rpx;
- border-radius: 30rpx 30rpx 0 0;
- }
- .item-bot {
- width: 100%;
- height: 100%;
- padding: 48rpx 48rpx 32rpx;
- border-radius: 0 0 30rpx 30rpx;
- overflow: auto;
- // max-height: ;
- }
- .title-box {
- padding: 4rpx 24rpx;
- border-radius: 20rpx;
- background: #DBEAFE;
- }
- .heart-box {
- width: 80rpx;
- height: 80rpx;
- background: #fff;
- border-radius: 50%;
- line-height: 80rpx;
- text-align: center;
- }
- </style>
|