From 1ee891ea11be2f7c92e0b02e37e68908d65a48ab Mon Sep 17 00:00:00 2001
From: Jerry Yan <792602257@qq.com>
Date: Mon, 9 Sep 2019 20:20:32 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E4=BA=8B=E6=9C=AC=E8=B0=83=E4=BC=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 css/notepad.css       |  4 +++-
 js/my.js              |  4 +++-
 js/notepad.js         | 10 ++++++++--
 templete/notepad.html |  2 +-
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/css/notepad.css b/css/notepad.css
index d590b4f..66387a1 100644
--- a/css/notepad.css
+++ b/css/notepad.css
@@ -65,6 +65,8 @@
 	bottom: 0;
 	width: 100%;
 	background: white;
-	height: 49px;
+	height: 50px;
+	line-height: 50px;
+	text-align: center;
 	border-top: 1px solid #e6e6e6;
 }
\ No newline at end of file
diff --git a/js/my.js b/js/my.js
index 694dc42..feaf716 100644
--- a/js/my.js
+++ b/js/my.js
@@ -277,7 +277,9 @@ var localAuthType = localStorage.getItem("authType");
 			$('.mydata-content').on('tap', '.shoppingcart', function() {
 				JZL.openWindow('shoppingcart.html', 'shoppingcart.html')
 			})
-
+			$('.mydata-content').on('tap', '.essaylist', function() {
+				JZL.openWindow('notepad.html', 'notepad.html')
+			})
 			$('.mydata-content').on('tap', '.shangdu', function() {
 				if (authType == 2) {
 					JZL.openWindow('shangdu.html', 'shangdu.html')
diff --git a/js/notepad.js b/js/notepad.js
index 09d2b1a..fc1966f 100644
--- a/js/notepad.js
+++ b/js/notepad.js
@@ -1,5 +1,8 @@
 mui.plusReady(function(){
 	// some ajax 
+	$(".footer").on("tap", ()=>{
+		app.create()
+	})
 })
 const app = new Vue({
 	el: '#app',
@@ -22,22 +25,25 @@ const app = new Vue({
 		confirmDelete(index){
 			console.log("删除", this.noteData[index])
 			// some ajax
+			mui.toast("删除")
 			window.location.reload()
 		},
 		edit(index){
 			console.log("编辑", this.noteData[index])
 			// some ajax
+			mui.toast("编辑")
 			window.location.reload()
 		},
 		create(){
 			// some jump
+			mui.toast("跳转")
 		}
 	},
 	mounted() {
 		// some ajax
 		this.noteData = [
-			{id: 1, name: '这是一个名字', created_at: "2019-07-06 18:00:01", updated_at: "2019-07-06 18:00:09"},
-			{id: 2, name: '这是二个名字', created_at: "2019-07-06 19:00:01", updated_at: "2019-07-06 20:00:09"},
+			{id: 1, name: '功能正在开发中', created_at: "2019-09-09 18:00:01", updated_at: "2019-09-09 18:09:09"},
+			{id: 2, name: '只是一个DEMO页', created_at: "2019-09-09 19:00:01", updated_at: "2019-09-09 20:09:09"},
 		]
 	}
 })
\ No newline at end of file
diff --git a/templete/notepad.html b/templete/notepad.html
index bf1fde6..2d8d85e 100644
--- a/templete/notepad.html
+++ b/templete/notepad.html
@@ -25,7 +25,7 @@
 					<div class="updated_time">更改时间:{{each.updated_at}}</div>
 				</div>
 				<div class="left" v-else>
-					<div class="title">你确定要删除么?</div>
+					<div class="title" style="color: red;font-weight: bolder;">你确定要删除么?</div>
 					<div class="small_title">{{each.name}}</div>
 				</div>
 				<div class="right" v-if="!each.currentDelete">