1.0.26 • Published 2 years ago

hydee v1.0.26

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How To Load Components

  • npm i hydee -S

  • Add pages.json easycom options below of this content.

"easycom": {
    "^h-(.*)": "hydee/h-$1/h-$1.vue"
}

Configuration About Components By Custom

h-form


namedescriptionparams
modelInitial of validate props collectObject

h-form-item


namedescriptiontypeparams
labelform-item display text in leftStringWeixin MiniProgram please add at least one space
propvaliate propString- -
label-widthThe width of labelNumber--
labelStylecustom config label stylesheetObject{height: 'auto'} - -

h-input


namedescriptiontypeparams
valuebind of default prop of input valueString-
prefix-iconshow icon in prefix positionStringyonghu/mima/.etc
clearableshow icon in end positionStringyonghu/mima/.etc

Note:

Icon files loading by iconfont,you can custom build by yourself to replace @/components/hydee/styles/base.scss

Attention: when you load network assets of font or icon files,please add protocol https:// inaddtional.

@font-face {
  font-family: 'h-icon'; /* Project id 2866670 */
  src: url('https://at.alicdn.com/t/font_2866670_nsz8cv592md.woff2?t=1640056620429')
      format('woff2'), url('https://at.alicdn.com/t/font_2866670_nsz8cv592md.woff?t=1640056620429')
      format('woff'),
    url('https://at.alicdn.com/t/font_2866670_nsz8cv592md.ttf?t=1640056620429')
      format('truetype');
}

h-combox


namedescriptiontypeparams
candidatesbasic select options build by yourselfArray--
prefix-iconshow icon in prefix positionStringyonghu/mima/.etc
suffix-iconshow icon in suffix positionStringyonghu/mima/.etc
filterablecontrol of filter the optionsBooleandefault: false
disabledcontrol input enter and pointer-eventsBooleandefault: false
filterabletoggle dropdown mode of filter ableBooleandefault: false
shapebasic show right angle or border radiusStringdefault: circle|
emptyTipstext describe of empty optionsStringNo Match
labeltext of label optionString---
labelWidthtext of label width optionString or Number100
prefixIcondisplay prefix icon with static pathString'../statac/test.svg'
suffixIcondisplay suffix icon with static pathString'../statac/test.svg'
customStylecustom stylesheetObject{height: 'auto'}

Note:

H-combox use componentName with h-input to ignore boardcast validate events.


h-button


namedescriptiontypeparams
typeInitialize for basic button typeStringprimary/default/.etc
shapeThe shape of the button displayStringsquare/circle
loadingThe async process statusBooleanfalse
accessTypecategory of weixin access typeStringphone/userinfo
authCallbackemit accessType callback dataEvent--

h-config


namedescriptiontypeparams
configTitledisplay of major infoString--
configSubTitledisplay other infoString--
cardCollectcollect h-card display infoArray--
hiddenTogglecontrol dispaly toggle iconBoolean--
@customthe custom event about toggle iconEvent--
@accept-itemAccept inside appid and weChatAppIdEvent--
slotsProvide owncard slots to build yourself list attributeslot--

h-access


Attention: click.native was nou-use when you set access type

namedescriptiontypeparams
accessTitledisplay of major infoString--
accessSubTitledisplay other infoString--
illustrationsthe illustrations of center contentString../../static
loadingasync status of buttonBoolean
navigateTextthe navigator text of button copywirtingString---
accessTypewhether open options of get phone number or userinfoStringuserinfo/phone/none
cancelLoginwhether open options of open un-login textBoolean--
@authCallbackuse userinfo or phone access type to callbackEvent--
@cancelLoginthe event about cancelLogin options eventEvent--
@clicknative clickEvent--
slotsProvide slot name custom to build your own button or otherEvent--

h-status


namedescriptiontypeparams
navigateTitledisplay of major infoString--
navigationIcondisplay status bar left iconBoolean--
@customcustom event of click left iconEvent

h-moveable


namedescriptiontypeparams
customStyleset canvas style attributeObject--
iconPathstatic path of png/svgString--
@customcustom event of click left iconEvent

1.0.22

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.11

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.10

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago