GithubHelp home page GithubHelp logo

teahouse's Introduction

官网: https://haomo-tech.com

作者: 毫末科技

邮箱: [email protected]

预览

预览图片

在线效果预览

更多毫末科技的uni-app跨端模板,请见毫末科技uni-app跨端模板

技术支持

毫末科技将长期迭代本组件。需要技术支持,请进钉钉群:

概述

毫末uni-app新闻卡片组件。支持H5/小程序(微信、支付宝、头条、百度、QQ)/App;组件可自适应各种屏幕大小的手机。

使用

请使用HBuilderX导入组件。

在script中引用:

import HmFriendInformationCard from '@/components/hm-friend-information-card/index.vue'
export default {
    components: {HmFriendInformationCard}
}

在template中使用:

<template>
  <div class="test-component">
    <hm-friend-information-card :options="options"></hm-friend-information-card>
  </div>
</template>
<script>
import HmFriendInformationCard from '@/components/hm-components/hm-friend-information-card/index.vue'

export default {
  components: {
    HmFriendInformationCard
    },
  data() {
    return {
      options: {
          primary:
            '/static/hm-friend-information-card/images/img_24031_0_1.png',
          name: '张三',
          titleImg:
            '/static/hm-friend-information-card/images/img_24031_0_0.png',
          address: '深圳'
        }
    };
  },
  methods: {
  }
};
</script>
<style>
</style>


属性说明

属性名 类型 默认值 说明
options Object - 卡片属性

options对象各个属性说明如下:

属性名 类型 默认值 说明

| primary | String | - | 图片 | | name | String | - | 姓名 | | titleImg | String | - | 图片 | | address | String | - | 地址 |

事件说明

更新日志

0.0.1(2020-03-010)

  • 完成第一个版本

teahouse's People

Contributors

aa-oo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.