From f6fd28e06e8bcbb7f2f7c06f5994a06c67bdd7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A8=84=E6=A2=A6=E5=AE=81?= Date: Sun, 27 Sep 2020 17:52:21 +0800 Subject: [PATCH] checkredis --- addons/unishop/uniapp/uni-shop/manifest.json | 2 +- addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html | 2 +- .../uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.932a3dd6.js | 1 + .../uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.c211fbb3.js | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.932a3dd6.js delete mode 100644 addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.c211fbb3.js diff --git a/addons/unishop/uniapp/uni-shop/manifest.json b/addons/unishop/uniapp/uni-shop/manifest.json index 7dc4e9d..1dc220b 100644 --- a/addons/unishop/uniapp/uni-shop/manifest.json +++ b/addons/unishop/uniapp/uni-shop/manifest.json @@ -65,7 +65,7 @@ "title" : "宜家自购商城", "domain" : "qdh.zhizhuchuxing.cn", "router" : { - "base" : "/", + "base" : "/h5", "mode" : "hash" }, "template" : "template.h5.html", diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html index 0baa6ee..a40519a 100644 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html @@ -1,3 +1,3 @@ 宜家自购商城
\ No newline at end of file + })
\ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.932a3dd6.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.932a3dd6.js new file mode 100644 index 0000000..db4ba74 --- /dev/null +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.932a3dd6.js @@ -0,0 +1 @@ +(function(e){function n(n){for(var t,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:t}),setTimeout((function(){uni.hideToast()}),n))},d=function(){var e=getCurrentPages(),n=e[e.length-2];return n},p=function(){return new Promise((function(e){0==s.default.prototype.$store.state.hasLogin?uni.showModal({cancelText:"Cancel",confirmText:"OK",title:"温馨提示",content:"你还没登录,请先登录",success:function(n){if(n.confirm){var o="/pages/public/login";uni.navigateTo({url:o})}e(!1)}}):e(!0)}))},l=function e(n,o){o=o||{};for(var t in n)"object"===typeof n[t]?(o[t]=n[t].constructor===Array?[]:{},e(n[t],o[t])):o[t]=n[t];return o},f=function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(n){var o,t,a,i,u,c,d,p,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=l.length>1&&void 0!==l[1]?l[1]:"GET",t=l.length>2&&void 0!==l[2]?l[2]:{},a=!(l.length>3&&void 0!==l[3])||l[3],i={"content-type":"application/x-www-form-urlencoded",lang:s.default.prototype.$store.state.lang,platform:s.default.prototype.$platform},s.default.prototype.$store.state.userInfo.token&&(i.token=s.default.prototype.$store.state.userInfo.token),s.default.prototype.$store.state.cookie&&(i.cookie=s.default.prototype.$store.state.cookie),e.next=8,uni.request({url:s.default.prototype.$unishow+n,method:o,header:i,data:t,timeout:5e3});case 8:return u=e.sent,c=(0,r.default)(u,2),d=c[0],p=c[1],"/pay/submit"==n&&console.log(p),e.abrupt("return",new Promise((function(e){if(d&&(a&&g(JSON.stringify(p)),e(!1)),p){if(p.header.hasOwnProperty("Set-Cookie")){var n=p.header["Set-Cookie"].replace("; path=/","");s.default.prototype.$store.commit("setCookie",n)}p.hasOwnProperty("data")?(p.data.hasOwnProperty("code")&&401==p.data.code&&s.default.prototype.$store.commit("logout"),p.data.hasOwnProperty("code")&&1==p.data.code?(p.data.msg?a&&g(p.data.msg):uni.hideToast(),e(p.data.data)):(p.data.hasOwnProperty("msg")?a&&g(p.data.msg):a&&g("返回参数错误"),e(!1))):(a&&g("不能识别数据"),e(!1))}})));case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),y=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];console.log(1111111111,e),n&&!s.default.prototype.$store.state.hasLogin&&(e="/pages/public/login"),uni.navigateTo({url:e})};s.default.config.productionTip=!1,s.default.prototype.$fire=new s.default,s.default.prototype.$store=u.default,s.default.prototype.$api={msg:g,prePage:d,checkLogin:p,request:f,deepCopy:l,navTo:y},c.default.mpType="app";var m=new s.default((0,a.default)({},c.default));m.$mount()},e467:function(e,n,o){"use strict";var t=o("c006"),a=o.n(t);a.a},e490:function(e,n,o){"use strict";o.r(n);var t=o("86f1"),a=o("b7c6");for(var r in a)"default"!==r&&function(e){o.d(n,e,(function(){return a[e]}))}(r);o("e467");var i,s=o("f0c5"),u=Object(s["a"])(a["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],i);n["default"]=u.exports},fac5:function(e,n,o){var t=o("24fb");n=t(!1),n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* project id 1729059 */@font-face{font-family:unishop;font-weight:400;font-style:normal;src:url(https://at.alicdn.com/t/font_1729059_llr8d2acjac.ttf) format("truetype")}.yticon{font-family:unishop!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-shouhuodizhi:before{content:"\\e6b5"}.icon-xuanzhong:before{content:"\\e64c"}.icon-fenlei:before{content:"\\e71b"}.icon-bianji:before{content:"\\e77d"}.icon-jiahao:before{content:"\\e616"}.icon-jianhao:before{content:"\\e617"}.icon-wxpay:before{content:"\\e607"}.icon-pay:before{content:"\\e624"}.icon-alipay:before{content:"\\e60b"}.icon-you:before{content:"\\e65f"}.icon-huoche:before{content:"\\e6f0"}.icon-shoucang:before{content:"\\e60a"}.icon-gouwuche:before{content:"\\e60e"}.icon-fangzi:before{content:"\\e657"}.icon-daifukuan:before{content:"\\e601"}.icon-daifahuo:before{content:"\\e704"}.icon-daishouhuo:before{content:"\\e62f"}.icon-pingjia:before{content:"\\e61d"}.icon-shouhou:before{content:"\\e610"}.icon-shoucang-setting:before{content:"\\e612"}.icon-setting:before{content:"\\e62b"}.icon-dizhi:before{content:"\\e67c"}.icon-lajitong:before{content:"\\e615"}uni-view,\nuni-scroll-view,\nuni-swiper,\nuni-swiper-item,\nuni-cover-view,\nuni-cover-image,\nuni-icon,\nuni-text,\nuni-rich-text,\nuni-progress,\nuni-button,\nuni-checkbox,\nuni-form,\nuni-input,\nuni-label,\nuni-radio,\nuni-slider,\nuni-switch,\nuni-textarea,\nuni-navigator,\nuni-audio,\nuni-camera,\nuni-image,\nuni-video{box-sizing:border-box}\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\n/* 图片载入替代方案 */.image-wrapper{font-size:0;background:#f3f3f3;border-radius:4px}.image-wrapper uni-image{width:100%;height:100%;-webkit-transition:.6s;transition:.6s;opacity:0}.image-wrapper uni-image.loaded{opacity:1}.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.common-hover{background:#f5f5f5}\n/*边框*/.b-b:after,\n.b-t:after{position:absolute;z-index:3;left:0;right:0;height:0;content:"";-webkit-transform:scaleY(.5);transform:scaleY(.5);border-bottom:1px solid #e4e7ed}.b-b:after{bottom:0}.b-t:after{top:0}\n/* button样式改写 */uni-button,\nuni-button{height:%?80?%;line-height:%?80?%;font-size:%?34?%;font-weight:400}uni-button.no-border:before, uni-button.no-border:after, uni-button.no-border:before, uni-button.no-border:after{border:0}uni-button[type=default],\nuni-button[type=default]{color:#303133}\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}',""]),e.exports=n}}); \ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.c211fbb3.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.c211fbb3.js deleted file mode 100644 index ae7d375..0000000 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.c211fbb3.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function n(n){for(var t,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:t}),setTimeout((function(){uni.hideToast()}),n))},d=function(){var e=getCurrentPages(),n=e[e.length-2];return n},p=function(){return new Promise((function(e){0==s.default.prototype.$store.state.hasLogin?uni.showModal({cancelText:"Cancel",confirmText:"OK",title:"温馨提示",content:"你还没登录,请先登录",success:function(n){if(n.confirm){var o="/pages/public/login";uni.navigateTo({url:o})}e(!1)}}):e(!0)}))},l=function e(n,o){o=o||{};for(var t in n)"object"===typeof n[t]?(o[t]=n[t].constructor===Array?[]:{},e(n[t],o[t])):o[t]=n[t];return o},f=function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(n){var o,t,a,i,u,c,d,p,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=l.length>1&&void 0!==l[1]?l[1]:"GET",t=l.length>2&&void 0!==l[2]?l[2]:{},a=!(l.length>3&&void 0!==l[3])||l[3],i={"content-type":"application/x-www-form-urlencoded",lang:s.default.prototype.$store.state.lang,platform:s.default.prototype.$platform},s.default.prototype.$store.state.userInfo.token&&(i.token=s.default.prototype.$store.state.userInfo.token),s.default.prototype.$store.state.cookie&&(i.cookie=s.default.prototype.$store.state.cookie),e.next=8,uni.request({url:s.default.prototype.$unishow+n,method:o,header:i,data:t,timeout:5e3});case 8:return u=e.sent,c=(0,r.default)(u,2),d=c[0],p=c[1],"/pay/submit"==n&&console.log(p),e.abrupt("return",new Promise((function(e){if(d&&(a&&g(JSON.stringify(p)),e(!1)),p){if(p.header.hasOwnProperty("Set-Cookie")){var n=p.header["Set-Cookie"].replace("; path=/","");s.default.prototype.$store.commit("setCookie",n)}p.hasOwnProperty("data")?(p.data.hasOwnProperty("code")&&401==p.data.code&&s.default.prototype.$store.commit("logout"),p.data.hasOwnProperty("code")&&1==p.data.code?(p.data.msg?a&&g(p.data.msg):uni.hideToast(),e(p.data.data)):(p.data.hasOwnProperty("msg")?a&&g(p.data.msg):a&&g("返回参数错误"),e(!1))):(a&&g("不能识别数据"),e(!1))}})));case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),y=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];console.log(1111111111,e),n&&!s.default.prototype.$store.state.hasLogin&&(e="/pages/public/login"),uni.navigateTo({url:e})};s.default.config.productionTip=!1,s.default.prototype.$fire=new s.default,s.default.prototype.$store=u.default,s.default.prototype.$api={msg:g,prePage:d,checkLogin:p,request:f,deepCopy:l,navTo:y},c.default.mpType="app";var m=new s.default((0,a.default)({},c.default));m.$mount()},e467:function(e,n,o){"use strict";var t=o("c006"),a=o.n(t);a.a},e490:function(e,n,o){"use strict";o.r(n);var t=o("86f1"),a=o("b7c6");for(var r in a)"default"!==r&&function(e){o.d(n,e,(function(){return a[e]}))}(r);o("e467");var i,s=o("f0c5"),u=Object(s["a"])(a["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],i);n["default"]=u.exports},fac5:function(e,n,o){var t=o("24fb");n=t(!1),n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* project id 1729059 */@font-face{font-family:unishop;font-weight:400;font-style:normal;src:url(https://at.alicdn.com/t/font_1729059_llr8d2acjac.ttf) format("truetype")}.yticon{font-family:unishop!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-shouhuodizhi:before{content:"\\e6b5"}.icon-xuanzhong:before{content:"\\e64c"}.icon-fenlei:before{content:"\\e71b"}.icon-bianji:before{content:"\\e77d"}.icon-jiahao:before{content:"\\e616"}.icon-jianhao:before{content:"\\e617"}.icon-wxpay:before{content:"\\e607"}.icon-pay:before{content:"\\e624"}.icon-alipay:before{content:"\\e60b"}.icon-you:before{content:"\\e65f"}.icon-huoche:before{content:"\\e6f0"}.icon-shoucang:before{content:"\\e60a"}.icon-gouwuche:before{content:"\\e60e"}.icon-fangzi:before{content:"\\e657"}.icon-daifukuan:before{content:"\\e601"}.icon-daifahuo:before{content:"\\e704"}.icon-daishouhuo:before{content:"\\e62f"}.icon-pingjia:before{content:"\\e61d"}.icon-shouhou:before{content:"\\e610"}.icon-shoucang-setting:before{content:"\\e612"}.icon-setting:before{content:"\\e62b"}.icon-dizhi:before{content:"\\e67c"}.icon-lajitong:before{content:"\\e615"}uni-view,\nuni-scroll-view,\nuni-swiper,\nuni-swiper-item,\nuni-cover-view,\nuni-cover-image,\nuni-icon,\nuni-text,\nuni-rich-text,\nuni-progress,\nuni-button,\nuni-checkbox,\nuni-form,\nuni-input,\nuni-label,\nuni-radio,\nuni-slider,\nuni-switch,\nuni-textarea,\nuni-navigator,\nuni-audio,\nuni-camera,\nuni-image,\nuni-video{box-sizing:border-box}\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\n/* 图片载入替代方案 */.image-wrapper{font-size:0;background:#f3f3f3;border-radius:4px}.image-wrapper uni-image{width:100%;height:100%;-webkit-transition:.6s;transition:.6s;opacity:0}.image-wrapper uni-image.loaded{opacity:1}.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.common-hover{background:#f5f5f5}\n/*边框*/.b-b:after,\n.b-t:after{position:absolute;z-index:3;left:0;right:0;height:0;content:"";-webkit-transform:scaleY(.5);transform:scaleY(.5);border-bottom:1px solid #e4e7ed}.b-b:after{bottom:0}.b-t:after{top:0}\n/* button样式改写 */uni-button,\nuni-button{height:%?80?%;line-height:%?80?%;font-size:%?34?%;font-weight:400}uni-button.no-border:before, uni-button.no-border:after, uni-button.no-border:before, uni-button.no-border:after{border:0}uni-button[type=default],\nuni-button[type=default]{color:#303133}\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}',""]),e.exports=n}}); \ No newline at end of file