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; + } })