radio-group

pull/8/head
Alireza Hassani 4 years ago
parent 4e86437786
commit 89e85fabe8

@ -153,6 +153,10 @@
<path value="$PROJECT_DIR$/vendor/wm/reservation" />
<path value="$PROJECT_DIR$/vendor/wm/reservation" />
<path value="$PROJECT_DIR$/vendor/wm/reservation" />
<path value="$PROJECT_DIR$/vendor/markbaker/matrix" />
<path value="$PROJECT_DIR$/vendor/markbaker/complex" />
<path value="$PROJECT_DIR$/vendor/maatwebsite/excel" />
<path value="$PROJECT_DIR$/vendor/phpoffice/phpspreadsheet" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.2" />

@ -42,7 +42,10 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/glide" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/oauth2-server" />
<excludeFolder url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/maennchen/zipstream-php" />
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/complex" />
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/matrix" />
<excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" />
<excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" />
<excludeFolder url="file://$MODULE_DIR$/vendor/mtdowling/jmespath.php" />
@ -59,6 +62,7 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpspreadsheet" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoption/phpoption" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpseclib/phpseclib" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/prophecy" />

@ -1,7 +1,7 @@
<template>
<v-row :class="`radio-group ${theme}`">
<v-col v-for="(item, index) in items" :key="index" :xl="item[itemSize]" class="pt-0" @click="changeSelected($event, item || {})">
<div :class="{'active': isActive(item), [item.theme]: true, ['bubble']: true}">
<div :class="{'active': isActive(item), [item[itemTheme]]: true, ['theme-' + item[itemColor] ]: true, ['bubble']: true}">
<div class="body">
<div :class="`icon ${(item[itemIconClass]) ? item[itemIconClass] : ''}`">
<v-icon>WMi-{{ item[itemIcon] }}</v-icon>
@ -23,6 +23,8 @@
items: {default: () => ([])},
value: {default: null},
itemValue: {default: 'id'},
itemTheme: {default: 'theme'},
itemColor: {default: 'color'},
itemText: {default: 'title_fa'},
itemIcon: {default: 'icon'},
itemTextEn: {default: 'title_en'},

@ -11,12 +11,12 @@ $OrangeBackground: #fff9f8;
//--------------------------------------------Yellow
$Yellow: #ffc107;
$YellowShadow:rgba(234, 223, 131, 0.5);
$YellowBackground: #ffe5e9;
$YellowBackground: #fff3de;
//--------------------------------------------Gold
$Gold: #ddcfbb;
$GoldShadow:rgba(234, 223, 131, 0.5);
$GoldBackground: #ffe5e9;
$GoldBackground: #fffaf4;
//--------------------------------------------Purple
$Purple:#ac3773;

Loading…
Cancel
Save