Commit e926f025 by liimin

Merge branch 'v1.0.0' of http://192.168.3.233:8090/app/sales-assist-mobile into v1.0.0

2 parents 9952cc4c 6d43edfc
......@@ -87,7 +87,14 @@
"navigationStyle": "custom",
"navigationBarTitleText": "接待详情"
}
},
{
"path": "pages/common/orderEntry/index",
"style": {
"navigationBarTitleText": "录单"
}
}
],
"easycom": {
......
/* 施工单录入页样式:遵循 UniAppX 规范,px 单位、无 calc/伪元素、font-weight 仅 400|700 */
.page-container {
width: 100%;
height: 100%;
background-color: #f5f6f7;
display: flex;
flex-direction: column;
padding-top: 12px;
box-sizing: border-box;
overflow-y: auto;
}
/* 顶部 Tab */
.tab-bar {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: auto;
background-color: #ffffff;
border-radius: 12px;
padding: 12px 0;
margin: 0 16px 12px;
}
.tab-item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
position: relative;
padding: 4px 12px;
}
.tab-item .tab-icon {
margin-right: 6px;
}
.tab-item .tab-text {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.tab-item.active .tab-text {
color: #1a1a1a;
font-weight: 700;
}
.tab-item .tab-active-line {
position: absolute;
bottom: -8px;
left: 50%;
margin-left: -10px;
width: 20px;
height: 3px;
background-color: #2c66f7;
border-radius: 2px;
}
/* 表单卡片 */
.form-card {
width: auto;
background-color: #ffffff;
border-radius: 12px;
padding: 16px;
box-sizing: border-box;
margin: 0 16px 12px;
}
.form-item {
display: flex;
flex-direction: column;
width: 100%;
margin-bottom: 16px;
}
.form-item--last {
margin-bottom: 0;
}
.form-label {
font-size: 13px;
font-weight: 400;
color: #666666;
margin-bottom: 8px;
}
.form-picker {
display: flex;
flex-direction: column;
width: 100%;
}
.form-select {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
height: 44px;
border: 1px solid #e5e6eb;
border-radius: 8px;
padding: 0 12px;
box-sizing: border-box;
background-color: #ffffff;
}
.form-select-text {
font-size: 14px;
font-weight: 400;
color: #1a1a1a;
}
.form-select-text.placeholder {
color: #999999;
}
.form-input {
width: 100%;
height: 44px;
border: 1px solid #e5e6eb;
border-radius: 8px;
padding: 0 12px;
font-size: 14px;
color: #1a1a1a;
box-sizing: border-box;
}
.form-textarea {
width: 100%;
height: 80px;
border: 1px solid #e5e6eb;
border-radius: 8px;
padding: 10px 12px;
font-size: 14px;
color: #1a1a1a;
box-sizing: border-box;
}
.form-placeholder {
color: #999999;
font-size: 14px;
}
/* 商品/服务列表 */
.product-list {
width: 100%;
height: 160px;
border: 1px solid #e5e6eb;
border-radius: 8px;
padding: 8px 0;
box-sizing: border-box;
background-color: #ffffff;
}
.product-item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 10px 12px;
box-sizing: border-box;
}
.product-item.active {
background-color: #eef4fe;
}
.product-item .product-name {
font-size: 14px;
font-weight: 400;
color: #1a1a1a;
}
.product-item .product-price {
font-size: 14px;
font-weight: 700;
color: #1a1a1a;
}
/* 金额输入 */
.amount-input-wrap {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
height: 44px;
border: 1px solid #e5e6eb;
border-radius: 8px;
padding: 0 12px;
box-sizing: border-box;
background-color: #ffffff;
}
.amount-input-wrap .amount-symbol {
font-size: 16px;
font-weight: 700;
color: #1a1a1a;
margin-right: 8px;
}
.amount-input-wrap .amount-input {
flex: 1;
height: 100%;
font-size: 14px;
color: #1a1a1a;
border: none;
padding: 0;
}
/* 销售单商品卡片 */
.sales-product-list {
display: flex;
flex-direction: column;
width: 100%;
height: 320px;
}
.sales-product-card {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
background-color: #ffffff;
border: 1px solid #e5e6eb;
border-radius: 12px;
padding: 12px;
box-sizing: border-box;
margin-bottom: 10px;
position: relative;
}
.sales-product-card.active {
border-color: #22c55e;
background-color: #f0fdf4;
}
.sales-product-card .sales-product-icon {
width: 44px;
height: 44px;
background-color: #f5f6f7;
border-radius: 10px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin-right: 12px;
}
.sales-product-card .sales-product-icon-text {
font-size: 22px;
}
.sales-product-card .sales-product-info {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.sales-product-card .sales-product-name {
font-size: 15px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 4px;
}
.sales-product-card .sales-product-desc {
font-size: 12px;
font-weight: 400;
color: #999999;
}
.sales-product-card .sales-product-price-wrap {
margin-left: 8px;
}
.sales-product-card .sales-product-price {
font-size: 16px;
font-weight: 700;
color: #ef4444;
}
.sales-product-card .sales-product-check {
position: absolute;
top: 8px;
right: 8px;
width: 18px;
height: 18px;
background-color: #22c55e;
border-radius: 50%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.sales-product-card .sales-product-check-text {
font-size: 11px;
font-weight: 700;
color: #ffffff;
}
.sales-total {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 8px 0;
}
.sales-total-label {
font-size: 14px;
font-weight: 400;
color: #666666;
}
.sales-total-price {
font-size: 18px;
font-weight: 700;
color: #ef4444;
}
/* 提交按钮 */
.submit-wrap {
width: 100%;
margin-top: 20px;
}
.submit-btn {
width: 100%;
height: 48px;
background-color: #22c55e;
border-radius: 24px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.submit-btn .check-icon-box {
width: 18px;
height: 18px;
background-color: #ffffff;
border-radius: 4px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin-right: 8px;
}
.submit-btn .check-icon-text {
font-size: 13px;
font-weight: 700;
color: #22c55e;
}
.submit-btn-text {
font-size: 16px;
font-weight: 700;
color: #ffffff;
}
/* 最近录单 */
.recent-section {
width: 100%;
flex: 1;
background-color: #ffffff;
border-radius: 12px 12px 0 0;
padding: 16px;
box-sizing: border-box;
}
.recent-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 16px;
}
.recent-title-row {
display: flex;
flex-direction: row;
align-items: center;
}
.recent-title {
font-size: 15px;
font-weight: 700;
color: #1a1a1a;
margin-left: 6px;
}
.recent-more {
display: flex;
flex-direction: row;
align-items: center;
}
.recent-more-text {
font-size: 13px;
font-weight: 400;
color: #999999;
margin-right: 2px;
}
.recent-empty {
width: 100%;
padding: 40px 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.recent-empty-text {
font-size: 13px;
color: #999999;
}
.recent-list {
width: 100%;
display: flex;
flex-direction: column;
}
.recent-item {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
padding: 12px 0;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #f2f3f5;
}
.recent-item--last {
border-bottom-width: 0;
}
.recent-date {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 48px;
margin-right: 12px;
}
.date-day {
font-size: 22px;
font-weight: 700;
color: #1a1a1a;
line-height: 26px;
}
.date-month {
font-size: 11px;
font-weight: 400;
color: #999999;
margin-top: 2px;
}
.recent-info {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.info-name {
font-size: 15px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 4px;
}
.info-desc {
font-size: 12px;
font-weight: 400;
color: #999999;
}
.recent-amount {
display: flex;
flex-direction: column;
align-items: flex-end;
margin-left: 8px;
}
.amount-text {
font-size: 16px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 4px;
}
.status-text {
font-size: 12px;
font-weight: 400;
color: #999999;
}
.status-text.status-done {
color: #22c55e;
}
export default {
common: {},
portrait: {
// 竖屏布局参数
},
landscape: {
// 横屏布局参数
},
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!