diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.css b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.css index e457854ed..821273699 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.css @@ -1,132 +1,259 @@ .welcome { - padding: 1px 12px 20px; - background: #fff; + height: 100%; + overflow: auto; +} +.welCard{ + background-color: #EFF2F3; + height: calc(100% - 50px); + overflow: auto; + padding-bottom: 30px; +} +.welTab { + display: flex; + justify-content: space-between; + align-items: center; + /* position: relative; */ + background: #fff; + padding: 1px 12px 0px; + font-size: 14px; + line-height: 40px; +} + +.welTab div { + padding: 0 5px; + position: relative; +} + +.welTab div:after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 3px; + height: 2px; +} + +.welTab div.active { + color: #0C86D8; +} + +.welTab div.active:after { + background-color: #0C86D8; +} + +.welBox { + display: none; + /* background: #fff; */ + /* padding: 0px 12px 20px; */ +} +.welbox2{ + padding: 0px 12px 0px; + background-color: #fff; +} +.welBox.active { + display: block; } .welT { - font-size: 16px; - margin-bottom: 10px; - line-height: 26px; -} - - .welT i { - width: 26px; - height: 26px; - line-height: 24px; - border: 1px solid #efefef; - border-radius: 4px; - float: right; - text-align: center; - color: #999; - } + padding: 10px 0; + font-weight: bold; + font-size: 16px; + line-height: 26px; +} + +.welT2 { + height: 46px; + line-height: 46px; + font-size: 16px; + margin: 0 -12px; + padding: 0 12px; + background-color: #EFF2F3; +} + +.welT i { + width: 26px; + height: 26px; + line-height: 24px; + border: 1px solid #efefef; + border-radius: 4px; + float: right; + text-align: center; + color: #999; +} .welLine { - height: 1px; - background: #efefef; - margin: 10px -12px; + height: 7px; + background-color: #EFF2F3; + /* margin: 10px -12px; */ } .welText { - overflow: hidden; - font-size: 14px; - margin-top: 5px; + overflow: hidden; + font-size: 14px; + margin-top: 8px; + line-height: 0; } - .welText span { - float: right; - width: 60%; - text-align: right; - } +.welText div { + width: 58px; + display: inline-block; + line-height: 20px; + text-align: justify; + text-align-last: justify; +} + +.welText div:after { + overflow: hidden; + width: 100%; + content: ''; +} + +.welText span { + float: right; + width: 60%; + text-align: right; + line-height: 20px; +} + +.welInputBox { + margin: 0 -12px; +} .welInput { - overflow: hidden; - font-size: 14px; - margin-top: 10px; -} - - .welInput span { - float: left; - width: 26%; - text-align: right; - line-height: 30px; - } - - .welInput input { - display: block; - margin-left: 28%; - width: 72%; - border: 1px solid #efefef; - border-radius: 4px; - height: 30px; - line-height: 28px; - padding: 0 10px; - margin-bottom: 0; - } + overflow: hidden; + font-size: 14px; + /* margin-top: 10px; */ + height: 46px; + padding: 8px 12px; + border-top: 1px solid #EFF2F3; +} +.welInput:first-child { + border: 0; +} + +.welInput span { + float: left; + width: 70px; + text-align: right; + line-height: 30px; + text-align: justify; + text-align-last: justify; +} + +.welInput span:after { + overflow: hidden; + width: 100%; + content: ''; +} + +.welInput .welInputs { + display: block; + margin-left: 80px; + width: calc(100% - 80px); + border: 0px solid #efefef; + border-radius: 4px; + height: 30px; + line-height: 28px; + padding: 0 10px; + margin-bottom: 0; + text-align: right; +} +.welInput .lr-picker { + line-height: 30px; +} .welCon { - padding: 10px; - border: 1px solid #efefef; - margin-top: 18px; - border-radius: 4px; - position: relative; + margin-top: 18px; + position: relative; + margin: 0 -12px; } .welDel { - position: absolute; - top: -8px; - left: -8px; - background: #fff; -} - - .welDel i { - text-align: center; - width: 26px; - height: 26px; - display: block; - line-height: 24px; - border: 1px solid #efefef; - border-radius: 50%; - } + background: #EFF2F3; + padding: 5px 12px 10px; + text-align: right; +} -.welImgAdd { - text-align: center; - line-height: 0; +.welDel i,.welAdd i { + text-align: center; + width: 26px; + height: 26px; + line-height: 24px; + border: 2px solid #0C86D8; + border-radius: 3px; + background: #ffff; + color: #0C86D8; +} + +.welAdd{ + background: #EFF2F3; + margin: 0 -12px; + padding: 5px 12px; + font-size: 14px; + color: #0C86D8; } #files { - opacity: 0; - -webkit-opacity: 0; - z-index: 9; - display: none; + opacity: 0; + -webkit-opacity: 0; + z-index: 9; + display: none; } #welImgBtn { - display: block; - width: 110px; - height: 30px; - text-align: center; - line-height: 26px; - border: 2px solid #efefef; - border-radius: 4px; - font-size: 14px; - color: #999; - margin: 10px auto; - cursor: pointer; -} -.welImgAdd{ - min-height:110px; -} -#PhotoImg { - width: 110px; - height:110px; -} - -.btnBox{ - margin-top:20px; - text-align:center; + display: block; + width: 110px; + height: 30px; + text-align: center; + line-height: 26px; + border: 2px solid #efefef; + border-radius: 4px; + font-size: 14px; + color: #999; + margin: 10px auto; + cursor: pointer; +} + +.welImgAdd { + width: 225px; + margin: 60px auto; + border: 1px solid #0C86D8; + border-radius: 6px; + overflow: hidden; + line-height: 0; +} + +.welImgAdd img { + width: 100%; } + +/* #PhotoImg { + width: 110px; + height: 110px; +} */ +.welImgInfo { + width: 260px; + margin: 0 auto; + color: #888888; +} + +.welImgInfoT { + font-size: 16px; + font-weight: bold; +} + +.welImgInfoTxt { + font-size: 14px; + margin-top: 10px; +} +.btnBox { + margin-top: 20px; + text-align: center; +} + #saveBtn { - margin: auto; - margin-top: 25px; - width: 92%; -} \ No newline at end of file + margin: auto; + margin-top: 25px; + width: 92%; + border-radius: 6px; +} diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.html index bbd9a4eee..78f79d8f9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.html +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.html @@ -1,157 +1,196 @@ -
基本信息
-
- -
- 学号 - -
-
- 准考证号 - -
-
- 考生号 - -
-
- 姓名 -
-
- 性别 - -
-
- 系别 - -
-
- 专业 - -
-
- 班级 - -
-
- 身份证号 - -
-
- 出生日期 - -
-
- 户口类别 - -
-
- 政治面貌 - -
+
+
+
基本信息
+
采集照片
+
籍贯/通讯
+
账户信息
+
家庭成员
-
-
采集照片信息
-
- - -
- - -
- -
-
-
自然信息
-
-
- 籍贯 - -
-
-
-
通讯信息
-
-
- 家庭住址 - -
-
- 联系电话 - +
+
+
+
+
基本信息
+ +
+
学号
+ +
+
+
准考证号
+ +
+
+
考生号
+ +
+
+
姓名
+ +
+
+
性别
+ +
+
+
系别
+ +
+
+
专业
+ +
+
+
班级
+ +
+
+
身份证号
+ +
+
+
出生日期
+ +
+
+
户口类别
+ +
+
+
政治面貌
+ +
+
-
- 基础信息 -
- 开户银行 - -
-
-
- 银行卡账号 - +
+
+
采集照片
+ + +
+ + +
+
+
照片要求:
+
1 . 单色背景,正面,免冠近期证件照
+
2 . 文件格式JPG
+
3 . 文件大小165320KB以下
+
-
- 开户行位置 - +
+
-
-
家庭成员(直系家属)
-
-
-
- 姓名 - -
-
- 与本人关系 - -
-
- 性别 - -
-
- 年龄 - -
-
- 政治面貌 - -
-
+ +
+
+
自然信息
+
+
+ 籍贯 + +
+
+
通讯信息
+
+
+ 家庭住址 + +
+
+ 联系电话 + +
+
+
紧急联系人
+
+
+
+ 姓名 + +
+
+ 与本人关系 +
+
+
+ 手机号码 + +
+
+ 座机号码 + +
+
+ 联系地址 + +
+
+
+
+
添加紧急联系人
+
+
+
-
-
紧急联系人
-
-
-
- 姓名 - -
-
- 与本人关系 - -
-
- 手机号码 - -
-
- 座机号码 - -
-
- 联系地址 - -
-
+ +
+
+
+
+ 开户银行 +
+
+
+ 银行卡号 + +
+
+ 开 户 行 + +
+
+
+
+
-
- +
+
+
家庭成员(直系家属)
+
+
+
+ 姓名 + +
+
+ 与本人关系 +
+
+
+ 年龄 + +
+
+ 政治面貌 +
+
+
+
+
+
添加家庭成员
+
+
+ +
+
+ + +
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js index e7a127e16..72b99aedc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js @@ -1,103 +1,122 @@ -(function() { - var colDataItemArr = ['GenderNo']; - var colDataItemCode = ['usersex']; +(function () { + var colDataItemArr = ['GenderNo']; + var colDataItemCode = ['usersex']; var colDataItemBank = ['DepositBank']; - - var page = { - isScroll: false, - init: function($page) { - // 获取登录者信息 - var userinfo = learun.storage.get('userinfo'); - - //增加联系人 - $page.find('.welT i').on('tap', function() { - var FamilyHtml = '
' + - '
' + - '姓名' + - '' + - '
' + - '
' + - '与本人关系' + - '
' + - '
' + - '
' + - '性别' + - '
' + - '
' + - '
' + - '年龄' + - '' + - '
' + - '
' + - '政治面貌' + - '
' + - '
' + - //'
' + - //'身份证号' + - //'' + - //'
' + - '
' + - '
'; - var EmergePeopleHtml = '
' + - '
' + - '姓名' + - '' + - '
' + - '
' + - '与本人关系' + - '' + - '
' + - '
' + - '手机号码' + - '' + - '
' + - '
' + - '座机号码' + - '' + - '
' + - '
' + - '联系地址' + - '' + - '
' + - '
' + - '
'; - - - var obj = $(this).parent().next(); - if ($(this).attr('title') == '紧急联系人') { - obj.append(EmergePeopleHtml); - } else { - obj.append(FamilyHtml); - } + var page = { + isScroll: false, + init: function ($page) { + // 获取登录者信息 + var userinfo = learun.storage.get('userinfo'); + //tab切换 + $page.find('.welTab div').on('tap', function () { + var ind = $(this).index(); + $(this).addClass('active').siblings().removeClass('active'); + $('.welBox').css('display', 'none').eq(ind).fadeIn() + }) + //增加联系人 + $page.find('.welAdd i').on('tap', function () { + var FamilyHtml = '
' + + '
' + + '姓名' + + '' + + '
' + + '
' + + '与本人关系' + + '
' + + '
' + + '
' + + '年龄' + + '' + + '
' + + '
' + + '政治面貌' + + '
' + + '
' + + //'
' + + //'身份证号' + + //'' + + //'
' + + '
' + + '
'; + var EmergePeopleHtml = '
' + + '
' + + '姓名' + + '' + + '
' + + '
' + + '与本人关系' + + '
' + + '
' + + '
' + + '手机号码' + + '' + + '
' + + '
' + + '座机号码' + + '' + + '
' + + '
' + + '联系地址' + + '' + + '
' + + '
' + + '
'; - page.bind($page); - }) - //删除联系人 - $page.find('.welBox').on('tap', '.welDel i', function() { - var parents = $(this).parents('.welCon') - learun.layer.confirm('是否删除此联系人?', function(_index) { - _index == 1 ? parents.remove() : '' - }, '提示', ['否', '是']); - }) - //上传照片 - var inputNode = $page.find('#files'); - $page.find('#welImgBtn').on('tap', function() { - var evt = new MouseEvent("click", { - bubbles: false, - cancelable: true, - view: window + var obj = $(this).parents('.welBox').find('.welUrgent'); + if ($(this).attr('title') == '紧急联系人') { + obj.append(EmergePeopleHtml); + + } else { + obj.append(FamilyHtml); + //政治面貌 + var Politicy = $(obj).find('[name="Politicy"]:last'); + Politicy.lrpickerex({ + code: 'BCdPartyFace', + type: 'sourceData', + ivalue: 'partyfaceno', + itext: 'partyface' + }); + //赋值 + Politicy.lrpickerSet(Politicy.attr('value')); + } + //与本人关系 + var Relation = $(obj).find('[name="Relation"]:last'); + Relation.lrpickerex({ + code: 'FamilyRelation', + type: 'dataItem' }); - inputNode[0].dispatchEvent(evt); - }) - inputNode.on('change', function() { - previewFile(); - }); - - //数据绑定 + //赋值 + Relation.lrpickerSet(Relation.attr('value')); + + // page.bind($page); + }) + //删除联系人 + $page.find('.welBox').on('tap', '.welDel i', function () { + var parents = $(this).parents('.welCon') + learun.layer.confirm('是否删除此联系人?', function (_index) { + _index == 1 ? parents.remove() : '' + }, '提示', ['否', '是']); + }) + //上传照片 + var inputNode = $page.find('#files'); + $page.find('#welImgBtn').on('tap', function () { + var evt = new MouseEvent("click", { + bubbles: false, + cancelable: true, + view: window + }); + inputNode[0].dispatchEvent(evt); + }) + inputNode.on('change', function () { + previewFile(); + }); + + //数据绑定 learun.layer.loading(true, '获取数据中'); learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, ( data) => { + //console.log('datadata',data); if (data) { //基本信息 for (var id in data['StuInfoFreshEntity']) { @@ -126,16 +145,16 @@ } }); } - // if (id == "#DepositBank") { - // learun.clientdata.get('sourceData', { - // code: 'DepositBank', - // key: data['StuInfoFreshEntity']['' + id + ''], - // keyId: 'DepositBank', - // callback: function(data, op) { - // $("#DepositBank").html(data.text); - // } - // }); - // } + if (id == "#DepositBank") { + learun.clientdata.get('sourceData', { + code: 'DepositBank', + key: data['StuInfoFreshEntity']['' + id + ''], + keyId: 'DepositBank', + callback: function(data, op) { + $("#DepositBank").html(data.text); + } + }); + } } else if (dom.tagName.toLowerCase() == "input") { $('#' + id).val(data['StuInfoFreshEntity']['' + id + '']); } @@ -146,79 +165,71 @@ $("#DepositBank").lrpickerSet(data.StuInfoFreshEntity.DepositBank); //头像 $('#PhotoImg').attr('src', config.web + data['Url']); + //家庭成员 + if(data['StuInfoFreshFamilyList'].length>0){ $('#StuInfoFreshFamily').html(""); + $.each(data['StuInfoFreshFamilyList'], function(i, item) { var html = '
' + '
' + '姓名' + - '' + '
' + '
' + '与本人关系' + - //'' + '
' + '
' + '
' + - '性别' + - //'' + - '
' + - '
' + - '
' + '年龄' + - '' + '
' + '
' + '政治面貌' + - //'' + '
' + '
' + - //'
' + - //'身份证号' + - //'' + - //'
' + '
' + '
'; $('#StuInfoFreshFamily').append(html); - }); + });} //紧急联系人 + if(data['StuInfoFreshEmergePeopleList'].length>0){ $('#StuInfoFreshEmergePeople').html(""); $.each(data['StuInfoFreshEmergePeopleList'], function(i, item) { var html = '
' + '
' + '姓名' + - '' + '
' + '
' + '与本人关系' + - '' + + '
' + '
' + '
' + '手机号码' + - '' + '
' + '
' + '座机号码' + - '' + '
' + '
' + '联系地址' + - '' + + '' + '
' + '
' + '
'; $('#StuInfoFreshEmergePeople').append(html); }); +} page.bind($page); learun.layer.loading(false); @@ -227,8 +238,9 @@ }); - //保存 - $page.find('#saveBtn').on('tap', function() { + + //保存 + $page.find('.saveBtn').on('tap', function () { var postdata = { ID: $('#ID').val(), RegionNo: $('#RegionNo').val(), @@ -241,135 +253,138 @@ StuInfoFreshFamilyEntities: family(), StuInfoFreshEmergePeopleEntities: emergePeople() }; - console.log(postdata) - // return - learun.layer.loading(true, '正在提交数据'); - learun.httpget(config.webapi + "StuInfoFresh/saveStuInfoFresh", postdata, ( - data) => { - learun.layer.loading(false); - if (data) { - learun.layer.toast('保存成功'); - location.reload(); - } - }); + //console.log(postdata) + //return + learun.layer.loading(true, '正在提交数据'); + learun.httpget(config.webapi + "StuInfoFresh/saveStuInfoFresh", postdata, (data) => { + learun.layer.loading(false); + if (data) { + learun.layer.toast('保存成功'); + location.reload(); + } + }); - }); + }); + page.bind($page); + }, + bind: function ($page) { + //性别 + $.each($page.find('[name="Sex"]'), function (i, item) { + $page.find(item).lrpickerex({ + code: 'usersex', + type: 'dataItem' + }); + //赋值 + $(item).lrpickerSet($(item).attr('value')); + }); + //政治面貌 + $.each($page.find('[name="Politicy"]'), function (i, item) { + $page.find(item).lrpickerex({ + code: 'BCdPartyFace', + type: 'sourceData', + ivalue: 'partyfaceno', + itext: 'partyface' + }); + //赋值 + $(item).lrpickerSet($(item).attr('value')); + }); + //与本人关系 + $.each($page.find('[name="Relation"]'), function (i, item) { + $page.find(item).lrpickerex({ + code: 'FamilyRelation', + type: 'dataItem' + }); + //赋值 + $(item).lrpickerSet($(item).attr('value')); + }); + //开户银行 + $page.find('#DepositBank').lrpickerex({ + code: 'DepositBank', + type: 'dataItem' + }); + /* $.each($page.find('[name="DepositBank"]'), function (i, item) { + $page.find(item).lrpickerex({ + code: 'DepositBank', + type: 'dataItem' + }); + //赋值 + $(item).lrpickerSet($(item).attr('value')); + }); */ + } + }; + //数据处理 + function family() { + var list = new Array(); + $.each($('#StuInfoFreshFamily').children('.welCon'), function (i, item) { + var o = $(item).children(".welConForm").serializeObject(); + o.Sex = $(item).find('[name="Sex"]').lrpickerGet(); + o.Politicy = $(item).find('[name="Politicy"]').lrpickerGet(); + o.Relation = $(item).find('[name="Relation"]').lrpickerGet(); + list.push(o); + }); + return list; + } + function emergePeople() { + var list = new Array(); + $.each($('#StuInfoFreshEmergePeople').children('.welCon'), function (i, item) { + var o = $(item).children(".welConForm").serializeObject(); + list.push(o); + }); + return list; + } - }, - bind: function($page) { - //性别 - $.each($page.find('[name="Sex"]'), function(i, item) { - $page.find(item).lrpickerex({ - code: 'usersex', - type: 'dataItem' - }); - //赋值 - $(item).lrpickerSet($(item).attr('value')); - }); - $page.find('#DepositBank').lrpickerex({ - code: 'DepositBank', - type: 'dataItem' - }); - //政治面貌 - $.each($page.find('[name="Politicy"]'), function(i, item) { - $page.find(item).lrpickerex({ - code: 'BCdPartyFace', - type: 'sourceData', - ivalue: 'partyfaceno', - itext: 'partyface' - }); - //赋值 - $(item).lrpickerSet($(item).attr('value')); - }); - //与本人关系 - $.each($page.find('#StuInfoFreshFamily').find('[name="Relation"]'), function(i, item) { - $page.find(item).lrpickerex({ - code: 'FamilyRelation', - type: 'dataItem' - }); - //赋值 - $(item).lrpickerSet($(item).attr('value')); - }); - } - }; - //数据处理 - function family() { - var list = new Array(); - $.each($('#StuInfoFreshFamily').children('.welCon'), function(i, item) { - var o = $(item).children(".welConForm").serializeObject(); - o.Sex = $(item).find('[name="Sex"]').lrpickerGet(); - o.DepositBank = $(item).find('[name="DepositBank"]').lrpickerGet(); - o.Politicy = $(item).find('[name="Politicy"]').lrpickerGet(); - o.Relation = $(item).find('[name="Relation"]').lrpickerGet(); - list.push(o); - }); - return list; - } - - function emergePeople() { - var list = new Array(); - $.each($('#StuInfoFreshEmergePeople').children('.welCon'), function(i, item) { - var o = $(item).children(".welConForm").serializeObject(); - list.push(o); - }); - return list; - } + $.fn.serializeObject = function () { + var o = {}; + var a = this.serializeArray(); + $.each(a, function () { + if (o[this.name]) { + if (!o[this.name].push) { + o[this.name] = [o[this.name]]; + } + o[this.name].push(this.value || ''); + } else { + o[this.name] = this.value || ''; + } + }); + return o; + } - $.fn.serializeObject = function() { - var o = {}; - var a = this.serializeArray(); - $.each(a, function() { - if (o[this.name]) { - if (!o[this.name].push) { - o[this.name] = [o[this.name]]; - } - o[this.name].push(this.value || ''); - } else { - o[this.name] = this.value || ''; - } - }); - return o; - } - - //上传照片 - function previewFile() { - var html = ''; - var file = document.querySelector('input[type=file]').files[0]; - var reader = new FileReader(); - reader.onloadend = function() { - //$('#PhotoImg').attr('src', reader.result); - var postData = { - Base64Url: reader.result - } - learun.httppost(config.webapi + "StuInfoFresh/savePhoto", postData, (data) => { - if (data) { - $('#Photo').val(data.AnnexesFileId); - $('#PhotoImg').attr('src', config.web + data.Url); - } else { - learun.layer.toast('采集照片信息失败!'); - } - }); - } - if (file) { - reader.readAsDataURL(file); - } - } + //上传照片 + function previewFile() { + var html = ''; + var file = document.querySelector('input[type=file]').files[0]; + var reader = new FileReader(); + reader.onloadend = function () { + //$('#PhotoImg').attr('src', reader.result); + var postData = { + Base64Url: reader.result + } + learun.httppost(config.webapi + "StuInfoFresh/savePhoto", postData, (data) => { + if (data) { + $('#Photo').val(data.AnnexesFileId); + $('#PhotoImg').attr('src', config.web + data.Url); + } else { + learun.layer.toast('采集照片信息失败!'); + } + }); + } + if (file) { + reader.readAsDataURL(file); + } + } - //产生随机数 - function GenerateRandom() { - var retstr = ""; - var date = new Date(); - retstr = date.getFullYear().toString() + "-" + date.getMonth().toString() + "-" + date.getDate() - .toString() + "-" + date.getUTCHours().toString() + "-" + date.getUTCMinutes() + "-" + date - .getUTCSeconds() - .toString(); - var Num = ""; - for (var i = 0; i < 6; i++) { - Num += Math.floor(Math.random() * 10); - } - return retstr + Num; - } + //产生随机数 + function GenerateRandom() { + var retstr = ""; + var date = new Date(); + retstr = date.getFullYear().toString() + "-" + date.getMonth().toString() + "-" + date.getDate().toString() + "-" + date.getUTCHours().toString() + "-" + date.getUTCMinutes() + "-" + date.getUTCSeconds().toString(); + var Num = ""; + for (var i = 0; i < 6; i++) { + Num += Math.floor(Math.random() * 10); + } + return retstr + Num; + } - return page; + return page; })();