Ver Fonte

no message

DESKTOP-70VPDLK\Administrator há 1 ano atrás
pai
commit
f88d653fd2
5 ficheiros alterados com 342 adições e 203 exclusões
  1. 128 0
      page_task/draft/index.vue
  2. 202 199
      pages.json
  3. 7 2
      pages/index/module/index_column.vue
  4. 2 2
      pages/task/task.vue
  5. 3 0
      static/css/default-color.scss

+ 128 - 0
page_task/draft/index.vue

@@ -0,0 +1,128 @@
+<template>
+  <view class="total-page page-box page-env-20 scroll_content task-bg">
+    <Nav :title="'任务'" :genre="1" :back="false" is_fixed></Nav>
+    <view>
+      <Search :placeholder="'客户姓名或电话'"></Search>
+
+    </view>
+    <EnScroll ref="scroll" :navHeight="105" is_tabHeight @onRefresh="onRefresh" @onScrollBottom="onScrollBottom">
+      <view class="draft-item r-40 sys-background-fff">
+        <view class="item-left">
+          <view class="left-top left-item">
+            <view class="top-name sys-weight-600 size-30 text-color-12">张三</view>
+            <view class="top-product sys-weight-400 size-24 text-color-009 r-10">中油消费</view>
+          </view>
+          <view class="left-content left-item">
+            <view class="sys-weight-400 size-24 text-color-12">身份证:</view>
+            <view class="sys-weight-600 sys-size-28 text-color-12">中油消费</view>
+          </view>
+          <view class="left-bottom left-item">
+            <view class=" size-24 text-color-999">身份证:</view>
+            <view class=" size-24 text-color-999">中油消费</view>
+          </view>
+
+        </view>
+        <view class="item-right">
+          <view class="but-item but-edit size-28 sys-weight-500 text-color-fff button-background">编辑</view>
+          <view class="but-item but-del  size-28 sys-weight-500 text-color-666 ">删除</view>
+        </view>
+
+      </view>
+
+    </EnScroll>
+  </view>
+</template>
+
+<script>
+
+export default {
+  components: {},
+  data() {
+    return {};
+  },
+  methods: {
+    // 下拉刷新
+    onRefresh() {
+      // uni.showLoading({
+      // 	title: '数据加载中'
+      // })
+      // setTimeout(() => {
+      // 	uni.showToast({
+      // 		title: '加载完成',
+      // 		icon: 'none'
+      // 	})
+      // 	this.$refs.scroll.onEndPulling()
+      // }, 1000)
+      console.log("下拉刷新");
+      this.startList()
+    },
+    // 滚动到底部
+    onScrollBottom() {
+      // uni.showLoading({
+      // 	title: '数据加载中'
+      // })
+      if (this.current === 1) {
+        this.getDayBacklogList()
+      } else {
+        this.getTaskReceiving();
+      }
+      // setTimeout(() => {
+      // 	uni.showToast({
+      // 		title: '加载完成',
+      // 		icon: 'none'
+      // 	})
+      // }, 1000)
+      console.log("到底部了");
+    },
+  },
+}
+</script>
+
+<style lang="scss">
+.draft-item{
+  padding: 25rpx 30rpx;
+  display: flex;
+  justify-content: space-between;
+  .item-left{
+    .left-item{
+      display: flex;
+      justify-content: left;
+      align-items: center;
+    }
+    .left-top{
+      height: 52rpx;
+      .top-product{
+        background-color: rgba(15, 177, 96, 0.1);
+        padding: 9rpx 22rpx;
+        margin-left: 20rpx;
+      }
+    }
+    .left-content{
+      margin-top: 24rpx;
+      height: 40rpx;
+    }
+    .left-bottom{
+      margin-top: 24rpx;
+      height: 34rpx;
+    }
+
+  }
+  .item-right{
+    padding-top: 20rpx;
+    .but-item{
+      width: 172rpx;
+      height: 70rpx;
+      text-align: center;
+      line-height: 70rpx;
+    }
+    .but-del{
+      margin-top: 15rpx;
+      box-sizing: border-box;
+      border-radius: 99rpx 99rpx 99rpx 99rpx;
+      border: 1rpx solid #666666;
+    }
+  }
+
+}
+
+</style>

+ 202 - 199
pages.json

@@ -1,200 +1,203 @@
 {
-	"pages": [{
-			"path": "pages/index/index",
-			"style": {
-				"navigationBarTitleText": "首页",
-				"navigationBarTextStyle": "white"
-			}
-		},
-
-		{
-			"path": "pages/login/index",
-			"style": {
-				"navigationBarTitleText": "登陆",
-				"disableScroll": true
-			}
-		},
-
-		{
-			"path": "pages/login/register",
-			"style": {
-				"navigationBarTitleText": "",
-				"enablePullDownRefresh": false,
-				"disableScroll": true
-			}
-		},
-		{
-			"path": "pages/login/forget",
-			"style": {
-				"navigationBarTitleText": "",
-				"enablePullDownRefresh": false
-			}
-		},
-		{
-			"path": "pages/login/await-audit",
-			"style": {
-				"navigationBarTitleText": "",
-				"enablePullDownRefresh": false
-			}
-		},
-		{
-			"path": "pages/test/index",
-			"style": {
-				"navigationBarTitleText": "",
-				"enablePullDownRefresh": false
-			}
-		},
-		{
-			"path": "pages/task/task",
-			"style": {
-				"navigationBarTitleText": ""
-			}
-		},
-		{
-			"path": "pages/loan/loan",
-			"style": {
-				"navigationBarTitleText": ""
-			}
-		},
-		{
-			"path": "pages/statistics/statistics",
-			"style": {
-				"navigationBarTextStyle": "white"
-			}
-		}
-	],
-	"subPackages": [{
-		"root": "page_subpack",
-		"pages": [{
-				"path": "system_setting/system_setting",
-				"style": {
-					"navigationBarTitleText": ""
-				}
-			},
-			{
-				"path": "message/message",
-				"style": {
-					"navigationBarTitleText": ""
-				}
-			},
-			{
-				"path": "personal_details/personal_details",
-				"style": {
-					"navigationBarTitleText": ""
-				}
-			}
-		]
-	}, {
-		"root": "page_task",
-		"pages": [{
-			"path": "gain_task/gain_task",
-			"style": {
-				"navigationBarTitleText": ""
-			}
-		},
-		{
-			"path" : "task_details/task_details",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "creation_task/creation_task",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "information/information",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "identity/identity",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "identity_upload/identity_upload",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "property/property",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "apply/apply",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		},
-		{
-			"path" : "task_operate/task_operate",
-			"style" : 
-			{
-				"navigationBarTitleText" : ""
-			}
-		}]
-	}],
-	"globalStyle": {
-		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "万汇融通云",
-		"navigationBarBackgroundColor": "#F8F8F8",
-		"backgroundColor": "#F8F8F8",
-		"navigationStyle": "custom",
-		"backgroundColorBottom": "#EEF1F7"
-	},
-	"tabBar": {
-		"custom": true,
-		"list": [{
-			"pagePath": "pages/index/index",
-			"text": ""
-		},
-			{
-				"pagePath": "pages/task/task",
-				"text": ""
-			},
-			{
-				"pagePath": "pages/loan/loan",
-				"text": ""
-			},
-			{
-				"pagePath": "pages/statistics/statistics",
-				"text": ""
-			}
-		],
-		"color": "",
-		"selectedColor": "",
-		"backgroundColor": ""
-	},
-	"condition": {
-		"current": 0,
-		"list": [
-
-			{
-				"name": "任务详情",
-				"path": "/page_task/task_details/task_details",
-				"query": "taskId=4278"
-			},
-			{
-				"name": "添加任务",
-				"path": "/page_task/information/information",
-				"query": "productId=1"
-			}
-
-		]
-	}
-}
+  "pages": [
+    {
+      "path": "pages/index/index",
+      "style": {
+        "navigationBarTitleText": "首页",
+        "navigationBarTextStyle": "white"
+      }
+    },
+    {
+      "path": "pages/login/index",
+      "style": {
+        "navigationBarTitleText": "登陆",
+        "disableScroll": true
+      }
+    },
+    {
+      "path": "pages/login/register",
+      "style": {
+        "navigationBarTitleText": "",
+        "enablePullDownRefresh": false,
+        "disableScroll": true
+      }
+    },
+    {
+      "path": "pages/login/forget",
+      "style": {
+        "navigationBarTitleText": "",
+        "enablePullDownRefresh": false
+      }
+    },
+    {
+      "path": "pages/login/await-audit",
+      "style": {
+        "navigationBarTitleText": "",
+        "enablePullDownRefresh": false
+      }
+    },
+    {
+      "path": "pages/test/index",
+      "style": {
+        "navigationBarTitleText": "",
+        "enablePullDownRefresh": false
+      }
+    },
+    {
+      "path": "pages/task/task",
+      "style": {
+        "navigationBarTitleText": ""
+      }
+    },
+    {
+      "path": "pages/loan/loan",
+      "style": {
+        "navigationBarTitleText": ""
+      }
+    },
+    {
+      "path": "pages/statistics/statistics",
+      "style": {
+        "navigationBarTextStyle": "white"
+      }
+    }
+  ],
+  "subPackages": [
+    {
+      "root": "page_subpack",
+      "pages": [
+        {
+          "path": "system_setting/system_setting",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "message/message",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "personal_details/personal_details",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        }
+      ]
+    },
+    {
+      "root": "page_task",
+      "pages": [
+        {
+          "path": "gain_task/gain_task",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "task_details/task_details",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "creation_task/creation_task",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "information/information",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "identity/identity",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "identity_upload/identity_upload",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "property/property",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "apply/apply",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "task_operate/task_operate",
+          "style": {
+            "navigationBarTitleText": ""
+          }
+        },
+        {
+          "path": "draft/index",
+          "style": {
+            "navigationBarTitleText": "",
+            "enablePullDownRefresh": false
+          }
+        }
+      ]
+    }
+  ],
+  "globalStyle": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "万汇融通云",
+    "navigationBarBackgroundColor": "#F8F8F8",
+    "backgroundColor": "#F8F8F8",
+    "navigationStyle": "custom",
+    "backgroundColorBottom": "#EEF1F7"
+  },
+  "tabBar": {
+    "custom": true,
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": ""
+      },
+      {
+        "pagePath": "pages/task/task",
+        "text": ""
+      },
+      {
+        "pagePath": "pages/loan/loan",
+        "text": ""
+      },
+      {
+        "pagePath": "pages/statistics/statistics",
+        "text": ""
+      }
+    ],
+    "color": "",
+    "selectedColor": "",
+    "backgroundColor": ""
+  },
+  "condition": {
+    "current": 0,
+    "list": [
+      {
+        "name": "任务详情",
+        "path": "/page_task/task_details/task_details",
+        "query": "taskId=4278"
+      },
+      {
+        "name": "添加任务",
+        "path": "/page_task/information/information",
+        "query": "productId=1"
+      }
+    ]
+  }
+}

+ 7 - 2
pages/index/module/index_column.vue

@@ -9,7 +9,7 @@
 				</view>
 			</view>
 			<view class="column_record row-justify-sb center p-lr20">
-				<view class="column_task">
+				<view class="column_task" @click="onGetDraft">
 					<view class="row-c m-b16 column-c justify-center line-30">
 						<text class="size-26 text-color-fff">任务记录</text>
 					</view>
@@ -116,6 +116,11 @@
 			}
 		},
 		methods: {
+      onGetDraft(){
+        uni.navigateTo({
+          url: "/page_task/draft/index"
+        })
+      },
 			onGetTask() {
 				uni.navigateTo({
 					url: "/page_task/gain_task/gain_task"
@@ -204,4 +209,4 @@
 		top: -10rpx;
 		line-height: 30rpx;
 	}
-</style>
+</style>

+ 2 - 2
pages/task/task.vue

@@ -2,7 +2,7 @@
 	<view class="total-page page-box page-env-20 scroll_content task-bg">
 		<Nav :title="'任务'" :genre="1" :back="false" is_fixed></Nav>
 		<view>
-			<Search :placeholder="'贷款人姓名或电话'"></Search>
+			<Search :placeholder="'客户姓名或电话'"></Search>
 			<view style="height: 100rpx;">
 				<z-tabs ref="tabs" :list="tabsList" :active-style="{color:'#10B261',fontWeight:'bold',fontSize:'28rpx'}"
 					:bar-style="{background:'#10B261'}" :inactive-style="{fontWeight:'bold',fontSize:'28rpx'}"
@@ -179,4 +179,4 @@
 </script>
 <style lang="scss" scoped>
 
-</style>
+</style>

+ 3 - 0
static/css/default-color.scss

@@ -68,6 +68,9 @@
 .page-box .button-color{
   color: #10B261;
 }
+.page-box .text-color-009{
+  color: #00984C;
+}
 
 .page-box .text-color-666{
   color: #666;