Commit d671f9d4 by 李伟康

commit

1 parent 3c7d4b92
/** -------slide-left begin**/
.slide-left-enter {
opacity: 0;
-webkit-transform: translate($translateLength, 0);
transform: translate($translateLength, 0);
}
.slide-left-leave-to {
opacity: 0;
-webkit-transform: translate(-$translateLength, 0);
transform: translate(-$translateLength, 0);
}
.slide-left-enter-active {
transition: all $animateDuration ease;
}
.slide-left-leave-active {
transition: all $animateDuration ease;
}
/** -------slide-left end**/
/** -------slide-right begin**/
.slide-right-enter {
opacity: 0;
-webkit-transform: translate(-$translateLength, 0);
transform: translate(-$translateLength, 0);
}
.slide-right-leave-to {
opacity: 0;
-webkit-transform: translate($translateLength, 0);
transform: translate($translateLength, 0);
}
.slide-right-enter-active {
transition: all $animateDuration ease;
}
.slide-right-leave-active {
transition: all 0.1s ease;
}
/** -------slide-right end**/
.flip-list-move {
transition: transform $animateDuration;
}
.layout {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgb(246, 246, 255);
box-sizing: border-box;
padding: 0 16px 60px;
overflow-y: scroll;
.tips-box {
display: flex;
flex-direction: column;
align-items: center;
padding: 60px 0 64px;
.icon {
width: 100px;
height: 53px;
}
.title {
font-size: 16px;
color: #817bff;
padding: 15px 0 4px;
}
.tips {
font-size: 12px;
color: #999999;
}
}
>.title {
font-size: 15px;
color: #333333;
span {
position: relative;
&::after {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
bottom: 0;
left: 0;
content: '';
z-index: -1;
border-top: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid rgba(129, 123, 255, 0.55);
border-left: 6px solid transparent;
}
}
}
.box {
padding-top: 17px;
.item {
margin-bottom: 16px;
background: #ffffff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
border-radius: 4px;
box-sizing: border-box;
padding: 24px 16px 16px 16px;
display: flex;
font-size: 12px;
color: #333333;
.title {
width: 48px;
flex-shrink: 0;
position: relative;
padding-left: 10px;
&::after {
position: absolute;
top: 6px;
left: 0;
background: #5850ff;
width: 6px;
height: 6px;
border-radius: 100%;
content: '';
}
}
.value {
.text {
display: flex;
align-items: center;
.icon {
width: 20px;
height: 20px;
margin-left: 16px;
}
}
.tips {
color: #999999;
margin-top: 8px;
line-height: 20px;
}
}
.qr-box {
display: flex;
flex-direction: column;
align-items: center;
.qr {
width: 140px;
height: 140px;
}
.tips {
margin-top: 8px;
color: #666666;
}
}
}
.column {
flex-direction: column;
.title {
margin-bottom: 8px;
}
.phone {
color: #666666;
background: #F8F8F8;
border-radius: 1px;
height: 32px;
box-sizing: border-box;
padding: 0 16px;
display: flex;
align-items: center;
justify-content: space-between;
.icon {
height: 20px;
width: 20px;
}
}
}
>.tips {
font-size: 12px;
color: #fc9153;
text-align: center;
}
}
}
\ No newline at end of file
@font-face {
font-family: "iconfont"; /* Project id 2609988 */
src: url('//at.alicdn.com/t/font_2609988_3co86ufyx32.woff2?t=1623641587741') format('woff2'),
url('//at.alicdn.com/t/font_2609988_3co86ufyx32.woff?t=1623641587741') format('woff'),
url('//at.alicdn.com/t/font_2609988_3co86ufyx32.ttf?t=1623641587741') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-refresh:before {
content: "\e620";
}
.icon-people:before {
content: "\e6b4";
}
.icon-arrowdown:before {
content: "\e62b";
}
.icon-radio:before {
content: "\e600";
}
.icon-people1:before {
content: "\e82d";
}
.icon-dian:before {
content: "\ec1e";
}
@import './normalize.scss';
@import './variables.scss';
@import './mixin.scss';
@import './animate.scss';
@import './iconfont.scss';
@import './vant.scss';
@import './sprite.scss';
html,
body .app {
color: #333333;
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
background-color: $background-color;
background-color:#fff;
-webkit-overflow-scrolling: touch;
height: 100%;
// overflow: hidden;
--themeColor: #3975C6;
}
img {
......@@ -65,7 +61,7 @@ img {
.btn {
padding: 0 12px;
height: 24px;
background: #5850ff;
background: var(--themeColor);
border-radius: 12px;
color: #ffffff;
margin-left: auto;
......
// mixin
// 清除浮动
@mixin clearfix {
&:after {
content: '';
display: table;
clear: both;
}
}
// 多行隐藏
@mixin textoverflow($clamp: 1) {
display: block;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: $clamp;
/*! autoprefixer: ignore next */
-webkit-box-orient: vertical;
}
//flex box
@mixin flexbox($jc: space-between, $ai: center, $fd: row, $fw: nowrap) {
display: flex;
display: -webkit-flex;
flex: 1;
justify-content: $jc;
-webkit-justify-content: $jc;
align-items: $ai;
-webkit-align-items: $ai;
flex-direction: $fd;
-webkit-flex-direction: $fd;
flex-wrap: $fw;
-webkit-flex-wrap: $fw;
}
@mixin cell($fs: 14px, $fw: 400, $margin: 8px 0, $bgc: #fff) {
background-color: $bgc;
margin: $margin;
font-size: $fs;
font-weight: $fw;
color: #323233;
padding: 0 16px;
}
@mixin font($fs: 14px, $fw: 400, $c:#3975c6){
font-size: $fs;
font-weight: $fw;
color: $c;
}
@mixin mainfont($fs: 14px, $fw: 400) {
@include font($fs,$fw,#3975c6)
}
@mixin darkfont($fs: 14px, $fw: 400, $c: #323233) {
@include font($fs,$fw,$c)
}
@mixin tit {
font-size: 18px;
font-weight: 600;
padding: 14px 0;
display: block;
color: #414143;
}
@mixin textarea{
.content {
display: flex;
flex-direction: column;
.van-cell {
&__title {
flex: 1;
}
&__value {
flex: 0 0 84px;
margin-top: 12px;
background: #f7f8fa;
border-radius: 8px;
}
}
}
}
@mixin recell($mt:8px){
/deep/.van-cell {
margin-top: $mt;
&__title {
margin-right: 8px;
flex: 0 0 70px;
}
&.l{
.van-cell__title {
flex: 0 0 92px;
}
}
&.m{
.van-cell__title {
margin-right: 0;
flex: 0 0 63px;
}
}
}
}
@mixin cellradio {
@include recell();
.radio {
/deep/.van-radio,.van-checkbox {
flex: 1 1 50%;
margin: 14px 0 0;
&:nth-child(1),
&:nth-child(2) {
margin-top: 0;
}
}
}
@include textarea()
}
@mixin btnMain{
flex: 1;
height: 40px;
background-color: $main-color;
border-radius: 100px;
@include font(14px,400,#fff);
}
@mixin card{
display: flex;
height: 142px;
background: #fff;
box-shadow: 0px 2px 12px 0px rgba(100, 101, 102, 0.12);
border-radius: 4px;
padding: 16px;
margin-bottom: 8px;
}
@mixin mt($t:5px){
margin-top: $t;
}
@mixin flexcenter{
display: flex;
justify-content: center;
align-items: center;
}
.van-radio,
.van-checkbox {
&__icon {
&--checked {
.van-icon {
background-color: $main-color !important;
border-color: $main-color !important;
}
}
}
}
// variables
$background-color: #F7F7F7;
//animate.scss
$animateDuration: 0.2s;
$translateLength: 30px;
$main-color:#3975C6;
\ No newline at end of file

3.56 KB | W: | H:

3.56 KB | W: | H:

src/assets/images/icon/copy.png
src/assets/images/icon/copy.png
src/assets/images/icon/copy.png
src/assets/images/icon/copy.png
  • 2-up
  • Swipe
  • Onion skin

3.54 KB | W: | H:

3.57 KB | W: | H:

src/assets/images/icon/poster.png
src/assets/images/icon/poster.png
src/assets/images/icon/poster.png
src/assets/images/icon/poster.png
  • 2-up
  • Swipe
  • Onion skin

4.24 KB | W: | H:

4.42 KB | W: | H:

src/assets/images/icon/wx.png
src/assets/images/icon/wx.png
src/assets/images/icon/wx.png
src/assets/images/icon/wx.png
  • 2-up
  • Swipe
  • Onion skin

80.8 KB | W: | H:

81.4 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin

798 Bytes | W: | H:

655 Bytes | W: | H:

src/assets/images/tabbar/activity.png
src/assets/images/tabbar/activity.png
src/assets/images/tabbar/activity.png
src/assets/images/tabbar/activity.png
  • 2-up
  • Swipe
  • Onion skin

618 Bytes | W: | H:

551 Bytes | W: | H:

src/assets/images/tabbar/activity_active.png
src/assets/images/tabbar/activity_active.png
src/assets/images/tabbar/activity_active.png
src/assets/images/tabbar/activity_active.png
  • 2-up
  • Swipe
  • Onion skin

957 Bytes | W: | H:

871 Bytes | W: | H:

src/assets/images/tabbar/coupon.png
src/assets/images/tabbar/coupon.png
src/assets/images/tabbar/coupon.png
src/assets/images/tabbar/coupon.png
  • 2-up
  • Swipe
  • Onion skin

715 Bytes | W: | H:

759 Bytes | W: | H:

src/assets/images/tabbar/coupon_active.png
src/assets/images/tabbar/coupon_active.png
src/assets/images/tabbar/coupon_active.png
src/assets/images/tabbar/coupon_active.png
  • 2-up
  • Swipe
  • Onion skin

1.06 KB | W: | H:

1.04 KB | W: | H:

src/assets/images/tabbar/merchant.png
src/assets/images/tabbar/merchant.png
src/assets/images/tabbar/merchant.png
src/assets/images/tabbar/merchant.png
  • 2-up
  • Swipe
  • Onion skin

896 Bytes | W: | H:

841 Bytes | W: | H:

src/assets/images/tabbar/merchant_active.png
src/assets/images/tabbar/merchant_active.png
src/assets/images/tabbar/merchant_active.png
src/assets/images/tabbar/merchant_active.png
  • 2-up
  • Swipe
  • Onion skin

842 Bytes | W: | H:

908 Bytes | W: | H:

src/assets/spritesmith/poster-close.png
src/assets/spritesmith/poster-close.png
src/assets/spritesmith/poster-close.png
src/assets/spritesmith/poster-close.png
  • 2-up
  • Swipe
  • Onion skin

1.13 KB | W: | H:

1.28 KB | W: | H:

src/assets/spritesmith/share.png
src/assets/spritesmith/share.png
src/assets/spritesmith/share.png
src/assets/spritesmith/share.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -129,7 +129,7 @@ export default {
background: rgba(0, 0, 0, 0.3);
}
.share {
background: #5850ff;
background: var(--themeColor);
}
}
}
......
......@@ -5,7 +5,7 @@
placeholder="输入客户姓名搜索"
@search="onSearch"
/>
<van-dropdown-menu active-color="#5850ff">
<van-dropdown-menu active-color="#3975C6">
<van-dropdown-item
v-model="value"
:options="option"
......
......@@ -61,6 +61,7 @@ export default {
let options = this.tools.deepClone(staticOptions)
if (apiName == 'couponApi' || apiName == 'boutiquecouponApi' || apiName == 'equityApi') {
options[1].className = 'disabled'
this.showShare = true
}
console.log(options)
this.options = options
......@@ -102,7 +103,6 @@ export default {
})
})
}
this.showShare = true
}
}
},
......
......@@ -2,7 +2,7 @@
<div :class="[{'sticky':sticky}]">
<van-tabs
v-model="tabIndex"
color="#5850ff"
color="#3975C6"
title-inactive-color="#BBB"
title-active-color="#2c2c2c"
@click="click"
......
......@@ -50,7 +50,7 @@ export default {
.van-tabbar {
box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 0px #e5e5e5;
.van-tabbar-item--active {
color: #5850ff;
color: var(--themeColor);
}
.van-tabbar-item__icon img {
width: 16px;
......
......@@ -71,7 +71,7 @@ const actions = {
if (code == '0') {
if (data.loginList.length) {
if (data.loginList.length > 1) {
let userInfo = data.loginList[2]
let userInfo = data.loginList[0]
let { merchantId, accountName } = userInfo
let loginAccount = accountName
ssoApi
......
......@@ -335,7 +335,7 @@ export default {
transform: translateX(-50%);
width: 175px;
height: 36px;
background: #5850ff;
background: var(--themeColor);
box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3);
border-radius: 21px;
color: #fff;
......
......@@ -130,7 +130,7 @@ export default {
line-height: 17px;
}
.price {
color: #5850ff;
color: var(--themeColor);
font-weight: 500;
font-size: 16px;
}
......
......@@ -208,7 +208,7 @@ export default {
line-height: 17px;
}
.price {
color: #5850ff;
color: var(--themeColor);
font-weight: 500;
font-size: 16px;
}
......
......@@ -87,8 +87,6 @@ module.exports = {
// 向全局sass样式传入共享的全局变量, $src可以配置图片cdn前缀
// 详情: https://cli.vuejs.org/guide/css.html#passing-options-to-pre-processor-loaders
prependData: `
@import "assets/css/mixin.scss";
@import "assets/css/variables.scss";
$cdn: "${defaultSettings.cdn}";
`
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!