diff --git a/components/right-bar/right-bar.vue b/components/right-bar/right-bar.vue
index 3a104e7..70b7606 100644
--- a/components/right-bar/right-bar.vue
+++ b/components/right-bar/right-bar.vue
@@ -1,180 +1,186 @@
-
-
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 51cd7fd..9b70a43 100644
--- a/pages.json
+++ b/pages.json
@@ -233,6 +233,14 @@
"enablePullDownRefresh" : false
}
},
+ {
+ "path" : "pages/index/shop/cart",
+ "style" :
+ {
+ "navigationBarTitleText" : "购物车",
+ "enablePullDownRefresh" : false
+ }
+ },
{
"path" : "pages/yellowPage/list",
"style" :
@@ -248,6 +256,14 @@
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
+ },
+ {
+ "path" : "pages/user/school",
+ "style" :
+ {
+ "navigationBarTitleText" : "金久信学堂",
+ "enablePullDownRefresh" : false
+ }
}
],
"globalStyle": {
diff --git a/pages/article/list.vue b/pages/article/list.vue
index 873dbaa..1828829 100644
--- a/pages/article/list.vue
+++ b/pages/article/list.vue
@@ -51,7 +51,7 @@
-
+
{{ item.name }}
@@ -67,6 +67,7 @@
+
@@ -111,6 +112,9 @@ export default {
vk.navigateTo({
url: '/pages/user/school'
})
+ },
+ openDownload(url){
+ window.open(url)
}
},
onLoad() {
diff --git a/pages/contract/index.vue b/pages/contract/index.vue
index 475f2cd..062e036 100644
--- a/pages/contract/index.vue
+++ b/pages/contract/index.vue
@@ -23,9 +23,15 @@
已作废
+
+
+
+
+ 签约宝
+
-
+
自主交易
@@ -43,6 +49,9 @@
加工单
+ 签约宝
+
{{ item.contract.productTitle }}
@@ -92,8 +101,8 @@
-->
修改合同内容
+ v-if="item.contract.status == 1 && item.contract.userId == vk.getVuex('$user.userInfo._id')"
+ size="mini" type="primary">修改合同内容
@@ -105,14 +114,19 @@
:total="tableData.total">
-
+
+
+
-
\ No newline at end of file
diff --git a/pages/index/shop/detail.vue b/pages/index/shop/detail.vue
index c6c5d30..29a3bd3 100644
--- a/pages/index/shop/detail.vue
+++ b/pages/index/shop/detail.vue
@@ -31,7 +31,7 @@
¥{{ info.amount }}
- 加入购物车
+ 加入购物车
立即购买
@@ -55,6 +55,7 @@ export default {
components: {UGap},
data() {
return {
+ id: null,
info: {
name: ''
}
@@ -62,6 +63,7 @@ export default {
},
onLoad(options) {
if (options && options.id) {
+ this.id = options.id;
this.getInfo(options.id)
}
},
@@ -74,6 +76,20 @@ export default {
url: 'client/goods/list/pub/getDetail',
data: {id}
})
+ },
+ addToCart(){
+ vk.callFunction({
+ url: 'client/cart/kh/add',
+ data: {
+ goodsId: this.id,
+ },
+ success: (res) => {
+ this.$message({
+ type:'success',
+ message: '添加成功'
+ })
+ }
+ })
}
}
}
diff --git a/pages/index/shop/shop.vue b/pages/index/shop/shop.vue
index df030ca..b8ebc69 100644
--- a/pages/index/shop/shop.vue
+++ b/pages/index/shop/shop.vue
@@ -46,6 +46,7 @@
+
diff --git a/pages/process/list.vue b/pages/process/list.vue
index f2b9bfe..33f72f9 100644
--- a/pages/process/list.vue
+++ b/pages/process/list.vue
@@ -105,8 +105,8 @@
+
-
diff --git a/pages/spot/goods/goods.vue b/pages/spot/goods/goods.vue
index c067c69..593a88d 100644
--- a/pages/spot/goods/goods.vue
+++ b/pages/spot/goods/goods.vue
@@ -120,6 +120,7 @@
:total="goodsData.total">
+
diff --git a/pages/user/school.vue b/pages/user/school.vue
index a517373..e2a45d8 100644
--- a/pages/user/school.vue
+++ b/pages/user/school.vue
@@ -55,7 +55,10 @@
{{ item._add_time_str }}
{{ item.viewNum }}人浏览
{{ item.downloadNum }}次下载
- {{ item.amount === 0 ? '免费下载' : `${item.amount}元下载` }}
+ {{
+ item.amount === 0 ? '免费下载' : `${item.amount}元下载`
+ }}
+
@@ -65,7 +68,16 @@
上传文档
-
+
+
+ 点击上传
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/pages/yellowPage/list.vue b/pages/yellowPage/list.vue
index f082283..861857f 100644
--- a/pages/yellowPage/list.vue
+++ b/pages/yellowPage/list.vue
@@ -17,9 +17,9 @@
-
-
- 搜索
+
+
+ 搜索
@@ -87,43 +87,60 @@
+
-
+
+
{{ item.name }}
- {{ item.manager.personName }}
- {{ item.businessCard.position }}
+ {{ item.manager.personName }}
+ {{ item.businessCard.position }}
- 地址:{{ item.manager.address }}
+
+ 地址:
+ {{ item.manager.address }}
+
- 电话:{{ item.businessCard.phone }}
+
+ 电话:
+ {{ item.businessCard.phone }}
+
- 手机:{{ item.businessCard.mobile }}
+
+ 手机:
+ {{ item.businessCard.mobile }}
+
- 邮箱:{{ item.businessCard.email }}
+
+ 邮箱:
+ {{ item.businessCard.email }}
+
- 网址:{{ item.businessCard.website }}
+
+ 网址:
+ {{ item.businessCard.website }}
+
主营业务:
- {{ item.businessCard.mainBusiness }}
+ {{ item.businessCard.mainBusiness }}
查看详情
@@ -132,15 +149,18 @@
+