diff --git a/apis/modules/product.js b/apis/modules/product.js
index 739f421..6af27bb 100644
--- a/apis/modules/product.js
+++ b/apis/modules/product.js
@@ -3,4 +3,20 @@ const { get, post } = request
export const AppletsDataProductList = (data) => {
return post('nakadai/nakadai/dataProduct/AppletsDataProductList', data)
+}
+
+export const tagsList = () => {
+ return get('nakadai/tags/tagsList')
+}
+
+export const listOfGoods = (data) => {
+ return post('nakadai/mall/listOfGoods', data)
+}
+
+export const detailsOfGoods = (id) => {
+ return get('nakadai/mall/detailsOfGoods?mallId=' + id)
+}
+
+export const productCategoryList = () => {
+ return get('nakadai/productClassification/productCategoryList')
}
\ No newline at end of file
diff --git a/libs/util.js b/libs/util.js
index 8431e21..491cfd5 100644
--- a/libs/util.js
+++ b/libs/util.js
@@ -70,7 +70,7 @@ export default {
},
// 返回图标。如果有图标,则直接返回,否则判断是否是数据产品,即productType=2,如果是,则取数据图标,否则则显示通用图标,这两个图标都在config/product.js里有配置
getIcon(e) {
- return e.miniProgramPictureAddress || (e.productType === 2 ? Product.dataIcon : Product.normalIcon)
+ return e.appletIcon || Product.normalIcon
},
// 判断文件类型是否能够通过uni.openDocument打开(doc, xls, ppt, pdf, docx, xlsx, pptx)
isDoc(ext) {
diff --git a/order/addCourse/addCourse.vue b/order/addCourse/addCourse.vue
index ddcac1d..2520aff 100644
--- a/order/addCourse/addCourse.vue
+++ b/order/addCourse/addCourse.vue
@@ -4,8 +4,10 @@
-
- - {{ tab.name }}
+
@@ -26,7 +28,7 @@
+
+
diff --git a/order/products/products.vue b/order/products/products.vue
new file mode 100644
index 0000000..977c5d0
--- /dev/null
+++ b/order/products/products.vue
@@ -0,0 +1,264 @@
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ {{ item.productName }}
+
+
+
+ 产品简介:
+
+
+ {{ item.toggle ? '收起' : '展开' }}
+
+
+
+ 产品类型:
+ {{ item.typeName }}
+
+
+ 适用专业:
+ {{ item.professionalName }}
+
+
+ 市场建议单价:
+ {{ item.marketUnitPrice }}元/年
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 444d410..1401c7f 100644
--- a/pages.json
+++ b/pages.json
@@ -15,7 +15,23 @@
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path" : "pages/workbench/workbench",
+ "style" :
+ {
+ "navigationBarTitleText": "工作台",
+ "enablePullDownRefresh": false
+ }
},
+ {
+ "path": "pages/orders/orders",
+ "style" :
+ {
+ "navigationBarTitleText": "订单列表",
+ "enablePullDownRefresh": true
+ }
+ },
{
"path" : "pages/clients/clients",
"style" :
@@ -65,37 +81,11 @@
}
}
- ,{
- "path" : "pages/study/study",
- "style" :
- {
- "navigationBarTitleText": "学习",
- "enablePullDownRefresh": true
- }
-
- }
- ,{
- "path" : "pages/info/info",
- "style" :
- {
- "navigationBarTitleText": "资讯",
- "enablePullDownRefresh": true
- }
-
- }
],
"subPackages": [
{
"root": "order",
"pages": [
- {
- "path": "orders/orders",
- "style" :
- {
- "navigationBarTitleText": "订单列表",
- "enablePullDownRefresh": true
- }
- },
{
"path" : "addCourse/addCourse",
"style" :
@@ -135,12 +125,47 @@
"navigationBarTitleText": "订单记录",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path" : "productDetail/productDetail",
+ "style" :
+ {
+ "navigationBarTitleText": "产品详情",
+ "enablePullDownRefresh": false
+ }
}
- ]
+ ,{
+ "path" : "products/products",
+ "style" :
+ {
+ "navigationBarTitleText": "产品",
+ "enablePullDownRefresh": true
+ }
+
+ }
+ ]
},
{
"root": "team",
"pages": [
+ {
+ "path" : "study/study",
+ "style" :
+ {
+ "navigationBarTitleText": "学习",
+ "enablePullDownRefresh": true
+ }
+
+ }
+ ,{
+ "path" : "info/info",
+ "style" :
+ {
+ "navigationBarTitleText": "资讯",
+ "enablePullDownRefresh": true
+ }
+
+ },
{
"path" : "setting/setting",
"style" :
@@ -267,15 +292,15 @@
"selectedIconPath": "static/image/tab1-1.png",
"text": "首页"
}, {
- "pagePath": "pages/study/study",
+ "pagePath": "pages/workbench/workbench",
"iconPath": "static/image/tab2.png",
"selectedIconPath": "static/image/tab2-1.png",
- "text": "学习"
+ "text": "工作台"
}, {
- "pagePath": "pages/info/info",
+ "pagePath": "pages/orders/orders",
"iconPath": "static/image/tab3.png",
"selectedIconPath": "static/image/tab3-1.png",
- "text": "资讯"
+ "text": "订单"
}, {
"pagePath": "pages/person/person",
"iconPath": "static/image/tab4.png",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index e252abf..c69bf3a 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,155 +1,101 @@
-
-
-
-
+
-
+
城市合伙人招募中
携手共创教育信息化新未来,合伙共享产业互联领域新红利
-
- -
-
- 客户
-
- -
-
- 方案
-
- -
-
- 订单
-
- -
-
- 产品
-
-
-
-
-
-
-
- 学习速递
-
-
- 全部
-
-
-
-
-
-
-
- {{ item.title }}
-
-
+
+
+ 热门标签
+
+
-
-
-
-
- 销售进展
-
-
-
- 本月
-
-
+
+
+
+ 热销产品
+ 全部产品
-
-
-
- 本月新增试用客户
- {{ sell.trialUser || 0 }}
-
-
- 本月成单客户
- {{ sell.regularUser || 0 }}
-
-
-
-
- 本月新增产品试用
- {{ sell.trialProduct || 0 }}
-
-
- 本月成交订单产品
- {{ sell.officialProduct || 0 }}
+
+
+
+
+ {{ item.productName }}
+
+
+
+ 适用专业:
+ {{ item.professionalName }}
+
-
-
-
-
- 年度经营分析
-
-
+
+
+ 官方推荐
+ 全部产品
-
-
-
- {{ handleNum(analysis.finalPrice) }}
- 总成交金额
-
-
- {{ handleNum(analysis.settlementPrice) }}
- 总结算金额
-
-
- {{ handleNum(analysis.marketingServiceCharge) }}
- 市场服务费
-
-
- {{ handleNum(analysis.projectBenefit) }}
- 项目收益
+
+
+
+
+ {{ item.productName }}
+
+
+
+ 适用专业:
+ {{ item.professionalName }}
+
+
功能升级中,敬请期待...
@@ -291,18 +158,7 @@
min-height: 100%;
padding: 30rpx 22rpx;
box-sizing: border-box;
-}
-.bg {
- z-index: -1;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-.team {
- width: 300rpx;
- margin-bottom: 30rpx;
+ background-color: #fff;
}
.banner {
position: relative;
@@ -326,164 +182,87 @@
color: #001D67;
}
}
-.entry {
- display: flex;
- justify-content: space-around;
- align-items: center;
- margin: 10rpx 0 30rpx;
- text-align: center;
- .icon {
- width: 78rpx;
- }
- .text {
- font-size: 28rpx;
- color: #333;
- }
-}
-.panel {
- margin: 20rpx 10rpx;
- background-color: #fff;
- border-radius: 20rpx;
- overflow: hidden;
- &.study-panel {
- background-color: transparent;
- }
- .title {
+.block {
+ margin: 40rpx 0;
+ .title-wrap {
display: flex;
justify-content: space-between;
- align-items: center;
- padding: 17rpx 20rpx;
- background: linear-gradient(90deg, #E5EFFF 0%, #FFFFFF 100%);
- }
- .y-title {
- background: linear-gradient(90deg, #FFF5E5 0%, #FFFFFF 100%);
- }
- .left {
- display: flex;
- align-items: center;
- font-size: 30rpx;
- color: #333;
+ margin-bottom: 34rpx;
+ .all {
+ font-size: 24rpx;
+ color: #666;
+ }
}
- .right {
- display: flex;
+ .title {
+ display: inline-flex;
align-items: center;
font-size: 28rpx;
color: #333;
- text {
- margin: 0 15rpx 0 8rpx;
+ &:before {
+ content: '';
+ width: 10rpx;
+ height: 26rpx;
+ margin-right: 14rpx;
+ background: #007FFF;
+ border-radius: 5px;
}
}
+}
+.tags {
+ display: flex;
+ flex-wrap: wrap;
+ li {
+ width: 25%;
+ margin-bottom: 24rpx;
+ text-align: center;
+ }
.icon {
- width: 36rpx;
- margin-right: 10rpx;
+ width: 64rpx;
+ height: 64rpx;
+ margin-bottom: 18rpx;
}
- .date {
- width: 26rpx;
+ .text {
+ width: 110rpx;
+ margin: 0 auto;
+ font-size: 24rpx;
+ color: #333;
}
- .arrow {
- width: 16rpx;
+}
+.list {
+ .item {
+ display: flex;
+ margin-bottom: 28rpx;
}
- .data {
- padding: 33rpx 36rpx;
+ .pic {
+ width: 136rpx;
+ height: 136rpx;
+ margin-right: 20rpx;
}
- .line {
- display: flex;
+ .texts {
+ width: calc(100% - 156rpx);
}
- .first {
- .item:first-child {
- width: 65%;
- }
- .name {
- margin-bottom: 14rpx;
- font-size: 24rpx;
- color: #999;
- }
- .val {
- font-size: 30rpx;
- color: #333;
- }
- .line:first-child {
- margin-bottom: 32rpx;
- }
+ .name {
+ font-size: 28rpx;
+ color: #333;
}
- .second {
- padding: 38rpx 10rpx;
- .item {
- position: relative;
- text-align: center;
- &:after {
- content: '';
- position: absolute;
- bottom: 14rpx;
- right: -35rpx;
- width: 22rpx;
- height: 2px;
- background-color: #ccc;
- }
- &.item1 {
- margin-right: 53rpx;
- }
- &.item2 {
- margin-right: 54rpx;
- }
- &.equal {
- margin-right: 50rpx;
- &:after {
- bottom: 6rpx;
- right: -39rpx;
- height: 2px;
- padding-bottom: 5px;
- border-bottom: 2px solid #ccc;
- background-clip:content-box;
- box-sizing: content-box;
- }
- }
- &:last-child:after {
- display: none;
- }
- }
- .val {
- margin-bottom: 10rpx;
- font-size: 30rpx;
- color: #333;
- }
- .name {
- font-size: 24rpx;
- color: #999;
- }
+ .des {
+ margin: 17rpx 0;
+ font-size: 24rpx;
+ color: #666;
}
- .study {
- width: 100%;
- margin-top: 15rpx;
- overflow: auto;
- .item {
- display: inline-block;
- width: 280rpx;
- margin-right: 20rpx;
- background-color: #fff;
- border-radius: 8px;
- overflow: hidden;
- }
- .pic {
- width: 100%;
- height: 130rpx;
+ .meta {
+ display: flex;
+ align-items: center;
+ font-size: 24rpx;
+ color: #2E2D31;
+ .icon {
+ width: 32rpx;
+ height: 32rpx;
+ margin-right: 12rpx;
}
- .text {
- padding: 15rpx;
- font-size: 28rpx;
- color: #333;
- text-align: center;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ text {
+ width: 330rpx;
}
}
- .scroll {
- width: 100%;
- white-space: nowrap;
- }
-}
-.oh {
- overflow: hidden;
}
diff --git a/order/orders/orders.vue b/pages/orders/orders.vue
similarity index 98%
rename from order/orders/orders.vue
rename to pages/orders/orders.vue
index 17fa698..165e113 100644
--- a/order/orders/orders.vue
+++ b/pages/orders/orders.vue
@@ -58,7 +58,7 @@
-
+
@@ -227,7 +227,7 @@
},
// 跳转详情
toDetail(item) {
- this.$util.to(`../orderDetail/orderDetail?orderId=${item.orderId}&show=1`)
+ this.$util.to(`/order/orderDetail/orderDetail?orderId=${item.orderId}&show=1`)
},
// 删除
del(e) {
diff --git a/pages/products/products.vue b/pages/products/products.vue
index 93a08f9..fab5234 100644
--- a/pages/products/products.vue
+++ b/pages/products/products.vue
@@ -47,6 +47,7 @@
+
+
diff --git a/static/image/index/1.png b/static/image/index/1.png
new file mode 100644
index 0000000..d5f41b8
Binary files /dev/null and b/static/image/index/1.png differ
diff --git a/static/image/index/2.png b/static/image/index/2.png
new file mode 100644
index 0000000..07de565
Binary files /dev/null and b/static/image/index/2.png differ
diff --git a/static/image/index/3.png b/static/image/index/3.png
new file mode 100644
index 0000000..78701ea
Binary files /dev/null and b/static/image/index/3.png differ
diff --git a/static/image/index/4.png b/static/image/index/4.png
new file mode 100644
index 0000000..b0724d0
Binary files /dev/null and b/static/image/index/4.png differ
diff --git a/static/image/index/5.png b/static/image/index/5.png
new file mode 100644
index 0000000..fc37368
Binary files /dev/null and b/static/image/index/5.png differ
diff --git a/static/image/index/6.png b/static/image/index/6.png
new file mode 100644
index 0000000..5df4655
Binary files /dev/null and b/static/image/index/6.png differ
diff --git a/static/image/index/7.png b/static/image/index/7.png
new file mode 100644
index 0000000..5cbf6f4
Binary files /dev/null and b/static/image/index/7.png differ
diff --git a/static/image/index/8.png b/static/image/index/8.png
new file mode 100644
index 0000000..f310d4a
Binary files /dev/null and b/static/image/index/8.png differ
diff --git a/static/image/index/9.png b/static/image/index/9.png
new file mode 100644
index 0000000..fce7dd0
Binary files /dev/null and b/static/image/index/9.png differ
diff --git a/static/image/product.png b/static/image/product.png
new file mode 100644
index 0000000..fa12eb2
Binary files /dev/null and b/static/image/product.png differ
diff --git a/static/image/product/1.png b/static/image/product/1.png
new file mode 100644
index 0000000..e56715d
Binary files /dev/null and b/static/image/product/1.png differ
diff --git a/static/image/product/2.png b/static/image/product/2.png
new file mode 100644
index 0000000..ae8fd6d
Binary files /dev/null and b/static/image/product/2.png differ
diff --git a/static/image/product/3.png b/static/image/product/3.png
new file mode 100644
index 0000000..8fd42ea
Binary files /dev/null and b/static/image/product/3.png differ
diff --git a/static/image/product/4.png b/static/image/product/4.png
new file mode 100644
index 0000000..4471952
Binary files /dev/null and b/static/image/product/4.png differ
diff --git a/static/image/product/5.png b/static/image/product/5.png
new file mode 100644
index 0000000..57dc0b2
Binary files /dev/null and b/static/image/product/5.png differ
diff --git a/static/image/product/6.png b/static/image/product/6.png
new file mode 100644
index 0000000..e7ac221
Binary files /dev/null and b/static/image/product/6.png differ
diff --git a/static/image/product/excel.png b/static/image/product/excel.png
new file mode 100644
index 0000000..613dee5
Binary files /dev/null and b/static/image/product/excel.png differ
diff --git a/static/image/product/pdf.png b/static/image/product/pdf.png
new file mode 100644
index 0000000..51a31e6
Binary files /dev/null and b/static/image/product/pdf.png differ
diff --git a/static/image/product/ppt.png b/static/image/product/ppt.png
new file mode 100644
index 0000000..5f7feb7
Binary files /dev/null and b/static/image/product/ppt.png differ
diff --git a/static/image/product/shop.png b/static/image/product/shop.png
new file mode 100644
index 0000000..b794821
Binary files /dev/null and b/static/image/product/shop.png differ
diff --git a/static/image/product/word.png b/static/image/product/word.png
new file mode 100644
index 0000000..afa4ecc
Binary files /dev/null and b/static/image/product/word.png differ
diff --git a/static/image/index/index1.png b/static/image/workbench/index1.png
similarity index 100%
rename from static/image/index/index1.png
rename to static/image/workbench/index1.png
diff --git a/static/image/index/index10.png b/static/image/workbench/index10.png
similarity index 100%
rename from static/image/index/index10.png
rename to static/image/workbench/index10.png
diff --git a/static/image/index/index2.png b/static/image/workbench/index2.png
similarity index 100%
rename from static/image/index/index2.png
rename to static/image/workbench/index2.png
diff --git a/static/image/index/index3.png b/static/image/workbench/index3.png
similarity index 100%
rename from static/image/index/index3.png
rename to static/image/workbench/index3.png
diff --git a/static/image/index/index4.png b/static/image/workbench/index4.png
similarity index 100%
rename from static/image/index/index4.png
rename to static/image/workbench/index4.png
diff --git a/static/image/index/index5.png b/static/image/workbench/index5.png
similarity index 100%
rename from static/image/index/index5.png
rename to static/image/workbench/index5.png
diff --git a/static/image/index/index6.png b/static/image/workbench/index6.png
similarity index 100%
rename from static/image/index/index6.png
rename to static/image/workbench/index6.png
diff --git a/static/image/index/index7.png b/static/image/workbench/index7.png
similarity index 100%
rename from static/image/index/index7.png
rename to static/image/workbench/index7.png
diff --git a/static/image/index/index8.png b/static/image/workbench/index8.png
similarity index 100%
rename from static/image/index/index8.png
rename to static/image/workbench/index8.png
diff --git a/static/image/index/index9.png b/static/image/workbench/index9.png
similarity index 100%
rename from static/image/index/index9.png
rename to static/image/workbench/index9.png
diff --git a/styles/common.scss b/styles/common.scss
index 38a4c67..8812fce 100644
--- a/styles/common.scss
+++ b/styles/common.scss
@@ -1,6 +1,9 @@
button[type=primary] {
background-color: #007eff;
}
+.bg-wh {
+ background-color: #fff;
+}
page {
height: 100%;
background-color: #f5f5f5;
diff --git a/pages/info/info.vue b/team/info/info.vue
similarity index 100%
rename from pages/info/info.vue
rename to team/info/info.vue
diff --git a/pages/study/study.vue b/team/study/study.vue
similarity index 100%
rename from pages/study/study.vue
rename to team/study/study.vue