From 6af6d873f8e3bb42b6af5d99f13ec39c4fd6fc8d Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 7 Mar 2025 13:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 3 ++- pages/login/login.vue | 1 + subPackages/clockIn/record.vue | 2 +- unpackage/dist/build/web/index.html | 2 +- .../web/static/js/{index.b7448120.js => index.fef1417a.js} | 2 +- .../dist/build/web/static/js/pages-index-index.214affef.js | 1 - .../dist/build/web/static/js/pages-index-index.34d399c6.js | 1 + .../dist/build/web/static/js/pages-login-login.22c6d473.js | 1 + .../dist/build/web/static/js/pages-login-login.6eddb80c.js | 1 - .../build/web/static/js/subPackages-clockIn-record.5234d807.js | 1 - .../build/web/static/js/subPackages-clockIn-record.a1a27fff.js | 1 + 11 files changed, 9 insertions(+), 7 deletions(-) rename unpackage/dist/build/web/static/js/{index.b7448120.js => index.fef1417a.js} (99%) delete mode 100644 unpackage/dist/build/web/static/js/pages-index-index.214affef.js create mode 100644 unpackage/dist/build/web/static/js/pages-index-index.34d399c6.js create mode 100644 unpackage/dist/build/web/static/js/pages-login-login.22c6d473.js delete mode 100644 unpackage/dist/build/web/static/js/pages-login-login.6eddb80c.js delete mode 100644 unpackage/dist/build/web/static/js/subPackages-clockIn-record.5234d807.js create mode 100644 unpackage/dist/build/web/static/js/subPackages-clockIn-record.a1a27fff.js diff --git a/pages/index/index.vue b/pages/index/index.vue index 314b293..637245b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -19,7 +19,7 @@ ·我的打卡 打卡规则 - 上线打卡 + {{punchSuccess ? '打卡成功' : '上线打卡'}} {{currentTime}} @@ -192,6 +192,7 @@ if(res.code == 1) { this.punchSuccess = true clearInterval(this.timeInterval); // 打卡成功后清除时间定时器 + navigator.geolocation.clearWatch(this.watchId); // 打卡成功时清除位置监听 let timer = setInterval(() => { this.timeSuccess--; if (this.timeSuccess == 0) { diff --git a/pages/login/login.vue b/pages/login/login.vue index c8c55d2..5fec856 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -56,6 +56,7 @@ onShow() { this.getCodeImg() + console.log(this.calculateDistance(120.633401, 31.266909,31.323512,120.631235)) }, methods: { // 获取验证码 diff --git a/subPackages/clockIn/record.vue b/subPackages/clockIn/record.vue index b364f34..d4724bf 100644 --- a/subPackages/clockIn/record.vue +++ b/subPackages/clockIn/record.vue @@ -33,7 +33,7 @@ limit: 30, } }, - onLoad() { + onShow() { this.page = 1 this.finished = false this.list = [] diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html index 2b374ed..b229174 100644 --- a/unpackage/dist/build/web/index.html +++ b/unpackage/dist/build/web/index.html @@ -1,2 +1,2 @@ daoyou
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/index.b7448120.js b/unpackage/dist/build/web/static/js/index.fef1417a.js similarity index 99% rename from unpackage/dist/build/web/static/js/index.b7448120.js rename to unpackage/dist/build/web/static/js/index.fef1417a.js index 69d290b..7d6fd45 100644 --- a/unpackage/dist/build/web/static/js/index.b7448120.js +++ b/unpackage/dist/build/web/static/js/index.fef1417a.js @@ -1 +1 @@ -(function(n){function i(i){for(var o,t,u=i[0],p=i[1],d=i[2],s=0,c=[];s'),i=new RegExp("section","g"),n=n.replace(i,"div"),i=new RegExp("↵","g"),n=n.replace(i,"
"),n},r.default.prototype.getUrlPara=function(n){var i=n.split("?"),e=i[1];return!!e&&e.split("&")},r.default.prototype.idChinaName=function(n){return/^[\u4E00-\u9FA5]{2,4}$/.test(n)},r.default.prototype.idCardNumber=function(n){return/^\d{17}(\d{1}|[X|x])$/.test(n)},r.default.prototype.IsTel=function(n){return/^1\d{10}$/.test(n)},r.default.prototype.IsTelMacau=function(n){return/^\d{8}$/.test(n)},r.default.prototype.IsCode=function(n){return/^\d{6}$/.test(n)},r.default.prototype.IsMail=function(n){return/^\w+@[a-z0-9]+\.[a-z]+$/i.test(n)},r.default.prototype.showImg=function(n){if(n)return-1!=n.indexOf("https://")||-1!=n.indexOf("http://")?n:"https://guide.sz-trip.com"+n},r.default.prototype.getLocation=function(){uni.startLocationUpdate({success:function(n){uni.onLocationChange((function(n){uni.setStorageSync("location",{lat:n.latitude,lon:n.longitude})}))}})},r.default.prototype.getHeadImg=function(n){return r.default.prototype.Post({type:n},"/api/public_service/getKumgangHeadImgList").then((function(n){return n.data[0].image}))},r.default.prototype.gotoPath=function(n){uni.navigateTo({url:n})},r.default.prototype.goBack=function(){console.log(getCurrentPages());var n=getCurrentPages(),i=n[n.length-1];"subPackages/techan/techanList"!=i.route&&getCurrentPages().length>1?uni.navigateBack({}):uni.switchTab({url:"/pages/index/index"})},r.default.prototype.openLocation=function(n,i){uni.openLocation({latitude:Number(n),longitude:Number(i),success:function(){console.log("success")}})},r.default.prototype.clickPhone=function(n){uni.makePhoneCall({phoneNumber:n})},r.default.prototype.ShowDateDay=function(n){var i="";switch(n){case 0:i="周日";break;case 1:i="周一";break;case 2:i="周二";break;case 3:i="周三";break;case 4:i="周四";break;case 5:i="周五";break;case 6:i="周六";break}return i},r.default.prototype.encryptPhone=function(n){return n.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},r.default.prototype.calculateDistance=function(n,i,e,o){var a=n*(Math.PI/180),r=e*(Math.PI/180),t=(e-n)*(Math.PI/180),u=(o-i)*(Math.PI/180),p=Math.sin(t/2)*Math.sin(t/2)+Math.cos(a)*Math.cos(r)*Math.sin(u/2)*Math.sin(u/2),d=2*Math.atan2(Math.sqrt(p),Math.sqrt(1-p));return 6371e3*d},r.default.prototype.timeFormat=function(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";n=i?/^\d{10}$/.test(null===i||void 0===i?void 0:i.toString().trim())?new Date(1e3*i):"string"===typeof i&&/^\d+$/.test(i.trim())?new Date(Number(i)):"string"===typeof i&&i.includes("-")&&!i.includes("T")?new Date(i.replace(/-/g,"/")):new Date(i):new Date;var o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(var r in o){var t=new RegExp("".concat(r,"+")).exec(e)||[],u=(0,a.default)(t,1),p=u[0];if(p){var d="y"===r&&2===p.length?2:0;e=e.replace(p,o[r].slice(d))}}return e}},"9f4f":function(n,i,e){"use strict";var o=e("f5bd").default,a=o(e("9b1b"));e("3dde"),e("a8b2"),e("1480"),e("6e4a"),e("4e18"),e("9337");var r=o(e("9b8e")),t=o(e("caf0")),u=o(e("bd88"));e("32bf"),e("6be1");var p=o(e("ec4d"));r.default.prototype.vconsole=new p.default,r.default.config.productionTip=!1,t.default.mpType="app";var d=new r.default((0,a.default)({store:u.default},t.default));d.$mount()},b349:function(n,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var o=function(){var n=this.$createElement,i=this._self._c||n;return i("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},a=[]},bd88:function(n,i,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=o(e("9b8e")),r=o(e("8f59")),t=o(e("fa68"));a.default.use(r.default);var u=new r.default.Store({modules:{user:t.default}});i.default=u},caf0:function(n,i,e){"use strict";e.r(i);var o=e("b349"),a=e("3e24");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(i,n,(function(){return a[n]}))}(r);e("1426");var t=e("828b"),u=Object(t["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);i["default"]=u.exports},fa68:function(n,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("d4b5");var o={state:{location:{lat:"",lon:""},userInfo:{token:""},toPath:"",products:"",linkProducts:"",coupon:"",eshoppingCart:[],sshoppingCart:[],meetRoomReserve:{date:null,coupon:null,people:null},lingoIds:[],scenicIds:[]},mutations:{changeUserInfo:function(n,i){n.userInfo=i,uni.setStorageSync("userInfo",JSON.stringify(i))},changeLoationInfo:function(n,i){uni.setStorageSync("locationInfo",JSON.stringify(i)),n.location=i},changeLoginPath:function(n){var i=getCurrentPages(),e=i[i.length-1];n.toPath=e.$page.fullPath,"/pages/login/login"!=n.toPath&&uni.navigateTo({url:"/pages/login/login"})},changeOrderInfo:function(n,i){n.products=i},changelinkProducts:function(n,i){n.linkProducts=i},choseCoupon:function(n,i){n.coupon=i},changeOrderECart:function(n,i){n.eshoppingCart=i},changeOrderSCart:function(n,i){n.sshoppingCart=i},changeMeetRoomReserve:function(n,i){n.meetRoomReserve=i},changeLingoIds:function(n,i){n.lingoIds=i},changeScenicIds:function(n,i){n.scenicIds=i}}};i.default=o}}); \ No newline at end of file +(function(n){function i(i){for(var o,t,u=i[0],p=i[1],d=i[2],s=0,c=[];s'),i=new RegExp("section","g"),n=n.replace(i,"div"),i=new RegExp("↵","g"),n=n.replace(i,"
"),n},r.default.prototype.getUrlPara=function(n){var i=n.split("?"),e=i[1];return!!e&&e.split("&")},r.default.prototype.idChinaName=function(n){return/^[\u4E00-\u9FA5]{2,4}$/.test(n)},r.default.prototype.idCardNumber=function(n){return/^\d{17}(\d{1}|[X|x])$/.test(n)},r.default.prototype.IsTel=function(n){return/^1\d{10}$/.test(n)},r.default.prototype.IsTelMacau=function(n){return/^\d{8}$/.test(n)},r.default.prototype.IsCode=function(n){return/^\d{6}$/.test(n)},r.default.prototype.IsMail=function(n){return/^\w+@[a-z0-9]+\.[a-z]+$/i.test(n)},r.default.prototype.showImg=function(n){if(n)return-1!=n.indexOf("https://")||-1!=n.indexOf("http://")?n:"https://guide.sz-trip.com"+n},r.default.prototype.getLocation=function(){uni.startLocationUpdate({success:function(n){uni.onLocationChange((function(n){uni.setStorageSync("location",{lat:n.latitude,lon:n.longitude})}))}})},r.default.prototype.getHeadImg=function(n){return r.default.prototype.Post({type:n},"/api/public_service/getKumgangHeadImgList").then((function(n){return n.data[0].image}))},r.default.prototype.gotoPath=function(n){uni.navigateTo({url:n})},r.default.prototype.goBack=function(){console.log(getCurrentPages());var n=getCurrentPages(),i=n[n.length-1];"subPackages/techan/techanList"!=i.route&&getCurrentPages().length>1?uni.navigateBack({}):uni.switchTab({url:"/pages/index/index"})},r.default.prototype.openLocation=function(n,i){uni.openLocation({latitude:Number(n),longitude:Number(i),success:function(){console.log("success")}})},r.default.prototype.clickPhone=function(n){uni.makePhoneCall({phoneNumber:n})},r.default.prototype.ShowDateDay=function(n){var i="";switch(n){case 0:i="周日";break;case 1:i="周一";break;case 2:i="周二";break;case 3:i="周三";break;case 4:i="周四";break;case 5:i="周五";break;case 6:i="周六";break}return i},r.default.prototype.encryptPhone=function(n){return n.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},r.default.prototype.calculateDistance=function(n,i,e,o){var a=n*(Math.PI/180),r=e*(Math.PI/180),t=(e-n)*(Math.PI/180),u=(o-i)*(Math.PI/180),p=Math.sin(t/2)*Math.sin(t/2)+Math.cos(a)*Math.cos(r)*Math.sin(u/2)*Math.sin(u/2),d=2*Math.atan2(Math.sqrt(p),Math.sqrt(1-p));return 6371e3*d},r.default.prototype.timeFormat=function(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";n=i?/^\d{10}$/.test(null===i||void 0===i?void 0:i.toString().trim())?new Date(1e3*i):"string"===typeof i&&/^\d+$/.test(i.trim())?new Date(Number(i)):"string"===typeof i&&i.includes("-")&&!i.includes("T")?new Date(i.replace(/-/g,"/")):new Date(i):new Date;var o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(var r in o){var t=new RegExp("".concat(r,"+")).exec(e)||[],u=(0,a.default)(t,1),p=u[0];if(p){var d="y"===r&&2===p.length?2:0;e=e.replace(p,o[r].slice(d))}}return e}},"9f4f":function(n,i,e){"use strict";var o=e("f5bd").default,a=o(e("9b1b"));e("3dde"),e("a8b2"),e("1480"),e("6e4a"),e("4e18"),e("9337");var r=o(e("9b8e")),t=o(e("caf0")),u=o(e("bd88"));e("32bf"),e("6be1");var p=o(e("ec4d"));r.default.prototype.vconsole=new p.default,r.default.config.productionTip=!1,t.default.mpType="app";var d=new r.default((0,a.default)({store:u.default},t.default));d.$mount()},b349:function(n,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var o=function(){var n=this.$createElement,i=this._self._c||n;return i("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},a=[]},bd88:function(n,i,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=o(e("9b8e")),r=o(e("8f59")),t=o(e("fa68"));a.default.use(r.default);var u=new r.default.Store({modules:{user:t.default}});i.default=u},caf0:function(n,i,e){"use strict";e.r(i);var o=e("b349"),a=e("3e24");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(i,n,(function(){return a[n]}))}(r);e("1426");var t=e("828b"),u=Object(t["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);i["default"]=u.exports},fa68:function(n,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("d4b5");var o={state:{location:{lat:"",lon:""},userInfo:{token:""},toPath:"",products:"",linkProducts:"",coupon:"",eshoppingCart:[],sshoppingCart:[],meetRoomReserve:{date:null,coupon:null,people:null},lingoIds:[],scenicIds:[]},mutations:{changeUserInfo:function(n,i){n.userInfo=i,uni.setStorageSync("userInfo",JSON.stringify(i))},changeLoationInfo:function(n,i){uni.setStorageSync("locationInfo",JSON.stringify(i)),n.location=i},changeLoginPath:function(n){var i=getCurrentPages(),e=i[i.length-1];n.toPath=e.$page.fullPath,"/pages/login/login"!=n.toPath&&uni.navigateTo({url:"/pages/login/login"})},changeOrderInfo:function(n,i){n.products=i},changelinkProducts:function(n,i){n.linkProducts=i},choseCoupon:function(n,i){n.coupon=i},changeOrderECart:function(n,i){n.eshoppingCart=i},changeOrderSCart:function(n,i){n.sshoppingCart=i},changeMeetRoomReserve:function(n,i){n.meetRoomReserve=i},changeLingoIds:function(n,i){n.lingoIds=i},changeScenicIds:function(n,i){n.scenicIds=i}}};i.default=o}}); \ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/pages-index-index.214affef.js b/unpackage/dist/build/web/static/js/pages-index-index.214affef.js deleted file mode 100644 index 43051e1..0000000 --- a/unpackage/dist/build/web/static/js/pages-index-index.214affef.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"287e":function(t,e,n){var i=n("efb5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("39c3b8e3",i,!0,{sourceMap:!1,shadowMode:!1})},"2e44":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uniPopup:n("d93e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-image",{staticClass:"topImg",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/topImg.png"}}),n("v-uni-view",{staticClass:"title",staticStyle:{"margin-top":"40rpx"}},[t._v("·快捷入口")]),n("v-uni-view",{staticClass:"flex-between"},[n("v-uni-view",{staticClass:"nav-item flex-around",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHX()}}},[t._v("立即核销"),n("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/hexiao.png",mode:""}})],1),n("v-uni-view",{staticClass:"nav-item flex-around",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoPath("/subPackages/order/orderList")}}},[t._v("查看订单"),n("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/dingdan.png",mode:""}})],1)],1),t.isShowClasses?n("v-uni-view",[n("v-uni-view",{staticClass:"title"},[t._v("·我的排班")]),n("v-uni-view",{staticClass:"type-box"},t._l(t.typeList,(function(e,i){return n("v-uni-view",{key:i,class:["type-item",{"type-active":i==t.typeIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.typeIndex=i,t.getList()}}},[t._v(t._s(e.title)),i==t.typeIndex?n("v-uni-view",{staticClass:"type-line"}):t._e()],1)})),1),n("calendarVue",{attrs:{isShowLunar:!0,isCanChangeDate:0==t.userPunch.is_clock},on:{changeDate:function(e){arguments[0]=e=t.$handleEvent(e),t.getDate.apply(void 0,arguments)}}}),t._l(t.typeIndex?t.sessionLists:t.sessionList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"session-item flex-between"},[t._v(t._s(e.title)),n("v-uni-switch",{attrs:{checked:e.isChecked,color:"#96684F"},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.switchChange(e,i)}}})],1)}))],2):n("v-uni-view",[n("v-uni-view",{staticClass:"title"},[t._v("·我的打卡")]),n("v-uni-view",{staticClass:"rule",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openRule.apply(void 0,arguments)}}},[t._v("打卡规则")]),n("v-uni-view",{staticClass:"punch-box flex-column",style:{backgroundColor:t.isCanPunch?"#96684F":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.punch.apply(void 0,arguments)}}},[n("v-uni-view",[t._v("上线打卡")]),t._v(t._s(t.currentTime))],1),t.punchSuccess?n("v-uni-view",[n("v-uni-view",{staticClass:"punch-text"},[t._v("打卡时间:"+t._s(t.currentTime.slice(0,5)))]),n("v-uni-view",{staticClass:"punch-text",staticStyle:{margin:"0 auto"}},[t._v(t._s(t.timeSuccess)+"s后自动进入排班页面")])],1):n("v-uni-view",[n("v-uni-view",{staticClass:"punch-text"},[t._v(t._s(t.isCanPunch?"您已进入打卡范围:"+t.userPunch.clock_address[t.nearestFenceIndex].title:"您当前不在可打卡范围内"))]),t.userPunch.is_open_examine?n("v-uni-view",{staticClass:"examine-btn flex-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.examinePunch.apply(void 0,arguments)}}},[t._v("审批打卡")]):t._e()],1)],1),n("uni-popup",{ref:"popup",attrs:{type:"center","border-radius":"10px","background-color":"#fff"}},[n("v-uni-view",{staticStyle:{width:"90%",padding:"30rpx","border-radius":"10rpx",margin:"auto"},domProps:{innerHTML:t._s(t.formateRichText(t.ruleContent))}})],1)],1)},s=[]},"3b77":function(t,e,n){"use strict";var i=n("287e"),a=n.n(i);a.a},"7ba3":function(t,e,n){"use strict";n.r(e);var i=n("2e44"),a=n("df0f");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("3b77");var c=n("828b"),o=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"e766b7d4",null,!1,i["a"],void 0);e["default"]=o.exports},dc8b:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5de6"));n("4626"),n("bf0f"),n("2797"),n("795c"),n("5c47"),n("a1c1"),n("c223");var s=i(n("918a")),c={components:{calendarVue:s.default},data:function(){return{typeList:[{title:"导游服务",id:""},{title:"线路产品",id:""}],typeIndex:0,selectDay:"",sessionList:[{title:"上午场",isChecked:!1},{title:"下午场",isChecked:!1},{title:"全天场",isChecked:!1}],sessionLists:[{title:"当天状态",isChecked:!1}],isAllChecked:!1,nearestFenceIndex:null,fenceRadius:500,watchId:null,ruleContent:"",currentTime:"",timeInterval:null,isCanPunch:!1,punchSuccess:!1,timeSuccess:3,isShowClasses:!0,userPunch:{},myLonLat:{lng:"",lat:""}}},onLoad:function(){this.selectDay=this.getNowTime(new Date),this.getList()},onShow:function(){var t=this;this.Post({},"/api/Merchants/getGuideClockStatus").then((function(e){if(t.userPunch=e.data,0!=t.userPunch.clock_address.length){switch(t.userPunch.is_clock){case 0:t.isShowClasses=!0;break;case 1:t.isShowClasses=!1;break;case 2:t.isShowClasses=!0;break;case 3:t.isShowClasses=!1;break;case 4:t.isShowClasses=!1;break;default:break}t.watchLocation(),t.startTimeUpdate()}}))},onHide:function(){this.watchId&&navigator.geolocation.clearWatch(this.watchId),this.timeInterval&&clearInterval(this.timeInterval)},methods:{punch:function(){var t=this;null!==this.nearestFenceIndex?this.Post({address_id:this.userPunch.clock_address[this.nearestFenceIndex].id,lon:this.myLonLat.lng,lat:this.myLonLat.lat},"/api/Merchants/guideClockLocate").then((function(e){if(1==e.code){t.punchSuccess=!0,clearInterval(t.timeInterval);var n=setInterval((function(){t.timeSuccess--,0==t.timeSuccess&&(clearInterval(n),t.isShowClasses=!0)}),1e3)}})):uni.showToast({title:"您当前不在可打卡范围内,无法打卡",icon:"none"})},examinePunch:function(){1==this.userPunch.is_clock?this.gotoPath("/subPackages/clockIn/apply"):[3,4].includes(this.userPunch.is_clock)&&this.gotoPath("/subPackages/clockIn/apply?id="+this.userPunch.clock_id)},watchLocation:function(){var t=this;navigator.geolocation?this.watchId=navigator.geolocation.watchPosition((function(e){var n=e.coords,i=t.wgs84ToGcj02(n.longitude,n.latitude),s=(0,a.default)(i,2),c=s[0],o=s[1];t.myLonLat={lng:c,lat:o},t.isCanPunch=!1;for(var r=0;r137.8347||e<.8293||e>55.8271},transformLat:function(t,e){var n=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Math.PI)+20*Math.sin(2*t*Math.PI))/3,n+=2*(20*Math.sin(e*Math.PI)+40*Math.sin(e/3*Math.PI))/3,n+=2*(160*Math.sin(e/12*Math.PI)+320*Math.sin(e*Math.PI/30))/3,n},transformLng:function(t,e){var n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Math.PI)+20*Math.sin(2*t*Math.PI))/3,n+=2*(20*Math.sin(t*Math.PI)+40*Math.sin(t/3*Math.PI))/3,n+=2*(150*Math.sin(t/12*Math.PI)+300*Math.sin(t/30*Math.PI))/3,n},wgs84ToGcj02:function(t,e){var n=6378245,i=.006693421622965943;if(this.outOfChina(t,e))return[t,e];var a=this.transformLat(t-105,e-35),s=this.transformLng(t-105,e-35),c=e/180*Math.PI,o=Math.sin(c);o=1-i*o*o;var r=Math.sqrt(o);a=180*a/(n*(1-i)/(o*r)*Math.PI),s=180*s/(n/r*Math.cos(c)*Math.PI);var u=e+a,d=t+s;return[d,u]},goHX:function(){uni.switchTab({url:"/pages/verification/index"})},switchChange:function(t,e){t.isChecked=!t.isChecked;var n=this.typeIndex?"/api/Merchants/updateGuideSched":"/api/Merchants/updateGuideSchedService";this.Post({date:this.selectDay,online_type:t.isChecked?1:0,date_half:this.typeIndex?"":e+1,classify:this.typeIndex?2:""},n).then((function(t){}))},getDate:function(t){console.log("传递过来的日期",t),this.selectDay=t,this.sessionList.forEach((function(t){return t.isChecked=!1})),this.sessionLists[0].isChecked=!1,this.getList()},changeWork:function(t){},getList:function(){var t=this;this.Post({start_date:this.selectDay,end_date:this.selectDay,classify:this.typeIndex?2:3},"/api/Merchants/getGuideSchedList").then((function(e){if(e.data&&e.data.length>0){var n=e.data[0];t.typeIndex?t.sessionLists[0].isChecked=!!n.online_type:(t.sessionList[0].isChecked=!!n.morning_type,t.sessionList[1].isChecked=!!n.afternoon_type,t.sessionList[2].isChecked=!!n.day_type)}}))},formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY/MM/DD",n=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),s=String(t.getHours()).padStart(2,"0"),c=String(t.getMinutes()).padStart(2,"0"),o=String(t.getSeconds()).padStart(2,"0");return e.replace("YYYY",n).replace("MM",i).replace("DD",a).replace("HH",s).replace("mm",c).replace("ss",o)},getNowTime:function(t,e){var n=1===e?"ios"===uni.getSystemInfoSync().platform?"YYYY/MM/DD HH:mm:ss":"YYYY-MM-DD HH:mm:ss":"YYYY/MM/DD";return this.formatDate(t,n)},openRule:function(){var t=this;this.Post({id:7},"/api/article/getArticleById").then((function(e){t.ruleContent=e.data.content,t.$refs.popup.open()}))},startTimeUpdate:function(){var t=this;this.updateTime(),this.timeInterval=setInterval((function(){t.updateTime()}),1e3)},updateTime:function(){var t=new Date,e=String(t.getHours()).padStart(2,"0"),n=String(t.getMinutes()).padStart(2,"0"),i=String(t.getSeconds()).padStart(2,"0");this.currentTime="".concat(e,":").concat(n,":").concat(i)}}};e.default=c},df0f:function(t,e,n){"use strict";n.r(e);var i=n("dc8b"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},efb5:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-e766b7d4]{background:#fff;min-height:100vh;padding:%?40?% %?26?% %?200?%}.topImg[data-v-e766b7d4]{width:%?299.33?%;height:%?70?%;display:flex;margin:auto}.title[data-v-e766b7d4]{font-weight:700;font-size:%?35?%;color:#000;margin:%?68?% 0 %?34?%}.rule[data-v-e766b7d4]{font-weight:500;font-size:%?31?%;color:#96684f;text-align:right}.punch-box[data-v-e766b7d4]{width:%?267?%;height:%?267?%;background:#ccc;box-shadow:%?0?% %?0?% %?29?% %?0?% hsla(0,0%,60%,.6);border-radius:50%;justify-content:center;align-items:center;font-weight:700;font-size:%?32?%;color:#fff;margin:%?200?% auto 0}.punch-text[data-v-e766b7d4]{font-weight:700;font-size:%?30?%;color:#111;margin:%?40?% auto;text-align:center}.examine-btn[data-v-e766b7d4]{width:%?257?%;height:%?80?%;border-radius:%?13?%;border:%?1?% solid #96684f;font-weight:500;font-size:%?31?%;color:#96684f;margin:0 auto}.nav-item[data-v-e766b7d4]{font-weight:500;font-size:%?32?%;color:#000;width:%?338?%;height:%?118?%;background:#f5f5f5;border-radius:%?20?%;padding:0 %?15?%}.nav-item uni-image[data-v-e766b7d4]{width:%?80.67?%;height:%?80.67?%}.type-box[data-v-e766b7d4]{display:flex}.type-box .type-item[data-v-e766b7d4]{margin-right:%?44?%;font-weight:500;font-size:%?32?%;color:#000}.type-box .type-active[data-v-e766b7d4]{color:#96684f}.type-box .type-line[data-v-e766b7d4]{width:%?117?%;height:%?6?%;background:#96684f;border-radius:%?3?%;margin:%?4?% auto 0}.session-item[data-v-e766b7d4]{width:%?697?%;height:%?93?%;background:#f5f5f5;border-radius:%?47?%;margin:%?28?% auto 0;font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:#000;padding:0 %?28?%}',""]),t.exports=e}}]); \ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/pages-index-index.34d399c6.js b/unpackage/dist/build/web/static/js/pages-index-index.34d399c6.js new file mode 100644 index 0000000..cc870e4 --- /dev/null +++ b/unpackage/dist/build/web/static/js/pages-index-index.34d399c6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"4c88":function(t,e,n){var i=n("b4a6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("f8047380",i,!0,{sourceMap:!1,shadowMode:!1})},"7ba3":function(t,e,n){"use strict";n.r(e);var i=n("96aa"),a=n("df0f");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("efbe");var c=n("828b"),o=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"f9a69d34",null,!1,i["a"],void 0);e["default"]=o.exports},"96aa":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uniPopup:n("d93e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-image",{staticClass:"topImg",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/topImg.png"}}),n("v-uni-view",{staticClass:"title",staticStyle:{"margin-top":"40rpx"}},[t._v("·快捷入口")]),n("v-uni-view",{staticClass:"flex-between"},[n("v-uni-view",{staticClass:"nav-item flex-around",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHX()}}},[t._v("立即核销"),n("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/hexiao.png",mode:""}})],1),n("v-uni-view",{staticClass:"nav-item flex-around",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoPath("/subPackages/order/orderList")}}},[t._v("查看订单"),n("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/index/dingdan.png",mode:""}})],1)],1),t.isShowClasses?n("v-uni-view",[n("v-uni-view",{staticClass:"title"},[t._v("·我的排班")]),n("v-uni-view",{staticClass:"type-box"},t._l(t.typeList,(function(e,i){return n("v-uni-view",{key:i,class:["type-item",{"type-active":i==t.typeIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.typeIndex=i,t.getList()}}},[t._v(t._s(e.title)),i==t.typeIndex?n("v-uni-view",{staticClass:"type-line"}):t._e()],1)})),1),n("calendarVue",{attrs:{isShowLunar:!0,isCanChangeDate:0==t.userPunch.is_clock},on:{changeDate:function(e){arguments[0]=e=t.$handleEvent(e),t.getDate.apply(void 0,arguments)}}}),t._l(t.typeIndex?t.sessionLists:t.sessionList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"session-item flex-between"},[t._v(t._s(e.title)),n("v-uni-switch",{attrs:{checked:e.isChecked,color:"#96684F"},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.switchChange(e,i)}}})],1)}))],2):n("v-uni-view",[n("v-uni-view",{staticClass:"title"},[t._v("·我的打卡")]),n("v-uni-view",{staticClass:"rule",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openRule.apply(void 0,arguments)}}},[t._v("打卡规则")]),n("v-uni-view",{staticClass:"punch-box flex-column",style:{backgroundColor:t.isCanPunch?"#96684F":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.punch.apply(void 0,arguments)}}},[n("v-uni-view",[t._v(t._s(t.punchSuccess?"打卡成功":"上线打卡"))]),t._v(t._s(t.currentTime))],1),t.punchSuccess?n("v-uni-view",[n("v-uni-view",{staticClass:"punch-text"},[t._v("打卡时间:"+t._s(t.currentTime.slice(0,5)))]),n("v-uni-view",{staticClass:"punch-text",staticStyle:{margin:"0 auto"}},[t._v(t._s(t.timeSuccess)+"s后自动进入排班页面")])],1):n("v-uni-view",[n("v-uni-view",{staticClass:"punch-text"},[t._v(t._s(t.isCanPunch?"您已进入打卡范围:"+t.userPunch.clock_address[t.nearestFenceIndex].title:"您当前不在可打卡范围内"))]),t.userPunch.is_open_examine?n("v-uni-view",{staticClass:"examine-btn flex-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.examinePunch.apply(void 0,arguments)}}},[t._v("审批打卡")]):t._e()],1)],1),n("uni-popup",{ref:"popup",attrs:{type:"center","border-radius":"10px","background-color":"#fff"}},[n("v-uni-view",{staticStyle:{width:"90%",padding:"30rpx","border-radius":"10rpx",margin:"auto"},domProps:{innerHTML:t._s(t.formateRichText(t.ruleContent))}})],1)],1)},s=[]},b4a6:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-f9a69d34]{background:#fff;min-height:100vh;padding:%?40?% %?26?% %?200?%}.topImg[data-v-f9a69d34]{width:%?299.33?%;height:%?70?%;display:flex;margin:auto}.title[data-v-f9a69d34]{font-weight:700;font-size:%?35?%;color:#000;margin:%?68?% 0 %?34?%}.rule[data-v-f9a69d34]{font-weight:500;font-size:%?31?%;color:#96684f;text-align:right}.punch-box[data-v-f9a69d34]{width:%?267?%;height:%?267?%;background:#ccc;box-shadow:%?0?% %?0?% %?29?% %?0?% hsla(0,0%,60%,.6);border-radius:50%;justify-content:center;align-items:center;font-weight:700;font-size:%?32?%;color:#fff;margin:%?200?% auto 0}.punch-text[data-v-f9a69d34]{font-weight:700;font-size:%?30?%;color:#111;margin:%?40?% auto;text-align:center}.examine-btn[data-v-f9a69d34]{width:%?257?%;height:%?80?%;border-radius:%?13?%;border:%?1?% solid #96684f;font-weight:500;font-size:%?31?%;color:#96684f;margin:0 auto}.nav-item[data-v-f9a69d34]{font-weight:500;font-size:%?32?%;color:#000;width:%?338?%;height:%?118?%;background:#f5f5f5;border-radius:%?20?%;padding:0 %?15?%}.nav-item uni-image[data-v-f9a69d34]{width:%?80.67?%;height:%?80.67?%}.type-box[data-v-f9a69d34]{display:flex}.type-box .type-item[data-v-f9a69d34]{margin-right:%?44?%;font-weight:500;font-size:%?32?%;color:#000}.type-box .type-active[data-v-f9a69d34]{color:#96684f}.type-box .type-line[data-v-f9a69d34]{width:%?117?%;height:%?6?%;background:#96684f;border-radius:%?3?%;margin:%?4?% auto 0}.session-item[data-v-f9a69d34]{width:%?697?%;height:%?93?%;background:#f5f5f5;border-radius:%?47?%;margin:%?28?% auto 0;font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:#000;padding:0 %?28?%}',""]),t.exports=e},dc8b:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5de6"));n("4626"),n("bf0f"),n("2797"),n("795c"),n("5c47"),n("a1c1"),n("c223");var s=i(n("918a")),c={components:{calendarVue:s.default},data:function(){return{typeList:[{title:"导游服务",id:""},{title:"线路产品",id:""}],typeIndex:0,selectDay:"",sessionList:[{title:"上午场",isChecked:!1},{title:"下午场",isChecked:!1},{title:"全天场",isChecked:!1}],sessionLists:[{title:"当天状态",isChecked:!1}],isAllChecked:!1,nearestFenceIndex:null,fenceRadius:500,watchId:null,ruleContent:"",currentTime:"",timeInterval:null,isCanPunch:!1,punchSuccess:!1,timeSuccess:3,isShowClasses:!0,userPunch:{},myLonLat:{lng:"",lat:""}}},onLoad:function(){this.selectDay=this.getNowTime(new Date),this.getList()},onShow:function(){var t=this;this.Post({},"/api/Merchants/getGuideClockStatus").then((function(e){if(t.userPunch=e.data,0!=t.userPunch.clock_address.length){switch(t.userPunch.is_clock){case 0:t.isShowClasses=!0;break;case 1:t.isShowClasses=!1;break;case 2:t.isShowClasses=!0;break;case 3:t.isShowClasses=!1;break;case 4:t.isShowClasses=!1;break;default:break}t.watchLocation(),t.startTimeUpdate()}}))},onHide:function(){this.watchId&&navigator.geolocation.clearWatch(this.watchId),this.timeInterval&&clearInterval(this.timeInterval)},methods:{punch:function(){var t=this;null!==this.nearestFenceIndex?this.Post({address_id:this.userPunch.clock_address[this.nearestFenceIndex].id,lon:this.myLonLat.lng,lat:this.myLonLat.lat},"/api/Merchants/guideClockLocate").then((function(e){if(1==e.code){t.punchSuccess=!0,clearInterval(t.timeInterval),navigator.geolocation.clearWatch(t.watchId);var n=setInterval((function(){t.timeSuccess--,0==t.timeSuccess&&(clearInterval(n),t.isShowClasses=!0)}),1e3)}})):uni.showToast({title:"您当前不在可打卡范围内,无法打卡",icon:"none"})},examinePunch:function(){1==this.userPunch.is_clock?this.gotoPath("/subPackages/clockIn/apply"):[3,4].includes(this.userPunch.is_clock)&&this.gotoPath("/subPackages/clockIn/apply?id="+this.userPunch.clock_id)},watchLocation:function(){var t=this;navigator.geolocation?this.watchId=navigator.geolocation.watchPosition((function(e){var n=e.coords,i=t.wgs84ToGcj02(n.longitude,n.latitude),s=(0,a.default)(i,2),c=s[0],o=s[1];t.myLonLat={lng:c,lat:o},t.isCanPunch=!1;for(var r=0;r137.8347||e<.8293||e>55.8271},transformLat:function(t,e){var n=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Math.PI)+20*Math.sin(2*t*Math.PI))/3,n+=2*(20*Math.sin(e*Math.PI)+40*Math.sin(e/3*Math.PI))/3,n+=2*(160*Math.sin(e/12*Math.PI)+320*Math.sin(e*Math.PI/30))/3,n},transformLng:function(t,e){var n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Math.PI)+20*Math.sin(2*t*Math.PI))/3,n+=2*(20*Math.sin(t*Math.PI)+40*Math.sin(t/3*Math.PI))/3,n+=2*(150*Math.sin(t/12*Math.PI)+300*Math.sin(t/30*Math.PI))/3,n},wgs84ToGcj02:function(t,e){var n=6378245,i=.006693421622965943;if(this.outOfChina(t,e))return[t,e];var a=this.transformLat(t-105,e-35),s=this.transformLng(t-105,e-35),c=e/180*Math.PI,o=Math.sin(c);o=1-i*o*o;var r=Math.sqrt(o);a=180*a/(n*(1-i)/(o*r)*Math.PI),s=180*s/(n/r*Math.cos(c)*Math.PI);var u=e+a,d=t+s;return[d,u]},goHX:function(){uni.switchTab({url:"/pages/verification/index"})},switchChange:function(t,e){t.isChecked=!t.isChecked;var n=this.typeIndex?"/api/Merchants/updateGuideSched":"/api/Merchants/updateGuideSchedService";this.Post({date:this.selectDay,online_type:t.isChecked?1:0,date_half:this.typeIndex?"":e+1,classify:this.typeIndex?2:""},n).then((function(t){}))},getDate:function(t){console.log("传递过来的日期",t),this.selectDay=t,this.sessionList.forEach((function(t){return t.isChecked=!1})),this.sessionLists[0].isChecked=!1,this.getList()},changeWork:function(t){},getList:function(){var t=this;this.Post({start_date:this.selectDay,end_date:this.selectDay,classify:this.typeIndex?2:3},"/api/Merchants/getGuideSchedList").then((function(e){if(e.data&&e.data.length>0){var n=e.data[0];t.typeIndex?t.sessionLists[0].isChecked=!!n.online_type:(t.sessionList[0].isChecked=!!n.morning_type,t.sessionList[1].isChecked=!!n.afternoon_type,t.sessionList[2].isChecked=!!n.day_type)}}))},formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY/MM/DD",n=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),s=String(t.getHours()).padStart(2,"0"),c=String(t.getMinutes()).padStart(2,"0"),o=String(t.getSeconds()).padStart(2,"0");return e.replace("YYYY",n).replace("MM",i).replace("DD",a).replace("HH",s).replace("mm",c).replace("ss",o)},getNowTime:function(t,e){var n=1===e?"ios"===uni.getSystemInfoSync().platform?"YYYY/MM/DD HH:mm:ss":"YYYY-MM-DD HH:mm:ss":"YYYY/MM/DD";return this.formatDate(t,n)},openRule:function(){var t=this;this.Post({id:7},"/api/article/getArticleById").then((function(e){t.ruleContent=e.data.content,t.$refs.popup.open()}))},startTimeUpdate:function(){var t=this;this.updateTime(),this.timeInterval=setInterval((function(){t.updateTime()}),1e3)},updateTime:function(){var t=new Date,e=String(t.getHours()).padStart(2,"0"),n=String(t.getMinutes()).padStart(2,"0"),i=String(t.getSeconds()).padStart(2,"0");this.currentTime="".concat(e,":").concat(n,":").concat(i)}}};e.default=c},df0f:function(t,e,n){"use strict";n.r(e);var i=n("dc8b"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},efbe:function(t,e,n){"use strict";var i=n("4c88"),a=n.n(i);a.a}}]); \ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/pages-login-login.22c6d473.js b/unpackage/dist/build/web/static/js/pages-login-login.22c6d473.js new file mode 100644 index 0000000..7a5e9a9 --- /dev/null +++ b/unpackage/dist/build/web/static/js/pages-login-login.22c6d473.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"1e33":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg",style:{"min-height":t.minHeight+"px"},attrs:{id:"login-bg"}},[i("v-uni-image",{staticClass:"title-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/title.png",mode:""}}),i("v-uni-view",{staticClass:"item flex-between",staticStyle:{"margin-top":"83rpx"}},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/phone.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入手机号"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/code.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入图形验证码"},model:{value:t.form.captchaCode,callback:function(e){t.$set(t.form,"captchaCode",e)},expression:"form.captchaCode"}}),i("v-uni-image",{staticClass:"code-img",attrs:{src:t.codeImg,mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCodeImg.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/password.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",password:t.showPassword,placeholder:"请输入密码"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t.showPassword?i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/eye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!1}}}):i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/closeEye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!0}}})],1),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("立即登录")])],1)},a=[]},5974:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.bg[data-v-02eb193a]{width:100vw;height:100vh;background-image:url(https://static.ticket.sz-trip.com/tourGuide/images/login/bg.png);background-size:100% 100%;padding-top:%?428?%}.title-img[data-v-02eb193a]{display:block;margin:auto;width:%?336.67?%;height:%?54?%}.item[data-v-02eb193a]{width:%?587?%;height:%?80?%;background:#fff;border-radius:%?40?%;margin:%?32?% auto 0;padding:0 %?26?%}.item .icon[data-v-02eb193a]{width:%?26.67?%;height:%?26.67?%;margin-right:%?12?%}.item uni-input[data-v-02eb193a]{flex:1;font-weight:500;font-size:%?25?%;color:#000}.item uni-input[data-v-02eb193a]::-webkit-input-placeholder{color:#ababab}.item uni-input[data-v-02eb193a]::placeholder{color:#ababab}.item .code-img[data-v-02eb193a]{width:%?153?%;height:%?55?%;margin-left:%?10?%}.item .eye-img[data-v-02eb193a]{width:%?26.67?%;height:%?26.67?%;margin-left:%?10?%}.btn[data-v-02eb193a]{width:%?547?%;line-height:%?80?%;background:#96684f;border-radius:%?40?%;margin:%?100?% auto 0;font-weight:700;font-size:%?35?%;color:#fff;text-align:center}',""]),t.exports=e},"7e912":function(t,e,i){"use strict";i.r(e);var n=i("1e33"),a=i("86de");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("9b59");var s=i("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"02eb193a",null,!1,n["a"],void 0);e["default"]=c.exports},"86de":function(t,e,i){"use strict";i.r(e);var n=i("c600"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"9b59":function(t,e,i){"use strict";var n=i("d233"),a=i.n(n);a.a},c600:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4626"),i("5ac7"),i("5c47");var n={data:function(){return{form:{username:"",captchaCodeId:"",captchaCode:"",password:""},showPassword:!0,codeImg:"",minHeight:0}},onReady:function(){},mounted:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.setScreen()}),1e3)}))},onShow:function(){this.getCodeImg(),console.log(this.calculateDistance(120.633401,31.266909,31.323512,120.631235))},methods:{getCodeImg:function(){var t=this;this.Post({},"/api/Merchants/get_graphic").then((function(e){t.codeImg=e.data.code,t.form.captchaCodeId=e.data.id}))},login:function(){var t=this;this.Post(this.form,"/api/Merchants/login_member").then((function(e){1==e.code?(t.$store.commit("changeUserInfo",e.data),t.$store.state.user.toPath.includes("user/user")?uni.switchTab({url:t.$store.state.user.toPath}):uni.switchTab({url:"/pages/index/index"})):t.getCodeImg()}))},setScreen:function(){var t=this,e=!1;try{t.minHeight=document.getElementById("login-bg").clientHeight,e=!0}catch(n){e=!1}if(!e){var i=uni.createSelectorQuery().in(this);i.select("#login-bg").boundingClientRect((function(e){t.minHeight=e.height,console.log(e)})).exec()}}}};e.default=n},d233:function(t,e,i){var n=i("5974");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("612bb658",n,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/pages-login-login.6eddb80c.js b/unpackage/dist/build/web/static/js/pages-login-login.6eddb80c.js deleted file mode 100644 index a77625e..0000000 --- a/unpackage/dist/build/web/static/js/pages-login-login.6eddb80c.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"50b6":function(t,e,i){var n=i("c5b0");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("d537b972",n,!0,{sourceMap:!1,shadowMode:!1})},"7e912":function(t,e,i){"use strict";i.r(e);var n=i("fd6e"),a=i("86de");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("830d");var s=i("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"576b1fef",null,!1,n["a"],void 0);e["default"]=c.exports},"830d":function(t,e,i){"use strict";var n=i("50b6"),a=i.n(n);a.a},"86de":function(t,e,i){"use strict";i.r(e);var n=i("c600"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},c5b0:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.bg[data-v-576b1fef]{width:100vw;height:100vh;background-image:url(https://static.ticket.sz-trip.com/tourGuide/images/login/bg.png);background-size:100% 100%;padding-top:%?428?%}.title-img[data-v-576b1fef]{display:block;margin:auto;width:%?336.67?%;height:%?54?%}.item[data-v-576b1fef]{width:%?587?%;height:%?80?%;background:#fff;border-radius:%?40?%;margin:%?32?% auto 0;padding:0 %?26?%}.item .icon[data-v-576b1fef]{width:%?26.67?%;height:%?26.67?%;margin-right:%?12?%}.item uni-input[data-v-576b1fef]{flex:1;font-weight:500;font-size:%?25?%;color:#000}.item uni-input[data-v-576b1fef]::-webkit-input-placeholder{color:#ababab}.item uni-input[data-v-576b1fef]::placeholder{color:#ababab}.item .code-img[data-v-576b1fef]{width:%?153?%;height:%?55?%;margin-left:%?10?%}.item .eye-img[data-v-576b1fef]{width:%?26.67?%;height:%?26.67?%;margin-left:%?10?%}.btn[data-v-576b1fef]{width:%?547?%;line-height:%?80?%;background:#96684f;border-radius:%?40?%;margin:%?100?% auto 0;font-weight:700;font-size:%?35?%;color:#fff;text-align:center}',""]),t.exports=e},c600:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4626"),i("5ac7"),i("5c47");var n={data:function(){return{form:{username:"",captchaCodeId:"",captchaCode:"",password:""},showPassword:!0,codeImg:"",minHeight:0}},onReady:function(){},mounted:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.setScreen()}),1e3)}))},onShow:function(){this.getCodeImg()},methods:{getCodeImg:function(){var t=this;this.Post({},"/api/Merchants/get_graphic").then((function(e){t.codeImg=e.data.code,t.form.captchaCodeId=e.data.id}))},login:function(){var t=this;this.Post(this.form,"/api/Merchants/login_member").then((function(e){1==e.code?(t.$store.commit("changeUserInfo",e.data),t.$store.state.user.toPath.includes("user/user")?uni.switchTab({url:t.$store.state.user.toPath}):uni.switchTab({url:"/pages/index/index"})):t.getCodeImg()}))},setScreen:function(){var t=this,e=!1;try{t.minHeight=document.getElementById("login-bg").clientHeight,e=!0}catch(n){e=!1}if(!e){var i=uni.createSelectorQuery().in(this);i.select("#login-bg").boundingClientRect((function(e){t.minHeight=e.height,console.log(e)})).exec()}}}};e.default=n},fd6e:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg",style:{"min-height":t.minHeight+"px"},attrs:{id:"login-bg"}},[i("v-uni-image",{staticClass:"title-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/title.png",mode:""}}),i("v-uni-view",{staticClass:"item flex-between",staticStyle:{"margin-top":"83rpx"}},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/phone.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入手机号"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/code.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入图形验证码"},model:{value:t.form.captchaCode,callback:function(e){t.$set(t.form,"captchaCode",e)},expression:"form.captchaCode"}}),i("v-uni-image",{staticClass:"code-img",attrs:{src:t.codeImg,mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCodeImg.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/password.png",mode:""}}),i("v-uni-input",{attrs:{type:"text",password:t.showPassword,placeholder:"请输入密码"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t.showPassword?i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/eye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!1}}}):i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/closeEye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!0}}})],1),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("立即登录")])],1)},a=[]}}]); \ No newline at end of file diff --git a/unpackage/dist/build/web/static/js/subPackages-clockIn-record.5234d807.js b/unpackage/dist/build/web/static/js/subPackages-clockIn-record.5234d807.js deleted file mode 100644 index d2bba91..0000000 --- a/unpackage/dist/build/web/static/js/subPackages-clockIn-record.5234d807.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-clockIn-record"],{"48e5":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.bg[data-v-8ec70e82]{background:#f5f5f5;min-height:calc(100vh - 44px - env(safe-area-inset-top));padding:%?26?% %?26?% %?50?%}.row-container[data-v-8ec70e82]{display:flex;width:100%;flex-wrap:nowrap;background:#fff}.row-container > uni-view[data-v-8ec70e82]{flex:1;flex-shrink:0;text-align:center;padding:%?22?% %?27?%}.header-row[data-v-8ec70e82]{color:#fff;background:#96684f;border-radius:%?13?% %?13?% %?0?% %?0?%}.item-row[data-v-8ec70e82]{border-bottom:1px solid #ccc}.item-row > uni-view[data-v-8ec70e82]{border-left:1px solid #ccc}.item-row > uni-view[data-v-8ec70e82]:first-child{border-left:none}.item-row[data-v-8ec70e82]:last-child{border-bottom:none;border-radius:%?0?% %?0?% %?13?% %?13?%}.empty-text[data-v-8ec70e82]{font-weight:500;font-size:%?25?%;color:#646464;text-align:center;margin:%?50?% 0}',""]),t.exports=e},"652b":function(t,e,n){"use strict";n.r(e);var i=n("ace0"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},9514:function(t,e,n){"use strict";var i=n("c520"),a=n.n(i);a.a},"987e":function(t,e,n){"use strict";n.r(e);var i=n("9a0b"),a=n("652b");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("9514");var c=n("828b"),o=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"8ec70e82",null,!1,i["a"],void 0);e["default"]=o.exports},"9a0b":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"bg"},[t.list.length>0?n("v-uni-view",{staticClass:"row-container header-row"},[n("v-uni-view",[t._v("所属日期")]),n("v-uni-view",[t._v("打卡时间")]),n("v-uni-view",[t._v("打卡状态")])],1):t._e(),t._l(t.list,(function(e,i){return n("v-uni-view",{key:i,staticClass:"row-container item-row",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[n("v-uni-view",[t._v(t._s(e.date))]),1==e.status?n("v-uni-view",[t._v(t._s(1==e.type?e.create_time.slice(11):e.update_time.slice(11)))]):n("v-uni-view"),n("v-uni-view",[t._v(t._s(0==e.status?"审批中":1==e.status?"打卡正常":2==e.status?"审批拒绝":3==e.status?"审批取消":""))])],1)})),0==t.list.length?n("v-uni-view",{staticClass:"empty-text"},[t._v("暂无打卡记录")]):t._e()],2)},a=[]},ace0:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c223");var i={data:function(){return{list:[],finished:!1,page:1,limit:30}},onLoad:function(){this.page=1,this.finished=!1,this.list=[],this.getList()},methods:{getList:function(){var t=this;this.Post({page:this.page,limit:this.limit},"/api/Merchants/getGuideClockList").then((function(e){t.list=t.list.concat(e.data||[]),t.page++,e.data.length0?i("v-uni-view",{staticClass:"row-container header-row"},[i("v-uni-view",[t._v("所属日期")]),i("v-uni-view",[t._v("打卡时间")]),i("v-uni-view",[t._v("打卡状态")])],1):t._e(),t._l(t.list,(function(n,e){return i("v-uni-view",{key:e,staticClass:"row-container item-row",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(n)}}},[i("v-uni-view",[t._v(t._s(n.date))]),1==n.status?i("v-uni-view",[t._v(t._s(1==n.type?n.create_time.slice(11):n.update_time.slice(11)))]):i("v-uni-view"),i("v-uni-view",[t._v(t._s(0==n.status?"审批中":1==n.status?"打卡正常":2==n.status?"审批拒绝":3==n.status?"审批取消":""))])],1)})),0==t.list.length?i("v-uni-view",{staticClass:"empty-text"},[t._v("暂无打卡记录")]):t._e()],2)},a=[]},"652b":function(t,n,i){"use strict";i.r(n);var e=i("ace0"),a=i.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(s);n["default"]=a.a},"987e":function(t,n,i){"use strict";i.r(n);var e=i("364c"),a=i("652b");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(s);i("0408");var c=i("828b"),o=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,"37bdfdc8",null,!1,e["a"],void 0);n["default"]=o.exports},a0f9:function(t,n,i){var e=i("a478");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=i("967d").default;a("75597c8e",e,!0,{sourceMap:!1,shadowMode:!1})},a478:function(t,n,i){var e=i("c86c");n=e(!1),n.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.bg[data-v-37bdfdc8]{background:#f5f5f5;min-height:calc(100vh - 44px - env(safe-area-inset-top));padding:%?26?% %?26?% %?50?%}.row-container[data-v-37bdfdc8]{display:flex;width:100%;flex-wrap:nowrap;background:#fff}.row-container > uni-view[data-v-37bdfdc8]{flex:1;flex-shrink:0;text-align:center;padding:%?22?% %?27?%}.header-row[data-v-37bdfdc8]{color:#fff;background:#96684f;border-radius:%?13?% %?13?% %?0?% %?0?%}.item-row[data-v-37bdfdc8]{border-bottom:1px solid #ccc}.item-row > uni-view[data-v-37bdfdc8]{border-left:1px solid #ccc}.item-row > uni-view[data-v-37bdfdc8]:first-child{border-left:none}.item-row[data-v-37bdfdc8]:last-child{border-bottom:none;border-radius:%?0?% %?0?% %?13?% %?13?%}.empty-text[data-v-37bdfdc8]{font-weight:500;font-size:%?25?%;color:#646464;text-align:center;margin:%?50?% 0}',""]),t.exports=n},ace0:function(t,n,i){"use strict";i("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,i("c223");var e={data:function(){return{list:[],finished:!1,page:1,limit:30}},onShow:function(){this.page=1,this.finished=!1,this.list=[],this.getList()},methods:{getList:function(){var t=this;this.Post({page:this.page,limit:this.limit},"/api/Merchants/getGuideClockList").then((function(n){t.list=t.list.concat(n.data||[]),t.page++,n.data.length