no message
This commit is contained in:
1
unpackage/dist/build/mp-weixin/uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),a={data:()=>({TabBarList:[{index:0,name:"首页",img:"/static/tabbar/select_home.png",acImg:"/static/tabbar/home.png"},{index:1,name:"地图",img:"/static/tabbar/select_sq.png",acImg:"/static/tabbar/sq.png"},{index:2,name:"扫一扫",img:"/static/tabbar/find.png",acImg:"/static/tabbar/find.png"},{index:3,name:"订单",img:"/static/tabbar/select_order.png",acImg:"/static/tabbar/order.png"},{index:4,name:"我的",img:"/static/tabbar/select_my.png",acImg:"/static/tabbar/my.png"}],codeheight:0,isOverall:0,phoneModel:""}),props:{tabBarShow:{type:Number,default:0}},mounted(){try{e.index.getSystemInfoSync();let a=this;e.index.getSystemInfo({success(e){console.log(e.brand),console.log(e.model),console.log(e.screenWidth),console.log(e.screenHeight),a.codeheight=Math.round(e.screenHeight),a.phoneModel=e.model,e.model.search("iPhone")?a.isOverall=0:Math.round(e.screenHeight)>740&&(a.isOverall=1),console.log(a.isOverall)}})}catch(a){}},methods:{onTabBar(a,t){switch(t){case 0:e.index.switchTab({url:"/pages/home/home"});break;case 1:e.index.switchTab({url:"/pages/index/index"});break;case 2:e.index.switchTab({url:"/pages/sweep/sweep"});break;case 3:e.index.switchTab({url:"/pages/order/order"});break;case 4:e.index.switchTab({url:"/pages/mine/mine"})}}}};const t=e._export_sfc(a,[["render",function(a,t,n,s,r,i){return{a:e.f(r.TabBarList,((a,t,s)=>({a:a.acImg,b:n.tabBarShow===t,c:2==t?"40px":"24px",d:2==t?"12px":"0px",e:a.img,f:n.tabBarShow!=t,g:2==t?"40px":"24px",h:2==t?"12px":"0px",i:e.t(a.name),j:n.tabBarShow===t?1:"",k:2==t?"4px":"0px",l:e.o((e=>i.onTabBar(a,t)),t),m:2==t?"-18px":"0px",n:t})))}}],["__scopeId","data-v-f5968521"]]);wx.createComponent(t);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="page-total data-v-f5968521"><view class="tab-list data-v-f5968521"><view wx:for="{{a}}" wx:for-item="item" wx:key="n" class="list data-v-f5968521" bindtap="{{item.l}}" style="{{'margin-top:' + item.m}}"><image class="data-v-f5968521" src="{{item.a}}" mode="widthFix" hidden="{{!item.b}}" style="{{'width:' + item.c + ';' + ('border-radius:' + item.d)}}"></image><image class="data-v-f5968521" src="{{item.e}}" mode="widthFix" hidden="{{!item.f}}" style="{{'width:' + item.g + ';' + ('border-radius:' + item.h)}}"></image><text class="{{['data-v-f5968521', item.j && 'action']}}" style="{{'margin-top:' + item.k}}">{{item.i}}</text></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.page-total.data-v-f5968521{position:fixed;left:0;bottom:0;width:100%}.tab-list.data-v-f5968521{display:flex;justify-content:space-between;align-items:center;width:100%;height:120rpx;padding-bottom:10px;background-color:#fff}.tab-list .list.data-v-f5968521{display:flex;flex-direction:column;align-items:center;justify-content:center;width:20%;height:120rpx}.tab-list .list image.data-v-f5968521{width:48rpx;height:48rpx;background-color:#fff}.tab-list .list text.data-v-f5968521{color:#333;font-size:24rpx;margin-top:10rpx}.tab-list .list .action.data-v-f5968521{color:#4879e6}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),t=require("./parser.js"),n=[],i={name:"mp-html",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgtap","linktap","play","error"],components:{node:()=>"./node/node.js"},watch:{content(e){this.setContent(e)}},created(){this.plugins=[];for(let e=n.length;e--;)this.plugins.push(new n[e](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy(){this._hook("onDetached")},methods:{in(e,t,n){e&&t&&n&&(this._in={page:e,selector:t,scrollTop:n})},navigateTo(t,n){return new Promise(((i,o)=>{if(!this.useAnchor)return void o(Error("Anchor is disabled"));n=n||parseInt(this.useAnchor)||0;let s=" ";s=">>>";const r=e.index.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(t?`>>>#${t}`:"")).boundingClientRect();this._in?r.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():r.selectViewport().scrollOffset(),r.exec((t=>{if(!t[0])return void o(Error("Label not found"));const s=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+n;this._in?this._in.page[this._in.scrollTop]=s:e.index.pageScrollTo({scrollTop:s,duration:300}),i()}))}))},getText(e){let t="";return function e(n){for(let i=0;i<n.length;i++){const o=n[i];if("text"===o.type)t+=o.text.replace(/&/g,"&");else if("br"===o.name)t+="\n";else{const n="p"===o.name||"div"===o.name||"tr"===o.name||"li"===o.name||"h"===o.name[0]&&o.name[1]>"0"&&o.name[1]<"7";n&&t&&"\n"!==t[t.length-1]&&(t+="\n"),o.children&&e(o.children),n&&"\n"!==t[t.length-1]?t+="\n":"td"!==o.name&&"th"!==o.name||(t+="\t")}}}(e||this.nodes),t},getRect(){return new Promise(((t,n)=>{e.index.createSelectorQuery().in(this).select("#_root").boundingClientRect().exec((e=>e[0]?t(e[0]):n(Error("Root label not found"))))}))},pauseMedia(){for(let e=(this._videos||[]).length;e--;)this._videos[e].pause()},setPlaybackRate(e){this.playbackRate=e;for(let t=(this._videos||[]).length;t--;)this._videos[t].playbackRate(e)},setContent(e,n){n&&this.imgList||(this.imgList=[]);const i=new t.Parser(this).parse(e);if(this.$set(this,"nodes",n?(this.nodes||[]).concat(i):i),this._videos=[],this.$nextTick((()=>{this._hook("onLoad"),this.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs<this.imgList.length/2){let e=0;const t=n=>{n&&n.height||(n={}),n.height===e?this.$emit("ready",n):(e=n.height,setTimeout((()=>{this.getRect().then(t).catch(t)}),350))};this.getRect().then(t).catch(t)}else this.imgList._unloadimgs||this.getRect().then((e=>{this.$emit("ready",e)})).catch((()=>{this.$emit("ready",{})}))},_hook(e){for(let t=n.length;t--;)this.plugins[t][e]&&this.plugins[t][e]()}}};if(!Array){e.resolveComponent("node")()}const o=e._export_sfc(i,[["render",function(t,n,i,o,s,r){return e.e({a:!s.nodes[0]},s.nodes[0]?{b:e.p({childs:s.nodes,opts:[i.lazyLoad,i.loadingImg,i.errorImg,i.showImgMenu,i.selectable],name:"span"})}:{},{c:e.n((i.selectable?"_select ":"")+"_root"),d:e.s(i.containerStyle)})}]]);wx.createComponent(o);
|
||||
6
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"node": "./node/node"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view id="_root" class="{{c}}" style="{{d}}"><slot wx:if="{{a}}"/><node wx:else u-i="77747352-0" bind:__l="__l" u-p="{{b||''}}"/></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/mp-html.wxss
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-weixin/uni_modules/mp-html/components/mp-html/node/node.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"node": "./node"
|
||||
}
|
||||
}
|
||||
31
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.wxml
vendored
Normal file
31
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.wxml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<wxs module="handler">
|
||||
|
||||
// 行内标签列表
|
||||
var inlineTags = {
|
||||
abbr: true,
|
||||
b: true,
|
||||
big: true,
|
||||
code: true,
|
||||
del: true,
|
||||
em: true,
|
||||
i: true,
|
||||
ins: true,
|
||||
label: true,
|
||||
q: true,
|
||||
small: true,
|
||||
span: true,
|
||||
strong: true,
|
||||
sub: true,
|
||||
sup: true
|
||||
}
|
||||
/**
|
||||
* @description 判断是否为行内标签
|
||||
*/
|
||||
module.exports = {
|
||||
isInline: function (tagName, style) {
|
||||
return inlineTags[tagName] || (style || '').indexOf('display:inline') !== -1
|
||||
}
|
||||
}
|
||||
|
||||
</wxs>
|
||||
<view id="{{b}}" class="{{c}}" style="{{d}}"><block wx:for="{{a}}" wx:for-item="n" wx:key="aI"><image wx:if="{{n.a}}" class="_img" style="{{n.b}}" src="{{n.c}}" mode="widthFix"/><rich-text wx:if="{{n.d}}" style="{{n.e}}" nodes="{{n.f}}" data-i="{{n.g}}" catchtap="{{n.h}}"/><image wx: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}}" bindload="{{n.t}}" binderror="{{n.v}}" catchtap="{{n.w}}" bindlongpress="{{n.x}}"/><text wx:elif="{{n.y}}" user-select="{{n.A}}" decode>{{n.z}}</text><text wx:elif="{{n.B}}">\n</text><view wx:elif="{{n.C}}" id="{{n.F}}" class="{{n.G}}" hover-class="_hover" style="{{n.H}}" data-i="{{n.I}}" catchtap="{{n.J}}"><node wx:if="{{n.E}}" style="display:inherit" u-i="{{n.D}}" bind:__l="__l" u-p="{{n.E}}"/></view><video wx:elif="{{n.K}}" id="{{n.L}}" class="{{n.M}}" style="{{n.N}}" autoplay="{{n.O}}" controls="{{n.P}}" loop="{{n.Q}}" muted="{{n.R}}" object-fit="{{n.S}}" poster="{{n.T}}" src="{{n.U}}" data-i="{{n.V}}" bindplay="{{n.W}}" binderror="{{n.X}}"/><audio wx:elif="{{n.Y}}" id="{{n.Z}}" class="{{n.aa}}" style="{{n.ab}}" author="{{n.ac}}" controls="{{n.ad}}" loop="{{n.ae}}" name="{{n.af}}" poster="{{n.ag}}" src="{{n.ah}}" data-i="{{n.ai}}" bindplay="{{n.aj}}" binderror="{{n.ak}}"/><view wx:elif="{{n.al}}" id="{{n.aq}}" class="{{n.ar}}" style="{{n.as}}"><node wx:if="{{n.am}}" u-i="{{n.an}}" bind:__l="__l" u-p="{{n.ao}}"/><block wx:else><view wx:for="{{n.ap}}" wx:for-item="tbody" wx:key="e" class="{{tbody.f}}" style="{{tbody.g}}"><node wx:if="{{tbody.a}}" u-i="{{tbody.b}}" bind:__l="__l" u-p="{{tbody.c}}"/><block wx:else><block wx:for="{{tbody.d}}" wx:for-item="tr" wx:key="i"><view wx:if="{{tr.a}}" class="{{tr.d}}" style="{{tr.e}}"><node wx:if="{{tr.c}}" u-i="{{tr.b}}" bind:__l="__l" u-p="{{tr.c}}"/></view><view wx:else class="{{tr.g}}" style="{{tr.h}}"><view wx:for="{{tr.f}}" wx:for-item="td" wx:key="c" class="{{td.d}}" style="{{td.e}}"><node wx:if="{{td.b}}" u-i="{{td.a}}" bind:__l="__l" u-p="{{td.b}}"/></view></view></block></block></view></block></view><rich-text wx:elif="{{n.at}}" id="{{n.av}}" style="{{n.aw}}" preview="{{false}}" selectable="{{n.ax}}" user-select="{{n.ay}}" nodes="{{n.az}}"/><view wx:elif="{{n.aA}}" id="{{n.aC}}" class="{{n.aD}}" style="{{n.aE}}"><node wx:for="{{n.aB}}" wx:for-item="n2" wx:key="a" style="{{n2.b}}" u-i="{{n2.c}}" bind:__l="__l" u-p="{{n2.d}}"/></view><node wx:else style="{{n.aF}}" u-i="{{n.aG}}" bind:__l="__l" u-p="{{n.aH||''}}"/></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/mp-html/components/mp-html/node/node.wxss
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-weixin/uni_modules/mp-html/components/mp-html/parser.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/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 @@
|
||||
"use strict";const e=require("../uni-popup/popup.js"),t=require("../../../../common/vendor.js"),o=require("../uni-popup/i18n/index.js"),{t:i}=t.initVueI18n(o.messages),l={name:"uniPopupDialog",mixins:[e.popup],emits:["confirm","close","update:modelValue","input"],props:{inputType:{type:String,default:"text"},showClose:{type:Boolean,default:!0},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:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""},maxlength:{type:Number,default:-1},focus:{type:Boolean,default:!0}},data:()=>({dialogType:"error",val:""}),computed:{okText(){return this.confirmText||i("uni-popup.ok")},closeText(){return this.cancelText||i("uni-popup.cancel")},placeholderText(){return this.placeholder||i("uni-popup.placeholder")},titleText(){return this.title||i("uni-popup.title")}},watch:{type(e){this.dialogType=e},mode(e){"input"===e&&(this.dialogType="info")},value(e){-1!=this.maxlength&&"input"===this.mode?this.val=e.slice(0,this.maxlength):this.val=e},val(e){this.$emit("update:modelValue",e)}},created(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value,this.val=this.modelValue):this.dialogType=this.type},methods:{onOk(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog(){this.$emit("close"),this.beforeClose||this.popup.close()},close(){this.popup.close()}}};const p=t._export_sfc(l,[["render",function(e,o,i,l,p,s){return t.e({a:t.t(s.titleText),b:t.n("uni-popup__"+p.dialogType),c:"base"===i.mode},"base"===i.mode?{d:t.t(i.content)}:{e:i.maxlength,f:i.inputType,g:s.placeholderText,h:i.focus,i:p.val,j:t.o((e=>p.val=e.detail.value))},{k:i.showClose},i.showClose?{l:t.t(s.closeText),m:t.o(((...e)=>s.closeDialog&&s.closeDialog(...e)))}:{},{n:t.t(s.okText),o:t.n(i.showClose?"uni-border-left":""),p:t.o(((...e)=>s.onOk&&s.onOk(...e)))})}]]);wx.createComponent(p);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uni-popup-dialog"><view class="uni-dialog-title"><text class="{{['uni-dialog-title-text', b]}}">{{a}}</text></view><view wx:if="{{c}}" class="uni-dialog-content"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><text class="uni-dialog-content-text">{{d}}</text></block></view><view wx:else class="uni-dialog-content"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><block wx:if="{{r0}}"><input class="uni-dialog-input" maxlength="{{e}}" type="{{f}}" placeholder="{{g}}" focus="{{h}}" value="{{i}}" bindinput="{{j}}"></input></block></block></view><view class="uni-dialog-button-group"><view wx:if="{{k}}" class="uni-dialog-button" bindtap="{{m}}"><text class="uni-dialog-button-text">{{l}}</text></view><view class="{{['uni-dialog-button', o]}}" bindtap="{{p}}"><text class="uni-dialog-button-text uni-button-color">{{n}}</text></view></view></view>
|
||||
@@ -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}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/i18n/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/i18n/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const p={en:{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"},"zh-Hans":{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"},"zh-Hant":{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}};exports.messages=p;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/popup.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/popup.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t={data:()=>({}),created(){this.popup=this.getParent()},methods:{getParent(t="uniPopup"){let e=this.$parent,p=e.$options.name;for(;p!==t;){if(e=e.$parent,!e)return!1;p=e.$options.name}return e}}};exports.popup=t;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../../../common/vendor.js"),s={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup(t){}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let t={backgroundColor:this.bg};return this.borderRadius,t=Object.assign(t,{borderRadius:this.borderRadius}),t},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:s,windowHeight:i,windowTop:o,safeArea:e,screenHeight:a,safeAreaInsets:r}=t.index.getSystemInfoSync();this.popupWidth=s,this.popupHeight=i+(o||0),e&&this.safeArea?this.safeAreaInsets=a-e.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(t=!0){},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(t){t.stopPropagation(),this.clearPropagation=!0},open(t){if(this.showPopup)return;t&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(t)||(t=this.type),this.config[t]?(this[this.config[t]](),this.$emit("change",{show:!0,type:t})):console.error("缺少类型:",t)},close(t){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(t){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||(this.showPopup=!0,this.showTrans=!0)},center(t){this.popupstyle="center",this.ani=["fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},t||(this.showPopup=!0,this.showTrans=!0)},left(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};if(!Array){t.resolveComponent("uni-transition")()}Math;const i=t._export_sfc(s,[["render",function(s,i,o,e,a,r){return t.e({a:a.showPopup},a.showPopup?t.e({b:a.maskShow},a.maskShow?{c:t.o(r.onTap),d:t.p({name:"mask","mode-class":"fade",styles:a.maskClass,duration:a.duration,show:a.showTrans})}:{},{e:t.s(r.getStyles),f:t.n(a.popupstyle),g:t.o(((...t)=>r.clear&&r.clear(...t))),h:t.o(r.onTap),i:t.p({"mode-class":a.ani,name:"content",styles:a.transClass,duration:a.duration,show:a.showTrans}),j:t.o(((...t)=>r.touchstart&&r.touchstart(...t))),k:t.n(a.popupstyle),l:t.n(r.isDesktop?"fixforpc-z-index":"")}):{})}]]);wx.createComponent(i);
|
||||
6
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-transition": "../../../uni-transition/components/uni-transition/uni-transition"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['uni-popup', k, l]}}"><view bindtouchstart="{{j}}"><uni-transition wx:if="{{b}}" key="1" bindclick="{{c}}" u-i="2be55be8-0" bind:__l="__l" u-p="{{d}}"/><uni-transition wx:if="{{i}}" u-s="{{['d']}}" key="2" bindclick="{{h}}" u-i="2be55be8-1" bind:__l="__l" u-p="{{i}}"><view style="{{e}}" class="{{['uni-popup__wrapper', f]}}" bindtap="{{g}}"><slot/></view></uni-transition></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
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}
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../../../common/vendor.js");class e{constructor(e,i){this.options=e,this.animation=t.index.createAnimation({...e}),this.currentStepAnimates={},this.next=0,this.$=i}_nvuePushAnimates(t,e){let n=this.currentStepAnimates[this.next],s={};if(s=n||{styles:{},config:{}},i.includes(t)){s.styles.transform||(s.styles.transform="");let i="";"rotate"===t&&(i="deg"),s.styles.transform+=`${t}(${e+i}) `}else s.styles[t]=`${e}`;this.currentStepAnimates[this.next]=s}_animateRun(t={},e={}){let i=this.$.$refs.ani.ref;if(i)return new Promise(((n,s)=>{nvueAnimation.transition(i,{styles:t,...e},(t=>{n()}))}))}_nvueNextAnimate(t,e=0,i){let n=t[e];if(n){let{styles:s,config:a}=n;this._animateRun(s,a).then((()=>{e+=1,this._nvueNextAnimate(t,e,i)}))}else this.currentStepAnimates={},"function"==typeof i&&i(),this.isEnd=!0}step(t={}){return this.animation.step(t),this}run(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof t&&t()}),this.$.durationTime)}}const i=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];i.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((t=>{e.prototype[t]=function(...e){return this.animation[t](...e),this}})),exports.createAnimation=function(t,i){if(i)return clearTimeout(i.timer),new e(t,i)};
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("./createAnimation.js"),i=require("../../../../common/vendor.js"),s={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let t={...this.styles,"transition-duration":this.duration/1e3+"s"},i="";for(let s in t){i+=this.toLine(s)+":"+t[s]+";"}return i},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(i={}){i.duration&&(this.durationTime=i.duration),this.animation=t.createAnimation(Object.assign(this.config,i),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(t,i={}){if(this.animation){for(let i in t)try{"object"==typeof t[i]?this.animation[i](...t[i]):this.animation[i](t[i])}catch(s){console.error(`方法 ${i} 不存在`)}return this.animation.step(i),this}},run(t){this.animation&&this.animation.run(t)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:i,transform:s}=this.styleInit(!1);void 0!==i&&(this.opacity=i),this.transform=s,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=t.createAnimation(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(t){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:t,transform:i}=this.styleInit(!1);this.opacity=t||1,this.transform=i,this.$emit("change",{detail:this.isShow})}))},styleInit(t){let i={transform:""},s=(t,s)=>{"fade"===s?i.opacity=this.animationType(t)[s]:i.transform+=this.animationType(t)[s]+" "};return"string"==typeof this.modeClass?s(t,this.modeClass):this.modeClass.forEach((i=>{s(t,i)})),i},tranfromInit(t){let i=(t,i)=>{let s=null;"fade"===i?s=t?0:1:(s=t?"-100%":"0","zoom-in"===i&&(s=t?.8:1),"zoom-out"===i&&(s=t?1.2:1),"slide-right"===i&&(s=t?"100%":"0"),"slide-bottom"===i&&(s=t?"100%":"0")),this.animation[this.animationMode()[i]](s)};return"string"==typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((s=>{i(t,s)})),this.animation},animationType:t=>({fade:t?0:1,"slide-top":`translateY(${t?"0":"-100%"})`,"slide-right":`translateX(${t?"0":"100%"})`,"slide-bottom":`translateY(${t?"0":"100%"})`,"slide-left":`translateX(${t?"0":"-100%"})`,"zoom-in":`scaleX(${t?1:.8}) scaleY(${t?1:.8})`,"zoom-out":`scaleX(${t?1:1.2}) scaleY(${t?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:t=>t.replace(/([A-Z])/g,"-$1").toLowerCase()}};const a=i._export_sfc(s,[["render",function(t,s,a,e,n,o){return{a:n.isShow,b:n.animationData,c:i.n(a.customClass),d:i.s(o.transformStyles),e:i.o(((...t)=>o.onClick&&o.onClick(...t)))}}]]);wx.createComponent(a);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view hidden="{{!a}}" ref="ani" animation="{{b}}" class="{{c}}" style="{{d}}" bindtap="{{e}}"><slot></slot></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../libs/config/props.js"),a=require("../../libs/function/test.js"),e={props:{src:{type:String,default:()=>t.defProps.avatar.src},shape:{type:String,default:()=>t.defProps.avatar.shape},size:{type:[String,Number],default:()=>t.defProps.avatar.size},mode:{type:String,default:()=>t.defProps.avatar.mode},text:{type:String,default:()=>t.defProps.avatar.text},bgColor:{type:String,default:()=>t.defProps.avatar.bgColor},color:{type:String,default:()=>t.defProps.avatar.color},fontSize:{type:[String,Number],default:()=>t.defProps.avatar.fontSize},icon:{type:String,default:()=>t.defProps.avatar.icon},mpAvatar:{type:Boolean,default:()=>t.defProps.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>t.defProps.avatar.randomBgColor},defaultUrl:{type:String,default:()=>t.defProps.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:t=>a.test.range(t,[0,19])||""===t,default:()=>t.defProps.avatar.colorIndex},name:{type:String,default:()=>t.defProps.avatar.name}}};exports.props=e;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon",
|
||||
"up-text": "../u-text/u-text"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['u-avatar', 'data-v-4bd1a93d', m]}}" style="{{n + ';' + o}}" bindtap="{{p}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><open-data wx:if="{{a}}" class="data-v-4bd1a93d" type="userAvatarUrl" style="{{b}}"/><block wx:if="{{c}}"></block><u-icon wx:elif="{{d}}" class="data-v-4bd1a93d" u-i="4bd1a93d-0" bind:__l="__l" u-p="{{e}}"></u-icon><up-text wx:elif="{{f}}" class="data-v-4bd1a93d" u-i="4bd1a93d-1" bind:__l="__l" u-p="{{g}}"></up-text><image wx:else class="{{['u-avatar__image', 'data-v-4bd1a93d', h]}}" src="{{i}}" mode="{{j}}" binderror="{{k}}" style="{{l}}"></image></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-avatar/u-avatar.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-4bd1a93d,.u-empty__wrap.data-v-4bd1a93d,.u-tabs.data-v-4bd1a93d,.u-tabs__wrapper.data-v-4bd1a93d,.u-tabs__wrapper__scroll-view-wrapper.data-v-4bd1a93d,.u-tabs__wrapper__scroll-view.data-v-4bd1a93d,.u-tabs__wrapper__nav.data-v-4bd1a93d,.u-tabs__wrapper__nav__line.data-v-4bd1a93d{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-avatar.data-v-4bd1a93d{display:flex;flex-direction:row;align-items:center;justify-content:center}.u-avatar--circle.data-v-4bd1a93d{border-radius:100px}.u-avatar--square.data-v-4bd1a93d{border-radius:4px}.u-avatar__image--circle.data-v-4bd1a93d{border-radius:100px;overflow:hidden}.u-avatar__image--square.data-v-4bd1a93d{border-radius:4px}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),t={props:{hairline:{type:Boolean,default:()=>e.defProps.button.hairline},type:{type:String,default:()=>e.defProps.button.type},size:{type:String,default:()=>e.defProps.button.size},shape:{type:String,default:()=>e.defProps.button.shape},plain:{type:Boolean,default:()=>e.defProps.button.plain},disabled:{type:Boolean,default:()=>e.defProps.button.disabled},loading:{type:Boolean,default:()=>e.defProps.button.loading},loadingText:{type:[String,Number],default:()=>e.defProps.button.loadingText},loadingMode:{type:String,default:()=>e.defProps.button.loadingMode},loadingSize:{type:[String,Number],default:()=>e.defProps.button.loadingSize},openType:{type:String,default:()=>e.defProps.button.openType},formType:{type:String,default:()=>e.defProps.button.formType},appParameter:{type:String,default:()=>e.defProps.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>e.defProps.button.hoverStopPropagation},lang:{type:String,default:()=>e.defProps.button.lang},sessionFrom:{type:String,default:()=>e.defProps.button.sessionFrom},sendMessageTitle:{type:String,default:()=>e.defProps.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>e.defProps.button.sendMessagePath},sendMessageImg:{type:String,default:()=>e.defProps.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>e.defProps.button.showMessageCard},dataName:{type:String,default:()=>e.defProps.button.dataName},throttleTime:{type:[String,Number],default:()=>e.defProps.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>e.defProps.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>e.defProps.button.hoverStayTime},text:{type:[String,Number],default:()=>e.defProps.button.text},icon:{type:String,default:()=>e.defProps.button.icon},iconColor:{type:String,default:()=>e.defProps.button.icon},color:{type:String,default:()=>e.defProps.button.color}}};exports.props=t;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/mixin/button.js"),i=require("../../libs/mixin/openType.js"),o=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),r=require("./props.js"),n=require("../../libs/function/index.js"),s=require("../../libs/function/throttle.js"),a=require("../../libs/config/color.js"),l=require("../../../../common/vendor.js"),h={name:"u-button",mixins:[o.mpMixin,t.mixin,e.button,i.openType,r.props],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:a.color[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:i}=this;return"large"===i&&(e=16),"normal"===i&&(e=14),"small"===i&&(e=12),"mini"===i&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:n.addStyle,clickHandler(){this.disabled||this.loading||s.throttle((()=>{this.$emit("click")}),this.throttleTime)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}};if(!Array){(l.resolveComponent("u-loading-icon")+l.resolveComponent("u-icon"))()}Math||((()=>"../u-loading-icon/u-loading-icon.js")+(()=>"../u-icon/u-icon.js"))();const c=l._export_sfc(h,[["render",function(e,i,o,t,r,n){return l.e({a:e.loading},e.loading?{b:l.p({mode:e.loadingMode,size:1.15*e.loadingSize,color:n.loadingColor}),c:l.t(e.loadingText||e.text),d:l.s({fontSize:n.textSize+"px"})}:l.e({e:e.icon},e.icon?{f:l.p({name:e.icon,color:n.iconColorCom,size:1.35*n.textSize,customStyle:{marginRight:"2px"}})}:{},{g:l.t(e.text),h:l.s({fontSize:n.textSize+"px"})}),{i:Number(e.hoverStartTime),j:Number(e.hoverStayTime),k:e.formType,l:e.openType,m:e.appParameter,n:e.hoverStopPropagation,o:e.sendMessageTitle,p:e.sendMessagePath,q:e.lang,r:e.dataName,s:e.sessionFrom,t:e.sendMessageImg,v:e.showMessageCard,w:l.o(((...e)=>n.getphonenumber&&n.getphonenumber(...e))),x:l.o(((...e)=>n.getuserinfo&&n.getuserinfo(...e))),y:l.o(((...e)=>n.error&&n.error(...e))),z:l.o(((...e)=>n.opensetting&&n.opensetting(...e))),A:l.o(((...e)=>n.launchapp&&n.launchapp(...e))),B:l.o(((...e)=>n.agreeprivacyauthorization&&n.agreeprivacyauthorization(...e))),C:e.disabled||e.loading?"":"u-button--active",D:l.s(n.baseColor),E:l.s(n.addStyle(e.customStyle)),F:l.o(((...e)=>n.clickHandler&&n.clickHandler(...e))),G:l.n(n.bemClass)})}],["__scopeId","data-v-5b9d6e9a"]]);wx.createComponent(c);
|
||||
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-loading-icon": "../u-loading-icon/u-loading-icon",
|
||||
"u-icon": "../u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.wxml
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}}" bindgetphonenumber="{{w}}" bindgetuserinfo="{{x}}" binderror="{{y}}" bindopensetting="{{z}}" bindlaunchapp="{{A}}" bindagreeprivacyauthorization="{{B}}" hover-class="{{C}}" style="{{D + ';' + E}}" bindtap="{{F}}" class="{{['u-button', 'u-reset-button', 'data-v-5b9d6e9a', G]}}"><block wx:if="{{a}}"><u-loading-icon wx:if="{{b}}" class="data-v-5b9d6e9a" u-i="5b9d6e9a-0" bind:__l="__l" u-p="{{b}}"></u-loading-icon><text class="u-button__loading-text data-v-5b9d6e9a" style="{{d}}">{{c}}</text></block><block wx:else><u-icon wx:if="{{e}}" class="data-v-5b9d6e9a" u-i="5b9d6e9a-1" bind:__l="__l" u-p="{{f}}"></u-icon><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><text class="u-button__text data-v-5b9d6e9a" style="{{h}}">{{g}}</text></block></block></button>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-button/u-button.wxss
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-weixin/uni_modules/uview-plus/components/u-cell-group/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell-group/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),r={props:{title:{type:String,default:()=>e.defProps.cellGroup.title},border:{type:Boolean,default:()=>e.defProps.cellGroup.border}}};exports.props=r;
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),r=require("../../libs/mixin/mixin.js"),t=require("../../libs/function/index.js"),n=require("../../../../common/vendor.js"),s={name:"u-cell-group",mixins:[i.mpMixin,r.mixin,e.props],methods:{addStyle:t.addStyle}};if(!Array){n.resolveComponent("u-line")()}Math;const o=n._export_sfc(s,[["render",function(e,i,r,t,s,o){return n.e({a:e.title},e.title?{b:n.t(e.title)}:{},{c:e.border},(e.border,{}),{d:n.s(o.addStyle(e.customStyle)),e:n.n(e.customClass)})}],["__scopeId","data-v-9f0ec262"]]);wx.createComponent(o);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-line": "../u-line/u-line"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view style="{{d}}" class="{{[e, 'u-cell-group', 'data-v-9f0ec262']}}"><view wx:if="{{a}}" class="u-cell-group__title data-v-9f0ec262"><block wx:if="{{$slots.title}}"><slot name="title"></slot></block><block wx:else><text class="u-cell-group__title__text data-v-9f0ec262">{{b}}</text></block></view><view class="u-cell-group__wrapper data-v-9f0ec262"><u-line wx:if="{{c}}" class="data-v-9f0ec262" u-i="9f0ec262-0" bind:__l="__l"></u-line><slot/></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-9f0ec262,.u-empty__wrap.data-v-9f0ec262,.u-tabs.data-v-9f0ec262,.u-tabs__wrapper.data-v-9f0ec262,.u-tabs__wrapper__scroll-view-wrapper.data-v-9f0ec262,.u-tabs__wrapper__scroll-view.data-v-9f0ec262,.u-tabs__wrapper__nav.data-v-9f0ec262,.u-tabs__wrapper__nav__line.data-v-9f0ec262{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-cell-group.data-v-9f0ec262{flex:1}.u-cell-group__title.data-v-9f0ec262{padding:16px 16px 8px}.u-cell-group__title__text.data-v-9f0ec262{font-size:15px;line-height:16px;color:#303133}.u-cell-group__wrapper.data-v-9f0ec262{position:relative}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),l={props:{title:{type:[String,Number],default:()=>e.defProps.cell.title},label:{type:[String,Number],default:()=>e.defProps.cell.label},value:{type:[String,Number],default:()=>e.defProps.cell.value},icon:{type:String,default:()=>e.defProps.cell.icon},disabled:{type:Boolean,default:()=>e.defProps.cell.disabled},border:{type:Boolean,default:()=>e.defProps.cell.border},center:{type:Boolean,default:()=>e.defProps.cell.center},url:{type:String,default:()=>e.defProps.cell.url},linkType:{type:String,default:()=>e.defProps.cell.linkType},clickable:{type:Boolean,default:()=>e.defProps.cell.clickable},isLink:{type:Boolean,default:()=>e.defProps.cell.isLink},required:{type:Boolean,default:()=>e.defProps.cell.required},rightIcon:{type:String,default:()=>e.defProps.cell.rightIcon},arrowDirection:{type:String,default:()=>e.defProps.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>e.defProps.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>e.defProps.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>e.defProps.cell.titleStyle},size:{type:String,default:()=>e.defProps.cell.size},stop:{type:Boolean,default:()=>e.defProps.cell.stop},name:{type:[Number,String],default:()=>e.defProps.cell.name}}};exports.props=l;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),l=require("../../libs/function/index.js"),s=require("../../libs/function/test.js"),n=require("../../../../common/vendor.js"),c={name:"u-cell",data:()=>({}),mixins:[i.mpMixin,t.mixin,e.props],computed:{titleTextStyle(){return l.addStyle(this.titleStyle)}},emits:["click"],methods:{addStyle:l.addStyle,testEmpty:s.test.empty,clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}};if(!Array){(n.resolveComponent("u-icon")+n.resolveComponent("u-line"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-line/u-line.js"))();const o=n._export_sfc(c,[["render",function(e,i,t,l,s,c){return n.e({a:e.$slots.icon||e.icon},e.$slots.icon||e.icon?n.e({b:e.$slots.icon},e.$slots.icon?{}:{c:n.p({name:e.icon,"custom-style":e.iconStyle,size:"large"===e.size?22:18})}):{},{d:e.$slots.title||!e.title},e.$slots.title||!e.title?{}:{e:n.t(e.title),f:n.s(c.titleTextStyle),g:n.n(e.disabled&&"u-cell--disabled"),h:n.n("large"===e.size&&"u-cell__title-text--large")},{i:e.label},e.label?{j:n.t(e.label),k:n.n(e.disabled&&"u-cell--disabled"),l:n.n("large"===e.size&&"u-cell__label--large")}:{},{m:!c.testEmpty(e.value)},c.testEmpty(e.value)?{}:{n:n.t(e.value),o:n.n(e.disabled&&"u-cell--disabled"),p:n.n("large"===e.size&&"u-cell__value--large")},{q:e.$slots["right-icon"]||e.isLink},e.$slots["right-icon"]||e.isLink?n.e({r:e.rightIcon&&!e.$slots["right-icon"]},e.rightIcon&&!e.$slots["right-icon"]?{s:n.p({name:e.rightIcon,"custom-style":e.rightIconStyle,color:e.disabled?"#c8c9cc":"info",size:"large"===e.size?18:16})}:{},{t:n.n(`u-cell__right-icon-wrap--${e.arrowDirection}`)}):{},{v:e.$slots.righticon},e.$slots.righticon?{w:n.n(`u-cell__right-icon-wrap--${e.arrowDirection}`)}:{},{x:n.n(e.center&&"u-cell--center"),y:n.n("large"===e.size&&"u-cell__body--large"),z:e.border},(e.border,{}),{A:n.n(e.customClass),B:n.s(c.addStyle(e.customStyle)),C:e.disabled||!e.clickable&&!e.isLink?"":"u-cell--clickable",D:n.o(((...e)=>c.clickHandler&&c.clickHandler(...e)))})}],["__scopeId","data-v-2934fecb"]]);wx.createComponent(o);
|
||||
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon",
|
||||
"u-line": "../u-line/u-line"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['u-cell', 'data-v-2934fecb', A]}}" style="{{B}}" hover-class="{{C}}" hover-stay-time="{{250}}" bindtap="{{D}}"><view class="{{['u-cell__body', 'data-v-2934fecb', x, y]}}"><view class="u-cell__body__content data-v-2934fecb"><view wx:if="{{a}}" class="u-cell__left-icon-wrap data-v-2934fecb"><slot wx:if="{{b}}" name="icon"></slot><u-icon wx:else class="data-v-2934fecb" u-i="2934fecb-0" bind:__l="__l" u-p="{{c||''}}"></u-icon></view><view class="u-cell__title data-v-2934fecb"><slot wx:if="{{d}}" name="title"></slot><text wx:else style="{{f}}" class="{{['u-cell__title-text', 'data-v-2934fecb', g, h]}}">{{e}}</text><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else><text wx:if="{{i}}" class="{{['u-cell__label', 'data-v-2934fecb', k, l]}}">{{j}}</text></block></view></view><block wx:if="{{$slots.value}}"><slot name="value"></slot></block><block wx:else><text wx:if="{{m}}" class="{{['u-cell__value', 'data-v-2934fecb', o, p]}}">{{n}}</text></block><view wx:if="{{q}}" class="{{['u-cell__right-icon-wrap', 'data-v-2934fecb', t]}}"><u-icon wx:if="{{r}}" class="data-v-2934fecb" u-i="2934fecb-1" bind:__l="__l" u-p="{{s}}"></u-icon><slot wx:else name="right-icon"></slot></view><view wx:if="{{v}}" class="{{['u-cell__right-icon-wrap', 'data-v-2934fecb', w]}}"><slot name="righticon"></slot></view></view><u-line wx:if="{{z}}" class="data-v-2934fecb" u-i="2934fecb-2" bind:__l="__l"></u-line></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-cell/u-cell.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-2934fecb,.u-empty__wrap.data-v-2934fecb,.u-tabs.data-v-2934fecb,.u-tabs__wrapper.data-v-2934fecb,.u-tabs__wrapper__scroll-view-wrapper.data-v-2934fecb,.u-tabs__wrapper__scroll-view.data-v-2934fecb,.u-tabs__wrapper__nav.data-v-2934fecb,.u-tabs__wrapper__nav__line.data-v-2934fecb{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-cell__body.data-v-2934fecb{display:flex;flex-direction:row;box-sizing:border-box;padding:13px 15px;font-size:15px;color:#303133;align-items:center}.u-cell__body__content.data-v-2934fecb{display:flex;flex-direction:row;align-items:center;flex:1}.u-cell__body--large.data-v-2934fecb{padding-top:13px;padding-bottom:13px}.u-cell__left-icon-wrap.data-v-2934fecb,.u-cell__right-icon-wrap.data-v-2934fecb{display:flex;flex-direction:row;align-items:center;font-size:16px}.u-cell__left-icon-wrap.data-v-2934fecb{margin-right:4px}.u-cell__right-icon-wrap.data-v-2934fecb{margin-left:4px;transition:transform .3s}.u-cell__right-icon-wrap--up.data-v-2934fecb{transform:rotate(-90deg)}.u-cell__right-icon-wrap--down.data-v-2934fecb{transform:rotate(90deg)}.u-cell__title.data-v-2934fecb{flex:1}.u-cell__title-text.data-v-2934fecb{font-size:15px;line-height:22px;color:#303133}.u-cell__title-text--large.data-v-2934fecb{font-size:16px}.u-cell__label.data-v-2934fecb{margin-top:5px;font-size:12px;color:#909193;line-height:18px}.u-cell__label--large.data-v-2934fecb{font-size:14px}.u-cell__value.data-v-2934fecb{text-align:right;margin-left:auto;font-size:14px;line-height:24px;color:#606266}.u-cell__value--large.data-v-2934fecb{font-size:15px}.u-cell--clickable.data-v-2934fecb{background-color:#f3f4f6}.u-cell--disabled.data-v-2934fecb{color:#c8c9cc;cursor:not-allowed}.u-cell--center.data-v-2934fecb{align-items:center}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox-group/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox-group/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),o={props:{name:{type:String,default:()=>e.defProps.checkboxGroup.name},modelValue:{type:Array,default:()=>e.defProps.checkboxGroup.value},shape:{type:String,default:()=>e.defProps.checkboxGroup.shape},disabled:{type:Boolean,default:()=>e.defProps.checkboxGroup.disabled},activeColor:{type:String,default:()=>e.defProps.checkboxGroup.activeColor},inactiveColor:{type:String,default:()=>e.defProps.checkboxGroup.inactiveColor},size:{type:[String,Number],default:()=>e.defProps.checkboxGroup.size},placement:{type:String,default:()=>e.defProps.checkboxGroup.placement},labelSize:{type:[String,Number],default:()=>e.defProps.checkboxGroup.labelSize},labelColor:{type:[String],default:()=>e.defProps.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:()=>e.defProps.checkboxGroup.labelDisabled},iconColor:{type:String,default:()=>e.defProps.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:()=>e.defProps.checkboxGroup.iconSize},iconPlacement:{type:String,default:()=>e.defProps.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:()=>e.defProps.checkboxGroup.borderBottom}}};exports.props=o;
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),s=require("../../../../common/vendor.js"),n={name:"u-checkbox-group",mixins:[i.mpMixin,t.mixin,e.props],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const i=[];this.children.map((e=>{e.isChecked&&i.push(e.name)})),this.$emit("change",i),this.$emit("update:modelValue",i)}}};const a=s._export_sfc(n,[["render",function(e,i,t,n,a,r){return{a:s.n(r.bemClass)}}],["__scopeId","data-v-b3496b3a"]]);wx.createComponent(a);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="{{['u-checkbox-group', 'data-v-b3496b3a', a]}}"><slot></slot></view>
|
||||
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-b3496b3a,.u-empty__wrap.data-v-b3496b3a,.u-tabs.data-v-b3496b3a,.u-tabs__wrapper.data-v-b3496b3a,.u-tabs__wrapper__scroll-view-wrapper.data-v-b3496b3a,.u-tabs__wrapper__scroll-view.data-v-b3496b3a,.u-tabs__wrapper__nav.data-v-b3496b3a,.u-tabs__wrapper__nav__line.data-v-b3496b3a{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox-group--row.data-v-b3496b3a{display:flex;flex-flow:row wrap}.u-checkbox-group--column.data-v-b3496b3a{display:flex;flex-direction:column}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),o={props:{name:{type:[String,Number,Boolean],default:()=>e.defProps.checkbox.name},shape:{type:String,default:()=>e.defProps.checkbox.shape},size:{type:[String,Number],default:()=>e.defProps.checkbox.size},checked:{type:Boolean,default:()=>e.defProps.checkbox.checked},disabled:{type:[String,Boolean],default:()=>e.defProps.checkbox.disabled},activeColor:{type:String,default:()=>e.defProps.checkbox.activeColor},inactiveColor:{type:String,default:()=>e.defProps.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>e.defProps.checkbox.iconSize},iconColor:{type:String,default:()=>e.defProps.checkbox.iconColor},label:{type:[String,Number],default:()=>e.defProps.checkbox.label},labelSize:{type:[String,Number],default:()=>e.defProps.checkbox.labelSize},labelColor:{type:String,default:()=>e.defProps.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>e.defProps.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}};exports.props=o;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),t=require("../../libs/mixin/mpMixin.js"),i=require("../../libs/mixin/mixin.js"),a=require("../../libs/function/index.js"),l=require("../../libs/function/test.js"),s=require("../../../../common/vendor.js"),n={name:"u-checkbox",mixins:[t.mpMixin,i.mixin,e.props],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return a.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=a.addUnit(this.elSize),e.height=a.addUnit(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px")),a.deepMerge(e,a.addStyle(this.customStyle))}},mounted(){this.init()},emits:["change"],methods:{init(){this.usedAlone||(this.updateParentData(),this.parent);const e=this.parentData.modelValue;this.checked?this.isChecked=!0:!this.usedAlone&&l.test.array(e)&&(this.isChecked=e.some((e=>e===this.name)))},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked),this.$nextTick((()=>{a.formValidate(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(){this.isChecked=this.checked}}};if(!Array){s.resolveComponent("u-icon")()}Math;const r=s._export_sfc(n,[["render",function(e,t,i,a,l,n){return{a:s.p({name:"checkbox-mark",size:n.elIconSize,color:n.elIconColor}),b:s.o(((...e)=>n.iconClickHandler&&n.iconClickHandler(...e))),c:s.n(n.iconClasses),d:s.s(n.iconWrapStyle),e:s.t(e.label),f:s.o(((...e)=>n.labelClickHandler&&n.labelClickHandler(...e))),g:n.elDisabled?n.elInactiveColor:n.elLabelColor,h:n.elLabelSize,i:n.elLabelSize,j:s.s(n.checkboxStyle),k:s.o(((...e)=>n.wrapperClickHandler&&n.wrapperClickHandler(...e))),l:s.n(`u-checkbox-label--${l.parentData.iconPlacement}`),m:s.n(l.parentData.borderBottom&&"column"===l.parentData.placement&&"u-border-bottom")}}],["__scopeId","data-v-6a8c0b20"]]);wx.createComponent(r);
|
||||
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="{{j}}" catchtap="{{k}}" class="{{['u-checkbox', 'cursor-pointer', 'data-v-6a8c0b20', l, m]}}"><view catchtap="{{b}}" class="{{['u-checkbox__icon-wrap', 'cursor-pointer', 'data-v-6a8c0b20', c]}}" style="{{d}}"><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><u-icon wx:if="{{a}}" class="u-checkbox__icon-wrap__icon data-v-6a8c0b20" u-i="6a8c0b20-0" bind:__l="__l" u-p="{{a}}"/></block></view><text class="data-v-6a8c0b20" catchtap="{{f}}" style="{{'color:' + g + ';' + ('font-size:' + h) + ';' + ('line-height:' + i)}}">{{e}}</text></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-checkbox/u-checkbox.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-6a8c0b20,.u-empty__wrap.data-v-6a8c0b20,.u-tabs.data-v-6a8c0b20,.u-tabs__wrapper.data-v-6a8c0b20,.u-tabs__wrapper__scroll-view-wrapper.data-v-6a8c0b20,.u-tabs__wrapper__scroll-view.data-v-6a8c0b20,.u-tabs__wrapper__nav.data-v-6a8c0b20,.u-tabs__wrapper__nav__line.data-v-6a8c0b20{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox.data-v-6a8c0b20{display:flex;overflow:hidden;flex-direction:row;align-items:center;margin-bottom:5px;margin-top:5px}.u-checkbox-label--left.data-v-6a8c0b20{flex-direction:row}.u-checkbox-label--right.data-v-6a8c0b20{flex-direction:row-reverse;justify-content:space-between}.u-checkbox__icon-wrap.data-v-6a8c0b20{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;display:flex;flex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:6px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-checkbox__icon-wrap--circle.data-v-6a8c0b20{border-radius:100%}.u-checkbox__icon-wrap--square.data-v-6a8c0b20{border-radius:3px}.u-checkbox__icon-wrap--checked.data-v-6a8c0b20{color:#fff;background-color:red;border-color:#2979ff}.u-checkbox__icon-wrap--disabled.data-v-6a8c0b20{background-color:#ebedf0!important}.u-checkbox__icon-wrap--disabled--checked.data-v-6a8c0b20{color:#c8c9cc!important}.u-checkbox__label.data-v-6a8c0b20{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-checkbox__label--disabled.data-v-6a8c0b20{color:#c8c9cc}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/icons.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/icons.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),o={props:{name:{type:String,default:()=>e.defProps.icon.name},color:{type:String,default:()=>e.defProps.icon.color},size:{type:[String,Number],default:()=>e.defProps.icon.size},bold:{type:Boolean,default:()=>e.defProps.icon.bold},index:{type:[String,Number],default:()=>e.defProps.icon.index},hoverClass:{type:String,default:()=>e.defProps.icon.hoverClass},customPrefix:{type:String,default:()=>e.defProps.icon.customPrefix},label:{type:[String,Number],default:()=>e.defProps.icon.label},labelPos:{type:String,default:()=>e.defProps.icon.labelPos},labelSize:{type:[String,Number],default:()=>e.defProps.icon.labelSize},labelColor:{type:String,default:()=>e.defProps.icon.labelColor},space:{type:[String,Number],default:()=>e.defProps.icon.space},imgMode:{type:String,default:()=>e.defProps.icon.imgMode},width:{type:[String,Number],default:()=>e.defProps.icon.width},height:{type:[String,Number],default:()=>e.defProps.icon.height},top:{type:[String,Number],default:()=>e.defProps.icon.top},stop:{type:Boolean,default:()=>e.defProps.icon.stop}}};exports.props=o;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const i=require("./icons.js"),t=require("./props.js"),e=require("../../libs/mixin/mpMixin.js"),s=require("../../libs/mixin/mixin.js"),n=require("../../libs/function/index.js"),o=require("../../libs/config/config.js"),l=require("../../../../common/vendor.js"),c={name:"u-icon",data:()=>({}),emits:["click"],mixins:[e.mpMixin,s.mixin,t.props],computed:{uClasses(){let i=[];return i.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?i.push("u-iconfont"):i.push(this.customPrefix),this.color&&o.config.type.includes(this.color)&&i.push("u-icon__icon--"+this.color),i},iconStyle(){let i={};return i={fontSize:n.addUnit(this.size),lineHeight:n.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:n.addUnit(this.top)},this.color&&!o.config.type.includes(this.color)&&(i.color=this.color),i},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let i={};return i.width=this.width?n.addUnit(this.width):n.addUnit(this.size),i.height=this.height?n.addUnit(this.height):n.addUnit(this.size),i},icon(){return"uicon"!==this.customPrefix?"":i.icons["uicon-"+this.name]||this.name}},methods:{addStyle:n.addStyle,addUnit:n.addUnit,clickHandler(i){this.$emit("click",this.index),this.stop&&this.preventEvent(i)}}};const d=l._export_sfc(c,[["render",function(i,t,e,s,n,o){return l.e({a:o.isImg},o.isImg?{b:i.name,c:i.imgMode,d:l.s(o.imgStyle),e:l.s(o.addStyle(i.customStyle))}:{f:l.t(o.icon),g:l.n(o.uClasses),h:l.s(o.iconStyle),i:l.s(o.addStyle(i.customStyle)),j:i.hoverClass},{k:""!==i.label},""!==i.label?{l:l.t(i.label),m:i.labelColor,n:o.addUnit(i.labelSize),o:"right"==i.labelPos?o.addUnit(i.space):0,p:"bottom"==i.labelPos?o.addUnit(i.space):0,q:"left"==i.labelPos?o.addUnit(i.space):0,r:"top"==i.labelPos?o.addUnit(i.space):0}:{},{s:l.o(((...i)=>o.clickHandler&&o.clickHandler(...i))),t:l.n("u-icon--"+i.labelPos)})}],["__scopeId","data-v-ab905711"]]);wx.createComponent(d);
|
||||
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view bindtap="{{s}}" class="{{['u-icon', 'data-v-ab905711', t]}}"><image wx:if="{{a}}" class="u-icon__img data-v-ab905711" src="{{b}}" mode="{{c}}" style="{{d + ';' + e}}"></image><text wx:else class="{{['u-icon__icon', 'data-v-ab905711', g]}}" style="{{h + ';' + i}}" hover-class="{{j}}">{{f}}</text><text wx:if="{{k}}" class="u-icon__label data-v-ab905711" style="{{'color:' + m + ';' + ('font-size:' + n) + ';' + ('margin-left:' + o) + ';' + ('margin-top:' + p) + ';' + ('margin-right:' + q) + ';' + ('margin-bottom:' + r)}}">{{l}}</text></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-icon/u-icon.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-ab905711,.u-empty__wrap.data-v-ab905711,.u-tabs.data-v-ab905711,.u-tabs__wrapper.data-v-ab905711,.u-tabs__wrapper__scroll-view-wrapper.data-v-ab905711,.u-tabs__wrapper__scroll-view.data-v-ab905711,.u-tabs__wrapper__nav.data-v-ab905711,.u-tabs__wrapper__nav__line.data-v-ab905711{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon.data-v-ab905711{display:flex;align-items:center}.u-icon--left.data-v-ab905711{flex-direction:row-reverse;align-items:center}.u-icon--right.data-v-ab905711{flex-direction:row;align-items:center}.u-icon--top.data-v-ab905711{flex-direction:column-reverse;justify-content:center}.u-icon--bottom.data-v-ab905711{flex-direction:column;justify-content:center}.u-icon__icon.data-v-ab905711{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary.data-v-ab905711{color:#3c9cff}.u-icon__icon--success.data-v-ab905711{color:#5ac725}.u-icon__icon--error.data-v-ab905711{color:#f56c6c}.u-icon__icon--warning.data-v-ab905711{color:#f9ae3d}.u-icon__icon--info.data-v-ab905711{color:#909399}.u-icon__img.data-v-ab905711{height:auto;will-change:transform}.u-icon__label.data-v-ab905711{line-height:1}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),t={props:{modelValue:{type:[String,Number],default:()=>e.defProps.input.value},type:{type:String,default:()=>e.defProps.input.type},fixed:{type:Boolean,default:()=>e.defProps.input.fixed},disabled:{type:Boolean,default:()=>e.defProps.input.disabled},disabledColor:{type:String,default:()=>e.defProps.input.disabledColor},clearable:{type:Boolean,default:()=>e.defProps.input.clearable},password:{type:Boolean,default:()=>e.defProps.input.password},maxlength:{type:[String,Number],default:()=>e.defProps.input.maxlength},placeholder:{type:String,default:()=>e.defProps.input.placeholder},placeholderClass:{type:String,default:()=>e.defProps.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>e.defProps.input.placeholderStyle},showWordLimit:{type:Boolean,default:()=>e.defProps.input.showWordLimit},confirmType:{type:String,default:()=>e.defProps.input.confirmType},confirmHold:{type:Boolean,default:()=>e.defProps.input.confirmHold},holdKeyboard:{type:Boolean,default:()=>e.defProps.input.holdKeyboard},focus:{type:Boolean,default:()=>e.defProps.input.focus},autoBlur:{type:Boolean,default:()=>e.defProps.input.autoBlur},disableDefaultPadding:{type:Boolean,default:()=>e.defProps.input.disableDefaultPadding},cursor:{type:[String,Number],default:()=>e.defProps.input.cursor},cursorSpacing:{type:[String,Number],default:()=>e.defProps.input.cursorSpacing},selectionStart:{type:[String,Number],default:()=>e.defProps.input.selectionStart},selectionEnd:{type:[String,Number],default:()=>e.defProps.input.selectionEnd},adjustPosition:{type:Boolean,default:()=>e.defProps.input.adjustPosition},inputAlign:{type:String,default:()=>e.defProps.input.inputAlign},fontSize:{type:[String,Number],default:()=>e.defProps.input.fontSize},color:{type:String,default:()=>e.defProps.input.color},prefixIcon:{type:String,default:()=>e.defProps.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:()=>e.defProps.input.prefixIconStyle},suffixIcon:{type:String,default:()=>e.defProps.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:()=>e.defProps.input.suffixIconStyle},border:{type:String,default:()=>e.defProps.input.border},readonly:{type:Boolean,default:()=>e.defProps.input.readonly},shape:{type:String,default:()=>e.defProps.input.shape},formatter:{type:[Function,null],default:()=>e.defProps.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};exports.props=t;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),n=require("../../libs/mixin/mixin.js"),t=require("../../libs/function/index.js"),o=require("../../../../common/vendor.js"),r={name:"u-input",mixins:[i.mpMixin,n.mixin,e.props],data:()=>({clearInput:!1,innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),watch:{modelValue:{immediate:!0,handler(e,i){this.innerValue=e,this.firstChange=!1,this.changeFromInner=!1}}},computed:{isShowClear(){const{clearable:e,readonly:i,focused:n,innerValue:t}=this;return!!e&&!i&&!!n&&""!==t},inputClass(){let e=[],{border:i,disabled:n,shape:t}=this;return"surround"===i&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${t}`),"bottom"===i&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),t.deepMerge(e,t.addStyle(this.customStyle))},inputStyle(){return{color:this.color,fontSize:t.addUnit(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:i=""}=e.detail||{};const n=(this.formatter||this.innerFormatter)(i);this.innerValue=i,this.$nextTick((()=>{this.innerValue=n,this.valueChange()}))},onBlur(e){this.$emit("blur",e.detail.value),t.sleep(150).then((()=>{this.focused=!1})),t.formValidate(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(e){this.$emit("keyboardheightchange",e)},valueChange(){this.clearInput&&(this.innerValue="",this.clearInput=!1);const e=this.innerValue;this.$nextTick((()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),t.formValidate(this,"change")}))},onClear(){this.clearInput=!0,this.innerValue="",this.$nextTick((()=>{this.valueChange(),this.$emit("clear")}))},clickHandler(){}}};if(!Array){o.resolveComponent("u-icon")()}Math;const s=o._export_sfc(r,[["render",function(e,i,n,t,r,s){return o.e({a:e.prefixIcon||e.$slots.prefix},e.prefixIcon||e.$slots.prefix?{b:o.p({name:e.prefixIcon,size:"18",customStyle:e.prefixIconStyle})}:{},{c:o.s(s.inputStyle),d:e.type,e:e.focus,f:e.cursor,g:r.innerValue,h:e.autoBlur,i:e.disabled||e.readonly,j:e.maxlength,k:e.placeholder,l:e.placeholderStyle,m:e.placeholderClass,n:e.confirmType,o:e.confirmHold,p:e.holdKeyboard,q:e.cursorSpacing,r:e.adjustPosition,s:e.selectionEnd,t:e.selectionStart,v:e.password||"password"===e.type||!1,w:e.ignoreCompositionEvent,x:o.o(((...e)=>s.onInput&&s.onInput(...e))),y:o.o(((...e)=>s.onBlur&&s.onBlur(...e))),z:o.o(((...e)=>s.onFocus&&s.onFocus(...e))),A:o.o(((...e)=>s.onConfirm&&s.onConfirm(...e))),B:o.o(((...e)=>s.onkeyboardheightchange&&s.onkeyboardheightchange(...e))),C:o.o(((...e)=>s.clickHandler&&s.clickHandler(...e))),D:s.isShowClear},s.isShowClear?{E:o.p({name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"}),F:o.o(((...e)=>s.onClear&&s.onClear(...e)))}:{},{G:e.suffixIcon||e.$slots.suffix},e.suffixIcon||e.$slots.suffix?{H:o.p({name:e.suffixIcon,size:"18",customStyle:e.suffixIconStyle,imgMode:"widthFix"})}:{},{I:o.n(s.inputClass),J:o.s(s.wrapperStyle)})}],["__scopeId","data-v-bd44b066"]]);wx.createComponent(s);
|
||||
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['u-input', 'data-v-bd44b066', I]}}" style="{{J}}"><view class="u-input__content data-v-bd44b066"><view wx:if="{{a}}" class="u-input__content__prefix-icon data-v-bd44b066"><block wx:if="{{$slots.prefix}}"><slot name="prefix"></slot></block><block wx:else><u-icon wx:if="{{b}}" class="data-v-bd44b066" u-i="bd44b066-0" bind:__l="__l" u-p="{{b}}"></u-icon></block></view><view class="u-input__content__field-wrapper data-v-bd44b066" bindtap="{{C}}"><block wx:if="{{r0}}"><input class="u-input__content__field-wrapper__field data-v-bd44b066" style="{{c}}" type="{{d}}" focus="{{e}}" cursor="{{f}}" value="{{g}}" auto-blur="{{h}}" disabled="{{i}}" maxlength="{{j}}" placeholder="{{k}}" placeholder-style="{{l}}" placeholder-class="{{m}}" confirm-type="{{n}}" confirm-hold="{{o}}" hold-keyboard="{{p}}" cursor-spacing="{{q}}" adjust-position="{{r}}" selection-end="{{s}}" selection-start="{{t}}" password="{{v}}" ignoreCompositionEvent="{{w}}" bindinput="{{x}}" bindblur="{{y}}" bindfocus="{{z}}" bindconfirm="{{A}}" bindkeyboardheightchange="{{B}}"/></block></view><view wx:if="{{D}}" class="u-input__content__clear data-v-bd44b066" bindtap="{{F}}"><u-icon wx:if="{{E}}" class="data-v-bd44b066" u-i="bd44b066-1" bind:__l="__l" u-p="{{E}}"></u-icon></view><view wx:if="{{G}}" class="u-input__content__subfix-icon data-v-bd44b066"><block wx:if="{{$slots.suffix}}"><slot name="suffix"></slot></block><block wx:else><u-icon wx:if="{{H}}" class="data-v-bd44b066" u-i="bd44b066-2" bind:__l="__l" u-p="{{H}}"></u-icon></block></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-input/u-input.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-bd44b066,.u-empty__wrap.data-v-bd44b066,.u-tabs.data-v-bd44b066,.u-tabs__wrapper.data-v-bd44b066,.u-tabs__wrapper__scroll-view-wrapper.data-v-bd44b066,.u-tabs__wrapper__scroll-view.data-v-bd44b066,.u-tabs__wrapper__nav.data-v-bd44b066,.u-tabs__wrapper__nav__line.data-v-bd44b066{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-input.data-v-bd44b066{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:1}.u-input--radius.data-v-bd44b066,.u-input--square.data-v-bd44b066{border-radius:4px}.u-input--no-radius.data-v-bd44b066{border-radius:0}.u-input--circle.data-v-bd44b066{border-radius:100px}.u-input__content.data-v-bd44b066{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-input__content__field-wrapper.data-v-bd44b066{position:relative;display:flex;flex-direction:row;margin:0;flex:1}.u-input__content__field-wrapper__field.data-v-bd44b066{line-height:26px;text-align:left;color:#303133;height:24px;font-size:15px;flex:1}.u-input__content__clear.data-v-bd44b066{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82);margin-left:4px}.u-input__content__subfix-icon.data-v-bd44b066{margin-left:4px}.u-input__content__prefix-icon.data-v-bd44b066{margin-right:4px}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),r={props:{color:{type:String,default:()=>e.defProps.line.color},length:{type:[String,Number],default:()=>e.defProps.line.length},direction:{type:String,default:()=>e.defProps.line.direction},hairline:{type:Boolean,default:()=>e.defProps.line.hairline},margin:{type:[String,Number],default:()=>e.defProps.line.margin},dashed:{type:Boolean,default:()=>e.defProps.line.dashed}}};exports.props=r;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),r=require("../../libs/function/index.js"),s=require("../../../../common/vendor.js"),n={name:"u-line",mixins:[i.mpMixin,t.mixin,e.props],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=r.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=r.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,r.deepMerge(e,r.addStyle(this.customStyle))}}};const o=s._export_sfc(n,[["render",function(e,i,t,r,n,o){return{a:s.s(o.lineStyle)}}],["__scopeId","data-v-7063e61b"]]);wx.createComponent(o);
|
||||
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="u-line data-v-7063e61b" style="{{a}}"></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-line/u-line.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-7063e61b,.u-empty__wrap.data-v-7063e61b,.u-tabs.data-v-7063e61b,.u-tabs__wrapper.data-v-7063e61b,.u-tabs__wrapper__scroll-view-wrapper.data-v-7063e61b,.u-tabs__wrapper__scroll-view.data-v-7063e61b,.u-tabs__wrapper__nav.data-v-7063e61b,.u-tabs__wrapper__nav__line.data-v-7063e61b{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-line.data-v-7063e61b{vertical-align:middle}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),t={props:{color:{type:String,default:()=>e.defProps.link.color},fontSize:{type:[String,Number],default:()=>e.defProps.link.fontSize},underLine:{type:Boolean,default:()=>e.defProps.link.underLine},href:{type:String,default:()=>e.defProps.link.href},mpTips:{type:String,default:()=>e.defProps.link.mpTips},lineColor:{type:String,default:()=>e.defProps.link.lineColor},text:{type:String,default:()=>e.defProps.link.text}}};exports.props=t;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const i=require("../../../../common/vendor.js"),e=require("./props.js"),t=require("../../libs/mixin/mpMixin.js"),n=require("../../libs/mixin/mixin.js"),s=require("../../libs/function/index.js"),o={name:"u-link",mixins:[t.mpMixin,n.mixin,e.props],computed:{linkStyle(){return{color:this.color,fontSize:s.addUnit(this.fontSize),lineHeight:s.addUnit(s.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:s.addStyle,openLink(){i.index.setClipboardData({data:this.href,success:()=>{i.index.hideToast(),this.$nextTick((()=>{s.toast(this.mpTips)}))}}),this.$emit("click")}}};const r=i._export_sfc(o,[["render",function(e,t,n,s,o,r){return{a:i.t(e.text),b:i.o(((...i)=>r.openLink&&r.openLink(...i))),c:i.s(r.linkStyle),d:i.s(r.addStyle(e.customStyle))}}],["__scopeId","data-v-a95516f8"]]);wx.createComponent(r);
|
||||
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<text class="u-link data-v-a95516f8" catchtap="{{b}}" style="{{c + ';' + d}}">{{a}}</text>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-link/u-link.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-a95516f8,.u-empty__wrap.data-v-a95516f8,.u-tabs.data-v-a95516f8,.u-tabs__wrapper.data-v-a95516f8,.u-tabs__wrapper__scroll-view-wrapper.data-v-a95516f8,.u-tabs__wrapper__scroll-view.data-v-a95516f8,.u-tabs__wrapper__nav.data-v-a95516f8,.u-tabs__wrapper__nav__line.data-v-a95516f8{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-link.data-v-a95516f8{line-height:1;display:flex;flex-direction:row;flex-wrap:wrap;flex:1}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-loading-icon/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-loading-icon/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const o=require("../../libs/config/props.js"),e={props:{show:{type:Boolean,default:()=>o.defProps.loadingIcon.show},color:{type:String,default:()=>o.defProps.loadingIcon.color},textColor:{type:String,default:()=>o.defProps.loadingIcon.textColor},vertical:{type:Boolean,default:()=>o.defProps.loadingIcon.vertical},mode:{type:String,default:()=>o.defProps.loadingIcon.mode},size:{type:[String,Number],default:()=>o.defProps.loadingIcon.size},textSize:{type:[String,Number],default:()=>o.defProps.loadingIcon.textSize},text:{type:[String,Number],default:()=>o.defProps.loadingIcon.text},timingFunction:{type:String,default:()=>o.defProps.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>o.defProps.loadingIcon.duration},inactiveColor:{type:String,default:()=>o.defProps.loadingIcon.inactiveColor}}};exports.props=e;
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),o=require("../../libs/function/index.js"),r=require("../../libs/function/colorGradient.js"),n=require("../../../../common/vendor.js"),d={name:"u-loading-icon",mixins:[i.mpMixin,t.mixin,e.props],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=r.colorGradient$1(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:o.addUnit,addStyle:o.addStyle,init(){setTimeout((()=>{}),20)},addEventListenerToWebview(){const e=getCurrentPages(),i=e[e.length-1].$getAppWebview();i.addEventListener("hide",(()=>{this.webviewHide=!0})),i.addEventListener("show",(()=>{this.webviewHide=!1}))}}};const s=n._export_sfc(d,[["render",function(e,i,t,o,r,d){return n.e({a:e.show},e.show?n.e({b:!r.webviewHide},r.webviewHide?{}:n.e({c:"spinner"===e.mode},"spinner"===e.mode?{d:n.f(r.array12,((e,i,t)=>({a:i})))}:{},{e:n.n(`u-loading-icon__spinner--${e.mode}`),f:e.color,g:d.addUnit(e.size),h:d.addUnit(e.size),i:e.color,j:d.otherBorderColor,k:d.otherBorderColor,l:d.otherBorderColor,m:`${e.duration}ms`,n:"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""}),{o:e.text},e.text?{p:n.t(e.text),q:d.addUnit(e.textSize),r:e.textColor}:{},{s:n.s(d.addStyle(e.customStyle)),t:n.n(e.vertical&&"u-loading-icon--vertical")}):{})}],["__scopeId","data-v-40fecea9"]]);wx.createComponent(s);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" style="{{s}}" class="{{['u-loading-icon', 'data-v-40fecea9', t]}}"><view wx:if="{{b}}" class="{{['u-loading-icon__spinner', 'data-v-40fecea9', e]}}" ref="ani" style="{{'color:' + f + ';' + ('width:' + g) + ';' + ('height:' + h) + ';' + ('border-top-color:' + i) + ';' + ('border-bottom-color:' + j) + ';' + ('border-left-color:' + k) + ';' + ('border-right-color:' + l) + ';' + ('animation-duration:' + m) + ';' + ('animation-timing-function:' + n)}}"><block wx:if="{{c}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="a" class="u-loading-icon__dot data-v-40fecea9"></view></block></view><text wx:if="{{o}}" class="u-loading-icon__text data-v-40fecea9" style="{{'font-size:' + q + ';' + ('color:' + r)}}">{{p}}</text></view>
|
||||
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-40fecea9,.u-empty__wrap.data-v-40fecea9,.u-tabs.data-v-40fecea9,.u-tabs__wrapper.data-v-40fecea9,.u-tabs__wrapper__scroll-view-wrapper.data-v-40fecea9,.u-tabs__wrapper__scroll-view.data-v-40fecea9,.u-tabs__wrapper__nav.data-v-40fecea9,.u-tabs__wrapper__nav__line.data-v-40fecea9{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon.data-v-40fecea9{display:flex;flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text.data-v-40fecea9{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner.data-v-40fecea9{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:u-rotate-40fecea9 1s linear infinite}.u-loading-icon__spinner--semicircle.data-v-40fecea9{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.u-loading-icon__spinner--circle.data-v-40fecea9{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical.data-v-40fecea9{flex-direction:column}.data-v-40fecea9:host{font-size:0px;line-height:1}.u-loading-icon__spinner--spinner.data-v-40fecea9{animation-timing-function:steps(12)}.u-loading-icon__text.data-v-40fecea9:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text.data-v-40fecea9{margin:6px 0 0;color:#606266}.u-loading-icon__dot.data-v-40fecea9{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot.data-v-40fecea9:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(1){transform:rotate(30deg);opacity:1}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(3){transform:rotate(90deg);opacity:.875}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(5){transform:rotate(150deg);opacity:.75}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(7){transform:rotate(210deg);opacity:.625}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(9){transform:rotate(270deg);opacity:.5}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(11){transform:rotate(330deg);opacity:.375}.u-loading-icon__dot.data-v-40fecea9:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes u-rotate-40fecea9{0%{transform:rotate(0)}to{transform:rotate(1turn)}}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),r={props:{show:{type:Boolean,default:()=>e.defProps.overlay.show},zIndex:{type:[String,Number],default:()=>e.defProps.overlay.zIndex},duration:{type:[String,Number],default:()=>e.defProps.overlay.duration},opacity:{type:[String,Number],default:()=>e.defProps.overlay.opacity}}};exports.props=r;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),o=require("../../libs/function/index.js"),r=require("../../../../common/vendor.js"),n={name:"u-overlay",mixins:[i.mpMixin,t.mixin,e.props],computed:{overlayStyle(){const e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return o.deepMerge(e,o.addStyle(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}};if(!Array){r.resolveComponent("u-transition")()}Math;const s=r._export_sfc(n,[["render",function(e,i,t,o,n,s){return{a:r.o(s.clickHandler),b:r.p({show:e.show,"custom-class":"u-overlay",duration:e.duration,"custom-style":s.overlayStyle})}}],["__scopeId","data-v-f7274be9"]]);wx.createComponent(s);
|
||||
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-transition": "../u-transition/u-transition"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<u-transition wx:if="{{b}}" class="data-v-f7274be9" u-s="{{['d']}}" bindclick="{{a}}" u-i="f7274be9-0" bind:__l="__l" u-p="{{b}}"><slot/></u-transition>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-f7274be9,.u-empty__wrap.data-v-f7274be9,.u-tabs.data-v-f7274be9,.u-tabs__wrapper.data-v-f7274be9,.u-tabs__wrapper__scroll-view-wrapper.data-v-f7274be9,.u-tabs__wrapper__scroll-view.data-v-f7274be9,.u-tabs__wrapper__nav.data-v-f7274be9,.u-tabs__wrapper__nav__line.data-v-f7274be9{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-overlay.data-v-f7274be9{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),r={props:{show:{type:Boolean,default:()=>e.defProps.picker.show},popupMode:{type:String,default:()=>e.defProps.picker.popupMode},showToolbar:{type:Boolean,default:()=>e.defProps.picker.showToolbar},title:{type:String,default:()=>e.defProps.picker.title},columns:{type:Array,default:()=>e.defProps.picker.columns},loading:{type:Boolean,default:()=>e.defProps.picker.loading},itemHeight:{type:[String,Number],default:()=>e.defProps.picker.itemHeight},cancelText:{type:String,default:()=>e.defProps.picker.cancelText},confirmText:{type:String,default:()=>e.defProps.picker.confirmText},cancelColor:{type:String,default:()=>e.defProps.picker.cancelColor},confirmColor:{type:String,default:()=>e.defProps.picker.confirmColor},visibleItemCount:{type:[String,Number],default:()=>e.defProps.picker.visibleItemCount},keyName:{type:String,default:()=>e.defProps.picker.keyName},closeOnClickOverlay:{type:Boolean,default:()=>e.defProps.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:()=>e.defProps.picker.defaultIndex},immediateChange:{type:Boolean,default:()=>e.defProps.picker.immediateChange}}};exports.props=r;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),n=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),i=require("../../libs/function/index.js"),s=require("../../libs/function/test.js"),o=require("../../../../common/vendor.js"),l={name:"u-picker",mixins:[n.mpMixin,t.mixin,e.props],data:()=>({lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0}),watch:{defaultIndex:{immediate:!0,handler(e){this.setIndexs(e,!0)}},columns:{immediate:!0,deep:!0,handler(e){this.setColumns(e)}}},emits:["close","cancel","confirm","change"],methods:{addUnit:i.addUnit,testArray:s.test.array,getItemText(e){return s.test.object(e)?e[this.keyName]:e},closeHandler(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map(((e,n)=>e[this.innerIndex[n]])),values:this.innerColumns})},changeHandler(e){const{value:n}=e.detail;let t=0,i=0;for(let o=0;o<n.length;o++){let e=n[o];if(e!==(this.lastIndex[o]||0)){i=o,t=e;break}}this.columnIndex=i;const s=this.innerColumns;this.setLastIndex(n),this.setIndexs(n),this.$emit("change",{value:this.innerColumns.map(((e,t)=>e[n[t]])),index:t,indexs:n,values:s,columnIndex:i})},setIndexs(e,n){this.innerIndex=i.deepClone(e),n&&this.setLastIndex(e)},setLastIndex(e){this.lastIndex=i.deepClone(e)},setColumnValues(e,n){this.innerColumns.splice(e,1,n),this.setLastIndex(this.innerIndex.slice(0,e));let t=i.deepClone(this.innerIndex);for(let i=0;i<this.innerColumns.length;i++)i>this.columnIndex&&(t[i]=0);this.setIndexs(t)},getColumnValues(e){return(async()=>{await i.sleep()})(),this.innerColumns[e]},setColumns(e){this.innerColumns=i.deepClone(e),0===this.innerIndex.length&&(this.innerIndex=new Array(e.length).fill(0))},getIndexs(){return this.innerIndex},getValues(){return(async()=>{await i.sleep()})(),this.innerColumns.map(((e,n)=>e[this.innerIndex[n]]))}}};if(!Array){(o.resolveComponent("u-toolbar")+o.resolveComponent("u-loading-icon")+o.resolveComponent("u-popup"))()}Math||((()=>"../u-toolbar/u-toolbar.js")+(()=>"../u-loading-icon/u-loading-icon.js")+(()=>"../u-popup/u-popup.js"))();const r=o._export_sfc(l,[["render",function(e,n,t,i,s,l){return o.e({a:e.showToolbar},e.showToolbar?{b:o.o(l.cancel),c:o.o(l.confirm),d:o.p({cancelColor:e.cancelColor,confirmColor:e.confirmColor,cancelText:e.cancelText,confirmText:e.confirmText,title:e.title})}:{},{e:o.f(s.innerColumns,((n,t,i)=>o.e({a:l.testArray(n)},l.testArray(n)?{b:o.f(n,((e,n,i)=>({a:o.t(l.getItemText(e)),b:n,c:n===s.innerIndex[t]?"bold":"normal"}))),c:l.addUnit(e.itemHeight),d:l.addUnit(e.itemHeight)}:{},{e:t}))),f:`height: ${l.addUnit(e.itemHeight)}`,g:s.innerIndex,h:e.immediateChange,i:`${l.addUnit(e.visibleItemCount*e.itemHeight)}`,j:o.o(((...e)=>l.changeHandler&&l.changeHandler(...e))),k:e.loading},e.loading?{l:o.p({mode:"circle"})}:{},{m:o.o(l.closeHandler),n:o.p({show:e.show,mode:e.popupMode})})}],["__scopeId","data-v-299ac2e6"]]);wx.createComponent(r);
|
||||
8
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-toolbar": "../u-toolbar/u-toolbar",
|
||||
"u-loading-icon": "../u-loading-icon/u-loading-icon",
|
||||
"u-popup": "../u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<u-popup wx:if="{{n}}" class="data-v-299ac2e6" u-s="{{['d']}}" bindclose="{{m}}" u-i="299ac2e6-0" bind:__l="__l" u-p="{{n}}"><view class="u-picker data-v-299ac2e6"><u-toolbar wx:if="{{a}}" class="data-v-299ac2e6" bindcancel="{{b}}" bindconfirm="{{c}}" u-i="299ac2e6-1,299ac2e6-0" bind:__l="__l" u-p="{{d}}"></u-toolbar><picker-view class="u-picker__view data-v-299ac2e6" indicatorStyle="{{f}}" value="{{g}}" immediateChange="{{h}}" style="{{'height:' + i}}" bindchange="{{j}}"><picker-view-column wx:for="{{e}}" wx:for-item="item" wx:key="e" class="u-picker__view__column data-v-299ac2e6"><block wx:if="{{item.a}}"><view wx:for="{{item.b}}" wx:for-item="item1" wx:key="b" class="u-picker__view__column__item u-line-1 data-v-299ac2e6" style="{{'height:' + item.c + ';' + ('line-height:' + item.d) + ';' + ('font-weight:' + item1.c) + ';' + ('display:' + 'block')}}">{{item1.a}}</view></block></picker-view-column></picker-view><view wx:if="{{k}}" class="u-picker--loading data-v-299ac2e6"><u-loading-icon wx:if="{{l}}" class="data-v-299ac2e6" u-i="299ac2e6-2,299ac2e6-0" bind:__l="__l" u-p="{{l}}"></u-loading-icon></view></view></u-popup>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-299ac2e6,.u-empty__wrap.data-v-299ac2e6,.u-tabs.data-v-299ac2e6,.u-tabs__wrapper.data-v-299ac2e6,.u-tabs__wrapper__scroll-view-wrapper.data-v-299ac2e6,.u-tabs__wrapper__scroll-view.data-v-299ac2e6,.u-tabs__wrapper__nav.data-v-299ac2e6,.u-tabs__wrapper__nav__line.data-v-299ac2e6{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-picker.data-v-299ac2e6{position:relative}.u-picker__view__column.data-v-299ac2e6{display:flex;flex-direction:row;flex:1;justify-content:center}.u-picker__view__column__item.data-v-299ac2e6{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:16px;text-align:center;display:block;color:#303133}.u-picker__view__column__item--disabled.data-v-299ac2e6{cursor:not-allowed;opacity:.35}.u-picker--loading.data-v-299ac2e6{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:rgba(255,255,255,.87);z-index:1000}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../libs/config/props.js"),o={props:{show:{type:Boolean,default:()=>e.defProps.popup.show},overlay:{type:Boolean,default:()=>e.defProps.popup.overlay},mode:{type:String,default:()=>e.defProps.popup.mode},duration:{type:[String,Number],default:()=>e.defProps.popup.duration},closeable:{type:Boolean,default:()=>e.defProps.popup.closeable},overlayStyle:{type:[Object,String],default:()=>e.defProps.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>e.defProps.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>e.defProps.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>e.defProps.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>e.defProps.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>e.defProps.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>e.defProps.popup.round},zoom:{type:Boolean,default:()=>e.defProps.popup.zoom},bgColor:{type:String,default:()=>e.defProps.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>e.defProps.popup.overlayOpacity}}};exports.props=o;
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./props.js"),t=require("../../libs/mixin/mpMixin.js"),o=require("../../libs/mixin/mixin.js"),i=require("../../libs/function/index.js"),s=require("../../../../common/vendor.js"),n={name:"u-popup",mixins:[t.mpMixin,o.mixin,e.props],data(){return{overlayDuration:this.duration+50}},watch:{show(e,t){if(!0===e){const e=this.$children;this.retryComputedComponentRect(e)}}},computed:{transitionStyle(){const e={zIndex:this.zIndex,position:"fixed",display:"flex"};return e[this.mode]=0,"left"===this.mode||"right"===this.mode?i.deepMerge(e,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?i.deepMerge(e,{left:0,right:0}):"center"===this.mode?i.deepMerge(e,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const e={};if(i.sys(),"center"!==this.mode&&(e.flex=1),this.bgColor&&(e.backgroundColor=this.bgColor),this.round){const t=i.addUnit(this.round);"top"===this.mode?(e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t):"bottom"===this.mode?(e.borderTopLeftRadius=t,e.borderTopRightRadius=t):"center"===this.mode&&(e.borderRadius=t)}return i.deepMerge(e,i.addStyle(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click"],methods:{overlayClick(){this.closeOnClickOverlay&&this.$emit("close")},close(e){this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")},retryComputedComponentRect(e){const t=["u-calendar-month","u-album","u-collapse-item","u-dropdown","u-index-item","u-index-list","u-line-progress","u-list-item","u-rate","u-read-more","u-row","u-row-notice","u-scroll-list","u-skeleton","u-slider","u-steps-item","u-sticky","u-subsection","u-swipe-action-item","u-tabbar","u-tabs","u-tooltip"];for(let o=0;o<e.length;o++){const s=e[o],n=s.$children;t.includes(s.$options.name)&&"function"==typeof(null==s?void 0:s.init)&&i.sleep(50).then((()=>{s.init()})),n.length&&this.retryComputedComponentRect(n)}}}};if(!Array){(s.resolveComponent("u-overlay")+s.resolveComponent("u-status-bar")+s.resolveComponent("u-icon")+s.resolveComponent("u-safe-bottom")+s.resolveComponent("u-transition"))()}Math||((()=>"../u-overlay/u-overlay.js")+(()=>"../u-status-bar/u-status-bar.js")+(()=>"../u-icon/u-icon.js")+(()=>"../u-safe-bottom/u-safe-bottom.js")+(()=>"../u-transition/u-transition.js"))();const r=s._export_sfc(n,[["render",function(e,t,o,i,n,r){return s.e({a:e.overlay},e.overlay?{b:s.o(r.overlayClick),c:s.p({show:e.show,zIndex:e.zIndex,duration:n.overlayDuration,customStyle:e.overlayStyle,opacity:e.overlayOpacity})}:{},{d:e.safeAreaInsetTop},(e.safeAreaInsetTop,{}),{e:e.closeable},e.closeable?{f:s.p({name:"close",color:"#909399",size:"18",bold:!0}),g:s.o(((...e)=>r.close&&r.close(...e))),h:s.n("u-popup__content__close--"+e.closeIconPos)}:{},{i:e.safeAreaInsetBottom},(e.safeAreaInsetBottom,{}),{j:s.s(r.contentStyle),k:s.o(((...t)=>e.noop&&e.noop(...t))),l:s.o(r.afterEnter),m:s.o(r.clickHandler),n:s.p({show:e.show,customStyle:r.transitionStyle,mode:r.position,duration:e.duration})})}],["__scopeId","data-v-17be791b"]]);wx.createComponent(r);
|
||||
10
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-overlay": "../u-overlay/u-overlay",
|
||||
"u-status-bar": "../u-status-bar/u-status-bar",
|
||||
"u-icon": "../u-icon/u-icon",
|
||||
"u-safe-bottom": "../u-safe-bottom/u-safe-bottom",
|
||||
"u-transition": "../u-transition/u-transition"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="u-popup data-v-17be791b"><u-overlay wx:if="{{a}}" class="data-v-17be791b" bindclick="{{b}}" u-i="17be791b-0" bind:__l="__l" u-p="{{c}}"></u-overlay><u-transition wx:if="{{n}}" class="data-v-17be791b" u-s="{{['d']}}" bindafterEnter="{{l}}" bindclick="{{m}}" u-i="17be791b-1" bind:__l="__l" u-p="{{n}}"><view class="u-popup__content data-v-17be791b" style="{{j}}" catchtap="{{k}}"><u-status-bar wx:if="{{d}}" class="data-v-17be791b" u-i="17be791b-2,17be791b-1" bind:__l="__l"></u-status-bar><slot></slot><view wx:if="{{e}}" catchtap="{{g}}" class="{{['u-popup__content__close', 'data-v-17be791b', h]}}" hover-class="u-popup__content__close--hover" hover-stay-time="150"><u-icon wx:if="{{f}}" class="data-v-17be791b" u-i="17be791b-3,17be791b-1" bind:__l="__l" u-p="{{f}}"></u-icon></view><u-safe-bottom wx:if="{{i}}" class="data-v-17be791b" u-i="17be791b-4,17be791b-1" bind:__l="__l"></u-safe-bottom></view></u-transition></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-popup/u-popup.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.u-empty.data-v-17be791b,.u-empty__wrap.data-v-17be791b,.u-tabs.data-v-17be791b,.u-tabs__wrapper.data-v-17be791b,.u-tabs__wrapper__scroll-view-wrapper.data-v-17be791b,.u-tabs__wrapper__scroll-view.data-v-17be791b,.u-tabs__wrapper__nav.data-v-17be791b,.u-tabs__wrapper__nav__line.data-v-17be791b{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-popup.data-v-17be791b{flex:1}.u-popup__content.data-v-17be791b{background-color:#fff;position:relative}.u-popup__content--round-top.data-v-17be791b{border-radius:0 0 10px 10px}.u-popup__content--round-left.data-v-17be791b{border-radius:0 10px 10px 0}.u-popup__content--round-right.data-v-17be791b{border-radius:10px 0 0 10px}.u-popup__content--round-bottom.data-v-17be791b{border-radius:10px 10px 0 0}.u-popup__content--round-center.data-v-17be791b{border-radius:10px}.u-popup__content__close.data-v-17be791b{position:absolute}.u-popup__content__close--hover.data-v-17be791b{opacity:.4}.u-popup__content__close--top-left.data-v-17be791b{top:15px;left:15px}.u-popup__content__close--top-right.data-v-17be791b{top:15px;right:15px}.u-popup__content__close--bottom-left.data-v-17be791b{bottom:15px;left:15px}.u-popup__content__close--bottom-right.data-v-17be791b{right:15px;bottom:15px}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-safe-bottom/props.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-safe-bottom/props.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.props={props:{}};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user