业务助手-运行日报小程序-前端
Go to file
xuyucheng cbd84bba74 mode 2023-03-07 18:03:25 +08:00
.hbuilderx init 2023-03-02 09:44:12 +08:00
common mode 2023-03-07 18:03:25 +08:00
components mode 2023-03-07 18:03:25 +08:00
pages mode 2023-03-07 18:03:25 +08:00
uni_modules mode 2023-03-07 18:03:25 +08:00
unpackage/dist/dev mode 2023-03-07 18:03:25 +08:00
.DS_Store init 2023-03-02 09:44:12 +08:00
App.vue mode 2023-03-07 18:03:25 +08:00
LICENSE init 2023-03-02 09:44:12 +08:00
README.md init 2023-03-02 09:44:12 +08:00
index.html init 2023-03-02 09:44:12 +08:00
main.js init 2023-03-02 09:44:12 +08:00
manifest.json mode 2023-03-07 18:03:25 +08:00
package.json init 2023-03-02 09:44:12 +08:00
pages.json mode 2023-03-07 18:03:25 +08:00
public.css init 2023-03-02 09:44:12 +08:00
uni.scss init 2023-03-02 09:44:12 +08:00

README.md

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

作者: 毫末科技

邮箱: hxg@haomo-studio.com

预览

预览图片

在线效果预览

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

技术支持

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

概述

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

使用

请使用HBuilderX导入组件。

在script中引用

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

在template中使用

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

export default {
  components: {
    HmInformationCard
    },
  data() {
    return {
      options: {
          tag: '阿杰',
          alexander: '阿雷',
          data: '星期三',
          titleImg:
            '/static/hm-information-card/images/img_24030_0_1.png',
          summary:
            '全息用户界面提供输入到电子或机电设备通过通过手指通过复制全息图像什么',
          word: '…',
          shoucang:
            '/static/hm-information-card/images/img_24030_0_0.png',
          num: '783',
          like: '喜欢'
        }
    };
  },
  methods: {
  }
};
</script>
<style>
</style>



属性说明

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

options对象各个属性说明如下

属性名 类型 默认值 说明
tag String - 头像名
alexander String - 名字
data String - 时间
titleImg String - 图片
word String - 分享
summary String - 内容
shoucang String - 图片
num String - 人数
like String - 喜欢

事件说明

更新日志

0.0.1(2020-03-010)

  • 完成第一个版本