Commit 122b919d by 李伟康

update .gitignore

1 parent c91a3411
project.config.json
project.private.config.json
sitemap.json
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
project.config.json
project.private.config.json
sitemap.json
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
/* components/GlCell/GlCell.wxss */
.cell-box {
background: #fff;
font-size: 28rpx;
color: #333333;
box-sizing: border-box;
}
.cell {
width: 100%;
box-sizing: border-box;
display: flex;
/* padding-left: 40rpx; */
align-items: center;
}
.cellHeight {
height: 120rpx;
}
.cell.border {
border-bottom: 2rpx solid rgba(195, 195, 195, .3);
}
.cell-label {
width: 25%;
}
.titleIcon {
width: 34rpx;
height: 34rpx;
}
.cell-value {
width: 75%;
position: relative;
height: 100%;
}
.cell-value .false {
padding-right: 40rpx !important;
}
.value {
width: 100%;
height: 100%;
display: flex;
align-items: center;
padding-right: 70rpx;
box-sizing: border-box;
}
.required {
color: #f00;
}
.details,
.placeholder {
display: none;
}
.slot:empty+.details,
.slot:empty+.placeholder {
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.placeholder {
color: #C3C3C3;
}
.cell-value .right {
justify-content: flex-end;
height: 100%;
box-sizing: border-box;
}
.cell-value .right .details,
.cell-value .right .placeholder {
text-align: right;
}
.slot {
width: 100%;
}
.slot:empty {
display: none;
}
.arrow {
position: absolute;
right: 40rpx;
top: 50%;
transform: translateY(-50%);
width: 28rpx;
height: 26rpx;
/* components/GlCell/GlCell.wxss */
.cell-box {
background: #fff;
font-size: 28rpx;
color: #333333;
box-sizing: border-box;
}
.cell {
width: 100%;
box-sizing: border-box;
display: flex;
/* padding-left: 40rpx; */
align-items: center;
}
.cellHeight {
height: 120rpx;
}
.cell.border {
border-bottom: 2rpx solid rgba(195, 195, 195, .3);
}
.cell-label {
width: 25%;
}
.titleIcon {
width: 34rpx;
height: 34rpx;
}
.cell-value {
width: 75%;
position: relative;
height: 100%;
}
.cell-value .false {
padding-right: 40rpx !important;
}
.value {
width: 100%;
height: 100%;
display: flex;
align-items: center;
padding-right: 70rpx;
box-sizing: border-box;
}
.required {
color: #f00;
}
.details,
.placeholder {
display: none;
}
.slot:empty+.details,
.slot:empty+.placeholder {
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.placeholder {
color: #C3C3C3;
}
.cell-value .right {
justify-content: flex-end;
height: 100%;
box-sizing: border-box;
}
.cell-value .right .details,
.cell-value .right .placeholder {
text-align: right;
}
.slot {
width: 100%;
}
.slot:empty {
display: none;
}
.arrow {
position: absolute;
right: 40rpx;
top: 50%;
transform: translateY(-50%);
width: 28rpx;
height: 26rpx;
}
\ No newline at end of file
/* components/Select/Select.wxss */
.com-selectBox {
width: 200px;
}
.com-sContent {
border: 1px solid #e2e2e2;
background: white;
font-size: 16px;
position: relative;
height: 30px;
line-height: 30px;
}
.com-sImg {
position: absolute;
right: 10px;
top: 11px;
width: 16px;
height: 9px;
transition: all .3s ease;
}
.com-sTxt {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20px 0 6px;
font-size: 14px;
}
.com-sList {
background: white;
width: inherit;
position: absolute;
border: 1px solid #e2e2e2;
border-top: none;
box-sizing: border-box;
z-index: 3;
max-height: 120px;
overflow: auto;
}
.com-sItem {
height: 30px;
line-height: 30px;
border-top: 1px solid #e2e2e2;
padding: 0 6px;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
}
.com-sItem:first-child {
border-top: none;
/* components/Select/Select.wxss */
.com-selectBox {
width: 200px;
}
.com-sContent {
border: 1px solid #e2e2e2;
background: white;
font-size: 16px;
position: relative;
height: 30px;
line-height: 30px;
}
.com-sImg {
position: absolute;
right: 10px;
top: 11px;
width: 16px;
height: 9px;
transition: all .3s ease;
}
.com-sTxt {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20px 0 6px;
font-size: 14px;
}
.com-sList {
background: white;
width: inherit;
position: absolute;
border: 1px solid #e2e2e2;
border-top: none;
box-sizing: border-box;
z-index: 3;
max-height: 120px;
overflow: auto;
}
.com-sItem {
height: 30px;
line-height: 30px;
border-top: 1px solid #e2e2e2;
padding: 0 6px;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
}
.com-sItem:first-child {
border-top: none;
}
\ No newline at end of file
import { IMG_URL } from '~/utils/constantData'
module.exports = Behavior({
data: {
IMGURL: IMG_URL
}
})
import { IMG_URL } from '~/utils/constantData'
module.exports = Behavior({
data: {
IMGURL: IMG_URL
}
})
/* pages/mineDetail/customerManagement/customerManagement.wxss */
page {
background-color: #F2F3F7;
}
.input {
text-align: left;
font-size: 28rpx;
}
.placeholder-class {
color: #C3C3C3;
}
.customerBox {
box-sizing: border-box;
margin: 20rpx 20rpx 0;
padding: 32rpx;
background: #FFFFFF;
border-radius: 8rpx;
.titleCon {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2rpx dashed #CCCED1;
padding-bottom: 20rpx;
.name {
font-size: 28rpx;
color: #323436;
}
.statusBtn {
font-size: 24rpx;
color: #3666FE;
}
}
}
.cellSty {
display: block;
height: 80rpx;
line-height: 80rpx;
/* pages/mineDetail/customerManagement/customerManagement.wxss */
page {
background-color: #F2F3F7;
}
.input {
text-align: left;
font-size: 28rpx;
}
.placeholder-class {
color: #C3C3C3;
}
.customerBox {
box-sizing: border-box;
margin: 20rpx 20rpx 0;
padding: 32rpx;
background: #FFFFFF;
border-radius: 8rpx;
.titleCon {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2rpx dashed #CCCED1;
padding-bottom: 20rpx;
.name {
font-size: 28rpx;
color: #323436;
}
.statusBtn {
font-size: 24rpx;
color: #3666FE;
}
}
}
.cellSty {
display: block;
height: 80rpx;
line-height: 80rpx;
}
\ No newline at end of file
/* pages/mineDetail/messageBox/messageBox.wxss */
.layout {
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
/* pages/mineDetail/messageBox/messageBox.wxss */
.layout {
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
}
\ No newline at end of file
/* pages/tab/output/output.wxss */
@keyframes opacity-view {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
page {
background-color: #fff;
}
.layout {
box-sizing: border-box;
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
}
.userInfoCon {
height: 360rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.headPortrait {
width: 128rpx;
height: 128rpx;
border-radius: 64rpx;
border: 2rpx solid #fff;
}
.name {
font-weight: 600;
font-size: 32rpx;
color: #323436;
margin: 16rpx 0;
}
.id {
font-size: 28rpx;
color: #323436;
}
.createTime {
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #8A8C90;
margin-top: 16rpx;
}
}
.utilBoxTitle {
font-size: 28rpx;
color: #8A8C90;
text-align-last: left;
margin-left: 34rpx;
}
.boxItemCon {
display: flex;
padding: 0 10rpx;
.item {
margin-left: 66rpx;
margin-top: 32rpx;
// height: 96rpx;
// width: 96rpx;
display: flex;
flex-direction: column;
align-items: center;
.imgcon {
position: relative;
.img {
width: 96rpx;
height: 96rpx;
}
.redPot {
width: 12rpx;
height: 12rpx;
background: #F35251;
border-radius: 6rpx;
position: absolute;
top: 24rpx;
right: 20rpx;
z-index: 1;
}
}
.name {
font-size: 24rpx;
color: #323436;
margin-top: 8rpx;
}
}
}
.logoutBtn {
position: fixed;
bottom: 106rpx;
left: 50%;
transform: translateX(-50%);
font-size: 28rpx !important;
color: #8A8C90 !important;
font-weight: 400 !important;
border: 2rpx dashed #EEEEEE !important;
background-color: #fff !important;
/* pages/tab/output/output.wxss */
@keyframes opacity-view {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
page {
background-color: #fff;
}
.layout {
box-sizing: border-box;
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
}
.userInfoCon {
height: 360rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.headPortrait {
width: 128rpx;
height: 128rpx;
border-radius: 64rpx;
border: 2rpx solid #fff;
}
.name {
font-weight: 600;
font-size: 32rpx;
color: #323436;
margin: 16rpx 0;
}
.id {
font-size: 28rpx;
color: #323436;
}
.createTime {
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #8A8C90;
margin-top: 16rpx;
}
}
.utilBoxTitle {
font-size: 28rpx;
color: #8A8C90;
text-align-last: left;
margin-left: 34rpx;
}
.boxItemCon {
display: flex;
padding: 0 10rpx;
.item {
margin-left: 66rpx;
margin-top: 32rpx;
// height: 96rpx;
// width: 96rpx;
display: flex;
flex-direction: column;
align-items: center;
.imgcon {
position: relative;
.img {
width: 96rpx;
height: 96rpx;
}
.redPot {
width: 12rpx;
height: 12rpx;
background: #F35251;
border-radius: 6rpx;
position: absolute;
top: 24rpx;
right: 20rpx;
z-index: 1;
}
}
.name {
font-size: 24rpx;
color: #323436;
margin-top: 8rpx;
}
}
}
.logoutBtn {
position: fixed;
bottom: 106rpx;
left: 50%;
transform: translateX(-50%);
font-size: 28rpx !important;
color: #8A8C90 !important;
font-weight: 400 !important;
border: 2rpx dashed #EEEEEE !important;
background-color: #fff !important;
}
\ No newline at end of file
/* pages/tab/output/components/accountSwitchingPop/accountSwitchingPop.wxss */
.search-box {
width: 100%;
height: 104rpx;
padding-left: 32rpx;
// margin-top: 20rpx;
display: flex;
align-items: center;
background-color: #fff;
position: sticky;
top: 0;
left: 0;
z-index: 9;
box-sizing: border-box;
}
.search-box .search-input {
background: #F7F8FA;
border-radius: 38rpx;
width: 606rpx;
height: 72rpx;
display: flex;
align-items: center;
}
.search-box .search-input .search-icon {
width: 28rpx;
height: 28rpx;
margin: 0 10rpx 0 26rpx;
}
.search-box .search-input .search-clear {
width: 36rpx;
height: 36rpx;
margin: 0 26rpx 0 10rpx;
}
.search-box .search-input .input {
font-size: 28rpx;
width: calc(100% - 136rpx);
}
.input-placeholder {
color: rgba(200, 201, 204, .89);
}
.search-box .search {
width: 144rpx;
height: 100%;
color: #666;
box-sizing: border-box;
padding: 0 24rpx;
}
.search-box .search .text-center {
font-size: 24rpx;
/* background-color: #f7f7f7; */
border-radius: 12rpx;
width: 100%;
font-size: 32rpx;
color: #858A94;
}
.search-box .search .text-center .search-filter {
margin-left: 6rpx;
width: 24rpx;
height: 24rpx;
}
.itemCon {
box-sizing: border-box;
width: 100%;
// background-color: #fff;
height: 80rpx;
color: #323436;
line-height: 80rpx;
padding: 0 32rpx;
}
.active {
// color: aqua;
background: #F0F7FF;
font-size: 28rpx;
color: #3666FE;
/* pages/tab/output/components/accountSwitchingPop/accountSwitchingPop.wxss */
.search-box {
width: 100%;
height: 104rpx;
padding-left: 32rpx;
// margin-top: 20rpx;
display: flex;
align-items: center;
background-color: #fff;
position: sticky;
top: 0;
left: 0;
z-index: 9;
box-sizing: border-box;
}
.search-box .search-input {
background: #F7F8FA;
border-radius: 38rpx;
width: 606rpx;
height: 72rpx;
display: flex;
align-items: center;
}
.search-box .search-input .search-icon {
width: 28rpx;
height: 28rpx;
margin: 0 10rpx 0 26rpx;
}
.search-box .search-input .search-clear {
width: 36rpx;
height: 36rpx;
margin: 0 26rpx 0 10rpx;
}
.search-box .search-input .input {
font-size: 28rpx;
width: calc(100% - 136rpx);
}
.input-placeholder {
color: rgba(200, 201, 204, .89);
}
.search-box .search {
width: 144rpx;
height: 100%;
color: #666;
box-sizing: border-box;
padding: 0 24rpx;
}
.search-box .search .text-center {
font-size: 24rpx;
/* background-color: #f7f7f7; */
border-radius: 12rpx;
width: 100%;
font-size: 32rpx;
color: #858A94;
}
.search-box .search .text-center .search-filter {
margin-left: 6rpx;
width: 24rpx;
height: 24rpx;
}
.itemCon {
box-sizing: border-box;
width: 100%;
// background-color: #fff;
height: 80rpx;
color: #323436;
line-height: 80rpx;
padding: 0 32rpx;
}
.active {
// color: aqua;
background: #F0F7FF;
font-size: 28rpx;
color: #3666FE;
}
\ No newline at end of file
/* pages/tab/output/components/merchant/mrechant.wxss */
.con {
box-sizing: border-box;
padding: 16rpx 16rpx 0;
background-color: #F2F3F7;
.statistics {
box-sizing: border-box;
display: flex;
// width: 360rpx;
width: 100%;
height: 140rpx;
padding: 32rpx;
background-color: #fff;
border-radius: 8rpx;
.box {
flex: 1;
.num {
color: #323436;
font-family: MiSans-S0rpxibold;
font-weight: 600;
font-size: 26rpx;
margin-bottom: 10rpx;
}
.label {
font-size: 24rpx;
color: #8A8C90;
}
// display: flex;
// flex-direction: column;
}
}
/* pages/tab/output/components/merchant/mrechant.wxss */
.con {
box-sizing: border-box;
padding: 16rpx 16rpx 0;
background-color: #F2F3F7;
.statistics {
box-sizing: border-box;
display: flex;
// width: 360rpx;
width: 100%;
height: 140rpx;
padding: 32rpx;
background-color: #fff;
border-radius: 8rpx;
.box {
flex: 1;
.num {
color: #323436;
font-family: MiSans-S0rpxibold;
font-weight: 600;
font-size: 26rpx;
margin-bottom: 10rpx;
}
.label {
font-size: 24rpx;
color: #8A8C90;
}
// display: flex;
// flex-direction: column;
}
}
}
\ No newline at end of file
/* pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.wxss */
.merchantDataStatistics-con {
margin-top: 16rpx;
border-radius: 8rpx;
background: #FFFFFF;
.contitle {
box-sizing: border-box;
height: 75rpx;
// border-bottom: 1;
padding: 16rpx 24rpx;
border-bottom: 2rpx dashed #CCCED1;
display: flex;
justify-content: space-between;
.name {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #323436;
}
.select {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #323436;
.arrow {
width: 24rpx;
height: 24rpx;
margin-left: 10rpx;
transition: all .3 ease;
}
.isAct {
transform: rotate(180deg);
}
}
}
}
.outputValueCon {
.title {
box-sizing: border-box;
font-weight: 600;
font-size: 32rpx;
color: #323436;
border-bottom: 2rpx dashed #CCCED1;
padding: 12rpx;
}
.full {
height: 800rpx !important;
}
.short {
height: 600rpx !important;
}
.bg-image {
width: 670rpx;
height: 550rpx;
z-index: -1;
// object-fit: cover;
}
/* pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.wxss */
.merchantDataStatistics-con {
margin-top: 16rpx;
border-radius: 8rpx;
background: #FFFFFF;
.contitle {
box-sizing: border-box;
height: 75rpx;
// border-bottom: 1;
padding: 16rpx 24rpx;
border-bottom: 2rpx dashed #CCCED1;
display: flex;
justify-content: space-between;
.name {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #323436;
}
.select {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #323436;
.arrow {
width: 24rpx;
height: 24rpx;
margin-left: 10rpx;
transition: all .3 ease;
}
.isAct {
transform: rotate(180deg);
}
}
}
}
.outputValueCon {
.title {
box-sizing: border-box;
font-weight: 600;
font-size: 32rpx;
color: #323436;
border-bottom: 2rpx dashed #CCCED1;
padding: 12rpx;
}
.full {
height: 800rpx !important;
}
.short {
height: 600rpx !important;
}
.bg-image {
width: 670rpx;
height: 550rpx;
z-index: -1;
// object-fit: cover;
}
}
\ No newline at end of file
/* pages/tab/output/components/senceSelect/senceSelect.wxss */
.sceneCon {
display: flex;
align-items: center;
justify-content: space-around;
padding: 27rpx 10rpx;
position: relative;
.itemCon {
position: relative;
box-sizing: border-box;
flex: 1;
height: 250rpx;
background-color: #F7F8FC;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 12rpx;
.itemImg {
position: relative;
.icon {
width: 56rpx;
height: 56rpx;
}
.lockIcon {
position: absolute;
top: -18rpx;
right: -18rpx;
// transform: translate(-50%, -50%);
width: 36rpx;
height: 36rpx;
}
}
.name {
font-size: 24rpx;
color: #8A8C90;
margin: 10rpx 0;
}
.name.activation {
font-weight: 600;
font-size: 24rpx;
color: #323436;
}
.label {
font-size: 18rpx;
color: #8A8C90;
}
.total {
font-weight: 500;
font-size: 24rpx;
color: #3666FE;
margin-top: 22rpx;
}
}
.itemCon+.itemCon {
margin-left: 4rpx;
}
.selectBgc {
border: 2px solid #3666FE;
/*按比例缩放*/
}
}
// .sceneCon
.itemCon.activation::before {
content: '已开通';
position: absolute;
top: 0rpx;
left: 0rpx;
width: 56rpx;
height: 32rpx;
line-height: 32rpx;
text-align: center;
font-size: 16rpx;
color: #EF971E;
background: #FEEBD6;
border-radius: 6rpx 0 8rpx 0;
/* pages/tab/output/components/senceSelect/senceSelect.wxss */
.sceneCon {
display: flex;
align-items: center;
justify-content: space-around;
padding: 27rpx 10rpx;
position: relative;
.itemCon {
position: relative;
box-sizing: border-box;
flex: 1;
height: 250rpx;
background-color: #F7F8FC;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 12rpx;
.itemImg {
position: relative;
.icon {
width: 56rpx;
height: 56rpx;
}
.lockIcon {
position: absolute;
top: -18rpx;
right: -18rpx;
// transform: translate(-50%, -50%);
width: 36rpx;
height: 36rpx;
}
}
.name {
font-size: 24rpx;
color: #8A8C90;
margin: 10rpx 0;
}
.name.activation {
font-weight: 600;
font-size: 24rpx;
color: #323436;
}
.label {
font-size: 18rpx;
color: #8A8C90;
}
.total {
font-weight: 500;
font-size: 24rpx;
color: #3666FE;
margin-top: 22rpx;
}
}
.itemCon+.itemCon {
margin-left: 4rpx;
}
.selectBgc {
border: 2px solid #3666FE;
/*按比例缩放*/
}
}
// .sceneCon
.itemCon.activation::before {
content: '已开通';
position: absolute;
top: 0rpx;
left: 0rpx;
width: 56rpx;
height: 32rpx;
line-height: 32rpx;
text-align: center;
font-size: 16rpx;
color: #EF971E;
background: #FEEBD6;
border-radius: 6rpx 0 8rpx 0;
}
\ No newline at end of file
/* pages/tab/output/output.wxss */
@keyframes opacity-view {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.layout {
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
}
.navigation-title {
display: flex;
align-items: center;
justify-content: center;
}
.navigation-title-text {
text-align: center;
max-width: calc(100% - 24rpx);
}
.navigation-title .arrow {
width: 20rpx;
height: 16rpx;
margin-left: 4rpx;
transform: translateY(25%);
transition: all 0.5s;
}
.navigation-title .move {
transform: rotate(-180deg) translateY(0);
/* pages/tab/output/output.wxss */
@keyframes opacity-view {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.layout {
position: relative;
// padding: 400rpx 16rpx 0;
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
&::after {
content: '';
width: 100%;
height: 486rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-size: 100% 486rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.tabContainer {
height: 100rpx;
}
}
.navigation-title {
display: flex;
align-items: center;
justify-content: center;
}
.navigation-title-text {
text-align: center;
max-width: calc(100% - 24rpx);
}
.navigation-title .arrow {
width: 20rpx;
height: 16rpx;
margin-left: 4rpx;
transform: translateY(25%);
transition: all 0.5s;
}
.navigation-title .move {
transform: rotate(-180deg) translateY(0);
}
\ No newline at end of file
{
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"setting": {
"urlCheck": true,
"scopeDataCheck": false,
"coverView": true,
"es6": false,
"postcss": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false,
"minified": true,
"autoAudits": false,
"newFeature": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"useIsolateContext": false,
"nodeModules": false,
"enhance": true,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"showShadowRootInWxmlPanel": true,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"ignoreUploadUnusedFiles": true,
"minifyWXML": true,
"useStaticServer": true,
"showES6CompileOption": false,
"checkInvalidKey": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useCompilerPlugins": [
"sass"
]
},
"compileType": "miniprogram",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {
"qywx_simulator_plugin": "2.4.0"
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "2.23.4",
"packOptions": {
"ignore": [],
"include": []
},
"appid": "wx2c28337db96364d2",
"projectname": "miniprogram-scrm-shopmall",
"condition": {}
}
\ No newline at end of file
{
"setting": {
"compileHotReLoad": false,
"urlCheck": false,
"lazyloadPlaceholderEnable": true
},
"condition": {
"miniprogram": {
"list": [
{
"name": "看产值",
"pathName": "pages/tab/output/output",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "携带目标页面",
"pathName": "login/loading/loading",
"query": "url=%2Fpages%2Ftab%2Fmine%2Fmine%3Fid%3D123",
"launchMode": "default",
"scene": null
},
{
"name": "选择账号",
"pathName": "login/accountItems/accountItems",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "个人中心",
"pathName": "pages/tab/mine/mine",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "login/index/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "客户管理",
"pathName": "pages/mineDetail/customerManagement/customerManagement",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "消息盒子",
"pathName": "pages/mineDetail/messageBox/messageBox",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"projectname": "business-assistant",
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"libVersion": "2.24.4"
}
\ No newline at end of file
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
......@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
3生产
*/
const index = 0
const index = 1
const secretKey = {
ip: {},
dev: {
......
......@@ -4,6 +4,7 @@
* @param {*} shareImage 分享图片 不传默认当前页面截图
* @param {*} shareQuery 分享页面参数
* @param {*} noPageAuth 分享页面是否需要登录拦截
* @param {*} shareFun 分享页面
* @returns
*/
class Share {
......@@ -32,12 +33,14 @@ class Share {
sharePath,
shareImage,
shareQuery,
noPageAuth
noPageAuth,
shareFun
} = this,
path = `/${this.route}`
if (sharePath) path = `/${sharePath}`
if (shareQuery) path += `?${shareQuery}`
if (!noPageAuth) path = `/login/loading/loading?url=${encodeURIComponent(path)}`
if (shareFun) shareFun()
return {
path,
title: shareTitle,
......
/**
* 微信校验通知类工具封装
*/
const tipsObj = {
phone: {
icon: 'error',
title: '请输入手机号'
},
username: {
icon: 'error',
title: '请输入用户名'
},
password: {
icon: 'error',
title: '请输入密码'
}
}
/**
* 禁止滑动
*/
const noScroll = () => {}
/**设置粘贴板内容 */
const setCopyData = (data, callBack) => {
wx.setClipboardData({
data: data,
success(res) {
if (callBack && typeof callBack === 'function') callBack(res)
}
})
}
/**
* 防止重复点击
*/
const showLoading = (title = '') => {
if (wx.showLoading) {
// 基础库 1.1.0 微信6.5.6版本开始支持,低版本需做兼容处理
wx.showLoading({
title,
mask: true
})
} else {
// 低版本采用Toast兼容处理并将时间设为20秒以免自动消失
wx.showToast({
title,
icon: 'loading',
mask: true,
duration: 20000
})
}
}
const hideLoading = () => {
if (wx.hideLoading) {
// 基础库 1.1.0 微信6.5.6版本开始支持,低版本需做兼容处理
wx.hideLoading()
} else {
wx.hideToast()
}
}
const showToast = val => {
let obj = {}
if (val && typeof val === 'string') {
obj.title = val
obj.icon = 'none'
} else {
obj = val
}
return wx.showToast(obj)
}
/**
*
* @param {* string | object} name 信息名称
* @param {* object | null} [params] 信息名称参数
*/
const wxShowToast = (name, params) => {
if (arguments.length == 2) {
wx.showToast({
title: tipsObj[name]['title'],
icon: tipsObj[name]['icon'],
...params
})
} else {
wx.showToast({
...params
})
}
}
/**获取设备信息 */
const getSystemInfo = callBack => {
wx.getSystemInfo({
success(res) {
callBack(res)
},
fail(err) {
callBack(err)
}
})
}
/**拨打电话 */
const phoneCall = phoneNumber => {
wx.makePhoneCall({
phoneNumber: `${phoneNumber}`
})
}
/**查看大图 */
const previewImage = params => {
wx.previewImage(params)
}
const wxApi = {
previewImage,
getSystemInfo,
showLoading,
hideLoading,
setCopyData,
showToast,
phoneCall,
noScroll
}
export default wxApi
/**
* 微信校验通知类工具封装
*/
const tipsObj = {
phone: {
icon: 'error',
title: '请输入手机号'
},
username: {
icon: 'error',
title: '请输入用户名'
},
password: {
icon: 'error',
title: '请输入密码'
}
}
/**
* 禁止滑动
*/
const noScroll = () => {}
/**设置粘贴板内容 */
const setCopyData = (data, callBack) => {
wx.setClipboardData({
data: data,
success(res) {
if (callBack && typeof callBack === 'function') callBack(res)
}
})
}
/**
* 防止重复点击
*/
const showLoading = (title = '') => {
if (wx.showLoading) {
// 基础库 1.1.0 微信6.5.6版本开始支持,低版本需做兼容处理
wx.showLoading({
title,
mask: true
})
} else {
// 低版本采用Toast兼容处理并将时间设为20秒以免自动消失
wx.showToast({
title,
icon: 'loading',
mask: true,
duration: 20000
})
}
}
const hideLoading = () => {
if (wx.hideLoading) {
// 基础库 1.1.0 微信6.5.6版本开始支持,低版本需做兼容处理
wx.hideLoading()
} else {
wx.hideToast()
}
}
const showToast = val => {
let obj = {}
if (val && typeof val === 'string') {
obj.title = val
obj.icon = 'none'
} else {
obj = val
}
return wx.showToast(obj)
}
/**
*
* @param {* string | object} name 信息名称
* @param {* object | null} [params] 信息名称参数
*/
const wxShowToast = (name, params) => {
if (arguments.length == 2) {
wx.showToast({
title: tipsObj[name]['title'],
icon: tipsObj[name]['icon'],
...params
})
} else {
wx.showToast({
...params
})
}
}
/**获取设备信息 */
const getSystemInfo = callBack => {
wx.getSystemInfo({
success(res) {
callBack(res)
},
fail(err) {
callBack(err)
}
})
}
/**拨打电话 */
const phoneCall = phoneNumber => {
wx.makePhoneCall({
phoneNumber: `${phoneNumber}`
})
}
/**查看大图 */
const previewImage = params => {
wx.previewImage(params)
}
const wxApi = {
previewImage,
getSystemInfo,
showLoading,
hideLoading,
setCopyData,
showToast,
phoneCall,
noScroll
}
export default wxApi
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!