From f6535875b2081b3c4c2ab599fe6485341f3b7567 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 9 Sep 2019 20:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=BD=A9=E8=9B=8B=EF=BC=88?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/my.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/js/my.js b/js/my.js index feaf716..35fdb36 100644 --- a/js/my.js +++ b/js/my.js @@ -277,9 +277,6 @@ 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') @@ -358,9 +355,16 @@ var localAuthType = localStorage.getItem("authType"); mui.alert("功能开发中......") }) + let CoUnTeR = 0 $('.mydata-content').on('tap', '.essaylist', function() { //烂笔头 // JZL.openWindow('essaylist.html', 'essaylist.html') - // mui.alert("功能开发中......") + if(CoUnTeR < 5){ + CoUnTeR ++; + mui.alert("功能开发中......") + }else{ + JZL.openWindow('notepad.html', 'notepad.html') + CoUnTeR = 0; + } })