소스 검색

no message

WIN-2CJ8FMUT9OF\Administrator 3 주 전
부모
커밋
00afffaf52

+ 10 - 10
common/task/loan-item.vue

@@ -12,7 +12,7 @@
 									🏢
 								</view>
 								<view class="fc-155DFB sys-size-24 sys-weight-600 title-box">
-									Commercial Real Estate
+									商业地产
 								</view>
 							</view>
 							<view class="heart-box" @click.stop="heartBut(item,true)" v-if="!item.live">
@@ -38,7 +38,7 @@
 						<view class="center mb-14">
 							<uni-icons type="home" size="18" color="#99A1AF" class="mr-10"></uni-icons>
 							<view class="size-28 fc-99A1AF">
-								Borrower
+								借款人
 							</view>
 						</view>
 						<view class="sys-size-32 mb-12">
@@ -53,20 +53,20 @@
 							</view>
 							<view class="flex-direction">
 								<view class="fc-343C47 size-24">
-									Principal Amount
+									本金
 								</view>
 								<view class="size-48">
 									${{item.amount}}M
 								</view>
 							</view>
 						</view>
-						<view class="center flex-wrap mb-32">
+						<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">
-									Interest Rate
+									利率
 								</view>
 								<view class="size-36">
 									{{item.trend}}
@@ -77,7 +77,7 @@
 									<uni-icons type="locked" size="18" color="#00A63D"></uni-icons>
 								</view>
 								<view class="fc-6A7383 size-24 mb-16">
-									LTV Ratio
+									贷款房价比
 								</view>
 								<view class="size-36">
 									{{item.risk}}
@@ -88,7 +88,7 @@
 									<uni-icons type="calendar" size="18" color="#9810FA"></uni-icons>
 								</view>
 								<view class="fc-6A7383 size-24 mb-16">
-									Maturity
+									应付款
 								</view>
 								<view class="size-36">
 									Dec 31, 2027
@@ -99,7 +99,7 @@
 									<uni-icons type="close" size="18" color="#4E38F5"></uni-icons>
 								</view>
 								<view class="fc-6A7383 size-24 mb-16">
-									Collateral
+									抵押品
 								</view>
 								<view class="size-36">
 									$13.5M
@@ -109,14 +109,14 @@
 						<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">
-								active
+								活跃的
 							</view>
 						</view>
 					</view>
 				</view>
 			</swiper-item>
 		</swiper>
-<!-- 		<view class="task-body animate__animated animate__fadeIn flex-1" v-if="taskList.length>0">
+		<!-- 		<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>

+ 1 - 2
common/task/task_ima_tab.vue

@@ -63,9 +63,8 @@
 			if (this.listType === 1) {
 				this.navList = this.typeList
 			} else {
-				this.getTaskType()
+				// this.getTaskType()
 			}
-
 		},
 		methods: {
 			getTaskType() {

+ 10 - 8
components/en-utils/en-tab/en-tab.vue

@@ -33,7 +33,7 @@
 		</view> -->
 		</view>
 		<view class="zw">
-			
+
 		</view>
 	</view>
 </template>
@@ -50,6 +50,12 @@
 			return {
 				tabList: [{
 						name: '市场',
+						path: '/pages/loan/loan',
+						iconPath: 'loan-default',
+						selectedIconPath: 'loan-select',
+					},
+					{
+						name: '我的',
 						path: '/pages/index/index',
 						iconPath: 'home-default',
 						selectedIconPath: 'home-select',
@@ -60,12 +66,7 @@
 					// 	iconPath: 'task-default',
 					// 	selectedIconPath: 'task-select',
 					// },
-					{
-						name: '我的',
-						path: '/pages/loan/loan',
-						iconPath: 'loan-default',
-						selectedIconPath: 'loan-select',
-					},
+
 					// {
 					// 	name: '统计',
 					// 	path: '/pages/statistics/statistics',
@@ -99,9 +100,10 @@
 </script>
 
 <style lang="scss">
-	.zw{
+	.zw {
 		height: 120rpx;
 	}
+
 	.tab-box {
 		display: flex;
 		justify-content: space-around;

+ 16 - 80
pages/index/index.vue

@@ -1,80 +1,14 @@
 <template>
 	<view class="flex-common-css page-box box-bg">
-		<Nav :title="'Featured Collections'" :genre="1" :back="false" :is_fixed='false'></Nav>
+		<Nav :title="'我的'" :genre="1" :back="false" :is_fixed='false'></Nav>
 		<Search :placeholder="'姓名或电话'" @setSearch="setSearch"></Search>
+		<task-ima-tab @setProductId="setProductId" :num-type="0"></task-ima-tab> 
 		<!-- 		<view class="page-box-bg-fff m-lr20 r-20">
 			<z-tabs ref="tabs" :list="tabsList" :active-style="{color:'#10B261',fontWeight:'bold',fontSize:'30rpx'}"
 				:bar-style="{background:'#10B261'}" :inactive-style="{fontWeight:'bold',fontSize:'28rpx'}"
 				:current="current" :bar-animate-mode="'worm'" @change="tabsChange" />
 		</view> -->
-		<view class="p-30 box-border-box bgc-fff">
-			<scroll-view class="scroll-view center" scroll-x="true">
-				<view class="d-inline-block mr-20">
-					<view class="croll-view-item bgc-5692FF mb-10">
-						<view class="size-64">
-							🏢
-						</view>
-						<view class="head-tab size-24 fc-fff bgc-7D99FF r-40">
-							4 deals
-						</view>
-					</view>
-					<view class="size-28">
-						Commercial Real Estate
-					</view>
-					<view class="size-24 fc-6A7383">
-						Prime locations
-					</view>
-				</view>
-				<view class="d-inline-block mr-20">
-					<view class="croll-view-item bgc-00DC73-00BF7C mb-10">
-						<view class="size-64">
-							🏘️
-						</view>
-						<view class="head-tab size-24 fc-fff bgc-33D595 r-40">
-							3 deals
-						</view>
-					</view>
-					<view class="size-28">
-						Residential
-					</view>
-					<view class="size-24 fc-6A7383">
-						Housing market
-					</view>
-				</view>
-				<view class="d-inline-block mr-20">
-					<view class="croll-view-item bgc-00DC73-00BF7C mb-10">
-						<view class="size-64">
-							✨
-						</view>
-						<view class="head-tab size-24 fc-fff bgc-33D595 r-40">
-							3 deals
-						</view>
-					</view>
-					<view class="size-28">
-						Low Risk
-					</view>
-					<view class="size-24 fc-6A7383">
-						LTV < 70%
-					</view>
-				</view>
-				<view class="d-inline-block mr-20">
-					<view class="croll-view-item bgc-C579FF-F4399F mb-10">
-						<view class="size-64">
-							⚙️
-						</view>
-						<view class="head-tab size-24 fc-fff bgc-E87DD2 r-40">
-							3 deals
-						</view>
-					</view>
-					<view class="size-28">
-						Equipment
-					</view>
-					<view class="size-24 fc-6A7383">
-						Asset-backed
-					</view>
-				</view>
-			</scroll-view>
-		</view>
+		
 		<view class="p-20">
 			<view class="personal m-lr10 row-justify-sb center">
 				<text class="sys-weight-600">精选系列</text>
@@ -91,7 +25,7 @@
 		<view class="scroll-view-css flex-direction">
 			<TaskItem :type="5" :taskList="backlogList" @heartBut="heartBut"></TaskItem>
 		</view>
-		<Tab class="tabs_height" :tab-index="0"></Tab>
+		<Tab class="tabs_height" :tab-index="1"></Tab>
 	</view>
 
 </template>
@@ -107,6 +41,7 @@
 		getDateBacklogStatistics,
 		getDayBacklogList
 	} from "@/api/task";
+	import TaskImaTab from "@/common/task/task_ima_tab.vue";
 	import {
 		date
 	} from "@/uni_modules/uv-ui-tools/libs/function/test";
@@ -117,7 +52,8 @@
 			PieChart,
 			CircleChart,
 			IndexColumn,
-			IndexPersonal
+			IndexPersonal,
+			TaskImaTab
 		},
 		data() {
 			return {
@@ -213,39 +149,39 @@
 					this.backlogList = [{
 							img: 'https://copyright.bdstatic.com/vcg/creative/d6c6a351be227d5d3b3e8c1f96f56e50.jpg@h_1280',
 							proportion: '37',
-							name: 'Downtown Office Tower -Prime Location',
+							name: '市中心写字楼 - 优越地段',
 							live: false,
 							percentage: '3.1',
-							description: 'Metro Properties LLC',
+							description: '地铁地产有限责任公司',
 							amount: '5.0',
 							trend: '7.5',
-							risk: 'LTV 37%',
+							risk: '客户终身价值 37%',
 							time: '2024-001',
 							id: 1,
 						},
 						{
 							img: 'https://pic.rmb.bdstatic.com/bjh/3ea195479f8a/250303/f53064611fee7c092312f3b6ea8e439d.jpeg',
 							proportion: '71',
-							name: 'Tower -Prime Location',
+							name: '塔楼-黄金地段',
 							live: false,
 							percentage: '4.1',
-							description: 'Healthcare Properties Inc',
+							description: '医疗地产公司',
 							amount: '5.0',
 							trend: '5.5',
-							risk: 'LTV 77%',
+							risk: '客户终身价值 77%',
 							time: '2024-002',
 							id: 2,
 						},
 						{
 							img: 'https://qcloud.dpfile.com/pc/3B5v9C_aeqiLmADxyv5K2oclwwy3V_g7gw7Dmq38AuV9VmaUI3Rb5Uvj6kJNMMCrY0q73sB2DyQcgmKUxZFQtw.jpg',
 							proportion: '60',
-							name: 'Luxury Retail Center - High Street',
+							name: '豪华零售中心-高街',
 							live: false,
 							percentage: '1.5',
-							description: 'Healthcare Properties Inc',
+							description: '奢侈品地产公司',
 							amount: '8.5',
 							trend: '6.8',
-							risk: 'LTV 10.5%',
+							risk: '客户终身价值 10.5%',
 							time: '2024-002',
 							id: 3,
 						}

+ 1 - 1
pages/index/module/index_column.vue

@@ -1,4 +1,4 @@
-<template>
+ <template>
 	<view class="row-c m-t20">
 		<!-- 		<view class="column_item sys-background-dominant r-30 column-justify-sb" v-if="enteringType===1">
 			<view class="column_build column-c">

+ 2 - 2
pages/loan/loan.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="flex-common-css page-box task-bg">
-		<Nav :title="'我的'" :back="false" :is_fixed="true" :justify="'left'" :color="'#fff'">
+		<Nav title="" :back="false" :is_fixed="true" :justify="'left'" :color="'#fff'">
 			<view class="p-20">
 				<IndexPersonal ref="memberObj" @setMemberData="setMemberData"></IndexPersonal>
 				<IndexColumn ref="columnObj"></IndexColumn>
@@ -12,7 +12,7 @@
 		<view class="common-view-css flex-direction">
 			<LoanItem :task-list="list" @onCalculate="onCalculate"></LoanItem>
 		</view>
-		<Tab :tab-index="1"></Tab>
+		<Tab :tab-index="0"></Tab>
 		<uni-popup ref="popup" type="bottom" @touchmove.stop.prevent="moveHandle">
 			<view class="page-env-160 sys-background-fff r-20">
 				<view class="row-justify-sb center p-lr30 p-t30">

+ 1 - 1
pages/login/index.vue

@@ -171,7 +171,7 @@
 				}
 				this.loginData.tabType = this.type === 1 ? 1 : 0
 				uni.reLaunch({
-					url: '/pages/index/index'
+					url: '/pages/loan/loan'
 				});
 			},
 			verifyData() {

+ 1 - 1
pages/task/task.vue

@@ -8,7 +8,7 @@
 					:current="current" :bar-animate-mode="'worm'" @change="tabsChange" />
 			</view>
 		</view>
-		<task-ima-tab @setProductId="setProductId" :num-type="0"></task-ima-tab>
+		<task-ima-tab @setProductId="setProductId" :num-type="0"></task-ima-tab> 
 		<EnScroll ref="scroll" :navHeight="190" is_tabHeight @onRefresh="onRefresh" @onScrollBottom="onScrollBottom">
 			<view v-if="current===1">
 				<TaskItem :type="5" is_bottom :task-list="backlogList"></TaskItem>

+ 4 - 1
static/css/common.css

@@ -152,7 +152,10 @@
 	display: flex;
 	align-items: center;
 }
-
+.flex-stretch {
+	display: flex;
+	align-items: stretch;
+}
 .justify-center {
 	justify-content: center;
 }