first commit
This commit is contained in:
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-button/u-button"],{"4f5f":function(t,i,o){"use strict";o.r(i);var n=o("6d40"),e=o.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(i,t,(function(){return n[t]}))}(r);i["default"]=e.a},"65eb":function(t,i,o){"use strict";o.d(i,"b",(function(){return e})),o.d(i,"c",(function(){return r})),o.d(i,"a",(function(){return n}));var n={uLoadingIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-loading-icon/u-loading-icon")]).then(o.bind(null,"01e0"))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,"15bf"))}},e=function(){var t=this.$createElement,i=(this._self._c,this.__get_style([this.baseColor,this.$u.addStyle(this.customStyle)])),o=Number(this.hoverStartTime),n=Number(this.hoverStayTime);this.$mp.data=Object.assign({},{$root:{s0:i,m0:o,m1:n}})},r=[]},"6d40":function(t,i,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n(o("a60c")),r=n(o("98ad")),u=n(o("82c3")),c={name:"u-button",mixins:[t.$u.mpMixin,t.$u.mixin,e.default,r.default,u.default],data:function(){return{}},computed:{bemClass:function(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor:function(){return this.plain?this.color?this.color:t.$u.config.color["u-".concat(this.type)]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom:function(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor:function(){var t={};return this.color&&(t.color=this.plain?this.color:"white",this.plain||(t["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(t.borderTopWidth=0,t.borderRightWidth=0,t.borderBottomWidth=0,t.borderLeftWidth=0,this.plain||(t.backgroundImage=this.color)):(t.borderColor=this.color,t.borderWidth="1px",t.borderStyle="solid")),t},nvueTextStyle:function(){var t={};return"info"===this.type&&(t.color="#323233"),this.color&&(t.color=this.plain?this.color:"white"),t.fontSize=this.textSize+"px",t},textSize:function(){var t=14,i=this.size;return"large"===i&&(t=16),"normal"===i&&(t=14),"small"===i&&(t=12),"mini"===i&&(t=10),t}},methods:{clickHandler:function(){var i=this;this.disabled||this.loading||t.$u.throttle((function(){i.$emit("click")}),this.throttleTime)},getphonenumber:function(t){this.$emit("getphonenumber",t)},getuserinfo:function(t){this.$emit("getuserinfo",t)},error:function(t){this.$emit("error",t)},opensetting:function(t){this.$emit("opensetting",t)},launchapp:function(t){this.$emit("launchapp",t)}}};i.default=c}).call(this,o("df3c")["default"])},"72cc":function(t,i,o){"use strict";var n=o("7fb2"),e=o.n(n);e.a},"7fb2":function(t,i,o){},e1a8:function(t,i,o){"use strict";o.r(i);var n=o("65eb"),e=o("4f5f");for(var r in e)["default"].indexOf(r)<0&&function(t){o.d(i,t,(function(){return e[t]}))}(r);o("72cc");var u=o("828b"),c=Object(u["a"])(e["default"],n["b"],n["c"],!1,null,"18373a4f",null,!1,n["a"],void 0);i["default"]=c.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'node-modules/uview-ui/components/u-button/u-button-create-component',
|
||||
{
|
||||
'node-modules/uview-ui/components/u-button/u-button-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("e1a8"))
|
||||
})
|
||||
},
|
||||
[['node-modules/uview-ui/components/u-button/u-button-create-component']]
|
||||
]);
|
||||
7
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon",
|
||||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<button class="{{['u-button','u-reset-button','data-v-18373a4f',bemClass]}}" style="{{$root.s0}}" hover-start-time="{{$root.m0}}" hover-stay-time="{{$root.m1}}" form-type="{{formType}}" open-type="{{openType}}" app-parameter="{{appParameter}}" hover-stop-propagation="{{hoverStopPropagation}}" send-message-title="{{sendMessageTitle}}" send-message-path="{{sendMessagePath}}" lang="{{lang}}" data-name="{{dataName}}" session-from="{{sessionFrom}}" send-message-img="{{sendMessageImg}}" show-message-card="{{showMessageCard}}" hover-class="{{!disabled&&!loading?'u-button--active':''}}" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]],['getuserinfo',[['getuserinfo',['$event']]]],['error',[['error',['$event']]]],['opensetting',[['opensetting',['$event']]]],['launchapp',[['launchapp',['$event']]]],['tap',[['clickHandler',['$event']]]]]}}" bindgetphonenumber="__e" bindgetuserinfo="__e" binderror="__e" bindopensetting="__e" bindlaunchapp="__e" bindtap="__e"><block wx:if="{{loading}}"><u-loading-icon vue-id="113d4a8d-1" mode="{{loadingMode}}" size="{{loadingSize*1.15}}" color="{{loadingColor}}" class="data-v-18373a4f" bind:__l="__l"></u-loading-icon><text class="u-button__loading-text data-v-18373a4f" style="{{'font-size:'+(textSize+'px')+';'}}">{{loadingText||text}}</text></block><block wx:else><block wx:if="{{icon}}"><u-icon vue-id="113d4a8d-2" name="{{icon}}" color="{{iconColorCom}}" size="{{textSize*1.35}}" customStyle="{{({marginRight:'2px'})}}" class="data-v-18373a4f" bind:__l="__l"></u-icon></block><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text class="u-button__text data-v-18373a4f" style="{{'font-size:'+(textSize+'px')+';'}}">{{text}}</text></block></block></button>
|
||||
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-button/u-button.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
view.data-v-18373a4f, scroll-view.data-v-18373a4f, swiper-item.data-v-18373a4f{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-18373a4f{width:100%}.u-button__text.data-v-18373a4f{white-space:nowrap;line-height:1}.u-button.data-v-18373a4f:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.u-button--active.data-v-18373a4f:before{opacity:.15}.u-button__icon + .u-button__text.data-v-18373a4f:not(:empty), .u-button__loading-text.data-v-18373a4f{margin-left:4px}.u-button--plain.u-button--primary.data-v-18373a4f{color:#7999c3}.u-button--plain.u-button--info.data-v-18373a4f{color:#909399}.u-button--plain.u-button--success.data-v-18373a4f{color:#5ac725}.u-button--plain.u-button--error.data-v-18373a4f{color:#f56c6c}.u-button--plain.u-button--warning.data-v-18373a4f{color:#f56c6c}.u-button.data-v-18373a4f{height:40px;position:relative;align-items:center;justify-content:center;display:flex;flex-direction:row;box-sizing:border-box;flex-direction:row}.u-button__text.data-v-18373a4f{font-size:15px}.u-button__loading-text.data-v-18373a4f{font-size:15px;margin-left:4px}.u-button--large.data-v-18373a4f{width:100%;height:50px;padding:0 15px}.u-button--normal.data-v-18373a4f{padding:0 12px;font-size:14px}.u-button--small.data-v-18373a4f{min-width:60px;height:30px;padding:0 8px;font-size:12px}.u-button--mini.data-v-18373a4f{height:22px;font-size:10px;min-width:50px;padding:0 8px}.u-button--disabled.data-v-18373a4f{opacity:.5}.u-button--info.data-v-18373a4f{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.u-button--success.data-v-18373a4f{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.u-button--primary.data-v-18373a4f{color:#fff;background-color:#7999c3;border-color:#7999c3;border-width:1px;border-style:solid}.u-button--error.data-v-18373a4f{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.u-button--warning.data-v-18373a4f{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.u-button--block.data-v-18373a4f{display:flex;flex-direction:row;width:100%}.u-button--circle.data-v-18373a4f{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px}.u-button--square.data-v-18373a4f{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.u-button__icon.data-v-18373a4f{min-width:1em;line-height:inherit!important;vertical-align:top}.u-button--plain.data-v-18373a4f{background-color:#fff}.u-button--hairline.data-v-18373a4f{border-width:.5px!important}
|
||||
Reference in New Issue
Block a user