@jushuitan/uniapp-modules

gyl uniapp 供应链组件库

Usage no npm install needed!

<script type="module">
  import jushuitanUniappModules from 'https://cdn.skypack.dev/@jushuitan/uniapp-modules';
</script>

README

使用

使用要求

  • uView UI 框架
# easycom 配置
"easycom": {
    "autoscan": true,
    "custom": {
        "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
        "^jst-(.*)": "@jushuitan/uniapp-modules/components/jst-$1/jst-$1.vue"
    }
}

jst-login 登录

页面使用

<template>
   <jst-login :form-type="['account', 'code']" :show-agreement="false" />
</template>

参数

  • formType: ['account', 'code'] 同时显示账号与手机 'account' 账户 'code' 验证码
  • showAgreement: 显示协议