This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

1
node_modules/vant/lib/contact-card/index.css generated vendored Normal file
View File

@ -0,0 +1 @@
.van-contact-card{padding:16px}.van-contact-card__value{margin-left:5px;line-height:20px}.van-contact-card--add .van-contact-card__value{line-height:40px}.van-contact-card--add .van-cell__left-icon{color:#1989fa;font-size:40px}.van-contact-card::before{position:absolute;right:0;bottom:0;left:0;height:2px;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c 0,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:80px;content:''}

72
node_modules/vant/lib/contact-card/index.js generated vendored Normal file
View File

@ -0,0 +1,72 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _babelHelperVueJsxMergeProps = _interopRequireDefault(require("@vue/babel-helper-vue-jsx-merge-props"));
var _utils = require("../utils");
var _functional = require("../utils/functional");
var _cell = _interopRequireDefault(require("../cell"));
// Utils
// Components
var _createNamespace = (0, _utils.createNamespace)('contact-card'),
createComponent = _createNamespace[0],
bem = _createNamespace[1],
t = _createNamespace[2];
function ContactCard(h, props, slots, ctx) {
var type = props.type,
editable = props.editable;
function onClick(event) {
if (editable) {
(0, _functional.emit)(ctx, 'click', event);
}
}
function Content() {
if (type === 'add') {
return props.addText || t('addText');
}
return [h("div", [t('name') + "\uFF1A" + props.name]), h("div", [t('tel') + "\uFF1A" + props.tel])];
}
return h(_cell.default, (0, _babelHelperVueJsxMergeProps.default)([{
"attrs": {
"center": true,
"border": false,
"isLink": editable,
"valueClass": bem('value'),
"icon": type === 'edit' ? 'contact' : 'add-square'
},
"class": bem([type]),
"on": {
"click": onClick
}
}, (0, _functional.inherit)(ctx)]), [Content()]);
}
ContactCard.props = {
tel: String,
name: String,
addText: String,
editable: {
type: Boolean,
default: true
},
type: {
type: String,
default: 'add'
}
};
var _default = createComponent(ContactCard);
exports.default = _default;

42
node_modules/vant/lib/contact-card/index.less generated vendored Normal file
View File

@ -0,0 +1,42 @@
@import '../style/var';
.van-contact-card {
padding: @contact-card-padding;
&__value {
margin-left: 5px;
line-height: @contact-card-value-line-height;
}
&--add {
.van-contact-card__value {
line-height: @contact-card-add-icon-size;
}
.van-cell__left-icon {
color: @contact-card-add-icon-color;
font-size: @contact-card-add-icon-size;
}
}
&::before {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 2px;
background: repeating-linear-gradient(
-45deg,
#ff6c6c 0,
#ff6c6c 20%,
transparent 0,
transparent 25%,
@blue 0,
@blue 45%,
transparent 0,
transparent 50%
);
background-size: 80px;
content: '';
}
}

5
node_modules/vant/lib/contact-card/style/index.js generated vendored Normal file
View File

@ -0,0 +1,5 @@
require('../../style/base.css');
require('../../info/index.css');
require('../../icon/index.css');
require('../../cell/index.css');
require('../index.css');

5
node_modules/vant/lib/contact-card/style/less.js generated vendored Normal file
View File

@ -0,0 +1,5 @@
require('../../style/base.less');
require('../../info/index.less');
require('../../icon/index.less');
require('../../cell/index.less');
require('../index.less');