提交 a925b5d8 authored 作者: 彭涛's avatar 彭涛

修复bug

上级 702e6714
......@@ -9,48 +9,48 @@
created() {
let that=this
//请求接口获取签名时间戳
post(api.sign).then(res=>{
if(res.code==200){
that.timestamp=res.data.timestamp
that.nonceStr=res.data.nonceStr
that.signature=res.data.signature
jweixin.config({
debug: false,
appId: 'wx85eaf2734af145bd',
timestamp: that.timestamp,
nonceStr: that.nonceStr,
signature:that.signature,
jsApiList: ['updateTimelineShareData','updateAppMessageShareData','scanQRCode']
});
jweixin.ready(function() {
if(that.ispause){
innerAudioContext.pause();
}else{
innerAudioContext.play();
}
//分享给朋友接口
jweixin.updateAppMessageShareData({
title: '敏捷集团党史知识竞赛', // 分享标题
desc: '我在参加敏捷集团党史知识竞赛,一起来战吧!', // 分享描述
link: 'https://faces.diaosaas.com/party-history-h5/', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: 'https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png', // 分享图标
success: function () {
console.log('分享成功!')
}
})
//分享到朋友圈接口
jweixin.updateTimelineShareData({
title: '敏捷集团党史知识竞赛', // 分享标题
link: 'https://faces.diaosaas.com/party-history-h5/', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: 'https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png', // 分享图标
success: function () {
// 设置成功
console.log('分享成功!')
}
})
});
}
})
// post(api.sign).then(res=>{
// if(res.code==200){
// that.timestamp=res.data.timestamp
// that.nonceStr=res.data.nonceStr
// that.signature=res.data.signature
// jweixin.config({
// debug: false,
// appId: 'wx85eaf2734af145bd',
// timestamp: that.timestamp,
// nonceStr: that.nonceStr,
// signature:that.signature,
// jsApiList: ['updateTimelineShareData','updateAppMessageShareData','scanQRCode']
// });
// jweixin.ready(function() {
// if(that.ispause){
// innerAudioContext.pause();
// }else{
// innerAudioContext.play();
// }
// //分享给朋友接口
// jweixin.updateAppMessageShareData({
// title: '敏捷集团党史知识竞赛', // 分享标题
// desc: '我在参加敏捷集团党史知识竞赛,一起来战吧!', // 分享描述
// link: 'https://faces.diaosaas.com/party-history-h5/', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: 'https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png', // 分享图标
// success: function () {
// console.log('分享成功!')
// }
// })
// //分享到朋友圈接口
// jweixin.updateTimelineShareData({
// title: '敏捷集团党史知识竞赛', // 分享标题
// link: 'https://faces.diaosaas.com/party-history-h5/', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: 'https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png', // 分享图标
// success: function () {
// // 设置成功
// console.log('分享成功!')
// }
// })
// });
// }
// })
},
onShow: function() {
console.log('App Show')
......
......@@ -33,12 +33,12 @@
</view>
</view>
<view class="income_tab">
<view class="income_flex" :class="{'income_active':tabindex==0}" @click="tabindex=0">
<view class="income_flex" :class="{'income_active':tabindex==0}" @click="handleTab(0)">
<text class="income_title">收入明细</text>
<view class="xian"></view>
<view class="heng"></view>
</view>
<view class="income_flex" :class="{'income_active':tabindex==1}" @click="tabindex=1">
<view class="income_flex" :class="{'income_active':tabindex==1}" @click="handleTab(1)">
<text class="income_title">收入统计</text>
<view class="xian"></view>
</view>
......@@ -46,13 +46,14 @@
<!-- 收入明细 -->
<view class="earnings_box" v-if="tabindex==0">
<view class="Filter">
<view class="Filter_box" @click="monthall=true">
<view class="Filter_box" @click="monthall=!monthall">
<text>{{select_month}}</text>
<view class="jiantou" :class="{'isroate':monthall}"></view>
</view>
<view class="select_month" v-if="monthall">
<view class="sanjiao"></view>
<view @click="selectmonth(m,index)" class="options_child" v-for="(m,index) in monthlist" :key="index">
<view @click="selectmonth(m,index)" class="options_child" v-for="(m,index) in monthlist"
:key="index">
{{m}}
</view>
</view>
......@@ -94,8 +95,12 @@
<!-- 保存图片框 -->
<view class="save_box" v-if="issave">
<view class="save_title">收款码</view>
<view class="close_box" @click="issave=false"><image src="../../static/images/close2.png" mode="widthFix"></image></view>
<view class="code_img"><image :src="collectionCodeUrl" mode="widthFix"></image></view>
<view class="close_box" @click="issave=false">
<image src="../../static/images/close2.png" mode="widthFix"></image>
</view>
<view class="code_img">
<image :src="collectionCodeUrl" mode="widthFix"></image>
</view>
<view class="save_btn" @click="Location">长按保存到手机</view>
</view>
<!-- 保存图片框end -->
......@@ -108,12 +113,14 @@
post,
get
} from '@/static/util/fun.js'
import {getLocation} from '@/static/util/getlocation.js'
import {
getLocation
} from '@/static/util/getlocation.js'
export default {
data() {
return {
issave:false,
collectionCodeUrl:'',//收款码
issave: false,
collectionCodeUrl: '', //收款码
today: '',
month: '',
total: '',
......@@ -133,14 +140,23 @@
created() {
let that = this
that.userdata = uni.getStorageSync('userdata');
that.collectionCodeUrl=that.userdata.tMerchant.collectionCodeUrl
that.collectionCodeUrl = that.userdata.tMerchant.collectionCodeUrl
that.getearnings()
},
methods: {
//
Location(){
Location() {
getLocation()
},
// tab栏点击
handleTab(i) {
this.tabindex = i
if (i == 0) {
this.getearnings()
} else {
this.getstatistics()
}
},
//查询收入明细
getearnings() {
let that = this
......@@ -166,7 +182,7 @@
sign: that.sign,
}).then(res => {
if (res.code == 200) {
that.statisticslist=res.data
that.statisticslist = res.data
} else {
uni.showToast({
title: res.msg,
......@@ -176,8 +192,8 @@
})
},
//收入统计年月日筛选
changesign(index){
this.sign=index
changesign(index) {
this.sign = index
this.getstatistics()
},
change() {
......@@ -207,28 +223,31 @@
height: 100%;
position: relative;
.save_box{
.save_box {
width: 66%;
height: 578rpx;
background: #FFFFFF;
border-radius: 20rpx;
position:absolute;
left:17%;
position: absolute;
left: 17%;
top: 264rpx;
z-index: 100;
.code_img{
.code_img {
width: 100%;
position: absolute;
left: 0;
top: 150rpx;
image{
image {
width: 264rpx;
height: 264rpx;
display: block;
margin: auto;
}
}
.save_title{
.save_title {
width: 100%;
text-align: center;
position: absolute;
......@@ -237,17 +256,20 @@
color: #2D2D2D;
font-size: 36rpx;
}
.close_box{
.close_box {
width: 40rpx;
height: 40rpx;
position: absolute;
right: 28rpx;
top: 28rpx;
image{
image {
width: 100%;
}
}
.save_btn{
.save_btn {
width: 60%;
position: absolute;
left: 20%;
......@@ -390,7 +412,7 @@
}
}
.statistics_box .income_list .list_flex .who{
.statistics_box .income_list .list_flex .who {
font-weight: 500;
}
......@@ -497,7 +519,8 @@
height: 100%;
display: block;
}
.collectionCode{
.collectionCode {
width: 88rpx;
height: 38rpx;
background-color: #11D183;
......
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>腾冲 · 花缘商家</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.f4fc78fe.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.d2b2168a.js></script><script src=./static/js/index.3bf44ac7.js></script></body></html>
\ No newline at end of file
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.f4fc78fe.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.d2b2168a.js></script><script src=./static/js/index.62c03daf.js></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var a,i,s=n[0],u=n[1],c=n[2],l=0,g=[];l<s.length;l++)i=s[l],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&g.push(o[i][0]),o[i]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);p&&p(n);while(g.length)g.shift()();return r.push.apply(r,c||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],a=!0,i=1;i<t.length;i++){var u=t[i];0!==o[u]&&(a=!1)}a&&(r.splice(n--,1),e=s(s.s=t[0]))}return e}var a={},o={index:0},r=[];function i(e){return s.p+"static/js/"+({"pages-changepassword-changepassword":"pages-changepassword-changepassword","pages-login-login":"pages-login-login","pages-shopdetail-shopdetail":"pages-shopdetail-shopdetail"}[e]||e)+"."+{"pages-changepassword-changepassword":"72f570fb","pages-login-login":"718848e4","pages-shopdetail-shopdetail":"f1c88fec"}[e]+".js"}function s(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,s),t.l=!0,t.exports}s.e=function(e){var n=[],t=o[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,a){t=o[e]=[n,a]}));n.push(t[2]=a);var r,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=i(e);var c=new Error;r=function(n){u.onerror=u.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",c.name="ChunkLoadError",c.type=a,c.request=r,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){r({type:"timeout",target:u})}),12e4);u.onerror=u.onload=r,document.head.appendChild(u)}return Promise.all(n)},s.m=e,s.c=a,s.d=function(e,n,t){s.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,n){if(1&n&&(e=s(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)s.d(t,a,function(n){return e[n]}.bind(null,a));return t},s.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(n,"a",n),n},s.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},s.p="./",s.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],c=u.push.bind(u);u.push=n,u=u.slice();for(var l=0;l<u.length;l++)n(u[l]);var p=c;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("5ed4")},"115d":function(e,n,t){var a=t("24fb");n=a(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/*每个页面公共css */uni-view{box-sizing:border-box}uni-image{width:100%;height:100%}',""]),e.exports=n},"123f":function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=a(t("e1fa")),r=t("6eb9"),i=a(t("ea57")),s={onLaunch:function(){console.log("App Launch")},created:function(){var e=this;(0,r.post)(o.default.sign).then((function(n){200==n.code&&(e.timestamp=n.data.timestamp,e.nonceStr=n.data.nonceStr,e.signature=n.data.signature,i.default.config({debug:!1,appId:"wx85eaf2734af145bd",timestamp:e.timestamp,nonceStr:e.nonceStr,signature:e.signature,jsApiList:["updateTimelineShareData","updateAppMessageShareData","scanQRCode"]}),i.default.ready((function(){e.ispause?innerAudioContext.pause():innerAudioContext.play(),i.default.updateAppMessageShareData({title:"敏捷集团党史知识竞赛",desc:"我在参加敏捷集团党史知识竞赛,一起来战吧!",link:"https://faces.diaosaas.com/party-history-h5/",imgUrl:"https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png",success:function(){console.log("分享成功!")}}),i.default.updateTimelineShareData({title:"敏捷集团党史知识竞赛",link:"https://faces.diaosaas.com/party-history-h5/",imgUrl:"https://faces.diaosaas.com/party-history-h5/mp3/wxshare.png",success:function(){console.log("分享成功!")}})})))}))},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},methods:{jssdk:function(){}}};n.default=s},"299a":function(e,n,t){var a=t("115d");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=t("4f06").default;o("25b1586e",a,!0,{sourceMap:!1,shadowMode:!1})},4418:function(e,n,t){"use strict";var a=t("299a"),o=t.n(a);o.a},"50f5":function(e,n,t){"use strict";var a;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return a}));var o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},r=[]},"5ed4":function(e,n,t){"use strict";var a=t("4ea4"),o=a(t("5530"));t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("6176"),t("1c31");var r=a(t("e143")),i=a(t("83c6"));r.default.config.productionTip=!1,i.default.mpType="app";var s=new r.default((0,o.default)({},i.default));s.$mount()},6176:function(e,n,t){"use strict";(function(e){var n=t("4ea4"),a=n(t("e143"));e["____30A8122____"]=!0,delete e["____30A8122____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.compilerVersion="3.2.2",e.__uniConfig.router={mode:"hash",base:"./"},e.__uniConfig.publicPath="./",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=t.e,a.default.component("pages-login-login",(function(e){var n={component:t.e("pages-login-login").then(function(){return e(t("4701"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-changepassword-changepassword",(function(e){var n={component:t.e("pages-changepassword-changepassword").then(function(){return e(t("d0669"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),a.default.component("pages-shopdetail-shopdetail",(function(e){var n={component:t.e("pages-shopdetail-shopdetail").then(function(){return e(t("194e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),e.__uniRoutes=[{path:"/",alias:"/pages/login/login",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"登录",navigationStyle:"custom"})},[e("pages-login-login",{slot:"page"})])}},meta:{id:1,name:"pages-login-login",isNVue:!1,maxWidth:0,pagePath:"pages/login/login",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/changepassword/changepassword",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"修改密码",navigationStyle:"custom"})},[e("pages-changepassword-changepassword",{slot:"page"})])}},meta:{name:"pages-changepassword-changepassword",isNVue:!1,maxWidth:0,pagePath:"pages/changepassword/changepassword",windowTop:0}},{path:"/pages/shopdetail/shopdetail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"商家",navigationStyle:"custom"})},[e("pages-shopdetail-shopdetail",{slot:"page"})])}},meta:{name:"pages-shopdetail-shopdetail",isNVue:!1,maxWidth:0,pagePath:"pages/shopdetail/shopdetail",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,t("c8ba"))},"6eb9":function(e,n,t){t("99af"),t("d81d"),t("4e82"),t("a9e3"),t("d3b7"),t("ac1f"),t("25f0"),t("5319"),t("1276");var a=t("ded3"),o=t("4082"),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url,t=void 0===n?"":n,r=e.params,i=void 0===r?{}:r,s=o(e,["url","params"]);Date.now();return new Promise((function(e,n){var o=uni.getStorageSync("token");uni.request(a(a({url:t,data:i,header:{token:o,"content-type":"application/json"}},s),{},{success:function(t){500==t.data.code&&"用户不存在"==t.data.msg&&uni.showModal({content:"登录已过期 请重新登录",showCancel:!1,success:function(e){(e.confirm||e.cancel)&&uni.reLaunch({url:"/pages/login/login"})}}),402==t.data.code&&uni.reLaunch({url:"/pages/login/login"}),401!=t.data.code&&403!=t.data.code||(uni.showModal({content:"登录已过期 请重新登录",showCancel:!1,success:function(e){(e.confirm||e.cancel)&&uni.reLaunch({url:"/pages/login/login"})}}),e(t.data)),200==t.data.code?e(t.data):(e(t.data),n(t))},fail:function(e){uni.hideLoading(),console.log(e)}}))}))};e.exports={get:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n})},post:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,header:{"Content-Type":"application/json"},method:"post"})},apost:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,header:{"Content-Type":"application/json"},method:"post"})},put:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,method:"put"})},myDelete:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,method:"delete"})},transferCouponValueTime:function(e,n){var t=new Date(e),a=new Date(t.getFullYear(),t.getMonth(),t.getDate()+n),o=(t.getFullYear(),t.getMonth(),t.getDate(),a.getFullYear()),r=a.getMonth()+1,i=a.getDate();return o+"/"+r+"/"+i},getDate:function(e){var n=new Date,t=n.getFullYear(),a=n.getMonth()+1,o=n.getDate();return"start"===e?t-=60:"end"===e&&(t+=2),a=a>9?a:"0"+a,o=o>9?o:"0"+o,"".concat(t,"-").concat(a,"-").concat(o)},getDuration:function(e){if(e<=0)return"0";var n=e/1e3/60/60/24,t=Math.floor(n),a=e/1e3/60/60-24*t,o=Math.floor(a)<10?"0"+Math.floor(a):Math.floor(a),r=e/1e3/60-1440*t-60*o,i=Math.floor(r)<10?"0"+Math.floor(r):Math.floor(r),s=e/1e3-86400*t-3600*o-60*i,u=Math.floor(s)<10?"0"+Math.floor(s):Math.floor(s),c=t+"天"+o+":"+i+":"+u;return c},getpresenttime:function(){var e=new Date,n=e.getFullYear(),t=e.getMonth()+1,a=e.getDate(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),r=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),i=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();t>=1&&t<=9&&(t="0"+t),a>=0&&a<=9&&(a="0"+a);var s=n+"/"+t+"/"+a+" "+o+":"+r+":"+i;return s},getyearlist:function(){for(var e=new Date,n=e.getFullYear(),t=[],a=0;a<10;a++){var o=n+a;t.push(o)}return t},getNearbyFiveears:function(){for(var e=(new Date).getFullYear(),n=[],t=0;t<5;t++){var a=e-t+1,o=e+t;n.push(a),n.push(o)}n.sort((function(e,n){return e-n}));var r=n.map((function(e,n){var t={};return t.label=e,t.value=n+1,t}));return r.unshift({label:"全部",value:0}),r},getYearmomthday:function(){var e=new Date,n=e.getFullYear(),t=e.getMonth()+1,a=e.getDate();e.getHours(),e.getHours(),e.getMinutes(),e.getMinutes(),e.getSeconds(),e.getSeconds();t>=1&&t<=9&&(t="0"+t),a>=0&&a<=9&&(a="0"+a);var o=n+"/"+t+"/"+a;return o},addNum:function(e,n){var t,a,o;try{t=e.toString().split(".")[1].length}catch(r){t=0}try{a=n.toString().split(".")[1].length}catch(r){a=0}return o=Math.pow(10,Math.max(t,a)),(e*o+n*o)/o},accMul:function(e,n){var t=0,a=e.toString(),o=n.toString();try{t+=a.split(".")[1].length}catch(r){}try{t+=o.split(".")[1].length}catch(r){}return Number(a.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}}},"83c6":function(e,n,t){"use strict";t.r(n);var a=t("50f5"),o=t("9b27");for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("4418");var i,s=t("f0c5"),u=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=u.exports},"9b27":function(e,n,t){"use strict";t.r(n);var a=t("123f"),o=t.n(a);for(var r in a)"default"!==r&&function(e){t.d(n,e,(function(){return a[e]}))}(r);n["default"]=o.a},e1fa:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=a||{},o="https://faces.diaosaas.com/garden/",r=o+"api/";a.login=r+"merchant/login",a.reSetPassword=r+"merchant/reSetPassword",a.getIncomeDetail=r+"merchant/getIncomeDetail",a.getIncomeStatistics=r+"merchant/getIncomeStatistics";var i=a;n.default=i}});
\ No newline at end of file
(function(e){function n(n){for(var o,i,u=n[0],s=n[1],c=n[2],l=0,p=[];l<u.length;l++)i=u[l],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(e[o]=s[o]);g&&g(n);while(p.length)p.shift()();return r.push.apply(r,c||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],o=!0,i=1;i<t.length;i++){var s=t[i];0!==a[s]&&(o=!1)}o&&(r.splice(n--,1),e=u(u.s=t[0]))}return e}var o={},a={index:0},r=[];function i(e){return u.p+"static/js/"+({"pages-changepassword-changepassword":"pages-changepassword-changepassword","pages-login-login":"pages-login-login","pages-shopdetail-shopdetail":"pages-shopdetail-shopdetail"}[e]||e)+"."+{"pages-changepassword-changepassword":"72f570fb","pages-login-login":"718848e4","pages-shopdetail-shopdetail":"d1d569cf"}[e]+".js"}function u(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t=a[e];if(0!==t)if(t)n.push(t[2]);else{var o=new Promise((function(n,o){t=a[e]=[n,o]}));n.push(t[2]=o);var r,s=document.createElement("script");s.charset="utf-8",s.timeout=120,u.nc&&s.setAttribute("nonce",u.nc),s.src=i(e);var c=new Error;r=function(n){s.onerror=s.onload=null,clearTimeout(l);var t=a[e];if(0!==t){if(t){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",c.name="ChunkLoadError",c.type=o,c.request=r,t[1](c)}a[e]=void 0}};var l=setTimeout((function(){r({type:"timeout",target:s})}),12e4);s.onerror=s.onload=r,document.head.appendChild(s)}return Promise.all(n)},u.m=e,u.c=o,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)u.d(t,o,function(n){return e[n]}.bind(null,o));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="./",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=n,s=s.slice();for(var l=0;l<s.length;l++)n(s[l]);var g=c;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("5ed4")},"06f5":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},r=[]},"115d":function(e,n,t){var o=t("24fb");n=o(!1),n.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/*每个页面公共css */uni-view{box-sizing:border-box}uni-image{width:100%;height:100%}',""]),e.exports=n},"123f":function(e,n,t){"use strict";var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;o(t("e1fa")),t("6eb9"),o(t("ea57"));var a={onLaunch:function(){console.log("App Launch")},created:function(){},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},methods:{jssdk:function(){}}};n.default=a},"299a":function(e,n,t){var o=t("115d");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=t("4f06").default;a("25b1586e",o,!0,{sourceMap:!1,shadowMode:!1})},4418:function(e,n,t){"use strict";var o=t("299a"),a=t.n(o);a.a},"5ed4":function(e,n,t){"use strict";var o=t("4ea4"),a=o(t("5530"));t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("6176"),t("1c31");var r=o(t("e143")),i=o(t("83c6"));r.default.config.productionTip=!1,i.default.mpType="app";var u=new r.default((0,a.default)({},i.default));u.$mount()},6176:function(e,n,t){"use strict";(function(e){var n=t("4ea4"),o=n(t("e143"));e["____30A8122____"]=!0,delete e["____30A8122____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.compilerVersion="3.2.3",e.__uniConfig.router={mode:"hash",base:"./"},e.__uniConfig.publicPath="./",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=t.e,o.default.component("pages-login-login",(function(e){var n={component:t.e("pages-login-login").then(function(){return e(t("4701"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-changepassword-changepassword",(function(e){var n={component:t.e("pages-changepassword-changepassword").then(function(){return e(t("d0669"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),o.default.component("pages-shopdetail-shopdetail",(function(e){var n={component:t.e("pages-shopdetail-shopdetail").then(function(){return e(t("194e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),e.__uniRoutes=[{path:"/",alias:"/pages/login/login",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"登录",navigationStyle:"custom"})},[e("pages-login-login",{slot:"page"})])}},meta:{id:1,name:"pages-login-login",isNVue:!1,maxWidth:0,pagePath:"pages/login/login",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/changepassword/changepassword",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"修改密码",navigationStyle:"custom"})},[e("pages-changepassword-changepassword",{slot:"page"})])}},meta:{name:"pages-changepassword-changepassword",isNVue:!1,maxWidth:0,pagePath:"pages/changepassword/changepassword",windowTop:0}},{path:"/pages/shopdetail/shopdetail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"商家",navigationStyle:"custom"})},[e("pages-shopdetail-shopdetail",{slot:"page"})])}},meta:{name:"pages-shopdetail-shopdetail",isNVue:!1,maxWidth:0,pagePath:"pages/shopdetail/shopdetail",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,t("c8ba"))},"6eb9":function(e,n,t){t("99af"),t("d81d"),t("4e82"),t("a9e3"),t("d3b7"),t("ac1f"),t("25f0"),t("5319"),t("1276");var o=t("ded3"),a=t("4082"),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url,t=void 0===n?"":n,r=e.params,i=void 0===r?{}:r,u=a(e,["url","params"]);Date.now();return new Promise((function(e,n){var a=uni.getStorageSync("token");uni.request(o(o({url:t,data:i,header:{token:a,"content-type":"application/json"}},u),{},{success:function(t){500==t.data.code&&"用户不存在"==t.data.msg&&uni.showModal({content:"登录已过期 请重新登录",showCancel:!1,success:function(e){(e.confirm||e.cancel)&&uni.reLaunch({url:"/pages/login/login"})}}),402==t.data.code&&uni.reLaunch({url:"/pages/login/login"}),401!=t.data.code&&403!=t.data.code||(uni.showModal({content:"登录已过期 请重新登录",showCancel:!1,success:function(e){(e.confirm||e.cancel)&&uni.reLaunch({url:"/pages/login/login"})}}),e(t.data)),200==t.data.code?e(t.data):(e(t.data),n(t))},fail:function(e){uni.hideLoading(),console.log(e)}}))}))};e.exports={get:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n})},post:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,header:{"Content-Type":"application/json"},method:"post"})},apost:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,header:{"Content-Type":"application/json"},method:"post"})},put:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,method:"put"})},myDelete:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r({url:e,params:n,method:"delete"})},transferCouponValueTime:function(e,n){var t=new Date(e),o=new Date(t.getFullYear(),t.getMonth(),t.getDate()+n),a=(t.getFullYear(),t.getMonth(),t.getDate(),o.getFullYear()),r=o.getMonth()+1,i=o.getDate();return a+"/"+r+"/"+i},getDate:function(e){var n=new Date,t=n.getFullYear(),o=n.getMonth()+1,a=n.getDate();return"start"===e?t-=60:"end"===e&&(t+=2),o=o>9?o:"0"+o,a=a>9?a:"0"+a,"".concat(t,"-").concat(o,"-").concat(a)},getDuration:function(e){if(e<=0)return"0";var n=e/1e3/60/60/24,t=Math.floor(n),o=e/1e3/60/60-24*t,a=Math.floor(o)<10?"0"+Math.floor(o):Math.floor(o),r=e/1e3/60-1440*t-60*a,i=Math.floor(r)<10?"0"+Math.floor(r):Math.floor(r),u=e/1e3-86400*t-3600*a-60*i,s=Math.floor(u)<10?"0"+Math.floor(u):Math.floor(u),c=t+"天"+a+":"+i+":"+s;return c},getpresenttime:function(){var e=new Date,n=e.getFullYear(),t=e.getMonth()+1,o=e.getDate(),a=e.getHours()<10?"0"+e.getHours():e.getHours(),r=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),i=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();t>=1&&t<=9&&(t="0"+t),o>=0&&o<=9&&(o="0"+o);var u=n+"/"+t+"/"+o+" "+a+":"+r+":"+i;return u},getyearlist:function(){for(var e=new Date,n=e.getFullYear(),t=[],o=0;o<10;o++){var a=n+o;t.push(a)}return t},getNearbyFiveears:function(){for(var e=(new Date).getFullYear(),n=[],t=0;t<5;t++){var o=e-t+1,a=e+t;n.push(o),n.push(a)}n.sort((function(e,n){return e-n}));var r=n.map((function(e,n){var t={};return t.label=e,t.value=n+1,t}));return r.unshift({label:"全部",value:0}),r},getYearmomthday:function(){var e=new Date,n=e.getFullYear(),t=e.getMonth()+1,o=e.getDate();e.getHours(),e.getHours(),e.getMinutes(),e.getMinutes(),e.getSeconds(),e.getSeconds();t>=1&&t<=9&&(t="0"+t),o>=0&&o<=9&&(o="0"+o);var a=n+"/"+t+"/"+o;return a},addNum:function(e,n){var t,o,a;try{t=e.toString().split(".")[1].length}catch(r){t=0}try{o=n.toString().split(".")[1].length}catch(r){o=0}return a=Math.pow(10,Math.max(t,o)),(e*a+n*a)/a},accMul:function(e,n){var t=0,o=e.toString(),a=n.toString();try{t+=o.split(".")[1].length}catch(r){}try{t+=a.split(".")[1].length}catch(r){}return Number(o.replace(".",""))*Number(a.replace(".",""))/Math.pow(10,t)}}},"83c6":function(e,n,t){"use strict";t.r(n);var o=t("06f5"),a=t("9b27");for(var r in a)"default"!==r&&function(e){t.d(n,e,(function(){return a[e]}))}(r);t("4418");var i,u=t("f0c5"),s=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);n["default"]=s.exports},"9b27":function(e,n,t){"use strict";t.r(n);var o=t("123f"),a=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=a.a},e1fa:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=o||{},a="https://faces.diaosaas.com/garden/",r=a+"api/";o.login=r+"merchant/login",o.reSetPassword=r+"merchant/reSetPassword",o.getIncomeDetail=r+"merchant/getIncomeDetail",o.getIncomeStatistics=r+"merchant/getIncomeStatistics";var i=o;n.default=i}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shopdetail-shopdetail"],{"194e":function(t,e,i){"use strict";i.r(e);var a=i("6787"),o=i("c507");for(var s in o)"default"!==s&&function(t){i.d(e,t,(function(){return o[t]}))}(s);i("f2d3");var n,l=i("f0c5"),c=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"0969fb16",null,!1,a["a"],n);e["default"]=c.exports},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"38f1":function(t,e,i){t.exports=i.p+"static/img/btn_bg.76fda38d.png"},6787:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"shopdetail"},[a("v-uni-view",{staticClass:"shopdetail_head"},[a("v-uni-view",{staticClass:"shopdetail_bg"},[a("v-uni-image",{attrs:{src:i("f321"),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"shopdetail_title"},[a("v-uni-text",[t._v(t._s(t.userdata.tMerchant.name))]),a("v-uni-view",{staticClass:"change_passworld",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},[t._v("修改登录密码")])],1),a("v-uni-view",{staticClass:"gathering_code",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issave=!0}}},[a("v-uni-image",{attrs:{src:t.collectionCodeUrl,mode:"widthFix"}}),a("v-uni-view",{staticClass:"collectionCode"},[t._v("收款码")])],1),a("v-uni-view",{staticClass:"flex_tab"},[a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.todayIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("今日总收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")]),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.monthIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("本月收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")]),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.totalIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("累计收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")])],1)],1)],1),a("v-uni-view",{staticClass:"income_tab"},[a("v-uni-view",{staticClass:"income_flex",class:{income_active:0==t.tabindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTab(0)}}},[a("v-uni-text",{staticClass:"income_title"},[t._v("收入明细")]),a("v-uni-view",{staticClass:"xian"}),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"income_flex",class:{income_active:1==t.tabindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTab(1)}}},[a("v-uni-text",{staticClass:"income_title"},[t._v("收入统计")]),a("v-uni-view",{staticClass:"xian"})],1)],1),0==t.tabindex?a("v-uni-view",{staticClass:"earnings_box"},[a("v-uni-view",{staticClass:"Filter"},[a("v-uni-view",{staticClass:"Filter_box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.monthall=!t.monthall}}},[a("v-uni-text",[t._v(t._s(t.select_month))]),a("v-uni-view",{staticClass:"jiantou",class:{isroate:t.monthall}})],1),t.monthall?a("v-uni-view",{staticClass:"select_month"},[a("v-uni-view",{staticClass:"sanjiao"}),t._l(t.monthlist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"options_child",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectmonth(e,i)}}},[t._v(t._s(e))])}))],2):t._e()],1),a("v-uni-view",{staticClass:"income_list"},t._l(t.earningslist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list_box"},[a("v-uni-view",{staticClass:"list_left list_flex"},[a("v-uni-view",{staticClass:"who"},[t._v(t._s(e.buyerName))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(e.createTime))])],1),a("v-uni-view",{staticClass:"list_right list_flex"},[a("v-uni-view",{staticClass:"how_mach"},[a("v-uni-text",{staticClass:"how_text"},[t._v("+"+t._s(e.gardenMoney))]),t._v("花缘里币")],1)],1)],1)})),1)],1):t._e(),1==t.tabindex?a("v-uni-view",{staticClass:"statistics_box"},[a("v-uni-view",{staticClass:"Filter"},[a("v-uni-view",{staticClass:"Filter_box"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(1)}}},[t._v("年/")]),a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(2)}}},[t._v("月/")]),a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(3)}}},[t._v("日")])],1)],1),a("v-uni-view",{staticClass:"income_list"},t._l(t.statisticslist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list_box"},[a("v-uni-view",{staticClass:"list_left list_flex"},[a("v-uni-view",{staticClass:"who"},[t._v(t._s(e.createTime))])],1),a("v-uni-view",{staticClass:"list_right list_flex"},[a("v-uni-view",{staticClass:"how_mach"},[a("v-uni-text",{staticClass:"how_text"},[t._v("+"+t._s(e.gardenMoney))]),t._v("花缘里币")],1)],1)],1)})),1)],1):t._e(),t.issave?a("v-uni-view",{staticClass:"save_box"},[a("v-uni-view",{staticClass:"save_title"},[t._v("收款码")]),a("v-uni-view",{staticClass:"close_box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issave=!1}}},[a("v-uni-image",{attrs:{src:i("ffe1"),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"code_img"},[a("v-uni-image",{attrs:{src:t.collectionCodeUrl,mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"save_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Location.apply(void 0,arguments)}}},[t._v("长按保存到手机")])],1):t._e()],1)},s=[]},"6ed3":function(t,e,i){var a=i("24fb"),o=i("1de5"),s=i("38f1");e=a(!1);var n=o(s);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.shopdetail[data-v-0969fb16]{width:100%;height:100%;position:relative}.shopdetail .save_box[data-v-0969fb16]{width:66%;height:%?578?%;background:#fff;border-radius:%?20?%;position:absolute;left:17%;top:%?264?%;z-index:100}.shopdetail .save_box .code_img[data-v-0969fb16]{width:100%;position:absolute;left:0;top:%?150?%}.shopdetail .save_box .code_img uni-image[data-v-0969fb16]{width:%?264?%;height:%?264?%;display:block;margin:auto}.shopdetail .save_box .save_title[data-v-0969fb16]{width:100%;text-align:center;position:absolute;left:0;top:%?48?%;color:#2d2d2d;font-size:%?36?%}.shopdetail .save_box .close_box[data-v-0969fb16]{width:%?40?%;height:%?40?%;position:absolute;right:%?28?%;top:%?28?%}.shopdetail .save_box .close_box uni-image[data-v-0969fb16]{width:100%}.shopdetail .save_box .save_btn[data-v-0969fb16]{width:60%;position:absolute;left:20%;bottom:%?52?%;color:#fff;text-align:center;height:%?60?%;line-height:%?60?%;font-weight:500;font-size:%?28?%;background:url('+n+") no-repeat;background-size:100% 100%;text-decoration:none}.shopdetail .Filter[data-v-0969fb16]{width:90%;margin-left:5%;margin-top:%?36?%;margin-bottom:%?14?%;position:relative}.shopdetail .Filter .select_month[data-v-0969fb16]{position:absolute;width:%?114?%;left:%?64?%;top:%?78?%;background:#fff;box-shadow:0 0 12px 0 rgba(0,0,0,.1);border-radius:%?16?%;z-index:10}.shopdetail .Filter .select_month .sanjiao[data-v-0969fb16]{width:0;height:0;border-left:%?20?% solid transparent;border-right:%?20?% solid transparent;border-bottom:%?24?% solid #fff;position:absolute;top:%?-24?%;right:%?20?%}.shopdetail .Filter .select_month .options_child[data-v-0969fb16]{width:72%;margin-left:14%;height:%?62?%;line-height:%?62?%;border-bottom:1px solid #f5f5f5;color:#666;font-size:%?26?%;text-align:center}.shopdetail .Filter .select_month .options_child[data-v-0969fb16]:last-child(1){border-bottom:none}.shopdetail .Filter .Filter_box[data-v-0969fb16]{width:%?180?%;height:%?58?%;line-height:%?58?%;background:#f5f5f5;border-radius:%?30?%;color:#2d2d2d;font-size:%?32?%;font-weight:700;text-indent:%?20?%;position:relative}.shopdetail .Filter .Filter_box .jiantou[data-v-0969fb16]{width:%?20?%;height:%?20?%;border-top:%?4?% solid transparent;border-right:%?4?% solid transparent;border-left:%?4?% solid #aaa;border-bottom:%?4?% solid #aaa;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);position:absolute;top:%?14?%;right:%?26?%}.shopdetail .Filter .Filter_box .isroate[data-v-0969fb16]{-webkit-transform:rotate(135deg);transform:rotate(135deg);top:%?24?%}.shopdetail .income_list[data-v-0969fb16]{width:90%;margin-left:5%;background-color:#fff}.shopdetail .income_list .list_box[data-v-0969fb16]{width:100%;position:relative;height:%?140?%;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.shopdetail .income_list .list_box .list_flex[data-v-0969fb16]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.shopdetail .income_list .list_box .list_flex .who[data-v-0969fb16]{color:#2d2d2d;font-weight:700;font-size:%?28?%}.shopdetail .income_list .list_box .list_flex .time[data-v-0969fb16]{color:#2d2d2d;opacity:.3;font-size:%?24?%;margin-top:%?10?%}.shopdetail .income_list .list_box .list_flex .how_mach[data-v-0969fb16]{color:#2d2d2d;font-size:%?26?%}.shopdetail .income_list .list_box .list_flex .how_mach .how_text[data-v-0969fb16]{color:#ff4955;font-size:%?26?%;margin-right:%?24?%}.shopdetail .income_list .list_box .list_left[data-v-0969fb16]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.shopdetail .statistics_box .income_list .list_flex .who[data-v-0969fb16]{font-weight:500}.shopdetail .income_tab[data-v-0969fb16]{width:100%;height:%?146?%;background:-webkit-linear-gradient(top,hsla(0,0%,100%,.87),#fff 27%,#fff);background:linear-gradient(180deg,hsla(0,0%,100%,.87),#fff 27%,#fff);border-radius:%?80?% %?80?% 1px 1px;margin-top:%?-146?%;position:relative;z-index:100;display:-webkit-box;display:-webkit-flex;display:flex}.shopdetail .income_tab .income_flex[data-v-0969fb16]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-weight:500;color:#000;position:relative}.shopdetail .income_tab .income_flex .income_title[data-v-0969fb16]{opacity:.3}.shopdetail .income_tab .income_flex .xian[data-v-0969fb16]{width:%?54?%;height:%?10?%;background:#eb8417;position:absolute;left:50%;margin-left:%?-27?%;bottom:%?24?%;opacity:0}.shopdetail .income_tab .income_flex .heng[data-v-0969fb16]{width:%?6?%;height:%?38?%;background:#353837;opacity:.05;position:absolute;right:0;top:50%;margin-top:%?-19?%}.shopdetail .income_tab .income_active .income_title[data-v-0969fb16]{opacity:1;font-weight:700}.shopdetail .income_tab .income_active .xian[data-v-0969fb16]{opacity:1}.shopdetail .shopdetail_head[data-v-0969fb16]{width:100%;position:relative}.shopdetail .shopdetail_head .shopdetail_bg[data-v-0969fb16]{width:100%}.shopdetail .shopdetail_head .shopdetail_bg uni-image[data-v-0969fb16]{width:100%;display:block}.shopdetail .shopdetail_head .shopdetail_title[data-v-0969fb16]{width:100%;text-align:center;color:#fff;font-size:%?36?%;font-weight:700;position:absolute;left:0;top:%?114?%}.shopdetail .shopdetail_head .shopdetail_title .change_passworld[data-v-0969fb16]{text-align:right;font-size:%?26?%;position:absolute;right:0;bottom:0}.shopdetail .shopdetail_head .gathering_code[data-v-0969fb16]{width:%?154?%;height:%?154?%;position:absolute;left:50%;margin-left:%?-76?%;top:%?228?%}.shopdetail .shopdetail_head .gathering_code uni-image[data-v-0969fb16]{width:100%;height:100%;display:block}.shopdetail .shopdetail_head .gathering_code .collectionCode[data-v-0969fb16]{width:%?88?%;height:%?38?%;background-color:#11d183;border-radius:%?20?%;color:#fff;text-align:center;line-height:%?38?%;font-weight:500;font-size:%?24?%;position:absolute;left:50%;margin-left:%?-44?%;top:50%;margin-top:%?-19?%}.shopdetail .shopdetail_head .flex_tab[data-v-0969fb16]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;left:0;top:%?444?%}.shopdetail .shopdetail_head .flex_tab .flex_block[data-v-0969fb16]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.shopdetail .shopdetail_head .flex_tab .flex_block .flex_title[data-v-0969fb16]{color:#fff;font-weight:500;font-size:%?40?%}.shopdetail .shopdetail_head .flex_tab .flex_block .flex_dec[data-v-0969fb16]{color:#fff;font-weight:500;opacity:.8;font-size:%?26?%}.shopdetail .shopdetail_head .flex_tab .flex_block .heng[data-v-0969fb16]{width:%?6?%;height:%?38?%;background:#353837;opacity:.05;position:absolute;right:0;top:50%;margin-top:%?-19?%}",""]),t.exports=e},"85ef":function(t,e,i){var a=i("6ed3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("3878221e",a,!0,{sourceMap:!1,shadowMode:!1})},b2d4:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("e1fa")),s=i("6eb9"),n=i("c130"),l={data:function(){return{issave:!1,collectionCodeUrl:"",today:"",month:"",total:"",tabindex:0,select_month:"全部",sign:1,monthall:!1,monthlist:["全部","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],earningslist:[],statisticslist:[],userdata:{}}},onLoad:function(){},created:function(){var t=this;t.userdata=uni.getStorageSync("userdata"),t.collectionCodeUrl=t.userdata.tMerchant.collectionCodeUrl,t.getearnings()},methods:{Location:function(){(0,n.getLocation)()},handleTab:function(t){this.tabindex=t,0==t?this.getearnings():this.getstatistics()},getearnings:function(){var t=this;(0,s.get)(o.default.getIncomeDetail,{userId:t.userdata.tMerchant.id,month:t.month}).then((function(e){200==e.code?t.earningslist=e.data:uni.showToast({title:e.msg,icon:"none"})}))},getstatistics:function(){var t=this;(0,s.get)(o.default.getIncomeDetail,{userId:t.userdata.tMerchant.id,sign:t.sign}).then((function(e){200==e.code?t.statisticslist=e.data:uni.showToast({title:e.msg,icon:"none"})}))},changesign:function(t){this.sign=t,this.getstatistics()},change:function(){uni.navigateTo({url:"/pages/changepassword/changepassword"})},selectmonth:function(t,e){var i=this;i.select_month=t,i.monthall=!1,i.month=0==e?"":e,i.getearnings()}}};e.default=l},c130:function(t,e){function i(t){console.log("Latitude: "+t.coords.latitude+"<br />Longitude: "+t.coords.longitude),localStorage.setItem("position_lat",t.coords.latitude),localStorage.setItem("position_long",t.coords.longitude);var e=t.coords.latitude+","+t.coords.longitude,i="http://api.map.baidu.com/geocoder/v2/?ak=19b2aeEBWc3g254sRTESzrbAG4ObB92l&callback=renderReverse&location="+e+"&output=json&pois=0";_self.$http.jsonp(i).then((function(t){t=JSON.parse(t.bodyText);var e=t.result.addressComponent.country_code_iso;"China"!=t.result.addressComponent.country?_self.$dialog.confirm({message:"根据定位,您所在的区域尚未开放服务,是否手动选择区域"}).then((function(){localStorage.setItem("position_loc",t.result.addressComponent.country),_self.$router.push("location")})).catch((function(){})):(localStorage.setItem("position_loc",_self.Kit.getCountryMcc(e)),_self.$router.push("home"))}),(function(t){console.log(t)}))}function a(t){switch(localStorage.removeItem("position_loc"),t.code){case t.PERMISSION_DENIED:_self.$dialog.alert({message:"您已拒绝请求地理位置信息"}).then((function(){_self.$router.push("location")}));break;case t.POSITION_UNAVAILABLE:_self.$dialog.alert({message:"位置信息不可用,请手动选择"}).then((function(){_self.$router.push("location")}));break;case t.TIMEOUT:_self.$dialog.alert({message:"请求获取用户位置超时,请手动选择"}).then((function(){_self.$router.push("location")}));break;case t.UNKNOWN_ERROR:_self.$dialog.alert({message:"定位系统失效,请手动选择"}).then((function(){_self.$router.push("location")}));break}}t.exports={getLocation:function(){console.log(navigator),navigator.geolocation?navigator.geolocation.getCurrentPosition(i,a):(window.console("Geolocation is not supported by this browser."),_self.$dialog.alert({message:"您的设备不支持定位功能,请手动选择"}).then((function(){_self.$router.push("location")})))}}},c507:function(t,e,i){"use strict";i.r(e);var a=i("b2d4"),o=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=o.a},f2d3:function(t,e,i){"use strict";var a=i("85ef"),o=i.n(a);o.a},f321:function(t,e,i){t.exports=i.p+"static/img/shop_bg.984a8ca3.png"},ffe1:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABCElEQVQ4T63UvQ6CMBAA4EIDk6O+AG74DCQ1fW7gkg7GyUk33XTROJkQoYgpSQ0UaI/Ejm3uo70fPPLn5f3ZIz2QMbYAgNecj5gxP1AdhGG4rarqkuf5EYNyziNKaVwUxV4IcVcxvRtyzmNK6RqDakxKecuy7EAIaQag2sCgU9go6EJt2CQ4hbowK2iivu8XqgBmzsziOftQ51QFSimv3QKMdQIGVK2xUcGY6lvBbs6apnkHQRC50ElwrAD6+XVdn9M0PaGfbKumCx3cENMaNtQcvXY2Xa3RbSnz+ebPgWEwnTt907IsdwDwGDR2kiQrIYQ6aAcdsxhjSwB4EkI+zknBgLMnZS76BbrC6hWOLfrIAAAAAElFTkSuQmCC"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shopdetail-shopdetail"],{"194e":function(t,e,i){"use strict";i.r(e);var a=i("d5a7"),o=i("c507");for(var s in o)"default"!==s&&function(t){i.d(e,t,(function(){return o[t]}))}(s);i("6c89");var n,l=i("f0c5"),c=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"400ec805",null,!1,a["a"],n);e["default"]=c.exports},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"38f1":function(t,e,i){t.exports=i.p+"static/img/btn_bg.76fda38d.png"},"6c89":function(t,e,i){"use strict";var a=i("b38d"),o=i.n(a);o.a},b2d4:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("e1fa")),s=i("6eb9"),n=i("c130"),l={data:function(){return{issave:!1,collectionCodeUrl:"",today:"",month:"",total:"",tabindex:0,select_month:"全部",sign:1,monthall:!1,monthlist:["全部","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],earningslist:[],statisticslist:[],userdata:{}}},onLoad:function(){},created:function(){var t=this;t.userdata=uni.getStorageSync("userdata"),t.collectionCodeUrl=t.userdata.tMerchant.collectionCodeUrl,t.getearnings()},methods:{Location:function(){(0,n.getLocation)()},getearnings:function(){var t=this;(0,s.get)(o.default.getIncomeDetail,{userId:t.userdata.tMerchant.id,month:t.month}).then((function(e){200==e.code?t.earningslist=e.data:uni.showToast({title:e.msg,icon:"none"})}))},getstatistics:function(){var t=this;(0,s.get)(o.default.getIncomeDetail,{userId:t.userdata.tMerchant.id,sign:t.sign}).then((function(e){200==e.code?t.statisticslist=e.data:uni.showToast({title:e.msg,icon:"none"})}))},changesign:function(t){this.sign=t,this.getstatistics()},change:function(){uni.navigateTo({url:"/pages/changepassword/changepassword"})},selectmonth:function(t,e){var i=this;i.select_month=t,i.monthall=!1,i.month=0==e?"":e,i.getearnings()}}};e.default=l},b38d:function(t,e,i){var a=i("e41b");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("cfd8291a",a,!0,{sourceMap:!1,shadowMode:!1})},c130:function(t,e){function i(t){console.log("Latitude: "+t.coords.latitude+"<br />Longitude: "+t.coords.longitude),localStorage.setItem("position_lat",t.coords.latitude),localStorage.setItem("position_long",t.coords.longitude);var e=t.coords.latitude+","+t.coords.longitude,i="http://api.map.baidu.com/geocoder/v2/?ak=19b2aeEBWc3g254sRTESzrbAG4ObB92l&callback=renderReverse&location="+e+"&output=json&pois=0";_self.$http.jsonp(i).then((function(t){t=JSON.parse(t.bodyText);var e=t.result.addressComponent.country_code_iso;"China"!=t.result.addressComponent.country?_self.$dialog.confirm({message:"根据定位,您所在的区域尚未开放服务,是否手动选择区域"}).then((function(){localStorage.setItem("position_loc",t.result.addressComponent.country),_self.$router.push("location")})).catch((function(){})):(localStorage.setItem("position_loc",_self.Kit.getCountryMcc(e)),_self.$router.push("home"))}),(function(t){console.log(t)}))}function a(t){switch(localStorage.removeItem("position_loc"),t.code){case t.PERMISSION_DENIED:_self.$dialog.alert({message:"您已拒绝请求地理位置信息"}).then((function(){_self.$router.push("location")}));break;case t.POSITION_UNAVAILABLE:_self.$dialog.alert({message:"位置信息不可用,请手动选择"}).then((function(){_self.$router.push("location")}));break;case t.TIMEOUT:_self.$dialog.alert({message:"请求获取用户位置超时,请手动选择"}).then((function(){_self.$router.push("location")}));break;case t.UNKNOWN_ERROR:_self.$dialog.alert({message:"定位系统失效,请手动选择"}).then((function(){_self.$router.push("location")}));break}}t.exports={getLocation:function(){console.log(navigator),navigator.geolocation?navigator.geolocation.getCurrentPosition(i,a):(window.console("Geolocation is not supported by this browser."),_self.$dialog.alert({message:"您的设备不支持定位功能,请手动选择"}).then((function(){_self.$router.push("location")})))}}},c507:function(t,e,i){"use strict";i.r(e);var a=i("b2d4"),o=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=o.a},d5a7:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"shopdetail"},[a("v-uni-view",{staticClass:"shopdetail_head"},[a("v-uni-view",{staticClass:"shopdetail_bg"},[a("v-uni-image",{attrs:{src:i("f321"),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"shopdetail_title"},[a("v-uni-text",[t._v(t._s(t.userdata.tMerchant.name))]),a("v-uni-view",{staticClass:"change_passworld",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},[t._v("修改登录密码")])],1),a("v-uni-view",{staticClass:"gathering_code",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issave=!0}}},[a("v-uni-image",{attrs:{src:t.collectionCodeUrl,mode:"widthFix"}}),a("v-uni-view",{staticClass:"collectionCode"},[t._v("收款码")])],1),a("v-uni-view",{staticClass:"flex_tab"},[a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.todayIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("今日总收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")]),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.monthIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("本月收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")]),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"flex_block"},[a("v-uni-view",{staticClass:"flex_title"},[t._v(t._s(t.userdata.totalIncome))]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("累计收入")]),a("v-uni-view",{staticClass:"flex_dec"},[t._v("(花缘里币)")])],1)],1)],1),a("v-uni-view",{staticClass:"income_tab"},[a("v-uni-view",{staticClass:"income_flex",class:{income_active:0==t.tabindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabindex=0}}},[a("v-uni-text",{staticClass:"income_title"},[t._v("收入明细")]),a("v-uni-view",{staticClass:"xian"}),a("v-uni-view",{staticClass:"heng"})],1),a("v-uni-view",{staticClass:"income_flex",class:{income_active:1==t.tabindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabindex=1}}},[a("v-uni-text",{staticClass:"income_title"},[t._v("收入统计")]),a("v-uni-view",{staticClass:"xian"})],1)],1),0==t.tabindex?a("v-uni-view",{staticClass:"earnings_box"},[a("v-uni-view",{staticClass:"Filter"},[a("v-uni-view",{staticClass:"Filter_box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.monthall=!0}}},[a("v-uni-text",[t._v(t._s(t.select_month))]),a("v-uni-view",{staticClass:"jiantou",class:{isroate:t.monthall}})],1),t.monthall?a("v-uni-view",{staticClass:"select_month"},[a("v-uni-view",{staticClass:"sanjiao"}),t._l(t.monthlist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"options_child",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectmonth(e,i)}}},[t._v(t._s(e))])}))],2):t._e()],1),a("v-uni-view",{staticClass:"income_list"},t._l(t.earningslist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list_box"},[a("v-uni-view",{staticClass:"list_left list_flex"},[a("v-uni-view",{staticClass:"who"},[t._v(t._s(e.buyerName))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(e.createTime))])],1),a("v-uni-view",{staticClass:"list_right list_flex"},[a("v-uni-view",{staticClass:"how_mach"},[a("v-uni-text",{staticClass:"how_text"},[t._v("+"+t._s(e.gardenMoney))]),t._v("花缘里币")],1)],1)],1)})),1)],1):t._e(),1==t.tabindex?a("v-uni-view",{staticClass:"statistics_box"},[a("v-uni-view",{staticClass:"Filter"},[a("v-uni-view",{staticClass:"Filter_box"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(1)}}},[t._v("年/")]),a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(2)}}},[t._v("月/")]),a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changesign(3)}}},[t._v("日")])],1)],1),a("v-uni-view",{staticClass:"income_list"},t._l(t.statisticslist,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list_box"},[a("v-uni-view",{staticClass:"list_left list_flex"},[a("v-uni-view",{staticClass:"who"},[t._v(t._s(e.createTime))])],1),a("v-uni-view",{staticClass:"list_right list_flex"},[a("v-uni-view",{staticClass:"how_mach"},[a("v-uni-text",{staticClass:"how_text"},[t._v("+"+t._s(e.gardenMoney))]),t._v("花缘里币")],1)],1)],1)})),1)],1):t._e(),t.issave?a("v-uni-view",{staticClass:"save_box"},[a("v-uni-view",{staticClass:"save_title"},[t._v("收款码")]),a("v-uni-view",{staticClass:"close_box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issave=!1}}},[a("v-uni-image",{attrs:{src:i("ffe1"),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"code_img"},[a("v-uni-image",{attrs:{src:t.collectionCodeUrl,mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"save_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Location.apply(void 0,arguments)}}},[t._v("长按保存到手机")])],1):t._e()],1)},s=[]},e41b:function(t,e,i){var a=i("24fb"),o=i("1de5"),s=i("38f1");e=a(!1);var n=o(s);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.shopdetail[data-v-400ec805]{width:100%;height:100%;position:relative}.shopdetail .save_box[data-v-400ec805]{width:66%;height:%?578?%;background:#fff;border-radius:%?20?%;position:absolute;left:17%;top:%?264?%;z-index:100}.shopdetail .save_box .code_img[data-v-400ec805]{width:100%;position:absolute;left:0;top:%?150?%}.shopdetail .save_box .code_img uni-image[data-v-400ec805]{width:%?264?%;height:%?264?%;display:block;margin:auto}.shopdetail .save_box .save_title[data-v-400ec805]{width:100%;text-align:center;position:absolute;left:0;top:%?48?%;color:#2d2d2d;font-size:%?36?%}.shopdetail .save_box .close_box[data-v-400ec805]{width:%?40?%;height:%?40?%;position:absolute;right:%?28?%;top:%?28?%}.shopdetail .save_box .close_box uni-image[data-v-400ec805]{width:100%}.shopdetail .save_box .save_btn[data-v-400ec805]{width:60%;position:absolute;left:20%;bottom:%?52?%;color:#fff;text-align:center;height:%?60?%;line-height:%?60?%;font-weight:500;font-size:%?28?%;background:url('+n+") no-repeat;background-size:100% 100%;text-decoration:none}.shopdetail .Filter[data-v-400ec805]{width:90%;margin-left:5%;margin-top:%?36?%;margin-bottom:%?14?%;position:relative}.shopdetail .Filter .select_month[data-v-400ec805]{position:absolute;width:%?114?%;left:%?64?%;top:%?78?%;background:#fff;box-shadow:0 0 12px 0 rgba(0,0,0,.1);border-radius:%?16?%;z-index:10}.shopdetail .Filter .select_month .sanjiao[data-v-400ec805]{width:0;height:0;border-left:%?20?% solid transparent;border-right:%?20?% solid transparent;border-bottom:%?24?% solid #fff;position:absolute;top:%?-24?%;right:%?20?%}.shopdetail .Filter .select_month .options_child[data-v-400ec805]{width:72%;margin-left:14%;height:%?62?%;line-height:%?62?%;border-bottom:1px solid #f5f5f5;color:#666;font-size:%?26?%;text-align:center}.shopdetail .Filter .select_month .options_child[data-v-400ec805]:last-child(1){border-bottom:none}.shopdetail .Filter .Filter_box[data-v-400ec805]{width:%?180?%;height:%?58?%;line-height:%?58?%;background:#f5f5f5;border-radius:%?30?%;color:#2d2d2d;font-size:%?32?%;font-weight:700;text-indent:%?20?%;position:relative}.shopdetail .Filter .Filter_box .jiantou[data-v-400ec805]{width:%?20?%;height:%?20?%;border-top:%?4?% solid transparent;border-right:%?4?% solid transparent;border-left:%?4?% solid #aaa;border-bottom:%?4?% solid #aaa;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);position:absolute;top:%?14?%;right:%?26?%}.shopdetail .Filter .Filter_box .isroate[data-v-400ec805]{-webkit-transform:rotate(135deg);transform:rotate(135deg);top:%?24?%}.shopdetail .income_list[data-v-400ec805]{width:90%;margin-left:5%;background-color:#fff}.shopdetail .income_list .list_box[data-v-400ec805]{width:100%;position:relative;height:%?140?%;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.shopdetail .income_list .list_box .list_flex[data-v-400ec805]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.shopdetail .income_list .list_box .list_flex .who[data-v-400ec805]{color:#2d2d2d;font-weight:700;font-size:%?28?%}.shopdetail .income_list .list_box .list_flex .time[data-v-400ec805]{color:#2d2d2d;opacity:.3;font-size:%?24?%;margin-top:%?10?%}.shopdetail .income_list .list_box .list_flex .how_mach[data-v-400ec805]{color:#2d2d2d;font-size:%?26?%}.shopdetail .income_list .list_box .list_flex .how_mach .how_text[data-v-400ec805]{color:#ff4955;font-size:%?26?%;margin-right:%?24?%}.shopdetail .income_list .list_box .list_left[data-v-400ec805]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.shopdetail .statistics_box .income_list .list_flex .who[data-v-400ec805]{font-weight:500}.shopdetail .income_tab[data-v-400ec805]{width:100%;height:%?146?%;background:-webkit-linear-gradient(top,hsla(0,0%,100%,.87),#fff 27%,#fff);background:linear-gradient(180deg,hsla(0,0%,100%,.87),#fff 27%,#fff);border-radius:%?80?% %?80?% 1px 1px;margin-top:%?-146?%;position:relative;z-index:100;display:-webkit-box;display:-webkit-flex;display:flex}.shopdetail .income_tab .income_flex[data-v-400ec805]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-weight:500;color:#000;position:relative}.shopdetail .income_tab .income_flex .income_title[data-v-400ec805]{opacity:.3}.shopdetail .income_tab .income_flex .xian[data-v-400ec805]{width:%?54?%;height:%?10?%;background:#eb8417;position:absolute;left:50%;margin-left:%?-27?%;bottom:%?24?%;opacity:0}.shopdetail .income_tab .income_flex .heng[data-v-400ec805]{width:%?6?%;height:%?38?%;background:#353837;opacity:.05;position:absolute;right:0;top:50%;margin-top:%?-19?%}.shopdetail .income_tab .income_active .income_title[data-v-400ec805]{opacity:1;font-weight:700}.shopdetail .income_tab .income_active .xian[data-v-400ec805]{opacity:1}.shopdetail .shopdetail_head[data-v-400ec805]{width:100%;position:relative}.shopdetail .shopdetail_head .shopdetail_bg[data-v-400ec805]{width:100%}.shopdetail .shopdetail_head .shopdetail_bg uni-image[data-v-400ec805]{width:100%;display:block}.shopdetail .shopdetail_head .shopdetail_title[data-v-400ec805]{width:100%;text-align:center;color:#fff;font-size:%?36?%;font-weight:700;position:absolute;left:0;top:%?114?%}.shopdetail .shopdetail_head .shopdetail_title .change_passworld[data-v-400ec805]{text-align:right;font-size:%?26?%;position:absolute;right:0;bottom:0}.shopdetail .shopdetail_head .gathering_code[data-v-400ec805]{width:%?154?%;height:%?154?%;position:absolute;left:50%;margin-left:%?-76?%;top:%?228?%}.shopdetail .shopdetail_head .gathering_code uni-image[data-v-400ec805]{width:100%;height:100%;display:block}.shopdetail .shopdetail_head .gathering_code .collectionCode[data-v-400ec805]{width:%?88?%;height:%?38?%;background-color:#11d183;border-radius:%?20?%;color:#fff;text-align:center;line-height:%?38?%;font-weight:500;font-size:%?24?%;position:absolute;left:50%;margin-left:%?-44?%;top:50%;margin-top:%?-19?%}.shopdetail .shopdetail_head .flex_tab[data-v-400ec805]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;left:0;top:%?444?%}.shopdetail .shopdetail_head .flex_tab .flex_block[data-v-400ec805]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.shopdetail .shopdetail_head .flex_tab .flex_block .flex_title[data-v-400ec805]{color:#fff;font-weight:500;font-size:%?40?%}.shopdetail .shopdetail_head .flex_tab .flex_block .flex_dec[data-v-400ec805]{color:#fff;font-weight:500;opacity:.8;font-size:%?26?%}.shopdetail .shopdetail_head .flex_tab .flex_block .heng[data-v-400ec805]{width:%?6?%;height:%?38?%;background:#353837;opacity:.05;position:absolute;right:0;top:50%;margin-top:%?-19?%}",""]),t.exports=e},f321:function(t,e,i){t.exports=i.p+"static/img/shop_bg.984a8ca3.png"},ffe1:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABCElEQVQ4T63UvQ6CMBAA4EIDk6O+AG74DCQ1fW7gkg7GyUk33XTROJkQoYgpSQ0UaI/Ejm3uo70fPPLn5f3ZIz2QMbYAgNecj5gxP1AdhGG4rarqkuf5EYNyziNKaVwUxV4IcVcxvRtyzmNK6RqDakxKecuy7EAIaQag2sCgU9go6EJt2CQ4hbowK2iivu8XqgBmzsziOftQ51QFSimv3QKMdQIGVK2xUcGY6lvBbs6apnkHQRC50ElwrAD6+XVdn9M0PaGfbKumCx3cENMaNtQcvXY2Xa3RbSnz+ebPgWEwnTt907IsdwDwGDR2kiQrIYQ6aAcdsxhjSwB4EkI+zknBgLMnZS76BbrC6hWOLfrIAAAAAElFTkSuQmCC"}}]);
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论