@ -0,0 +1,83 @@ |
||||
import request from '@/utils/request' |
||||
// import rsa from '@/utils/rsa'
|
||||
|
||||
//封装遍历加密
|
||||
// function encryption(data) {
|
||||
// for (let s in data) {
|
||||
// if (data[k] != undefined && data[s] != '') {
|
||||
// if (typeof data[s] != "object") {
|
||||
// if (s != 'pageNum' && s != 'pageSize') {
|
||||
// data[s] = rsa.encryptCode(data[s])//加密
|
||||
// }
|
||||
|
||||
// } else {
|
||||
// for (let i in data[s]) {
|
||||
// encryption(data[s][i])
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return data
|
||||
// }
|
||||
|
||||
// 创建管理员卡
|
||||
export function createTicketAdmincard(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/create', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 删除管理员卡
|
||||
export function deleteTicketAdmincard(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/delete?id=' + id, |
||||
method: 'delete' |
||||
}) |
||||
} |
||||
|
||||
// 更新管理员卡
|
||||
export function updateTicketAdmincard(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/update', |
||||
method: 'put', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 获得管理员卡
|
||||
export function getTicketAdmincard(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/get?id=' + id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
// 获得管理员卡分页
|
||||
export function getTicketAdmincardPage(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/page', |
||||
method: 'get', |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 导出管理员卡 Excel
|
||||
export function exportTicketAdmincardExcel(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/export-excel', |
||||
method: 'get', |
||||
params, |
||||
responseType: 'blob' |
||||
}) |
||||
} |
||||
|
||||
|
||||
// 管理员卡获取全部站点
|
||||
export function getAllSite() { |
||||
return request({ |
||||
url: '/ticketing/ticket-admincard/getAllSite', |
||||
method: 'get' |
||||
}) |
||||
} |
@ -0,0 +1,177 @@ |
||||
import request from '@/utils/request' |
||||
// import rsa from '@/utils/rsa'
|
||||
|
||||
//封装遍历加密
|
||||
// function encryption(data) {
|
||||
// for (let s in data) {
|
||||
// if (data[k] != undefined && data[s] != '') {
|
||||
// if (typeof data[s] != "object") {
|
||||
// if (s != 'pageNum' && s != 'pageSize') {
|
||||
// data[s] = rsa.encryptCode(data[s])//加密
|
||||
// }
|
||||
|
||||
// } else {
|
||||
// for (let i in data[s]) {
|
||||
// encryption(data[s][i])
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return data
|
||||
// }
|
||||
|
||||
// 创建门票管理
|
||||
export function createTicketManagement(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/create', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 更新门票管理
|
||||
export function updateTicketManagement(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/update', |
||||
method: 'put', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 删除门票管理
|
||||
export function deleteTicketManagement(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/delete?id=' + id, |
||||
method: 'delete' |
||||
}) |
||||
} |
||||
|
||||
// 获得门票管理
|
||||
export function getTicketManagement(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/get?id=' + id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
// 获得门票管理分页
|
||||
export function getTicketManagementPage(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/page', |
||||
method: 'get', |
||||
params |
||||
}) |
||||
} |
||||
// 导出门票管理 Excel
|
||||
export function exportTicketManagementExcel(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/export-excel', |
||||
method: 'get', |
||||
params, |
||||
responseType: 'blob' |
||||
}) |
||||
} |
||||
|
||||
//获得景点 /ticketing/ticket-verification-station/getAttractionsPage
|
||||
export function getAttractionsPage() { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/getAttractionsPage', |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
//打印模版下拉 ticketing/ticket-printset/getAllStencil
|
||||
export function getAllStencil() { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/getAllStencil', |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
//门票分类
|
||||
export function getAllSort(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/getAllSort', |
||||
method: 'get', |
||||
params:params |
||||
}) |
||||
} |
||||
|
||||
//门票详情
|
||||
export function getTicketManagementDetails(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/getTicketManagementDetails?id=' +id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
//复制分类
|
||||
export function copyInterface(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/copyInterface?id='+id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
//上下价
|
||||
export function available(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/available?id='+id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
//日历库存
|
||||
export function getStockCheck(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/getStockCheck?id='+id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
//订单规则查询
|
||||
export function getScenicSpotOrderRules() { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/getScenicSpotOrderRules', |
||||
method: 'get' |
||||
}) |
||||
} |
||||
// 订单规则修改
|
||||
export function updateScenicSpotOrderRules(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/updateScenicSpotOrderRules', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
|
||||
//批量上架
|
||||
export function batchListing(ids) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/batchListing/'+ids, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
//批量下架
|
||||
export function batchRemoval(ids) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/batchRemoval/' + ids, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
//批量窗口自动打印
|
||||
export function batchWindowAutomaticPrinting(ids) { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/batchWindowAutomaticPrinting/' + ids, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
//2.0开始
|
||||
|
||||
//查询普通门票集合
|
||||
export function usuallyTicketList() { |
||||
return request({ |
||||
url: '/ticketing/ticket-management/usuallyTicketList', |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
@ -0,0 +1,82 @@ |
||||
import request from '@/utils/request' |
||||
// import rsa from '@/utils/rsa'
|
||||
|
||||
//封装遍历加密
|
||||
// function encryption(data) {
|
||||
// for (let s in data) {
|
||||
// if (data[k] != undefined && data[s] != '') {
|
||||
// if (typeof data[s] != "object") {
|
||||
// if (s != 'pageNum' && s != 'pageSize') {
|
||||
// data[s] = rsa.encryptCode(data[s])//加密
|
||||
// }
|
||||
|
||||
// } else {
|
||||
// for (let i in data[s]) {
|
||||
// encryption(data[s][i])
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return data
|
||||
// }
|
||||
|
||||
// 创建打印模版设置
|
||||
export function createTicketPrintset(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/create', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 更新打印模版设置
|
||||
export function updateTicketPrintset(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/update', |
||||
method: 'put', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 删除打印模版设置
|
||||
export function deleteTicketPrintset(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/delete?id=' + id, |
||||
method: 'delete' |
||||
}) |
||||
} |
||||
|
||||
// 获得打印模版设置
|
||||
export function getTicketPrintset(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/get?id=' + id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
// 获得打印模版设置分页
|
||||
export function getTicketPrintsetPage(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/page', |
||||
method: 'get', |
||||
params |
||||
}) |
||||
} |
||||
// 导出打印模版设置 Excel
|
||||
export function exportTicketPrintsetExcel(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/export-excel', |
||||
method: 'get', |
||||
params, |
||||
responseType: 'blob' |
||||
}) |
||||
} |
||||
|
||||
// 模版设置查重
|
||||
export function ticketPrintsetCheckDuplicates(name) { |
||||
return request({ |
||||
url: '/ticketing/ticket-printset/ticketPrintsetCheckDuplicates?name=' + name, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
@ -0,0 +1,81 @@ |
||||
import request from '@/utils/request' |
||||
// import rsa from '@/utils/rsa'
|
||||
|
||||
//封装遍历加密
|
||||
// function encryption(data) {
|
||||
// for (let s in data) {
|
||||
// if (data[k] != undefined && data[s] != '') {
|
||||
// if (typeof data[s] != "object") {
|
||||
// if (s != 'pageNum' && s != 'pageSize') {
|
||||
// data[s] = rsa.encryptCode(data[s])//加密
|
||||
// }
|
||||
|
||||
// } else {
|
||||
// for (let i in data[s]) {
|
||||
// encryption(data[s][i])
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return data
|
||||
// }
|
||||
|
||||
// 创建门票分类
|
||||
export function createTicketSort(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/create', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 更新门票分类
|
||||
export function updateTicketSort(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/update', |
||||
method: 'put', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 删除门票分类
|
||||
export function deleteTicketSort(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/delete?id=' + id, |
||||
method: 'delete' |
||||
}) |
||||
} |
||||
|
||||
// 获得门票分类
|
||||
export function getTicketSort(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/get?id=' + id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
// 获得门票分类分页
|
||||
export function getTicketSortPage(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/page', |
||||
method: 'get', |
||||
params |
||||
}) |
||||
} |
||||
// 导出门票分类 Excel
|
||||
export function exportTicketSortExcel(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/export-excel', |
||||
method: 'get', |
||||
params, |
||||
responseType: 'blob' |
||||
}) |
||||
} |
||||
|
||||
// 门票分类查重
|
||||
export function ticketSortCheckDuplicates(name) { |
||||
return request({ |
||||
url: '/ticketing/ticket-sort/ticketSortCheckDuplicates?name=' + name, |
||||
method: 'get' |
||||
}) |
||||
} |
@ -0,0 +1,109 @@ |
||||
import request from '@/utils/request' |
||||
// import rsa from '@/utils/rsa'
|
||||
|
||||
//封装遍历加密
|
||||
// function encryption(data) {
|
||||
// for (let s in data) {
|
||||
// if (data[k] != undefined && data[s] != '') {
|
||||
// if (typeof data[s] != "object") {
|
||||
// if (s != 'pageNum' && s != 'pageSize') {
|
||||
// data[s] = rsa.encryptCode(data[s])//加密
|
||||
// }
|
||||
|
||||
// } else {
|
||||
// for (let i in data[s]) {
|
||||
// encryption(data[s][i])
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return data
|
||||
// }
|
||||
|
||||
// 创建验票站点
|
||||
export function createTicketVerificationStation(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/create', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 删除验票站点
|
||||
export function deleteTicketVerificationStation(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/delete?id=' + id, |
||||
method: 'delete' |
||||
}) |
||||
} |
||||
|
||||
// 更新验票站点
|
||||
export function updateTicketVerificationStation(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/update', |
||||
method: 'put', |
||||
data: data |
||||
}) |
||||
} |
||||
|
||||
// 获得验票站点
|
||||
export function getTicketVerificationStation(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/get?id=' + id, |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
// 获得验票站点分页
|
||||
export function getTicketVerificationStationPage(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/page', |
||||
method: 'get', |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 导出验票站点 Excel
|
||||
export function exportTicketVerificationStationExcel(params) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/export-excel', |
||||
method: 'get', |
||||
params, |
||||
responseType: 'blob' |
||||
}) |
||||
} |
||||
|
||||
// 获得验票全部景点
|
||||
export function getAttractionsPage() { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/getAttractionsPage', |
||||
method: 'get' |
||||
}) |
||||
} |
||||
|
||||
|
||||
|
||||
// 验票站点查重
|
||||
export function verificationStationCheckDuplicates(name) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/verificationStationCheckDuplicates?name='+name, |
||||
method: 'get', |
||||
}) |
||||
} |
||||
|
||||
//可检门票
|
||||
export function getCheckableTicket(id) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/getCheckableTicket?siteId=' + id, |
||||
method: 'get', |
||||
}) |
||||
} |
||||
|
||||
// 绑定可检门票
|
||||
export function saveCheckableTicket(data) { |
||||
return request({ |
||||
url: '/ticketing/ticket-verification-station/saveCheckableTicket', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
@ -0,0 +1,193 @@ |
||||
@font-face { |
||||
font-family: "iconfont"; /* Project id 4606025 */ |
||||
src: url('iconfont.ttf?t=1724211505370') format('truetype'); |
||||
} |
||||
|
||||
.iconfont { |
||||
font-family: "iconfont" !important; |
||||
font-size: 16px; |
||||
font-style: normal; |
||||
-webkit-font-smoothing: antialiased; |
||||
-moz-osx-font-smoothing: grayscale; |
||||
} |
||||
|
||||
.icon-decline-up:before { |
||||
content: "\e6c6"; |
||||
} |
||||
|
||||
.icon-decline:before { |
||||
content: "\e6c7"; |
||||
} |
||||
|
||||
.icon-empty:before { |
||||
content: "\e6c5"; |
||||
} |
||||
|
||||
.icon-invoice:before { |
||||
content: "\e6c4"; |
||||
} |
||||
|
||||
.icon-sms-key:before { |
||||
content: "\e6c0"; |
||||
} |
||||
|
||||
.icon-sms-url:before { |
||||
content: "\e6c1"; |
||||
} |
||||
|
||||
.icon-sms-api:before { |
||||
content: "\e6c2"; |
||||
} |
||||
|
||||
.icon-sms-content:before { |
||||
content: "\e6c3"; |
||||
} |
||||
|
||||
.icon-tourist:before { |
||||
content: "\e6bf"; |
||||
} |
||||
|
||||
.icon-copy-message:before { |
||||
content: "\e6be"; |
||||
} |
||||
|
||||
.icon-ticket-fill:before { |
||||
content: "\e6bc"; |
||||
} |
||||
|
||||
.icon-calendar-fill:before { |
||||
content: "\e6bd"; |
||||
} |
||||
|
||||
.icon-shopping-cart:before { |
||||
content: "\e6bb"; |
||||
} |
||||
|
||||
.icon-addAudio:before { |
||||
content: "\e6ba"; |
||||
} |
||||
|
||||
.icon-addImg:before { |
||||
content: "\e6b8"; |
||||
} |
||||
|
||||
.icon-addVideo:before { |
||||
content: "\e6b9"; |
||||
} |
||||
|
||||
.icon-cloudDown:before { |
||||
content: "\e6b6"; |
||||
} |
||||
|
||||
.icon-docDown:before { |
||||
content: "\e6b7"; |
||||
} |
||||
|
||||
.icon-image:before { |
||||
content: "\e6b5"; |
||||
} |
||||
|
||||
.icon-certificate:before { |
||||
content: "\e6b4"; |
||||
} |
||||
|
||||
.icon-danger:before { |
||||
content: "\e6b2"; |
||||
} |
||||
|
||||
.icon-warning:before { |
||||
content: "\e6b3"; |
||||
} |
||||
|
||||
.icon-question:before { |
||||
content: "\e6b1"; |
||||
} |
||||
|
||||
.icon-detail:before { |
||||
content: "\e6ae"; |
||||
} |
||||
|
||||
.icon-copy:before { |
||||
content: "\e6b0"; |
||||
} |
||||
|
||||
.icon-visitor:before { |
||||
content: "\e6af"; |
||||
} |
||||
|
||||
.icon-care:before { |
||||
content: "\e69d"; |
||||
} |
||||
|
||||
.icon-close:before { |
||||
content: "\e69e"; |
||||
} |
||||
|
||||
.icon-ID:before { |
||||
content: "\e69f"; |
||||
} |
||||
|
||||
.icon-search:before { |
||||
content: "\e6a0"; |
||||
} |
||||
|
||||
.icon-IC:before { |
||||
content: "\e6a1"; |
||||
} |
||||
|
||||
.icon-all:before { |
||||
content: "\e6a2"; |
||||
} |
||||
|
||||
.icon-shoppingCart:before { |
||||
content: "\e6a3"; |
||||
} |
||||
|
||||
.icon-tip:before { |
||||
content: "\e6a4"; |
||||
} |
||||
|
||||
.icon-time:before { |
||||
content: "\e6a5"; |
||||
} |
||||
|
||||
.icon-edit:before { |
||||
content: "\e6a6"; |
||||
} |
||||
|
||||
.icon-print:before { |
||||
content: "\e6a7"; |
||||
} |
||||
|
||||
.icon-delete:before { |
||||
content: "\e6a8"; |
||||
} |
||||
|
||||
.icon-home:before { |
||||
content: "\e6a9"; |
||||
} |
||||
|
||||
.icon-locate:before { |
||||
content: "\e6aa"; |
||||
} |
||||
|
||||
.icon-see:before { |
||||
content: "\e6ab"; |
||||
} |
||||
|
||||
.icon-set:before { |
||||
content: "\e6ac"; |
||||
} |
||||
|
||||
.icon-calendar:before { |
||||
content: "\e6ad"; |
||||
} |
||||
|
||||
.icon-see-open:before { |
||||
content: "\e6de"; |
||||
} |
||||
|
||||
.icon-see-close:before { |
||||
content: "\e699"; |
||||
} |
||||
|
After Width: | Height: | Size: 90 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 924 B |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 828 B |
After Width: | Height: | Size: 737 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 710 B |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 549 B |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 848 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 7.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 749 B |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 149 KiB |
After Width: | Height: | Size: 152 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 163 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 997 B |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 539 B |
After Width: | Height: | Size: 538 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 996 B |
After Width: | Height: | Size: 996 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 999 B |
After Width: | Height: | Size: 999 B |
After Width: | Height: | Size: 174 KiB |
@ -0,0 +1,99 @@ |
||||
@import './variables.scss'; |
||||
|
||||
@mixin colorBtn($color) { |
||||
background: $color; |
||||
|
||||
&:hover { |
||||
color: $color; |
||||
|
||||
&:before, |
||||
&:after { |
||||
background: $color; |
||||
} |
||||
} |
||||
} |
||||
|
||||
.blue-btn { |
||||
@include colorBtn($blue) |
||||
} |
||||
|
||||
.light-blue-btn { |
||||
@include colorBtn($light-blue) |
||||
} |
||||
|
||||
.red-btn { |
||||
@include colorBtn($red) |
||||
} |
||||
|
||||
.pink-btn { |
||||
@include colorBtn($pink) |
||||
} |
||||
|
||||
.green-btn { |
||||
@include colorBtn($green) |
||||
} |
||||
|
||||
.tiffany-btn { |
||||
@include colorBtn($tiffany) |
||||
} |
||||
|
||||
.yellow-btn { |
||||
@include colorBtn($yellow) |
||||
} |
||||
|
||||
.pan-btn { |
||||
font-size: 14px; |
||||
color: #fff; |
||||
padding: 14px 36px; |
||||
border-radius: 8px; |
||||
border: none; |
||||
outline: none; |
||||
transition: 600ms ease all; |
||||
position: relative; |
||||
display: inline-block; |
||||
|
||||
&:hover { |
||||
background: #fff; |
||||
|
||||
&:before, |
||||
&:after { |
||||
width: 100%; |
||||
transition: 600ms ease all; |
||||
} |
||||
} |
||||
|
||||
&:before, |
||||
&:after { |
||||
content: ''; |
||||
position: absolute; |
||||
top: 0; |
||||
right: 0; |
||||
height: 2px; |
||||
width: 0; |
||||
transition: 400ms ease all; |
||||
} |
||||
|
||||
&::after { |
||||
right: inherit; |
||||
top: inherit; |
||||
left: 0; |
||||
bottom: 0; |
||||
} |
||||
} |
||||
|
||||
.custom-button { |
||||
display: inline-block; |
||||
line-height: 1; |
||||
white-space: nowrap; |
||||
cursor: pointer; |
||||
background: #fff; |
||||
color: #fff; |
||||
-webkit-appearance: none; |
||||
text-align: center; |
||||
box-sizing: border-box; |
||||
outline: 0; |
||||
margin: 0; |
||||
padding: 10px 15px; |
||||
font-size: 14px; |
||||
border-radius: 4px; |
||||
} |