服务器提交
This commit is contained in:
10
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.js
Executable file
10
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.js
Executable file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/mp-html/components/mp-html/mp-html"],{"017a":function(t,e,n){"use strict";n.r(e);var i=n("90800"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"24e9":function(t,e,n){"use strict";n.r(e);var i=n("2dfd"),o=n("017a");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("46cd");var r=n("828b"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"2dfd":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"46cd":function(t,e,n){"use strict";var i=n("8e9b"),o=n.n(i);o.a},"8e9b":function(t,e,n){},90800:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("a485")),a=[],r={name:"mp-html",data:function(){return{nodes:[]}},props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},components:{node:function(){n.e("uni_modules/mp-html/components/mp-html/node/node").then(function(){return resolve(n("07ae"))}.bind(null,n)).catch(n.oe)}},watch:{content:function(t){this.setContent(t)}},created:function(){this.plugins=[];for(var t=a.length;t--;)this.plugins.push(new a[t](this))},mounted:function(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy:function(){this._hook("onDetached")},methods:{in:function(t,e,n){t&&e&&n&&(this._in={page:t,selector:e,scrollTop:n})},navigateTo:function(e,n){var i=this;return new Promise((function(o,a){if(i.useAnchor){n=n||parseInt(i.useAnchor)||0;">>>";var r=t.createSelectorQuery().in(i._in?i._in.page:i).select((i._in?i._in.selector:"._root")+(e?"".concat(">>>","#").concat(e):"")).boundingClientRect();i._in?r.select(i._in.selector).scrollOffset().select(i._in.selector).boundingClientRect():r.selectViewport().scrollOffset(),r.exec((function(e){if(e[0]){var r=e[1].scrollTop+e[0].top-(e[2]?e[2].top:0)+n;i._in?i._in.page[i._in.scrollTop]=r:t.pageScrollTo({scrollTop:r,duration:300}),o()}else a(Error("Label not found"))}))}else a(Error("Anchor is disabled"))}))},getText:function(t){var e="";return function t(n){for(var i=0;i<n.length;i++){var o=n[i];if("text"===o.type)e+=o.text.replace(/&/g,"&");else if("br"===o.name)e+="\n";else{var a="p"===o.name||"div"===o.name||"tr"===o.name||"li"===o.name||"h"===o.name[0]&&o.name[1]>"0"&&o.name[1]<"7";a&&e&&"\n"!==e[e.length-1]&&(e+="\n"),o.children&&t(o.children),a&&"\n"!==e[e.length-1]?e+="\n":"td"!==o.name&&"th"!==o.name||(e+="\t")}}}(t||this.nodes),e},getRect:function(){var e=this;return new Promise((function(n,i){t.createSelectorQuery().in(e).select("#_root").boundingClientRect().exec((function(t){return t[0]?n(t[0]):i(Error("Root label not found"))}))}))},pauseMedia:function(){for(var t=(this._videos||[]).length;t--;)this._videos[t].pause()},setPlaybackRate:function(t){this.playbackRate=t;for(var e=(this._videos||[]).length;e--;)this._videos[e].playbackRate(t)},setContent:function(t,e){var n=this;e&&this.imgList||(this.imgList=[]);var i=new o.default(this).parse(t);if(this.$set(this,"nodes",e?(this.nodes||[]).concat(i):i),this._videos=[],this.$nextTick((function(){n._hook("onLoad"),n.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs<this.imgList.length/2){var a=0,r=function t(e){e&&e.height||(e={}),e.height===a?n.$emit("ready",e):(a=e.height,setTimeout((function(){n.getRect().then(t).catch(t)}),350))};this.getRect().then(r).catch(r)}else this.imgList._unloadimgs||this.getRect().then((function(t){n.$emit("ready",t)})).catch((function(){n.$emit("ready",{})}))},_hook:function(t){for(var e=a.length;e--;)this.plugins[e][t]&&this.plugins[e][t]()}}};e.default=r}).call(this,n("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/mp-html/components/mp-html/mp-html-create-component',
|
||||
{
|
||||
'uni_modules/mp-html/components/mp-html/mp-html-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("24e9"))
|
||||
})
|
||||
},
|
||||
[['uni_modules/mp-html/components/mp-html/mp-html-create-component']]
|
||||
]);
|
||||
6
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.json
Executable file
6
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"node": "/uni_modules/mp-html/components/mp-html/node/node"
|
||||
}
|
||||
}
|
||||
1
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.wxml
Executable file
1
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.wxml
Executable file
@@ -0,0 +1 @@
|
||||
<view class="{{[(selectable?'_select ':'')+'_root']}}" style="{{(containerStyle)}}" id="_root"><block wx:if="{{!nodes[0]}}"><slot></slot></block><block wx:else><node vue-id="da9eaef6-1" childs="{{nodes}}" opts="{{[lazyLoad,loadingImg,errorImg,showImgMenu,selectable]}}" name="span" bind:__l="__l"></node></block></view>
|
||||
1
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.wxss
Executable file
1
public/weapp/uni_modules/mp-html/components/mp-html/mp-html.wxss
Executable file
@@ -0,0 +1 @@
|
||||
._root{padding:1px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._select{-webkit-user-select:text;user-select:text}
|
||||
10
public/weapp/uni_modules/mp-html/components/mp-html/node/node.js
Executable file
10
public/weapp/uni_modules/mp-html/components/mp-html/node/node.js
Executable file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/mp-html/components/mp-html/node/node"],{"07ae":function(t,e,r){"use strict";r.r(e);var i=r("70b1"),o=r("a90a");for(var n in o)["default"].indexOf(n)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(n);r("61ac");var s=r("828b"),a=r("a796"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);"function"===typeof a["a"]&&Object(a["a"])(c),e["default"]=c.exports},"61ac":function(t,e,r){"use strict";var i=r("d6216"),o=r.n(i);o.a},"70b1":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"71c6":function(t,e,r){"use strict";(function(t){var i=r("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r("7ca3"));function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var a={name:"node",options:{virtualHost:!0},data:function(){return{ctrl:{},isiOS:t.getSystemInfoSync().system.includes("iOS")}},props:{name:String,attrs:{type:Object,default:function(){return{}}},childs:Array,opts:Array},components:{node:function(){Promise.resolve().then(function(){return resolve(r("07ae"))}.bind(null,r)).catch(r.oe)}},mounted:function(){var t=this;this.$nextTick((function(){for(t.root=t.$parent;"mp-html"!==t.root.$options.name;t.root=t.root.$parent);}))},beforeDestroy:function(){},methods:{toJSON:function(){return this},play:function(e){var r=e.currentTarget.dataset.i,i=this.childs[r];if(this.root.$emit("play",{source:i.name,attrs:s(s({},i.attrs),{},{src:i.src[this.ctrl[r]||0]})}),this.root.pauseVideo){for(var o=!1,n=e.target.id,a=this.root._videos.length;a--;)this.root._videos[a].id===n?o=!0:this.root._videos[a].pause();if(!o){var c=t.createVideoContext(n,this);c.id=n,this.root.playbackRate&&c.playbackRate(this.root.playbackRate),this.root._videos.push(c)}}},imgTap:function(e){var r=this.childs[e.currentTarget.dataset.i];r.a?this.linkTap(r.a):r.attrs.ignore||(this.root.$emit("imgtap",r.attrs),this.root.previewImg&&t.previewImage({showmenu:this.root.showImgMenu,current:parseInt(r.attrs.i),urls:this.root.imgList}))},imgLongTap:function(t){},imgLoad:function(t){var e=t.currentTarget.dataset.i;this.childs[e].w?(this.opts[1]&&!this.ctrl[e]||-1===this.ctrl[e])&&this.$set(this.ctrl,e,1):this.$set(this.ctrl,e,t.detail.width),this.checkReady()},checkReady:function(){var t=this;this.root&&!this.root.lazyLoad&&(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout((function(){t.root.getRect().then((function(e){t.root.$emit("ready",e)})).catch((function(){t.root.$emit("ready",{})}))}),350))},linkTap:function(e){var r=e.currentTarget?this.childs[e.currentTarget.dataset.i]:{},i=r.attrs||e,o=i.href;this.root.$emit("linktap",Object.assign({innerText:this.root.getText(r.children||[])},i)),o&&("#"===o[0]?this.root.navigateTo(o.substring(1)).catch((function(){})):o.split("?")[0].includes("://")?this.root.copyLink&&t.setClipboardData({data:o,success:function(){return t.showToast({title:"链接已复制"})}}):t.navigateTo({url:o,fail:function(){t.switchTab({url:o,fail:function(){}})}}))},mediaError:function(t){var e=t.currentTarget.dataset.i,r=this.childs[e];if("video"===r.name||"audio"===r.name){var i=(this.ctrl[e]||0)+1;if(i>r.src.length&&(i=0),i<r.src.length)return void this.$set(this.ctrl,e,i)}else"img"===r.name&&(this.opts[2]&&this.$set(this.ctrl,e,-1),this.checkReady());this.root&&this.root.$emit("error",{source:r.name,attrs:r.attrs,errMsg:t.detail.errMsg})}}};e.default=a}).call(this,r("df3c")["default"])},a796:function(t,e,r){"use strict";e["a"]=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])}},a90a:function(t,e,r){"use strict";r.r(e);var i=r("71c6"),o=r.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},d6216:function(t,e,r){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/mp-html/components/mp-html/node/node-create-component',
|
||||
{
|
||||
'uni_modules/mp-html/components/mp-html/node/node-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("07ae"))
|
||||
})
|
||||
},
|
||||
[['uni_modules/mp-html/components/mp-html/node/node-create-component']]
|
||||
]);
|
||||
6
public/weapp/uni_modules/mp-html/components/mp-html/node/node.json
Executable file
6
public/weapp/uni_modules/mp-html/components/mp-html/node/node.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"node": "/uni_modules/mp-html/components/mp-html/node/node"
|
||||
}
|
||||
}
|
||||
29
public/weapp/uni_modules/mp-html/components/mp-html/node/node.wxml
Executable file
29
public/weapp/uni_modules/mp-html/components/mp-html/node/node.wxml
Executable file
File diff suppressed because one or more lines are too long
24
public/weapp/uni_modules/mp-html/components/mp-html/node/node.wxss
Executable file
24
public/weapp/uni_modules/mp-html/components/mp-html/node/node.wxss
Executable file
@@ -0,0 +1,24 @@
|
||||
._a{padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}._hover{text-decoration:underline;opacity:.7}._img{max-width:100%;-webkit-touch-callout:none}._block{display:block}._b,
|
||||
._strong{font-weight:700}._code{font-family:monospace}._del{text-decoration:line-through}._em,
|
||||
._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.83em}._h6{font-size:.67em}._h1,
|
||||
._h2,
|
||||
._h3,
|
||||
._h4,
|
||||
._h5,
|
||||
._h6{display:block;font-weight:700}._image{height:1px}._ins{text-decoration:underline}._li{display:list-item}._ol{list-style-type:decimal}._ol,
|
||||
._ul{display:block;padding-left:40px;margin:1em 0}._q::before{content:'"'}._q::after{content:'"'}._sub{font-size:smaller;vertical-align:sub}._sup{font-size:smaller;vertical-align:super}._thead,
|
||||
._tbody,
|
||||
._tfoot{display:table-row-group}._tr{display:table-row}._td,
|
||||
._th{display:table-cell;vertical-align:middle}._th{font-weight:700;text-align:center}._ul{list-style-type:disc}._ul ._ul{margin:0;list-style-type:circle}._ul ._ul ._ul{list-style-type:square}._abbr,
|
||||
._b,
|
||||
._code,
|
||||
._del,
|
||||
._em,
|
||||
._i,
|
||||
._ins,
|
||||
._label,
|
||||
._q,
|
||||
._span,
|
||||
._strong,
|
||||
._sub,
|
||||
._sup{display:inline}
|
||||
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item"],{"04e4":function(e,t,n){},5675:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={props:{weeks:{type:Object,default:function(){return{}}},calendar:{type:Object,default:function(){return{}}},selected:{type:Array,default:function(){return[]}},lunar:{type:Boolean,default:!1},checkHover:{type:Boolean,default:!1}},methods:{choiceDate:function(e){this.$emit("change",e)},handleMousemove:function(e){this.$emit("handleMouse",e)}}};t.default=u},7601:function(e,t,n){"use strict";var u=n("04e4"),c=n.n(u);c.a},"9e27":function(e,t,n){"use strict";n.r(t);var u=n("5675"),c=n.n(u);for(var a in u)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(a);t["default"]=c.a},c078:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){}));var u=function(){var e=this.$createElement;this._self._c},c=[]},e128:function(e,t,n){"use strict";n.r(t);var u=n("c078"),c=n("9e27");for(var a in c)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(a);n("7601");var i=n("828b"),r=Object(i["a"])(c["default"],u["b"],u["c"],!1,null,"c2a16ef2",null,!1,u["a"],void 0);t["default"]=r.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item-create-component',
|
||||
{
|
||||
'uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("e128"))
|
||||
})
|
||||
},
|
||||
[['uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['tap',[['choiceDate',['$0'],['weeks']]]],['mouseenter',[['handleMousemove',['$0'],['weeks']]]]]}}" class="{{['uni-calendar-item__weeks-box','data-v-c2a16ef2',(weeks.disable)?'uni-calendar-item--disable':'',(weeks.beforeMultiple)?'uni-calendar-item--before-checked-x':'',(weeks.multiple)?'uni-calendar-item--multiple':'',(weeks.afterMultiple)?'uni-calendar-item--after-checked-x':'']}}" bindtap="__e" bindmouseenter="__e"><view class="{{['uni-calendar-item__weeks-box-item','data-v-c2a16ef2',(calendar.fullDate===weeks.fullDate&&(calendar.userChecked||!checkHover))?'uni-calendar-item--checked':'',(checkHover)?'uni-calendar-item--checked-range-text':'',(weeks.beforeMultiple)?'uni-calendar-item--before-checked':'',(weeks.multiple)?'uni-calendar-item--multiple':'',(weeks.afterMultiple)?'uni-calendar-item--after-checked':'',(weeks.disable)?'uni-calendar-item--disable':'']}}"><block wx:if="{{selected&&weeks.extraInfo}}"><text class="uni-calendar-item__weeks-box-circle data-v-c2a16ef2"></text></block><text class="uni-calendar-item__weeks-box-text uni-calendar-item__weeks-box-text-disable uni-calendar-item--checked-text data-v-c2a16ef2">{{weeks.date}}</text></view><view class="{{['data-v-c2a16ef2',(weeks.isDay)?'uni-calendar-item--isDay':'']}}"></view></view>
|
||||
@@ -0,0 +1,3 @@
|
||||
.uni-calendar-item__weeks-box.data-v-c2a16ef2{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:1px 0;position:relative}.uni-calendar-item__weeks-box-text.data-v-c2a16ef2{font-size:14px;font-weight:700;color:#455997}.uni-calendar-item__weeks-lunar-text.data-v-c2a16ef2{font-size:12px;color:#333}.uni-calendar-item__weeks-box-item.data-v-c2a16ef2{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px}.uni-calendar-item__weeks-box-circle.data-v-c2a16ef2{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:8px;background-color:#dd524d}.uni-calendar-item__weeks-box .uni-calendar-item--disable.data-v-c2a16ef2{cursor:default}.uni-calendar-item--disable .uni-calendar-item__weeks-box-text-disable.data-v-c2a16ef2{color:#d1d1d1}.uni-calendar-item--isDay.data-v-c2a16ef2{position:absolute;top:10px;right:17%;background-color:#dd524d;width:6px;height:6px;border-radius:50%}.uni-calendar-item--extra.data-v-c2a16ef2{color:#dd524d;opacity:.8}.uni-calendar-item__weeks-box .uni-calendar-item--checked.data-v-c2a16ef2{background-color:#007aff;border-radius:50%;box-sizing:border-box;border:3px solid #fff}.uni-calendar-item--checked .uni-calendar-item--checked-text.data-v-c2a16ef2{color:#fff}.uni-calendar-item--multiple .uni-calendar-item--checked-range-text.data-v-c2a16ef2{color:#333}.uni-calendar-item--multiple.data-v-c2a16ef2{background-color:#f6f7fc}.uni-calendar-item--multiple .uni-calendar-item--before-checked.data-v-c2a16ef2,
|
||||
.uni-calendar-item--multiple .uni-calendar-item--after-checked.data-v-c2a16ef2{background-color:#409eff;border-radius:50%;box-sizing:border-box;border:3px solid #f6f7fc}.uni-calendar-item--before-checked .uni-calendar-item--checked-text.data-v-c2a16ef2,
|
||||
.uni-calendar-item--after-checked .uni-calendar-item--checked-text.data-v-c2a16ef2{color:#fff}.uni-calendar-item--before-checked-x.data-v-c2a16ef2{border-top-left-radius:50px;border-bottom-left-radius:50px;box-sizing:border-box;background-color:#f6f7fc}.uni-calendar-item--after-checked-x.data-v-c2a16ef2{border-top-right-radius:50px;border-bottom-right-radius:50px;background-color:#f6f7fc}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/components/uni-icons/uni-icons",
|
||||
"calendar-item": "/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item",
|
||||
"time-picker": "/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.uni-calendar.data-v-4c83cca8{display:flex;flex-direction:column}.uni-calendar__mask.data-v-4c83cca8{position:fixed;bottom:0;top:0;left:0;right:0;background-color:rgba(0,0,0,.4);transition-property:opacity;transition-duration:.3s;opacity:0;z-index:99}.uni-calendar--mask-show.data-v-4c83cca8{opacity:1}.uni-calendar--fixed.data-v-4c83cca8{position:fixed;bottom:calc(0px);left:0;right:0;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;-webkit-transform:translateY(460px);transform:translateY(460px);z-index:99}.uni-calendar--ani-show.data-v-4c83cca8{-webkit-transform:translateY(0);transform:translateY(0)}.uni-calendar__content.data-v-4c83cca8{background-color:#fff}.uni-calendar__content-mobile.data-v-4c83cca8{border-top-left-radius:10px;border-top-right-radius:10px;box-shadow:0 0 5px 3px rgba(0,0,0,.1)}.uni-calendar__header.data-v-4c83cca8{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:50px}.uni-calendar__header-mobile.data-v-4c83cca8{padding:10px;padding-bottom:0}.uni-calendar--fixed-top.data-v-4c83cca8{display:flex;flex-direction:row;justify-content:space-between;border-top-color:rgba(0,0,0,.4);border-top-style:solid;border-top-width:1px}.uni-calendar--fixed-width.data-v-4c83cca8{width:50px}.uni-calendar__backtoday.data-v-4c83cca8{position:absolute;right:0;top:25rpx;padding:0 5px;padding-left:10px;height:25px;line-height:25px;font-size:12px;border-top-left-radius:25px;border-bottom-left-radius:25px;color:#fff;background-color:#f1f1f1}.uni-calendar__header-text.data-v-4c83cca8{text-align:center;width:100px;font-size:15px;color:#666}.uni-calendar__button-text.data-v-4c83cca8{text-align:center;width:100px;font-size:14px;color:#007aff;letter-spacing:3px}.uni-calendar__header-btn-box.data-v-4c83cca8{display:flex;flex-direction:row;align-items:center;justify-content:center;width:50px;height:50px}.uni-calendar__header-btn.data-v-4c83cca8{width:9px;height:9px;border-left-color:grey;border-left-style:solid;border-left-width:1px;border-top-color:#555;border-top-style:solid;border-top-width:1px}.uni-calendar--left.data-v-4c83cca8{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.uni-calendar--right.data-v-4c83cca8{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.uni-calendar__weeks.data-v-4c83cca8{position:relative;display:flex;flex-direction:row}.uni-calendar__weeks-item.data-v-4c83cca8{flex:1}.uni-calendar__weeks-day.data-v-4c83cca8{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;height:40px;border-bottom-color:#f5f5f5;border-bottom-style:solid;border-bottom-width:1px}.uni-calendar__weeks-day-text.data-v-4c83cca8{font-size:12px;color:#b2b2b2}.uni-calendar__box.data-v-4c83cca8{position:relative;padding-bottom:7px}.uni-calendar__box-bg.data-v-4c83cca8{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0}.uni-calendar__box-bg-text.data-v-4c83cca8{font-size:200px;font-weight:700;color:#999;opacity:.1;text-align:center;line-height:1}.uni-date-changed.data-v-4c83cca8{padding:0 10px;text-align:center;color:#333;border-top-color:#dcdcdc;border-top-style:solid;border-top-width:1px;flex:1}.uni-date-btn--ok.data-v-4c83cca8{padding:20px 15px}.uni-date-changed--time-start.data-v-4c83cca8{display:flex;align-items:center}.uni-date-changed--time-end.data-v-4c83cca8{display:flex;align-items:center}.uni-date-changed--time-date.data-v-4c83cca8{color:#999;line-height:50px;margin-right:5px}.time-picker-style.data-v-4c83cca8{display:flex;justify-content:center;align-items:center}.mr-10.data-v-4c83cca8{margin-right:10px}.dialog-close.data-v-4c83cca8{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:row;align-items:center;padding:0 25px;margin-top:10px}.dialog-close-plus.data-v-4c83cca8{width:16px;height:2px;background-color:#737987;border-radius:2px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.dialog-close-rotate.data-v-4c83cca8{position:absolute;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.uni-datetime-picker--btn.data-v-4c83cca8{border-radius:100px;height:40px;line-height:40px;background-color:#007aff;color:#fff;font-size:16px;letter-spacing:5px}.uni-datetime-picker--btn.data-v-4c83cca8:active{opacity:.7}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-datetime-picker"><view data-event-opts="{{[['tap',[['initTimePicker',['$event']]]]]}}" bindtap="__e"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><view class="{{['uni-datetime-picker-timebox-pointer',(disabled)?'uni-datetime-picker-disabled':'',(border)?'uni-datetime-picker-timebox':'']}}"><text class="uni-datetime-picker-text">{{time}}</text><block wx:if="{{!time}}"><view class="uni-datetime-picker-time"><text class="uni-datetime-picker-text">{{selectTimeText}}</text></view></block></view></block></view><block wx:if="{{visible}}"><view class="uni-datetime-picker-mask" id="mask" data-event-opts="{{[['tap',[['tiggerTimePicker',['$event']]]]]}}" bindtap="__e"></view></block><block wx:if="{{visible}}"><view class="{{['uni-datetime-picker-popup',dateShow&&timeShow?'':'fix-nvue-height']}}" style="{{(fixNvueBug)}}"><view class="uni-title"><text class="uni-datetime-picker-text">{{selectTimeText}}</text></view><block wx:if="{{dateShow}}"><view class="uni-datetime-picker__container-box"><picker-view class="uni-datetime-picker-view" indicator-style="{{indicatorStyle}}" value="{{ymd}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m0}}</text></view></block></picker-view-column><picker-view-column><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m1}}</text></view></block></picker-view-column><picker-view-column><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m2}}</text></view></block></picker-view-column></picker-view><text class="uni-datetime-picker-sign sign-left">-</text><text class="uni-datetime-picker-sign sign-right">-</text></view></block><block wx:if="{{timeShow}}"><view class="uni-datetime-picker__container-box"><picker-view class="{{['uni-datetime-picker-view',hideSecond?'time-hide-second':'']}}" indicator-style="{{indicatorStyle}}" value="{{hms}}" data-event-opts="{{[['change',[['bindTimeChange',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m3}}</text></view></block></picker-view-column><picker-view-column><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m4}}</text></view></block></picker-view-column><block wx:if="{{!hideSecond}}"><picker-view-column><block wx:for="{{$root.l5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.m5}}</text></view></block></picker-view-column></block></picker-view><text class="{{['uni-datetime-picker-sign',hideSecond?'sign-center':'sign-left']}}">:</text><block wx:if="{{!hideSecond}}"><text class="uni-datetime-picker-sign sign-right">:</text></block></view></block><view class="uni-datetime-picker-btn"><view data-event-opts="{{[['tap',[['clearTime',['$event']]]]]}}" bindtap="__e"><text class="uni-datetime-picker-btn-text">{{clearText}}</text></view><view class="uni-datetime-picker-btn-group"><view data-event-opts="{{[['tap',[['tiggerTimePicker',['$event']]]]]}}" class="uni-datetime-picker-cancel" bindtap="__e"><text class="uni-datetime-picker-btn-text">{{cancelText}}</text></view><view data-event-opts="{{[['tap',[['setTime',['$event']]]]]}}" bindtap="__e"><text class="uni-datetime-picker-btn-text">{{okText}}</text></view></view></view></view></block></view>
|
||||
@@ -0,0 +1 @@
|
||||
.uni-datetime-picker-view{height:130px;width:270px;cursor:pointer}.uni-datetime-picker-item{height:50px;line-height:50px;text-align:center;font-size:14px}.uni-datetime-picker-btn{margin-top:60px;display:flex;cursor:pointer;flex-direction:row;justify-content:space-between}.uni-datetime-picker-btn-text{font-size:14px;color:#007aff}.uni-datetime-picker-btn-group{display:flex;flex-direction:row}.uni-datetime-picker-cancel{margin-right:30px}.uni-datetime-picker-mask{position:fixed;bottom:0;top:0;left:0;right:0;background-color:rgba(0,0,0,.4);transition-duration:.3s;z-index:998}.uni-datetime-picker-popup{border-radius:8px;padding:30px;width:270px;background-color:#fff;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);transition-duration:.3s;z-index:999}.uni-datetime-picker-time{color:grey}.uni-datetime-picker-column{height:50px}.uni-datetime-picker-timebox{border:1px solid #e5e5e5;border-radius:5px;padding:7px 10px;box-sizing:border-box;cursor:pointer}.uni-datetime-picker-timebox-pointer{cursor:pointer}.uni-datetime-picker-disabled{opacity:.4}.uni-datetime-picker-text{font-size:14px}.uni-datetime-picker-sign{position:absolute;top:53px;color:#999}.sign-left{left:86px}.sign-right{right:86px}.sign-center{left:135px}.uni-datetime-picker__container-box{position:relative;display:flex;align-items:center;justify-content:center;margin-top:40px}.time-hide-second{width:180px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/components/uni-icons/uni-icons",
|
||||
"calendar": "/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar",
|
||||
"time-picker": "/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
.uni-date-x{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 10px;border-radius:4px;background-color:#fff;color:#666;font-size:14px}.uni-date-x--border{box-sizing:border-box;border-radius:4px;border:1px solid #dcdfe6}.uni-date-editor--x{position:relative}.uni-date-editor--x .uni-date__icon-clear{position:absolute;top:0;right:0;display:inline-block;box-sizing:border-box;border:9px solid transparent}.uni-date__x-input{padding:0 8px;height:40px;width:100%;line-height:40px;font-size:14px}.t-c{text-align:center}.uni-date__input{height:40px;width:100%;line-height:40px;font-size:14px}.uni-date-range__input{text-align:center;max-width:142px}.uni-date-picker__container{position:relative}.uni-date-mask{position:fixed;bottom:0;top:0;left:0;right:0;background-color:transparent;transition-duration:.3s;z-index:996}.uni-date-single--x{background-color:#fff;position:absolute;top:0;z-index:999;border:1px solid #ebeef5;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px}.uni-date-range--x{background-color:#fff;position:absolute;top:0;z-index:999;border:1px solid #ebeef5;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px}.uni-date-editor--x__disabled{opacity:.4;cursor:default}.uni-date-editor--logo{width:16px;height:16px;vertical-align:middle}.popup-x-header{display:flex;flex-direction:row}.popup-x-header--datetime{display:flex;flex-direction:row;flex:1}.popup-x-body{display:flex}.popup-x-footer{padding:0 15px;border-top-color:#f1f1f1;border-top-style:solid;border-top-width:1px;line-height:40px;text-align:right;color:#666}.popup-x-footer text:hover{color:#007aff;cursor:pointer;opacity:.8}.popup-x-footer .confirm{margin-left:20px;color:#007aff}.uni-date-changed{text-align:center;color:#333;border-bottom-color:#f1f1f1;border-bottom-style:solid;border-bottom-width:1px}.uni-date-changed--time text{height:50px;line-height:50px}.uni-date-changed .uni-date-changed--time{flex:1}.uni-date-changed--time-date{color:#333;opacity:.6}.mr-50{margin-right:50px}.uni-popper__arrow,
|
||||
.uni-popper__arrow::after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.uni-popper__arrow{-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));top:-6px;left:10%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.uni-popper__arrow::after{content:" ";top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}
|
||||
10
public/weapp/uni_modules/x-skeleton/components/x-skeleton/x-skeleton.js
Executable file
10
public/weapp/uni_modules/x-skeleton/components/x-skeleton/x-skeleton.js
Executable file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/x-skeleton/components/x-skeleton/x-skeleton"],{"10cf":function(t,e,n){"use strict";var i=n("2ecd"),o=n.n(i);o.a},"2ecd":function(t,e,n){},3268:function(t,e,n){"use strict";n.r(e);var i=n("47ab"),o=n("da53");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("10cf");var a=n("828b"),s=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"67adcfb6",null,!1,i["a"],void 0);e["default"]=s.exports},"47ab":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.skeletonLoading?t.__map(t.gridRowsArr,(function(e,n){var i=t.__get_orig(e),o=t.gridRowsArr.length,r=t.gridColumnsArr.length,a=t.__map(t.gridColumnsArr,(function(e,n){var i=t.__get_orig(e),o=t.skeletonConfigs.textShow?t.__map(t.textRowsArr,(function(e,n){var i=t.__get_orig(e),o=t.textRowsArr.length;return{$orig:i,g2:o}})):null;return{$orig:i,l0:o}}));return{$orig:i,g0:o,g1:r,l1:a}})):null);t.$mp.data=Object.assign({},{$root:{l2:n}})},o=[]},c82c:function(t,e,n){"use strict";var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("8e32")),r={name:"x-skeleton",mixins:[o.default],props:{type:{type:String,default:""},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},animateTime:{type:Number|String,default:1.8},fadeOut:{type:Boolean,default:!0},fadeOutTime:{type:Number|String,default:.5},bgColor:{type:String,default:"#EAEDF5"},highlightBgColor:{type:String,default:"#F9FAFF"},configs:{type:Object,default:function(){return{}}}},computed:{gridRowsArr:function(){var t;return new Array(Number((null===(t=this.skeletonConfigs)||void 0===t?void 0:t.gridRows)||[]))},gridColumnsArr:function(){var t;return new Array(Number((null===(t=this.skeletonConfigs)||void 0===t?void 0:t.gridColumns)||[]))},textRowsArr:function(){var t;if(null===(t=this.skeletonConfigs)||void 0===t||!t.textShow)return[];/%$/.test(this.skeletonConfigs.textHeight)&&console.error("x-skeleton: textHeight参数不支持百分比单位");for(var e=[],n=0;n<this.skeletonConfigs.textRows;n++){var i=this.skeletonConfigs,o=i.gridRows,r=i.textWidth,a=i.textHeight,s={},u=this.isArray(r)?r[n]||(n===o-1?"70%":"100%"):n===o-1?"70%":r,l=this.isArray(a)?a[n]||"30rpx":a;/%$/.test(u)?s.width=u:s.width=this.addUnit(u),s.height=this.addUnit(l),e.push(s)}return e},variableStr:function(){var t=this,e=["animateTime","fadeOutTime","bgColor","highlightBgColor"].map((function(e){return e.indexOf("Time")>-1?"--".concat(e,":").concat(t[e],"s"):"--".concat(e,":").concat(t[e])})).join(";");return e}},watch:{loading:{immediate:!0,handler:function(t){var e=this;t?this.skeletonLoading=!0:this.fadeOut?(this.startFadeOut=!0,setTimeout((function(){e.skeletonLoading=!1,e.startFadeOut=!1}),1e3*this.fadeOutTime)):this.skeletonLoading=!1}},type:{immediate:!0,handler:function(t){this.skeletonConfigs="banner"===t?this.bannerConfigs():"info"===t?this.infoConfigs():"text"===t?this.textConfigs():"menu"===t?this.menuConfigs():"list"===t?this.listConfigs():"waterfall"===t?this.waterfallConfigs():this.configs||{}}}},data:function(){return{skeletonConfigs:this.configs||{},skeletonLoading:this.loading,startFadeOut:!1,width:0}},mounted:function(){},methods:{isArray:function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},addUnit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return t=String(t),/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(t)?"".concat(t).concat(e):t}}};e.default=r},da53:function(t,e,n){"use strict";n.r(e);var i=n("c82c"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/x-skeleton/components/x-skeleton/x-skeleton-create-component',
|
||||
{
|
||||
'uni_modules/x-skeleton/components/x-skeleton/x-skeleton-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("3268"))
|
||||
})
|
||||
},
|
||||
[['uni_modules/x-skeleton/components/x-skeleton/x-skeleton-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="x-skeleton data-v-67adcfb6" style="{{(variableStr)}}"><block wx:if="{{skeletonLoading}}"><view class="{{['x-skeleton__wrapper','data-v-67adcfb6',startFadeOut&&'fade-out']}}" style="{{'padding:'+(skeletonConfigs.padding)+';'}}"><block wx:for="{{$root.l2}}" wx:for-item="row" wx:for-index="rowIndex" wx:key="rowIndex"><view class="x-skeleton__wrapper__rows data-v-67adcfb6" style="{{'margin-bottom:'+(rowIndex<row.g0-1?skeletonConfigs.gridRowsGap:0)+';'}}"><block wx:for="{{row.l1}}" wx:for-item="column" wx:for-index="columnIndex" wx:key="columnIndex"><view class="x-skeleton__wrapper__columns data-v-67adcfb6" style="{{'flex-direction:'+(skeletonConfigs.itemDirection)+';'+('align-items:'+(skeletonConfigs.itemAlign)+';')+('margin-right:'+(columnIndex<row.g1-1?skeletonConfigs.gridColumnsGap:0)+';')}}"><block wx:if="{{skeletonConfigs.headShow}}"><view class="{{['x-skeleton__wrapper__head','data-v-67adcfb6',animate&&'animate']}}" style="{{'width:'+(skeletonConfigs.headWidth)+';'+('height:'+(skeletonConfigs.headHeight)+';')+('border-radius:'+(skeletonConfigs.headBorderRadius)+';')+('margin-right:'+(skeletonConfigs.itemDirection=='row'&&skeletonConfigs.textShow?skeletonConfigs.itemGap:0)+';')+('margin-bottom:'+(skeletonConfigs.itemDirection=='column'&&skeletonConfigs.textShow?skeletonConfigs.itemGap:0)+';')}}"></view></block><block wx:if="{{skeletonConfigs.textShow}}"><view class="x-skeleton__wrapper__text data-v-67adcfb6"><block wx:for="{{column.l0}}" wx:for-item="text" wx:for-index="textIndex" wx:key="textIndex"><view class="{{['x-skeleton__wrapper__text__row','data-v-67adcfb6',animate&&'animate']}}" style="{{'width:'+(text.$orig.width)+';'+('height:'+(text.$orig.height)+';')+('border-radius:'+(skeletonConfigs.textBorderRadius)+';')+('margin-bottom:'+(textIndex<text.g2-1?skeletonConfigs.textRowsGap:0)+';')}}"></view></block></view></block></view></block></view></block></view></block><block wx:else><view class="data-v-67adcfb6"><slot></slot></view></block></view>
|
||||
@@ -0,0 +1 @@
|
||||
.x-skeleton.data-v-67adcfb6{width:100%;box-sizing:border-box}.x-skeleton .x-skeleton__wrapper.data-v-67adcfb6{display:flex;flex-direction:column}.x-skeleton .x-skeleton__wrapper__rows.data-v-67adcfb6{display:flex;align-items:center;justify-content:space-between}.x-skeleton .x-skeleton__wrapper__columns.data-v-67adcfb6{display:flex;align-items:center;flex:1}.x-skeleton .x-skeleton__wrapper__head.data-v-67adcfb6{width:100%;background:linear-gradient(90deg,var(--bgColor) 25%,var(--highlightBgColor) 37%,var(--bgColor) 50%);background-size:400% 100%}.x-skeleton .x-skeleton__wrapper__text.data-v-67adcfb6{flex:1;width:100%}.x-skeleton .x-skeleton__wrapper__text__row.data-v-67adcfb6{background:linear-gradient(90deg,var(--bgColor) 25%,var(--highlightBgColor) 37%,var(--bgColor) 50%);background-size:400% 100%}.x-skeleton .fade-out.data-v-67adcfb6{opacity:0;-webkit-animation:fadeOutAnim-data-v-67adcfb6 var(--fadeOutTime);animation:fadeOutAnim-data-v-67adcfb6 var(--fadeOutTime)}@-webkit-keyframes fadeOutAnim-data-v-67adcfb6{from{opacity:1}to{opacity:0}}@keyframes fadeOutAnim-data-v-67adcfb6{from{opacity:1}to{opacity:0}}.x-skeleton .animate.data-v-67adcfb6{-webkit-animation:skeletonAnim-data-v-67adcfb6 var(--animateTime) ease infinite;animation:skeletonAnim-data-v-67adcfb6 var(--animateTime) ease infinite}@-webkit-keyframes skeletonAnim-data-v-67adcfb6{0%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes skeletonAnim-data-v-67adcfb6{0%{background-position:100% 50%}100%{background-position:0 50%}}
|
||||
Reference in New Issue
Block a user