- 授权协议: Apache-2.0
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://gitee.com/didiopensource/mand-mobile
- 软件文档: https://gitee.com/didiopensource/mand-mobile/blob/master/README.zh-CN.md
软件介绍
mand-mobile 是一个面向金融场景的 Vue.js 移动端 UI 组件库。
体验地址
安装
npm install mand-mobile --save
导入
使用 babel-plugin-import 或者 ts-import-plugin (Recommended)
import { Button } from 'mand-mobile'手动导入
import Button from 'mand-mobile/lib/button'
全部导入
import Vue from 'vue' import mandMobile from 'mand-mobile' import 'mand-mobile/lib/mand-mobile.css' Vue.use(mandMobile)
使用
选择构建Web应用程序所需的组件。在组件预览中查找更多细节。
<template>
<div id="app">
<md-field title="form" class="block">
<md-input-item
title="name"
placeholder="Please input your name."
></md-input-item>
<md-field-item
title="sex"
arrow="arrow-right"
:value="sex"
@click="isPickerShow = true"
solid
></md-field-item>
<md-picker
v-model="isPickerShow"
:data="pickerData"
title="sex"
></md-picker>
</md-field>
<md-agree class="agree">
Agree to the privacy policy.
</md-agree>
<md-action-bar :actions="actionBarData">
¥128.00
</md-action-bar>
</div>
</template>
<script>
import {
Agree,
ActionBar,
Field,
FieldItem,
InputItem,
Picker
} from 'mand-mobile'
export default {
name: 'app',
components: {
[Agree.name]: Agree,
[ActionBar.name]: ActionBar,
[Field.name]: Field,
[FieldItem.name]: FieldItem,
[InputItem.name]: InputItem,
[Picker.name]: Picker
},
data () {
return {
isPickerShow: false,
actionBarData: [{
text: 'confirm'
}],
pickerData: [
[
{ text: 'male' },
{ text: 'female' }
]
]
}
}
}
</script>
C++设计新思维
(美)Andrei Alexandrescu / 侯捷、於春景 / 华中科技大学出版社 / 2003-03 / 59.8
本书从根本上展示了generic patterns(泛型模式)或pattern templates(模式模板),并将它们视之为“在C++中创造可扩充设计”的一种功能强大的新方法。这种方法结合了template和patterns,你可能未曾想过,但的确存在。为C++打开了全新视野,而且不仅仅在编程方面,还在于软件设计本身;对软件分析和软件体系结构来说,它也具有丰富的内涵。一起来看看 《C++设计新思维》 这本书的介绍吧!
