Commit 53ee4609 by xiexiaoqin

feat:添加版本号

parent c0b5a6ce
...@@ -18,7 +18,7 @@ let maxYear = currentDate.getFullYear() + 1; ...@@ -18,7 +18,7 @@ let maxYear = currentDate.getFullYear() + 1;
let DateMap = getDateMap(minYear, maxYear); let DateMap = getDateMap(minYear, maxYear);
const weekList = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"]; const weekList = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
import create from "dd-store"; import create from "dd-store";
let maxClickCount = 5;
create.Page({ create.Page({
data: { data: {
$data: null, $data: null,
...@@ -658,5 +658,15 @@ create.Page({ ...@@ -658,5 +658,15 @@ create.Page({
this.isFirstLoad = false; this.isFirstLoad = false;
this.resetToview = true; this.resetToview = true;
} }
},
onTitleClick() {
maxClickCount--;
if (maxClickCount == 0) {
dd.alert({
content: '版本号196'
});
maxClickCount = 5;
}
} }
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment