diff --git a/pages.json b/pages.json
index 50f12b8..eae0767 100644
--- a/pages.json
+++ b/pages.json
@@ -139,6 +139,13 @@
"navigationBarTextStyle": "white"
}
},
+ {
+ "path": "pages/shop/GoodsCon/qualifications",
+ "style": {
+ "navigationBarTitleText": "商家资质",
+ "navigationBarTextStyle": "black"
+ }
+ },
{
"path": "pages/user/address/AddAddress/index",
"style": {
diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue
index 6161840..2e59627 100644
--- a/pages/shop/GoodsCon/index.vue
+++ b/pages/shop/GoodsCon/index.vue
@@ -194,13 +194,25 @@
-->
-
+
+
+
+
+ 资质
+
+ {{ storeInfo.merName }}
+
+
+
+
+
+
选择
-
+
{{ attrValue }}
@@ -564,7 +576,8 @@ export default {
uniqueId: null,
isFavorite: false,
pageKeyId: '',
- couponListLimit2ToShow: []
+ couponListLimit2ToShow: [],
+ qualifications: []
}
},
computed: mapGetters(["isLogin", "location", "userInfo"]),
@@ -715,6 +728,15 @@ export default {
}
},
methods: {
+ toQualifications() {
+ const merInfo = {
+ name: this.storeInfo.merName,
+ qualifications: this.qualifications
+ }
+ uni.navigateTo({
+ url:'/pages/shop/GoodsCon/qualifications?mer=' + JSON.stringify(merInfo),
+ })
+ },
goRoom() {
const params = {
goodsId: this.productId,
@@ -968,6 +990,7 @@ export default {
const { data } = res
this.$set(this, 'storeInfo', data.storeInfo)
this.isWenwan = data.isWenwan
+ this.qualifications = data.qualifications || []
// 给 attr 赋值,将请求回来的规格赋值给 attr
if (this.source !== 'pre' && this.source !== 'day' && this.source !== 'kill' && this.source !== 'spe') {
this.$set(this.attr, 'productAttr', data.productAttr)
diff --git a/pages/shop/GoodsCon/qualifications.vue b/pages/shop/GoodsCon/qualifications.vue
new file mode 100644
index 0000000..4bbd910
--- /dev/null
+++ b/pages/shop/GoodsCon/qualifications.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+ 商家名称
+
+
+ {{ merInfo.name }}
+
+
+
+
+
+
+ 查看更多
+
+
+
+
+
+
+
+
+
\ No newline at end of file