first commit
This commit is contained in:
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.acss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view id="_root" class="{{c}}" style="{{d}}"><slot a:if="{{a}}"/><node a:else u-i="44f124fd-0" onVI="__l" u-p="{{b||''}}"/></view>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const uni_modules_mpHtml_components_mpHtml_parser=require("./parser.js");const node=()=>"./node/node.js";const plugins=[];const _sfc_main={name:"mp-html",data(){return{nodes:[]}},props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:true},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:false},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:true},previewImg:{type:[Boolean,String],default:true},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:true},showImgMenu:{type:[Boolean,String],default:true},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgtap","linktap","play","error"],components:{node:node},watch:{content(content){this.setContent(content)}},created(){this.plugins=[];for(let i=plugins.length;i--;){this.plugins.push(new plugins[i](this))}},mounted(){if(this.content&&!this.nodes.length){this.setContent(this.content)}},beforeDestroy(){this._hook("onDetached")},methods:{in(page,selector,scrollTop){if(page&&selector&&scrollTop){this._in={page:page,selector:selector,scrollTop:scrollTop}}},navigateTo(id,offset){return new Promise(((resolve,reject)=>{if(!this.useAnchor){reject(Error("Anchor is disabled"));return}offset=offset||parseInt(this.useAnchor)||0;let deep=" ";const selector=common_vendor.index.createSelectorQuery().select((this._in?this._in.selector:"._root")+(id?`${deep}#${id}`:"")).boundingClientRect();if(this._in){selector.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect()}else{selector.selectViewport().scrollOffset()}selector.exec((res=>{if(!res[0]){reject(Error("Label not found"));return}const scrollTop=res[1].scrollTop+res[0].top-(res[2]?res[2].top:0)+offset;if(this._in){this._in.page[this._in.scrollTop]=scrollTop}else{common_vendor.index.pageScrollTo({scrollTop:scrollTop,duration:300})}resolve()}))}))},getText(nodes){let text="";(function traversal(nodes2){for(let i=0;i<nodes2.length;i++){const node2=nodes2[i];if(node2.type==="text"){text+=node2.text.replace(/&/g,"&")}else if(node2.name==="br"){text+="\n"}else{const isBlock=node2.name==="p"||node2.name==="div"||node2.name==="tr"||node2.name==="li"||node2.name[0]==="h"&&node2.name[1]>"0"&&node2.name[1]<"7";if(isBlock&&text&&text[text.length-1]!=="\n"){text+="\n"}if(node2.children){traversal(node2.children)}if(isBlock&&text[text.length-1]!=="\n"){text+="\n"}else if(node2.name==="td"||node2.name==="th"){text+="\t"}}}})(nodes||this.nodes);return text},getRect(){return new Promise(((resolve,reject)=>{common_vendor.index.createSelectorQuery().select("#_root").boundingClientRect().exec((res=>res[0]?resolve(res[0]):reject(Error("Root label not found"))))}))},pauseMedia(){for(let i=(this._videos||[]).length;i--;){this._videos[i].pause()}},setPlaybackRate(rate){this.playbackRate=rate;for(let i=(this._videos||[]).length;i--;){this._videos[i].playbackRate(rate)}},setContent(content,append){if(!append||!this.imgList){this.imgList=[]}const nodes=new uni_modules_mpHtml_components_mpHtml_parser.Parser(this).parse(content);this.$set(this,"nodes",append?(this.nodes||[]).concat(nodes):nodes);this._videos=[];this.$nextTick((()=>{this._hook("onLoad");this.$emit("load")}));if(this.lazyLoad||this.imgList._unloadimgs<this.imgList.length/2){let height=0;const callback=rect=>{if(!rect||!rect.height)rect={};if(rect.height===height){this.$emit("ready",rect)}else{height=rect.height;setTimeout((()=>{this.getRect().then(callback).catch(callback)}),350)}};this.getRect().then(callback).catch(callback)}else{if(!this.imgList._unloadimgs){this.getRect().then((rect=>{this.$emit("ready",rect)})).catch((()=>{this.$emit("ready",{})}))}}},_hook(name){for(let i=plugins.length;i--;){if(this.plugins[i][name]){this.plugins[i][name]()}}}}};if(!Array){const _component_node=common_vendor.resolveComponent("node");_component_node()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:!$data.nodes[0]},!$data.nodes[0]?{}:{b:common_vendor.p({childs:$data.nodes,opts:[$props.lazyLoad,$props.loadingImg,$props.errorImg,$props.showImgMenu,$props.selectable],name:"span"})},{c:common_vendor.n(($props.selectable?"_select ":"")+"_root"),d:common_vendor.s($props.containerStyle)})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
7
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.json
vendored
Normal file
7
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/mp-html.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"node": "./node/node"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
._a{padding: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}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view id="{{b}}" class="{{c}}" style="{{d}}"><block a:for="{{a}}" a:for-item="n" a:key="aF"><image a:if="{{n.a}}" class="_img" style="{{n.b}}" src="{{n.c}}" mode="widthFix"/><rich-text a:if="{{n.d}}" style="{{n.e}}" nodes="{{n.f}}" data-i="{{n.g}}" catchTap="{{n.h}}"/><image a:elif="{{n.i}}" id="{{n.j}}" class="{{n.k}}" style="{{n.l}}" src="{{n.m}}" mode="{{n.n}}" lazy-load="{{n.o}}" webp="{{n.p}}" show-menu-by-longpress="{{n.q}}" image-menu-prevent="{{n.r}}" data-i="{{n.s}}" onLoad="{{n.t}}" onError="{{n.v}}" catchTap="{{n.w}}" onLongTap="{{n.x}}"/><text a:elif="{{n.y}}">\n</text><view a:elif="{{n.z}}" id="{{n.C}}" class="{{n.D}}" hover-class="_hover" style="{{n.E}}" data-i="{{n.F}}" catchTap="{{n.G}}"><node style="display:inherit" u-i="{{n.A}}" onVI="__l" u-p="{{n.B}}"/></view><video a:elif="{{n.H}}" id="{{n.I}}" class="{{n.J}}" style="{{n.K}}" autoplay="{{n.L}}" controls="{{n.M}}" loop="{{n.N}}" muted="{{n.O}}" object-fit="{{n.P}}" poster="{{n.Q}}" src="{{n.R}}" data-i="{{n.S}}" onPlay="{{n.T}}" onError="{{n.U}}"/><audio a:elif="{{n.V}}" id="{{n.W}}" class="{{n.X}}" style="{{n.Y}}" author="{{n.Z}}" controls="{{n.aa}}" loop="{{n.ab}}" name="{{n.ac}}" poster="{{n.ad}}" src="{{n.ae}}" data-i="{{n.af}}" onPlay="{{n.ag}}" onError="{{n.ah}}"/><view a:elif="{{n.ai}}" id="{{n.an}}" class="{{n.ao}}" style="{{n.ap}}"><node a:if="{{n.aj}}" u-i="{{n.ak}}" onVI="__l" u-p="{{n.al}}"/><block a:else><view a:for="{{n.am}}" a:for-item="tbody" a:key="e" class="{{tbody.f}}" style="{{tbody.g}}"><node a:if="{{tbody.a}}" u-i="{{tbody.b}}" onVI="__l" u-p="{{tbody.c}}"/><block a:else><block a:for="{{tbody.d}}" a:for-item="tr" a:key="i"><view a:if="{{tr.a}}" class="{{tr.d}}" style="{{tr.e}}"><node u-i="{{tr.b}}" onVI="__l" u-p="{{tr.c}}"/></view><view a:else class="{{tr.g}}" style="{{tr.h}}"><view a:for="{{tr.f}}" a:for-item="td" a:key="c" class="{{td.d}}" style="{{td.e}}"><node u-i="{{td.a}}" onVI="__l" u-p="{{td.b}}"/></view></view></block></block></view></block></view><rich-text a:elif="{{n.aq}}" id="{{n.ar}}" style="{{n.as}}" preview="{{false}}" selectable="{{n.at}}" user-select="{{n.av}}" nodes="{{n.aw}}"/><view a:elif="{{n.ax}}" id="{{n.az}}" class="{{n.aA}}" style="{{n.aB}}"><node a:for="{{n.ay}}" a:for-item="n2" a:key="a" style="{{n2.b}}" u-i="{{n2.c}}" onVI="__l" u-p="{{n2.d}}"/></view><node a:else style="{{n.aC}}" u-i="{{n.aD}}" onVI="__l" u-p="{{n.aE||''}}"/></block></view>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.json
vendored
Normal file
7
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/node/node.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"node": "./node"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/parser.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/mp-html/components/mp-html/parser.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.chartsview.data-v-a07b1241{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="chartsview data-v-a07b1241" id="{{H}}"><view a:if="{{a}}" class="data-v-a07b1241"><qiun-loading class="data-v-a07b1241" u-i="a07b1241-0" onVI="__l" u-p="{{b}}"/></view><view a:if="{{c}}" class="data-v-a07b1241" onTap="{{e}}"><qiun-error class="data-v-a07b1241" u-i="a07b1241-1" onVI="__l" u-p="{{d}}"/></view><block a:if="{{f}}"><canvas class="data-v-a07b1241" id="{{g}}" canvasId="{{h}}" width="{{i}}" height="{{j}}" style="{{'width:' + k + ';' + ('height:' + l) + ';' + ('background:' + m)}}" disable-scroll="{{n}}" onTap="{{o}}" onTouchStart="{{p}}" onTouchMove="{{q}}" onTouchEnd="{{r}}" onError="{{s}}" hidden="{{!t}}"/></block><block a:if="{{v}}"><canvas class="data-v-a07b1241" id="{{w}}" canvasId="{{x}}" width="{{y}}" height="{{z}}" style="{{'width:' + A + ';' + ('height:' + B) + ';' + ('background:' + C)}}" disable-scroll="{{D}}" onTap="{{E}}" onError="{{F}}" hidden="{{!G}}"/></block></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"qiun-loading": "../qiun-loading/qiun-loading",
|
||||
"qiun-error": "../qiun-error/qiun-error"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<view class="chartsview"><view class="charts-error"></view><view class="charts-font">{{a}}</view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.t($props.errorMessage==null?"请点击重试":$props.errorMessage)}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-a16ea79e{width:30px;height:30px;position:relative}.container.loading1.data-v-a16ea79e{transform:rotate(45deg)}.container .shape.data-v-a16ea79e{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1.data-v-a16ea79e{left:0;background-color:#1890ff}.container .shape.shape2.data-v-a16ea79e{right:0;background-color:#91cb74}.container .shape.shape3.data-v-a16ea79e{bottom:0;background-color:#fac858}.container .shape.shape4.data-v-a16ea79e{bottom:0;right:0;background-color:#e66}.loading1 .shape1.data-v-a16ea79e{animation:animation1shape1-a16ea79e .5s ease 0s infinite alternate}@keyframes animation1shape1-a16ea79e{0%{transform:translate(0)}to{transform:translate(16px,16px)}}.loading1 .shape2.data-v-a16ea79e{animation:animation1shape2-a16ea79e .5s ease 0s infinite alternate}@keyframes animation1shape2-a16ea79e{0%{transform:translate(0)}to{transform:translate(-16px,16px)}}.loading1 .shape3.data-v-a16ea79e{animation:animation1shape3-a16ea79e .5s ease 0s infinite alternate}@keyframes animation1shape3-a16ea79e{0%{transform:translate(0)}to{transform:translate(16px,-16px)}}.loading1 .shape4.data-v-a16ea79e{animation:animation1shape4-a16ea79e .5s ease 0s infinite alternate}@keyframes animation1shape4-a16ea79e{0%{transform:translate(0)}to{transform:translate(-16px,-16px)}}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container loading1 data-v-a16ea79e"><view class="shape shape1 data-v-a16ea79e"></view><view class="shape shape2 data-v-a16ea79e"></view><view class="shape shape3 data-v-a16ea79e"></view><view class="shape shape4 data-v-a16ea79e"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"loading1",data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-a16ea79e"]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-51d40d8b{width:30px;height:30px;position:relative}.container.loading2.data-v-51d40d8b{transform:rotate(10deg)}.container.loading2 .shape.data-v-51d40d8b{border-radius:5px}.container.loading2.data-v-51d40d8b{animation:rotation 1s infinite}.container .shape.data-v-51d40d8b{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1.data-v-51d40d8b{left:0;background-color:#1890ff}.container .shape.shape2.data-v-51d40d8b{right:0;background-color:#91cb74}.container .shape.shape3.data-v-51d40d8b{bottom:0;background-color:#fac858}.container .shape.shape4.data-v-51d40d8b{bottom:0;right:0;background-color:#e66}.loading2 .shape1.data-v-51d40d8b{animation:animation2shape1-51d40d8b .5s ease 0s infinite alternate}@keyframes animation2shape1-51d40d8b{0%{transform:translate(0)}to{transform:translate(20px,20px)}}.loading2 .shape2.data-v-51d40d8b{animation:animation2shape2-51d40d8b .5s ease 0s infinite alternate}@keyframes animation2shape2-51d40d8b{0%{transform:translate(0)}to{transform:translate(-20px,20px)}}.loading2 .shape3.data-v-51d40d8b{animation:animation2shape3-51d40d8b .5s ease 0s infinite alternate}@keyframes animation2shape3-51d40d8b{0%{transform:translate(0)}to{transform:translate(20px,-20px)}}.loading2 .shape4.data-v-51d40d8b{animation:animation2shape4-51d40d8b .5s ease 0s infinite alternate}@keyframes animation2shape4-51d40d8b{0%{transform:translate(0)}to{transform:translate(-20px,-20px)}}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container loading2 data-v-51d40d8b"><view class="shape shape1 data-v-51d40d8b"></view><view class="shape shape2 data-v-51d40d8b"></view><view class="shape shape3 data-v-51d40d8b"></view><view class="shape shape4 data-v-51d40d8b"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"loading2",data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-51d40d8b"]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-47408335{width:30px;height:30px;position:relative}.container.loading3.data-v-47408335{animation:rotation 1s infinite}.container.loading3 .shape1.data-v-47408335{border-top-left-radius:10px}.container.loading3 .shape2.data-v-47408335{border-top-right-radius:10px}.container.loading3 .shape3.data-v-47408335{border-bottom-left-radius:10px}.container.loading3 .shape4.data-v-47408335{border-bottom-right-radius:10px}.container .shape.data-v-47408335{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1.data-v-47408335{left:0;background-color:#1890ff}.container .shape.shape2.data-v-47408335{right:0;background-color:#91cb74}.container .shape.shape3.data-v-47408335{bottom:0;background-color:#fac858}.container .shape.shape4.data-v-47408335{bottom:0;right:0;background-color:#e66}.loading3 .shape1.data-v-47408335{animation:animation3shape1-47408335 .5s ease 0s infinite alternate}@keyframes animation3shape1-47408335{0%{transform:translate(0)}to{transform:translate(5px,5px)}}.loading3 .shape2.data-v-47408335{animation:animation3shape2-47408335 .5s ease 0s infinite alternate}@keyframes animation3shape2-47408335{0%{transform:translate(0)}to{transform:translate(-5px,5px)}}.loading3 .shape3.data-v-47408335{animation:animation3shape3-47408335 .5s ease 0s infinite alternate}@keyframes animation3shape3-47408335{0%{transform:translate(0)}to{transform:translate(5px,-5px)}}.loading3 .shape4.data-v-47408335{animation:animation3shape4-47408335 .5s ease 0s infinite alternate}@keyframes animation3shape4-47408335{0%{transform:translate(0)}to{transform:translate(-5px,-5px)}}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container loading3 data-v-47408335"><view class="shape shape1 data-v-47408335"></view><view class="shape shape2 data-v-47408335"></view><view class="shape shape3 data-v-47408335"></view><view class="shape shape4 data-v-47408335"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"loading3",data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-47408335"]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-49a6258a{width:30px;height:30px;position:relative}.container.loading5 .shape.data-v-49a6258a{width:15px;height:15px}.container .shape.data-v-49a6258a{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1.data-v-49a6258a{left:0;background-color:#1890ff}.container .shape.shape2.data-v-49a6258a{right:0;background-color:#91cb74}.container .shape.shape3.data-v-49a6258a{bottom:0;background-color:#fac858}.container .shape.shape4.data-v-49a6258a{bottom:0;right:0;background-color:#e66}.loading5 .shape1.data-v-49a6258a{animation:animation5shape1-49a6258a 2s ease 0s infinite reverse}@keyframes animation5shape1-49a6258a{0%{transform:translate(0)}25%{transform:translateY(15px)}50%{transform:translate(15px,15px)}75%{transform:translate(15px)}}.loading5 .shape2.data-v-49a6258a{animation:animation5shape2-49a6258a 2s ease 0s infinite reverse}@keyframes animation5shape2-49a6258a{0%{transform:translate(0)}25%{transform:translate(-15px)}50%{transform:translate(-15px,15px)}75%{transform:translateY(15px)}}.loading5 .shape3.data-v-49a6258a{animation:animation5shape3-49a6258a 2s ease 0s infinite reverse}@keyframes animation5shape3-49a6258a{0%{transform:translate(0)}25%{transform:translate(15px)}50%{transform:translate(15px,-15px)}75%{transform:translateY(-15px)}}.loading5 .shape4.data-v-49a6258a{animation:animation5shape4-49a6258a 2s ease 0s infinite reverse}@keyframes animation5shape4-49a6258a{0%{transform:translate(0)}25%{transform:translateY(-15px)}50%{transform:translate(-15px,-15px)}75%{transform:translate(-15px)}}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container loading5 data-v-49a6258a"><view class="shape shape1 data-v-49a6258a"></view><view class="shape shape2 data-v-49a6258a"></view><view class="shape shape3 data-v-49a6258a"></view><view class="shape shape4 data-v-49a6258a"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"loading5",data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-49a6258a"]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-08a06125{width:30px;height:30px;position:relative}.container.loading6.data-v-08a06125{animation:rotation 1s infinite}.container.loading6 .shape.data-v-08a06125{width:12px;height:12px;border-radius:2px}.container .shape.data-v-08a06125{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1.data-v-08a06125{left:0;background-color:#1890ff}.container .shape.shape2.data-v-08a06125{right:0;background-color:#91cb74}.container .shape.shape3.data-v-08a06125{bottom:0;background-color:#fac858}.container .shape.shape4.data-v-08a06125{bottom:0;right:0;background-color:#e66}.loading6 .shape1.data-v-08a06125{animation:animation6shape1-08a06125 2s linear 0s infinite normal}@keyframes animation6shape1-08a06125{0%{transform:translate(0)}25%{transform:translateY(18px)}50%{transform:translate(18px,18px)}75%{transform:translate(18px)}}.loading6 .shape2.data-v-08a06125{animation:animation6shape2-08a06125 2s linear 0s infinite normal}@keyframes animation6shape2-08a06125{0%{transform:translate(0)}25%{transform:translate(-18px)}50%{transform:translate(-18px,18px)}75%{transform:translateY(18px)}}.loading6 .shape3.data-v-08a06125{animation:animation6shape3-08a06125 2s linear 0s infinite normal}@keyframes animation6shape3-08a06125{0%{transform:translate(0)}25%{transform:translate(18px)}50%{transform:translate(18px,-18px)}75%{transform:translateY(-18px)}}.loading6 .shape4.data-v-08a06125{animation:animation6shape4-08a06125 2s linear 0s infinite normal}@keyframes animation6shape4-08a06125{0%{transform:translate(0)}25%{transform:translateY(-18px)}50%{transform:translate(-18px,-18px)}75%{transform:translate(-18px)}}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container loading6 data-v-08a06125"><view class="shape shape1 data-v-08a06125"></view><view class="shape shape2 data-v-08a06125"></view><view class="shape shape3 data-v-08a06125"></view><view class="shape shape4 data-v-08a06125"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"loading6",data(){return{}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-08a06125"]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view><loading1 a:if="{{a}}" u-i="67426558-0" onVI="__l"/><loading2 a:if="{{b}}" u-i="67426558-1" onVI="__l"/><loading3 a:if="{{c}}" u-i="67426558-2" onVI="__l"/><loading4 a:if="{{d}}" u-i="67426558-3" onVI="__l"/><loading5 a:if="{{e}}" u-i="67426558-4" onVI="__l"/></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const Loading1=()=>"./loading1.js";const Loading2=()=>"./loading2.js";const Loading3=()=>"./loading3.js";const Loading4=()=>"./loading4.js";const Loading5=()=>"./loading5.js";const _sfc_main={components:{Loading1:Loading1,Loading2:Loading2,Loading3:Loading3,Loading4:Loading4,Loading5:Loading5},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data(){return{}}};if(!Array){const _component_Loading1=common_vendor.resolveComponent("Loading1");const _component_Loading2=common_vendor.resolveComponent("Loading2");const _component_Loading3=common_vendor.resolveComponent("Loading3");const _component_Loading4=common_vendor.resolveComponent("Loading4");const _component_Loading5=common_vendor.resolveComponent("Loading5");(_component_Loading1+_component_Loading2+_component_Loading3+_component_Loading4+_component_Loading5)()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:$props.loadingType==1},$props.loadingType==1?{}:{},{b:$props.loadingType==2},$props.loadingType==2?{}:{},{c:$props.loadingType==3},$props.loadingType==3?{}:{},{d:$props.loadingType==4},$props.loadingType==4?{}:{},{e:$props.loadingType==5},$props.loadingType==5?{}:{})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"loading1": "./loading1",
|
||||
"loading2": "./loading2",
|
||||
"loading3": "./loading3",
|
||||
"loading4": "./loading4",
|
||||
"loading5": "./loading5"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-alipay/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js
vendored
Normal file
File diff suppressed because one or more lines are too long
25
unpackage/dist/build/mp-alipay/uni_modules/tuniaoui-wx-user-info/static/iconfont.css
vendored
Normal file
25
unpackage/dist/build/mp-alipay/uni_modules/tuniaoui-wx-user-info/static/iconfont.css
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
@font-face {
|
||||
font-family: "tuniaoFont"; /* Project id 3784643 */
|
||||
src:
|
||||
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAN8AAsAAAAAB4gAAAMvAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDBgqCQIIdATYCJAMMCwgABCAFhH8HPRuYBiMRpmvPIfurAzsYPj7DCVbrRAmElfXCs4V6xacO8aHO69VXu54tTy8h0hcJ7ufgieY+3+xscrn9B8wKQQFBywplLZCw9SwcOyZ5pKsoAQAbcICJTr7AjPPqr06NRkeIAemFpXv8cje1+/LkuLvD789WJZUANjOe9F76qptDOSMUui/Ua0WQKpZGXaqf5hHZdAD6x8tRJtRKtQd7j5UKkk6lWywYkGADCZBnGLugJd6CAI4GOjH956Ep4k7imdNkYTGFAkm2nJyPrBNwA7YhWwgQ/K4bLXITD8wl8xxuBN+XwyYJwOAp5jFjOwNbPNwd3l3WiyFAv3sCBLjcAB6gQM3GjLLSbJpDo1ANiqsiFiX7WAQzqTcMA06j/pb/eAbEx8yMAaAChg3sDjs6COwub8IAoAD4PEZkA7iAZClPKdicmJLc2OiZcQC3cV613sc3Ab9W7YItQtio9YgdKGjgr+ANlbg5gPvXFacv8IyvKTH4pcjV7VIcfnuIAUd3VCbxcCIKj++rvr/hpx/iwxd4/5mxDXeILbBp2+ByMIlGMuQEU3gjiVaMcXk8Dn2gWo5wuRwuIldLRqRwWogvmCRXE9/kSvrVQP4iFDVWRSbRakMk/AtcBYVpO6rpah1V9J/m/Wt+q8WfsOV+S5KFTGD5dwW9KFstZUs5smuYK3V495zwUG+r/Izf0PWtbWj/HUQsAL9u+cGK8NCiAgRnaRJ49fqljrxWc4PaKs4pQwBlMLUeAzgcEGLakvg5nCZ3zgTBkZzAEEUuFEeJyMrq4BGhGT6OPjiqGd4eIZkLKGKjgTKuAAgpPIAhjmdQUngnsrJdeKTxBz4pkgjHjJQeFqFMXv8PQqg0QP+F2cbAdoHqFmaM52jYlcbNoeTq4CtPkjzHAE1Zl0QvFEjGmp9fY6vKwBI9kOvIuQhJ4kJWy0k1dVXFVXcpbfTmIIRKA/RfmG0M7G1T3cKM8VwMXGlEnR1KY0uU+CTJnM1ODk1ZdxJdSOjYdGOp+TW2k6szsNg8qIvIuQipetFCVstpQCB1lcXHXUl5ZOpfdBvgMI9QMaJi8TZdzLS36K8/ueDZOWMAAA==') format('woff2'),
|
||||
url('//at.alicdn.com/t/c/font_3784643_5jru9pe5fad.woff?t=1669045092678') format('woff'),
|
||||
url('//at.alicdn.com/t/c/font_3784643_5jru9pe5fad.ttf?t=1669045092678') format('truetype');
|
||||
}
|
||||
|
||||
[class*='tn-icon-'] {
|
||||
font-family: 'tuniaoFont' !important;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tn-icon-close:before {
|
||||
content: "\e74d";
|
||||
}
|
||||
|
||||
.tn-icon-camera-fill:before {
|
||||
content: "\e75d";
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.uni-calendar-item__weeks-box{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:1px 0;position:relative}.uni-calendar-item__weeks-box-text{font-size:14px;font-weight:700;color:#001833}.uni-calendar-item__weeks-box-item{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px}.uni-calendar-item__weeks-box-circle{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{cursor:default}.uni-calendar-item--disable .uni-calendar-item__weeks-box-text-disable{color:#d1d1d1}.uni-calendar-item--today{position:absolute;top:10px;right:17%;background-color:#dd524d;width:6px;height:6px;border-radius:50%}.uni-calendar-item--extra{color:#dd524d;opacity:.8}.uni-calendar-item__weeks-box .uni-calendar-item--checked{background-color:#007aff;border-radius:50%;box-sizing:border-box;border:3px solid #fff}.uni-calendar-item--checked .uni-calendar-item--checked-text{color:#fff}.uni-calendar-item--multiple .uni-calendar-item--checked-range-text{color:#333}.uni-calendar-item--multiple{background-color:#f6f7fc}.uni-calendar-item--multiple .uni-calendar-item--before-checked,.uni-calendar-item--multiple .uni-calendar-item--after-checked{background-color:#007aff;border-radius:50%;box-sizing:border-box;border:3px solid #F6F7FC}.uni-calendar-item--before-checked .uni-calendar-item--checked-text,.uni-calendar-item--after-checked .uni-calendar-item--checked-text{color:#fff}.uni-calendar-item--before-checked-x{border-top-left-radius:50px;border-bottom-left-radius:50px;box-sizing:border-box;background-color:#f6f7fc}.uni-calendar-item--after-checked-x{border-top-right-radius:50px;border-bottom-right-radius:50px;background-color:#f6f7fc}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="{{('uni-calendar-item__weeks-box') + ' ' + (j && 'uni-calendar-item--disable') + ' ' + (k && 'uni-calendar-item--before-checked-x') + ' ' + (l && 'uni-calendar-item--multiple') + ' ' + (m && 'uni-calendar-item--after-checked-x')}}" onTap="{{n}}" onMouseenter="{{o}}"><view class="{{('uni-calendar-item__weeks-box-item') + ' ' + (c && 'uni-calendar-item--checked') + ' ' + (d && 'uni-calendar-item--checked-range-text') + ' ' + (e && 'uni-calendar-item--before-checked') + ' ' + (f && 'uni-calendar-item--multiple') + ' ' + (g && 'uni-calendar-item--after-checked') + ' ' + (h && 'uni-calendar-item--disable')}}"><text a:if="{{a}}" class="uni-calendar-item__weeks-box-circle"></text><text class="uni-calendar-item__weeks-box-text uni-calendar-item__weeks-box-text-disable uni-calendar-item--checked-text">{{b}}</text></view><view class="{{(i && 'uni-calendar-item--today')}}"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={props:{weeks:{type:Object,default(){return{}}},calendar:{type:Object,default:()=>({})},selected:{type:Array,default:()=>[]},checkHover:{type:Boolean,default:false}},methods:{choiceDate(weeks){this.$emit("change",weeks)},handleMousemove(weeks){this.$emit("handleMouse",weeks)}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:$props.selected&&$props.weeks.extraInfo},$props.selected&&$props.weeks.extraInfo?{}:{},{b:common_vendor.t($props.weeks.date),c:$props.calendar.fullDate===$props.weeks.fullDate&&($props.calendar.userChecked||!$props.checkHover)?1:"",d:$props.checkHover?1:"",e:$props.weeks.beforeMultiple?1:"",f:$props.weeks.multiple?1:"",g:$props.weeks.afterMultiple?1:"",h:$props.weeks.disable?1:"",i:$props.weeks.isToday?1:"",j:$props.weeks.disable?1:"",k:$props.weeks.beforeMultiple?1:"",l:$props.weeks.multiple?1:"",m:$props.weeks.afterMultiple?1:"",n:common_vendor.o(($event=>$options.choiceDate($props.weeks))),o:common_vendor.o(($event=>$options.handleMousemove($props.weeks)))})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.uni-calendar{display:flex;flex-direction:column}.uni-calendar__mask{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{opacity:1}.uni-calendar--fixed{position:fixed;bottom:calc(var(--window-bottom));left:0;right:0;transition-property:transform;transition-duration:.3s;transform:translateY(460px);z-index:99}.uni-calendar--ani-show{transform:translateY(0)}.uni-calendar__content{background-color:#fff}.uni-calendar__content-mobile{border-top-left-radius:10px;border-top-right-radius:10px;box-shadow:0 0 5px 3px rgba(0,0,0,.1)}.uni-calendar__header{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:50px}.uni-calendar__header-mobile{padding:10px 10px 0}.uni-calendar--fixed-top{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{width:50px}.uni-calendar__backtoday{position:absolute;right:0;top:25rpx;padding:0 5px 0 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{text-align:center;width:100px;font-size:15px;color:#666}.uni-calendar__button-text{text-align:center;width:100px;font-size:14px;color:#007aff;letter-spacing:3px}.uni-calendar__header-btn-box{display:flex;flex-direction:row;align-items:center;justify-content:center;width:50px;height:50px}.uni-calendar__header-btn{width:9px;height:9px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-top-color:#555;border-top-style:solid;border-top-width:1px}.uni-calendar--left{transform:rotate(-45deg)}.uni-calendar--right{transform:rotate(135deg)}.uni-calendar__weeks{position:relative;display:flex;flex-direction:row}.uni-calendar__weeks-item{flex:1}.uni-calendar__weeks-day{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{font-size:12px;color:#b2b2b2}.uni-calendar__box{position:relative;padding-bottom:7px}.uni-calendar__box-bg{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0}.uni-calendar__box-bg-text{font-size:200px;font-weight:700;color:#999;opacity:.1;text-align:center;line-height:1}.uni-date-changed{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{padding:20px 15px}.uni-date-changed--time-start,.uni-date-changed--time-end{display:flex;align-items:center}.uni-date-changed--time-date{color:#999;line-height:50px;margin-right:5px}.time-picker-style{display:flex;justify-content:center;align-items:center}.mr-10{margin-right:10px}.dialog-close{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{width:16px;height:2px;background-color:#737987;border-radius:2px;transform:rotate(45deg)}.dialog-close-rotate{position:absolute;transform:rotate(-45deg)}.uni-datetime-picker--btn{border-radius:100px;height:40px;line-height:40px;background-color:#007aff;color:#fff;font-size:16px;letter-spacing:2px}.uni-datetime-picker--btn:active{opacity:.7}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-calendar" onMouseleave="{{R}}"><view a:if="{{a}}" class="{{('uni-calendar__mask') + ' ' + (b && 'uni-calendar--mask-show')}}" onTap="{{c}}"></view><view a:if="{{d}}" class="{{('uni-calendar__content') + ' ' + (O && 'uni-calendar--fixed') + ' ' + (P && 'uni-calendar--ani-show') + ' ' + (Q && 'uni-calendar__content-mobile')}}"><view class="{{('uni-calendar__header') + ' ' + (l && 'uni-calendar__header-mobile')}}"><view class="uni-calendar__header-btn-box" catchTap="{{e}}"><view class="uni-calendar__header-btn uni-calendar--left"></view></view><picker mode="date" value="{{g}}" fields="month" onChange="{{h}}"><text class="uni-calendar__header-text">{{f}}</text></picker><view class="uni-calendar__header-btn-box" catchTap="{{i}}"><view class="uni-calendar__header-btn uni-calendar--right"></view></view><view a:if="{{j}}" class="dialog-close" onTap="{{k}}"><view class="dialog-close-plus" data-id="close"></view><view class="dialog-close-plus dialog-close-rotate" data-id="close"></view></view></view><view class="uni-calendar__box"><view a:if="{{m}}" class="uni-calendar__box-bg"><text class="uni-calendar__box-bg-text">{{n}}</text></view><view class="uni-calendar__weeks" style="padding-bottom:7px"><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{o}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{p}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{q}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{r}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{s}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{t}}</text></view><view class="uni-calendar__weeks-day"><text class="uni-calendar__weeks-day-text">{{v}}</text></view></view><view a:for="{{w}}" a:for-item="item" a:key="b" class="uni-calendar__weeks"><view a:for="{{item.a}}" a:for-item="weeks" a:key="c" class="uni-calendar__weeks-item"><calendar-item class="uni-calendar-item--hook" onChange="{{x}}" onHandleMouse="{{y}}" u-i="{{weeks.a}}" onVI="__l" u-p="{{weeks.b}}"></calendar-item></view></view></view><view a:if="{{z}}" class="uni-date-changed uni-calendar--fixed-top" style="padding:0 80px"><view class="uni-date-changed--time-date">{{A}}</view><time-picker class="time-picker-style" u-i="22e5bfc6-1" onVI="__l" onUpdateModelValue="{{B}}" u-p="{{C}}"></time-picker></view><view a:if="{{D}}" class="uni-date-changed uni-calendar--fixed-top"><view class="uni-date-changed--time-start"><view class="uni-date-changed--time-date">{{E}}</view><time-picker class="time-picker-style" u-i="22e5bfc6-2" onVI="__l" onUpdateModelValue="{{F}}" u-p="{{G}}"></time-picker></view><view style="line-height:50px"><uni-icons u-i="22e5bfc6-3" onVI="__l" u-p="{{H}}"></uni-icons></view><view class="uni-date-changed--time-end"><view class="uni-date-changed--time-date">{{I}}</view><time-picker class="time-picker-style" u-i="22e5bfc6-4" onVI="__l" onUpdateModelValue="{{J}}" u-p="{{K}}"></time-picker></view></view><view a:if="{{L}}" class="uni-date-changed uni-date-btn--ok"><view class="uni-datetime-picker--btn" onTap="{{N}}">{{M}}</view></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"calendar-item": "./calendar-item",
|
||||
"time-picker": "./time-picker",
|
||||
"uni-icons": "../../../uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const en={"uni-datetime-picker.selectDate":"select date","uni-datetime-picker.selectTime":"select time","uni-datetime-picker.selectDateTime":"select date and time","uni-datetime-picker.startDate":"start date","uni-datetime-picker.endDate":"end date","uni-datetime-picker.startTime":"start time","uni-datetime-picker.endTime":"end time","uni-datetime-picker.ok":"ok","uni-datetime-picker.clear":"clear","uni-datetime-picker.cancel":"cancel","uni-datetime-picker.year":"-","uni-datetime-picker.month":"","uni-calender.MON":"MON","uni-calender.TUE":"TUE","uni-calender.WED":"WED","uni-calender.THU":"THU","uni-calender.FRI":"FRI","uni-calender.SAT":"SAT","uni-calender.SUN":"SUN","uni-calender.confirm":"confirm"};const zhHans={"uni-datetime-picker.selectDate":"选择日期","uni-datetime-picker.selectTime":"选择时间","uni-datetime-picker.selectDateTime":"选择日期时间","uni-datetime-picker.startDate":"开始日期","uni-datetime-picker.endDate":"结束日期","uni-datetime-picker.startTime":"开始时间","uni-datetime-picker.endTime":"结束时间","uni-datetime-picker.ok":"确定","uni-datetime-picker.clear":"清除","uni-datetime-picker.cancel":"取消","uni-datetime-picker.year":"年","uni-datetime-picker.month":"月","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六","uni-calender.confirm":"确认"};const zhHant={"uni-datetime-picker.selectDate":"選擇日期","uni-datetime-picker.selectTime":"選擇時間","uni-datetime-picker.selectDateTime":"選擇日期時間","uni-datetime-picker.startDate":"開始日期","uni-datetime-picker.endDate":"結束日期","uni-datetime-picker.startTime":"開始时间","uni-datetime-picker.endTime":"結束时间","uni-datetime-picker.ok":"確定","uni-datetime-picker.clear":"清除","uni-datetime-picker.cancel":"取消","uni-datetime-picker.year":"年","uni-datetime-picker.month":"月","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六","uni-calender.confirm":"確認"};const i18nMessages={en:en,"zh-Hans":zhHans,"zh-Hant":zhHant};exports.i18nMessages=i18nMessages;
|
||||
@@ -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%;transform:translate(-50%,-50%);transition-duration:.3s;z-index:999}.uni-datetime-picker-time{color:gray}.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;line-height:50px}.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}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-datetime-picker"><view onTap="{{f}}"><slot><view class="{{('uni-datetime-picker-timebox-pointer') + ' ' + (d && 'uni-datetime-picker-disabled') + ' ' + (e && 'uni-datetime-picker-timebox')}}"><text class="uni-datetime-picker-text">{{a}}</text><view a:if="{{b}}" class="uni-datetime-picker-time"><text class="uni-datetime-picker-text">{{c}}</text></view></view></slot></view><view a:if="{{g}}" id="mask" class="uni-datetime-picker-mask" onTap="{{h}}"></view><view a:if="{{i}}" class="{{('uni-datetime-picker-popup') + ' ' + J}}" style="{{K}}"><view class="uni-title"><text class="uni-datetime-picker-text">{{j}}</text></view><view a:if="{{k}}" class="uni-datetime-picker__container-box"><picker-view class="uni-datetime-picker-view" indicator-style="{{o}}" value="{{p}}" onChange="{{q}}"><picker-view-column><view a:for="{{l}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column><picker-view-column><view a:for="{{m}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column><picker-view-column><view a:for="{{n}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column></picker-view><text class="uni-datetime-picker-sign sign-left">-</text><text class="uni-datetime-picker-sign sign-right">-</text></view><view a:if="{{r}}" class="uni-datetime-picker__container-box"><picker-view class="{{('uni-datetime-picker-view') + ' ' + x}}" indicator-style="{{y}}" value="{{z}}" onChange="{{A}}"><picker-view-column><view a:for="{{s}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column><picker-view-column><view a:for="{{t}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column><picker-view-column a:if="{{v}}"><view a:for="{{w}}" a:for-item="item" a:key="b" class="uni-datetime-picker-item"><text class="uni-datetime-picker-item">{{item.a}}</text></view></picker-view-column></picker-view><text class="{{('uni-datetime-picker-sign') + ' ' + B}}">:</text><text a:if="{{C}}" class="uni-datetime-picker-sign sign-right">:</text></view><view class="uni-datetime-picker-btn"><view onTap="{{E}}"><text class="uni-datetime-picker-btn-text">{{D}}</text></view><view class="uni-datetime-picker-btn-group"><view class="uni-datetime-picker-cancel" onTap="{{G}}"><text class="uni-datetime-picker-btn-text">{{F}}</text></view><view onTap="{{I}}"><text class="uni-datetime-picker-btn-text">{{H}}</text></view></view></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.uni-date{width:100%;flex:1}.uni-date-x{display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:4px;background-color:#fff;color:#666;font-size:14px;flex:1}.uni-date-x .icon-calendar{padding-left:3px}.uni-date-x .range-separator{height:35px;line-height:35px}.uni-date-x--border{box-sizing:border-box;border-radius:4px;border:1px solid #e5e5e5}.uni-date-editor--x{display:flex;align-items:center;position:relative}.uni-date-editor--x .uni-date__icon-clear{padding-right:3px;display:flex;align-items:center}.uni-date__x-input{width:auto;height:35px;position:relative;flex:1;line-height:35px;font-size:14px;overflow:hidden}.text-center{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--pc{position:fixed;bottom:0;top:0;left:0;right:0;background-color:rgba(0,0,0,0);transition-duration:.3s;z-index:996}.uni-date-single--x,.uni-date-range--x{background-color:#fff;position:absolute;top:0;z-index:999;border:1px solid #EBEEF5;box-shadow:0 2px 12px 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-text{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:6px solid transparent;border-top-width:0}.uni-popper__arrow{filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));top:-6px;left:10%;margin-right:3px;border-bottom-color:#ebeef5}.uni-popper__arrow:after{content:" ";top:1px;margin-left:-6px;border-bottom-color:#fff}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-date"><view class="uni-date-editor" onTap="{{m}}"><slot><view class="{{('uni-date-editor--x') + ' ' + (k && 'uni-date-editor--x__disabled') + ' ' + (l && 'uni-date-x--border')}}"><view a:if="{{a}}" class="uni-date-x uni-date-single"><uni-icons class="icon-calendar" u-i="1884632a-0" onVI="__l" u-p="{{b}}"></uni-icons><view class="uni-date__x-input">{{c}}</view></view><view a:else class="uni-date-x uni-date-range"><uni-icons class="icon-calendar" u-i="1884632a-1" onVI="__l" u-p="{{d}}"></uni-icons><view class="uni-date__x-input text-center">{{e}}</view><view class="range-separator">{{f}}</view><view class="uni-date__x-input text-center">{{g}}</view></view><view a:if="{{h}}" class="uni-date__icon-clear" catchTap="{{j}}"><uni-icons u-i="1884632a-2" onVI="__l" u-p="{{i}}"></uni-icons></view></view></slot></view><view hidden="{{!n}}" class="uni-date-mask--pc" onTap="{{o}}"></view><view a:if="{{p}}" hidden="{{!ao}}" ref="datePicker" class="uni-date-picker__container"><view a:if="{{q}}" class="uni-date-single--x" style="{{H}}"><view class="uni-popper__arrow"></view><view a:if="{{r}}" class="uni-date-changed popup-x-header"><input class="uni-date__input text-center" type="text" placeholder="{{s}}" value="{{t}}" onInput="{{v}}"/><time-picker u-s="{{['d']}}" style="width:100%" u-i="1884632a-3" onVI="__l" onUpdateModelValue="{{A}}" u-p="{{B}}"><input class="uni-date__input text-center" type="text" placeholder="{{w}}" disabled="{{x}}" value="{{y}}" onInput="{{z}}"/></time-picker></view><calendar ref="__r" u-r="pcSingle" onChange="{{C}}" style="padding:0 8px" u-i="1884632a-4" onVI="__l" u-p="{{D}}"/><view a:if="{{E}}" class="popup-x-footer"><text class="confirm-text" onTap="{{G}}">{{F}}</text></view></view><view a:else class="uni-date-range--x" style="{{an}}"><view class="uni-popper__arrow"></view><view a:if="{{I}}" class="popup-x-header uni-date-changed"><view class="popup-x-header--datetime"><input class="uni-date__input uni-date-range__input" type="text" placeholder="{{J}}" value="{{K}}" onInput="{{L}}"/><time-picker u-s="{{['d']}}" u-i="1884632a-5" onVI="__l" onUpdateModelValue="{{Q}}" u-p="{{R}}"><input class="uni-date__input uni-date-range__input" type="text" placeholder="{{M}}" disabled="{{N}}" value="{{O}}" onInput="{{P}}"/></time-picker></view><uni-icons style="line-height:40px" u-i="1884632a-6" onVI="__l" u-p="{{S}}"></uni-icons><view class="popup-x-header--datetime"><input class="uni-date__input uni-date-range__input" type="text" placeholder="{{T}}" value="{{U}}" onInput="{{V}}"/><time-picker u-s="{{['d']}}" u-i="1884632a-7" onVI="__l" onUpdateModelValue="{{aa}}" u-p="{{ab}}"><input class="uni-date__input uni-date-range__input" type="text" placeholder="{{W}}" disabled="{{X}}" value="{{Y}}" onInput="{{Z}}"/></time-picker></view></view><view class="popup-x-body"><calendar ref="__r" u-r="left" onChange="{{ac}}" onFirstEnterCale="{{ad}}" style="padding:0 8px" u-i="1884632a-8" onVI="__l" u-p="{{ae}}"/><calendar ref="__r" u-r="right" onChange="{{af}}" onFirstEnterCale="{{ag}}" style="padding:0 8px;border-left:1px solid #F1F1F1" u-i="1884632a-9" onVI="__l" u-p="{{ah}}"/></view><view a:if="{{ai}}" class="popup-x-footer"><text onTap="{{ak}}">{{aj}}</text><text class="confirm-text" onTap="{{am}}">{{al}}</text></view></view></view><calendar a:if="{{ap}}" ref="__r" u-r="mobile" onConfirm="{{aq}}" onMaskClose="{{ar}}" onChange="{{as}}" u-i="1884632a-10" onVI="__l" u-p="{{at}}"/></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"calendar": "./calendar",
|
||||
"time-picker": "./time-picker",
|
||||
"uni-icons": "../../../uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.acss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<text style="{{a}}" class="{{('uni-icons') + ' ' + b + ' ' + c + ' ' + d}}" onTap="{{e}}"><slot></slot></text>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uniIcons_components_uniIcons_uniicons_file_vue=require("./uniicons_file_vue.js");const common_vendor=require("../../../../common/vendor.js");const getVal=val=>{const reg=/^[0-9]*$/g;return typeof val==="number"||reg.test(val)?val+"px":val};const _sfc_main={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data(){return{icons:uni_modules_uniIcons_components_uniIcons_uniicons_file_vue.fontData}},computed:{unicode(){let code=this.icons.find((v=>v.font_class===this.type));if(code){return code.unicode}return""},iconSize(){return getVal(this.size)},styleObj(){if(this.fontFamily!==""){return`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`}return`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(){this.$emit("click")}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.s($options.styleObj),b:common_vendor.n("uniui-"+$props.type),c:common_vendor.n($props.customPrefix),d:common_vendor.n($props.customPrefix?$props.type:""),e:common_vendor.o(((...args)=>$options._onClick&&$options._onClick(...args)))}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
5
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.json
vendored
Normal file
5
unpackage/dist/build/mp-alipay/uni_modules/uni-icons/components/uni-icons/uni-icons.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.uni-popup-dialog{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text{font-size:16px;font-weight:500}.uni-dialog-content{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text{font-size:14px;color:#6c6c6c}.uni-dialog-button-group{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text{font-size:16px;color:#333}.uni-button-color{color:#007aff}.uni-dialog-input{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success{color:#4cd964}.uni-popup__warn{color:#f0ad4e}.uni-popup__error{color:#dd524d}.uni-popup__info{color:#909399}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-popup-dialog"><view class="uni-dialog-title"><text class="{{('uni-dialog-title-text') + ' ' + b}}">{{a}}</text></view><view a:if="{{c}}" class="uni-dialog-content"><slot><text class="uni-dialog-content-text">{{d}}</text></slot></view><view a:else class="uni-dialog-content"><slot><input class="uni-dialog-input" maxlength="{{e}}" type="{{f}}" placeholder="{{g}}" focus="{{h}}" value="{{i}}" onInput="{{j}}"></input></slot></view><view class="uni-dialog-button-group"><view a:if="{{k}}" class="uni-dialog-button" onTap="{{m}}"><text class="uni-dialog-button-text">{{l}}</text></view><view class="{{('uni-dialog-button') + ' ' + o}}" onTap="{{p}}"><text class="uni-dialog-button-text uni-button-color">{{n}}</text></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uniPopup_components_uniPopup_popup=require("../uni-popup/popup.js");const common_vendor=require("../../../../common/vendor.js");const uni_modules_uniPopup_components_uniPopup_i18n_index=require("../uni-popup/i18n/index.js");const{t:t}=common_vendor.initVueI18n(uni_modules_uniPopup_components_uniPopup_i18n_index.messages);const _sfc_main={name:"uniPopupDialog",mixins:[uni_modules_uniPopup_components_uniPopup_popup.popup],emits:["confirm","close","update:modelValue","input"],props:{inputType:{type:String,default:"text"},showClose:{type:Boolean,default:true},modelValue:{type:[Number,String],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:false},cancelText:{type:String,default:""},confirmText:{type:String,default:""},maxlength:{type:Number,default:-1},focus:{type:Boolean,default:true}},data(){return{dialogType:"error",val:""}},computed:{okText(){return this.confirmText||t("uni-popup.ok")},closeText(){return this.cancelText||t("uni-popup.cancel")},placeholderText(){return this.placeholder||t("uni-popup.placeholder")},titleText(){return this.title||t("uni-popup.title")}},watch:{type(val){this.dialogType=val},mode(val){if(val==="input"){this.dialogType="info"}},value(val){if(this.maxlength!=-1&&this.mode==="input"){this.val=val.slice(0,this.maxlength)}else{this.val=val}},val(val){this.$emit("update:modelValue",val)}},created(){this.popup.disableMask();if(this.mode==="input"){this.dialogType="info";this.val=this.value;this.val=this.modelValue}else{this.dialogType=this.type}},methods:{onOk(){if(this.mode==="input"){this.$emit("confirm",this.val)}else{this.$emit("confirm")}if(this.beforeClose)return;this.popup.close()},closeDialog(){this.$emit("close");if(this.beforeClose)return;this.popup.close()},close(){this.popup.close()}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:common_vendor.t($options.titleText),b:common_vendor.n("uni-popup__"+$data.dialogType),c:$props.mode==="base"},$props.mode==="base"?{d:common_vendor.t($props.content)}:{e:$props.maxlength,f:$props.inputType,g:$options.placeholderText,h:$props.focus,i:$data.val,j:common_vendor.o(($event=>$data.val=$event.detail.value))},{k:$props.showClose},$props.showClose?{l:common_vendor.t($options.closeText),m:common_vendor.o(((...args)=>$options.closeDialog&&$options.closeDialog(...args)))}:{},{n:common_vendor.t($options.okText),o:common_vendor.n($props.showClose?"uni-border-left":""),p:common_vendor.o(((...args)=>$options.onOk&&$options.onOk(...args)))})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/i18n/index.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/i18n/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const en={"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"};const zhHans={"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"};const zhHant={"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"};const messages={en:en,"zh-Hans":zhHans,"zh-Hant":zhHant};exports.messages=messages;
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/popup.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/popup.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const popup={data(){return{}},created(){this.popup=this.getParent()},methods:{getParent(name="uniPopup"){let parent=this.$parent;let parentName=parent.$options.name;while(parentName!==name){parent=parent.$parent;if(!parent)return false;parentName=parent.$options.name}return parent}}};exports.popup=popup;
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.uni-popup{position:fixed;z-index:99}.uni-popup.top,.uni-popup.left,.uni-popup.right{top:0}.uni-popup .uni-popup__wrapper{display:block;position:relative}.uni-popup .uni-popup__wrapper.left,.uni-popup .uni-popup__wrapper.right{padding-top:0;flex:1}.fixforpc-z-index{z-index:999}.fixforpc-top{top:0}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view a:if="{{a}}" class="{{('uni-popup') + ' ' + k + ' ' + l}}"><view onTouchStart="{{j}}"><uni-transition a:if="{{b}}" key="1" onClick="{{c}}" u-i="2f4ad777-0" onVI="__l" u-p="{{d}}"/><uni-transition u-s="{{['d']}}" key="2" onClick="{{h}}" u-i="2f4ad777-1" onVI="__l" u-p="{{i}}"><view style="{{e}}" class="{{('uni-popup__wrapper') + ' ' + f}}" onTap="{{g}}"><slot/></view></uni-transition></view></view>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.json
vendored
Normal file
7
unpackage/dist/build/mp-alipay/uni_modules/uni-popup/components/uni-popup/uni-popup.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"uni-transition": "../../../uni-transition/components/uni-transition/uni-transition"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.uni-section .uni-section-header{position:relative;display:flex;flex-direction:row;align-items:center;font-weight:400}.uni-section .uni-section-header__decoration{margin-right:6px;background-color:#4874e5}.uni-section .uni-section-header__decoration.line{width:12rpx;height:40rpx;border-radius:6rpx}.uni-section .uni-section-header__decoration.circle{width:8px;height:8px;border-radius:50px}.uni-section .uni-section-header__decoration.square{width:8px;height:8px}.uni-section .uni-section-header__content{display:flex;flex-direction:column;flex:1;color:#333;font-weight:700}.uni-section .uni-section-header__content .distraction{flex-direction:row;align-items:center}.uni-section .uni-section-header__content-sub{margin-top:2px}.uni-section .uni-section-header__slot-right,.uni-section .uni-section-content{font-size:14px}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-section"><view class="uni-section-header" onTap="{{k}}"><view a:if="{{a}}" class="{{('uni-section-header__decoration') + ' ' + b}}"/><slot a:else name="decoration"></slot><view class="uni-section-header__content"><text style="{{'font-size:' + d + ';' + ('color:' + e)}}" class="{{('uni-section__content-title') + ' ' + (f && 'distraction')}}">{{c}}</text><text a:if="{{g}}" style="{{'font-size:' + i + ';' + ('color:' + j)}}" class="uni-section-header__content-sub">{{h}}</text></view><view class="uni-section-header__slot-right"><slot name="right"></slot></view></view><view class="uni-section-content" style="{{'padding:' + l}}"><slot/></view></view>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uni-section/components/uni-section/uni-section.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uni-section/components/uni-section/uni-section.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"UniSection",emits:["click"],props:{type:{type:String,default:""},title:{type:String,required:true,default:""},titleFontSize:{type:String,default:"14px"},titleColor:{type:String,default:"#333"},subTitle:{type:String,default:""},subTitleFontSize:{type:String,default:"12px"},subTitleColor:{type:String,default:"#999"},padding:{type:[Boolean,String],default:false}},computed:{_padding(){if(typeof this.padding==="string"){return this.padding}return this.padding?"10px":""}},watch:{title(newVal){if(common_vendor.index.report&&newVal!==""){common_vendor.index.report("title",newVal)}}},methods:{onClick(){this.$emit("click")}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:$props.type},$props.type?{b:common_vendor.n($props.type)}:{},{c:common_vendor.t($props.title),d:$props.titleFontSize,e:$props.titleColor,f:!$props.subTitle?1:"",g:$props.subTitle},$props.subTitle?{h:common_vendor.t($props.subTitle),i:$props.subTitleFontSize,j:$props.subTitleColor}:{},{k:common_vendor.o(((...args)=>$options.onClick&&$options.onClick(...args))),l:$options._padding})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../../../common/vendor.js");class MPAnimation{constructor(options,_this){this.options=options;this.animation=common_vendor.index.createAnimation({...options});this.currentStepAnimates={};this.next=0;this.$=_this}_nvuePushAnimates(type,args){let aniObj=this.currentStepAnimates[this.next];let styles={};if(!aniObj){styles={styles:{},config:{}}}else{styles=aniObj}if(animateTypes1.includes(type)){if(!styles.styles.transform){styles.styles.transform=""}let unit="";if(type==="rotate"){unit="deg"}styles.styles.transform+=`${type}(${args+unit}) `}else{styles.styles[type]=`${args}`}this.currentStepAnimates[this.next]=styles}_animateRun(styles={},config={}){let ref=this.$.$refs["ani"].ref;if(!ref)return;return new Promise(((resolve,reject)=>{nvueAnimation.transition(ref,{styles:styles,...config},(res=>{resolve()}))}))}_nvueNextAnimate(animates,step=0,fn){let obj=animates[step];if(obj){let{styles:styles,config:config}=obj;this._animateRun(styles,config).then((()=>{step+=1;this._nvueNextAnimate(animates,step,fn)}))}else{this.currentStepAnimates={};typeof fn==="function"&&fn();this.isEnd=true}}step(config={}){this.animation.step(config);return this}run(fn){this.$.animationData=this.animation.export();this.$.timer=setTimeout((()=>{typeof fn==="function"&&fn()}),this.$.durationTime)}}const animateTypes1=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];const animateTypes2=["opacity","backgroundColor"];const animateTypes3=["width","height","left","right","top","bottom"];animateTypes1.concat(animateTypes2,animateTypes3).forEach((type=>{MPAnimation.prototype[type]=function(...args){this.animation[type](...args);return this}}));function createAnimation(option,_this){if(!_this)return;clearTimeout(_this.timer);return new MPAnimation(option,_this)}exports.createAnimation=createAnimation;
|
||||
@@ -0,0 +1 @@
|
||||
<view hidden="{{!a}}" ref="ani" animation="{{b}}" class="{{c}}" style="{{d}}" onTap="{{e}}"><slot></slot></view>
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uniTransition_components_uniTransition_createAnimation=require("./createAnimation.js");const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:false},modeClass:{type:[Array,String],default(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default(){return{}}},customClass:{type:String,default:""},onceRender:{type:Boolean,default:false}},data(){return{isShow:false,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler(newVal){if(newVal){this.open()}else{if(this.isShow){this.close()}}},immediate:true}},computed:{stylesObject(){let styles={...this.styles,"transition-duration":this.duration/1e3+"s"};let transform="";for(let i in styles){let line=this.toLine(i);transform+=line+":"+styles[i]+";"}return transform},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0};this.durationTime=this.duration},methods:{init(obj={}){if(obj.duration){this.durationTime=obj.duration}this.animation=uni_modules_uniTransition_components_uniTransition_createAnimation.createAnimation(Object.assign(this.config,obj),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(obj,config={}){if(!this.animation)return;for(let i in obj){try{if(typeof obj[i]==="object"){this.animation[i](...obj[i])}else{this.animation[i](obj[i])}}catch(e){console.error(`方法 ${i} 不存在`)}}this.animation.step(config);return this},run(fn){if(!this.animation)return;this.animation.run(fn)},open(){clearTimeout(this.timer);this.transform="";this.isShow=true;let{opacity:opacity,transform:transform}=this.styleInit(false);if(typeof opacity!=="undefined"){this.opacity=opacity}this.transform=transform;this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=uni_modules_uniTransition_components_uniTransition_createAnimation.createAnimation(this.config,this);this.tranfromInit(false).step();this.animation.run();this.$emit("change",{detail:this.isShow})}),20)}))},close(type){if(!this.animation)return;this.tranfromInit(true).step().run((()=>{this.isShow=false;this.animationData=null;this.animation=null;let{opacity:opacity,transform:transform}=this.styleInit(false);this.opacity=opacity||1;this.transform=transform;this.$emit("change",{detail:this.isShow})}))},styleInit(type){let styles={transform:""};let buildStyle=(type2,mode)=>{if(mode==="fade"){styles.opacity=this.animationType(type2)[mode]}else{styles.transform+=this.animationType(type2)[mode]+" "}};if(typeof this.modeClass==="string"){buildStyle(type,this.modeClass)}else{this.modeClass.forEach((mode=>{buildStyle(type,mode)}))}return styles},tranfromInit(type){let buildTranfrom=(type2,mode)=>{let aniNum=null;if(mode==="fade"){aniNum=type2?0:1}else{aniNum=type2?"-100%":"0";if(mode==="zoom-in"){aniNum=type2?.8:1}if(mode==="zoom-out"){aniNum=type2?1.2:1}if(mode==="slide-right"){aniNum=type2?"100%":"0"}if(mode==="slide-bottom"){aniNum=type2?"100%":"0"}}this.animation[this.animationMode()[mode]](aniNum)};if(typeof this.modeClass==="string"){buildTranfrom(type,this.modeClass)}else{this.modeClass.forEach((mode=>{buildTranfrom(type,mode)}))}return this.animation},animationType(type){return{fade:type?0:1,"slide-top":`translateY(${type?"0":"-100%"})`,"slide-right":`translateX(${type?"0":"100%"})`,"slide-bottom":`translateY(${type?"0":"100%"})`,"slide-left":`translateX(${type?"0":"-100%"})`,"zoom-in":`scaleX(${type?1:.8}) scaleY(${type?1:.8})`,"zoom-out":`scaleX(${type?1:1.2}) scaleY(${type?1:1.2})`}},animationMode(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine(name){return name.replace(/([A-Z])/g,"-$1").toLowerCase()}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:$data.isShow,b:$data.animationData,c:common_vendor.n($props.customClass),d:common_vendor.s($options.transformStyles),e:common_vendor.o(((...args)=>$options.onClick&&$options.onClick(...args)))}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
0
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.acss
vendored
Normal file
0
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<uv-image u-s="{{['loading','error']}}" onClick="{{a}}" onError="{{b}}" onLoad="{{c}}" u-i="3a6b4072-0" onVI="__l" u-p="{{d}}"><view slot="loading"><slot name="loading"></slot></view><view slot="error"><slot name="error"></slot></view></uv-image>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uviewPlus_components_uImage_props=require("../u-image/props.js");const uni_modules_uviewPlus_libs_mixin_mpMixin=require("../../libs/mixin/mpMixin.js");const uni_modules_uviewPlus_libs_mixin_mixin=require("../../libs/mixin/mixin.js");const common_vendor=require("../../../../common/vendor.js");const uvImage=()=>"../u-image/u-image.js";const _sfc_main={name:"u--image",mixins:[uni_modules_uviewPlus_libs_mixin_mpMixin.mpMixin,uni_modules_uviewPlus_components_uImage_props.props,uni_modules_uviewPlus_libs_mixin_mixin.mixin],components:{uvImage:uvImage},emits:["click","error","load"]};if(!Array){const _component_uvImage=common_vendor.resolveComponent("uvImage");_component_uvImage()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.o(($event=>_ctx.$emit("click"))),b:common_vendor.o(($event=>_ctx.$emit("error"))),c:common_vendor.o(($event=>_ctx.$emit("load"))),d:common_vendor.p({src:_ctx.src,mode:_ctx.mode,width:_ctx.width,height:_ctx.height,shape:_ctx.shape,radius:_ctx.radius,lazyLoad:_ctx.lazyLoad,showMenuByLongpress:_ctx.showMenuByLongpress,loadingIcon:_ctx.loadingIcon,errorIcon:_ctx.errorIcon,showLoading:_ctx.showLoading,showError:_ctx.showError,fade:_ctx.fade,webp:_ctx.webp,duration:_ctx.duration,bgColor:_ctx.bgColor,customStyle:_ctx.customStyle})}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createComponent(Component);
|
||||
7
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.json
vendored
Normal file
7
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u--image/u--image.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"uv-image": "../u-image/u-image"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/props.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uviewPlus_libs_config_props=require("../../libs/config/props.js");const props={props:{isDot:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.isDot},value:{type:[Number,String],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.value},modelValue:{type:[Number,String],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.modelValue},show:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.show},max:{type:[Number,String],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.max},type:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.type},showZero:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.showZero},bgColor:{type:[String,null],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.bgColor},color:{type:[String,null],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.color},shape:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.shape},numberType:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.numberType},offset:{type:Array,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.offset},inverted:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.inverted},absolute:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.badge.absolute}}};exports.props=props;
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-1b5e1c10,.u-empty__wrap.data-v-1b5e1c10,.u-tabs.data-v-1b5e1c10,.u-tabs__wrapper.data-v-1b5e1c10,.u-tabs__wrapper__scroll-view-wrapper.data-v-1b5e1c10,.u-tabs__wrapper__scroll-view.data-v-1b5e1c10,.u-tabs__wrapper__nav.data-v-1b5e1c10,.u-tabs__wrapper__nav__line.data-v-1b5e1c10{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge.data-v-1b5e1c10{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot.data-v-1b5e1c10{height:8px;width:8px}.u-badge--inverted.data-v-1b5e1c10{font-size:13px}.u-badge--not-dot.data-v-1b5e1c10{padding:2px 5px}.u-badge--horn.data-v-1b5e1c10{border-bottom-left-radius:0}.u-badge--primary.data-v-1b5e1c10{background-color:#3c9cff}.u-badge--primary--inverted.data-v-1b5e1c10{color:#3c9cff}.u-badge--error.data-v-1b5e1c10{background-color:#f56c6c}.u-badge--error--inverted.data-v-1b5e1c10{color:#f56c6c}.u-badge--success.data-v-1b5e1c10{background-color:#5ac725}.u-badge--success--inverted.data-v-1b5e1c10{color:#5ac725}.u-badge--info.data-v-1b5e1c10{background-color:#909399}.u-badge--info--inverted.data-v-1b5e1c10{color:#909399}.u-badge--warning.data-v-1b5e1c10{background-color:#f9ae3d}.u-badge--warning--inverted.data-v-1b5e1c10{color:#f9ae3d}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<text a:if="{{a}}" class="{{(c) + ' ' + d + ' ' + e + ' ' + f + ' ' + 'u-badge' + ' ' + 'data-v-1b5e1c10'}}" style="{{g + ';' + h}}">{{b}}</text>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uviewPlus_components_uBadge_props=require("./props.js");const uni_modules_uviewPlus_libs_mixin_mpMixin=require("../../libs/mixin/mpMixin.js");const uni_modules_uviewPlus_libs_mixin_mixin=require("../../libs/mixin/mixin.js");const uni_modules_uviewPlus_libs_function_index=require("../../libs/function/index.js");const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"u-badge",mixins:[uni_modules_uviewPlus_libs_mixin_mpMixin.mpMixin,uni_modules_uviewPlus_components_uBadge_props.props,uni_modules_uviewPlus_libs_mixin_mixin.mixin],computed:{boxStyle(){let style={};return style},badgeStyle(){const style={};if(this.color){style.color=this.color}if(this.bgColor&&!this.inverted){style.backgroundColor=this.bgColor}if(this.absolute){style.position="absolute";if(this.offset.length){const top=this.offset[0];const right=this.offset[1]||top;style.top=uni_modules_uviewPlus_libs_function_index.addUnit(top);style.right=uni_modules_uviewPlus_libs_function_index.addUnit(right)}}return style},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:uni_modules_uviewPlus_libs_function_index.addStyle}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return common_vendor.e({a:_ctx.show&&((Number(_ctx.value)===0?_ctx.showZero:true)||_ctx.isDot)},_ctx.show&&((Number(_ctx.value)===0?_ctx.showZero:true)||_ctx.isDot)?{b:common_vendor.t(_ctx.isDot?"":$options.showValue),c:common_vendor.n(_ctx.isDot?"u-badge--dot":"u-badge--not-dot"),d:common_vendor.n(_ctx.inverted&&"u-badge--inverted"),e:common_vendor.n(_ctx.shape==="horn"&&"u-badge--horn"),f:common_vendor.n(`u-badge--${_ctx.type}${_ctx.inverted?"--inverted":""}`),g:common_vendor.s($options.addStyle(_ctx.customStyle)),h:common_vendor.s($options.badgeStyle)}:{})}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-1b5e1c10"]]);my.createComponent(Component);
|
||||
5
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.json
vendored
Normal file
5
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-badge/u-badge.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/props.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const uni_modules_uviewPlus_libs_config_props=require("../../libs/config/props.js");const props={props:{hairline:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.hairline},type:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.type},size:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.size},shape:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.shape},plain:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.plain},disabled:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.disabled},loading:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.loading},loadingText:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.loadingText},loadingMode:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.loadingMode},loadingSize:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.loadingSize},openType:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.openType},formType:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.formType},appParameter:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.hoverStopPropagation},lang:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.lang},sessionFrom:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.sessionFrom},sendMessageTitle:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.sendMessagePath},sendMessageImg:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.showMessageCard},dataName:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.dataName},throttleTime:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.hoverStayTime},text:{type:[String,Number],default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.text},icon:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.icon},iconColor:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.icon},color:{type:String,default:()=>uni_modules_uviewPlus_libs_config_props.defProps.button.color}}};exports.props=props;
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-5b9d6e9a,.u-empty__wrap.data-v-5b9d6e9a,.u-tabs.data-v-5b9d6e9a,.u-tabs__wrapper.data-v-5b9d6e9a,.u-tabs__wrapper__scroll-view-wrapper.data-v-5b9d6e9a,.u-tabs__wrapper__scroll-view.data-v-5b9d6e9a,.u-tabs__wrapper__nav.data-v-5b9d6e9a,.u-tabs__wrapper__nav__line.data-v-5b9d6e9a{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-button.data-v-5b9d6e9a{width:100%;white-space:nowrap}.u-button__text.data-v-5b9d6e9a{white-space:nowrap;line-height:1}.u-button.data-v-5b9d6e9a:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.u-button--active.data-v-5b9d6e9a:before{opacity:.15}.u-button__icon+.u-button__text.data-v-5b9d6e9a:not(:empty),.u-button__loading-text.data-v-5b9d6e9a{margin-left:4px}.u-button--plain.u-button--primary.data-v-5b9d6e9a{color:#3c9cff}.u-button--plain.u-button--info.data-v-5b9d6e9a{color:#909399}.u-button--plain.u-button--success.data-v-5b9d6e9a{color:#5ac725}.u-button--plain.u-button--error.data-v-5b9d6e9a,.u-button--plain.u-button--warning.data-v-5b9d6e9a{color:#f56c6c}.u-button.data-v-5b9d6e9a{height:38px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.u-button__text.data-v-5b9d6e9a{font-size:15px}.u-button__loading-text.data-v-5b9d6e9a{font-size:15px;margin-left:4px}.u-button--large.data-v-5b9d6e9a{width:100%;height:50px;padding:0 15px}.u-button--normal.data-v-5b9d6e9a{padding:0 12px;font-size:14px}.u-button--small.data-v-5b9d6e9a{min-width:60px;height:30px;padding:0 8px;font-size:12px}.u-button--mini.data-v-5b9d6e9a{height:22px;font-size:10px;min-width:50px;padding:0 8px}.u-button--disabled.data-v-5b9d6e9a{opacity:.5}.u-button--info.data-v-5b9d6e9a{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.u-button--success.data-v-5b9d6e9a{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.u-button--primary.data-v-5b9d6e9a{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.u-button--error.data-v-5b9d6e9a{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.u-button--warning.data-v-5b9d6e9a{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.u-button--block.data-v-5b9d6e9a{display:flex;flex-direction:row;width:100%}.u-button--circle.data-v-5b9d6e9a{border-radius:100px}.u-button--square.data-v-5b9d6e9a{border-radius:3px}.u-button__icon.data-v-5b9d6e9a{min-width:1em;line-height:inherit!important;vertical-align:top}.u-button--plain.data-v-5b9d6e9a{background-color:#fff}.u-button--hairline.data-v-5b9d6e9a{border-width:.5px!important}
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<button hover-start-time="{{i}}" hover-stay-time="{{j}}" form-type="{{k}}" open-type="{{l}}" app-parameter="{{m}}" hover-stop-propagation="{{n}}" send-message-title="{{o}}" send-message-path="{{p}}" lang="{{q}}" data-name="{{r}}" session-from="{{s}}" send-message-img="{{t}}" show-message-card="{{v}}" onGetphonenumber="{{w}}" onGetuserinfo="{{x}}" onError="{{y}}" onOpensetting="{{z}}" onLaunchapp="{{A}}" onAgreeprivacyauthorization="{{B}}" hover-class="{{C}}" style="{{D + ';' + E}}" onTap="{{F}}" class="{{('u-button') + ' ' + 'u-reset-button' + ' ' + 'data-v-5b9d6e9a' + ' ' + G}}"><block a:if="{{a}}"><u-loading-icon class="data-v-5b9d6e9a" u-i="5b9d6e9a-0" onVI="__l" u-p="{{b}}"></u-loading-icon><text class="u-button__loading-text data-v-5b9d6e9a" style="{{d}}">{{c}}</text></block><block a:else><u-icon a:if="{{e}}" class="data-v-5b9d6e9a" u-i="5b9d6e9a-1" onVI="__l" u-p="{{f}}"></u-icon><slot><text class="u-button__text data-v-5b9d6e9a" style="{{h}}">{{g}}</text></slot></block></button>
|
||||
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.json
vendored
Normal file
8
unpackage/dist/build/mp-alipay/uni_modules/uview-plus/components/u-button/u-button.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"u-loading-icon": "../u-loading-icon/u-loading-icon",
|
||||
"u-icon": "../u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user