diff --git a/pages/goods/list.vue b/pages/goods/list.vue
index 7688b30..a036bed 100644
--- a/pages/goods/list.vue
+++ b/pages/goods/list.vue
@@ -12,7 +12,7 @@
-
{{item.name}}
@@ -329,19 +329,25 @@
.then(res => {
if (res.data.list.length > 0) {
that.tabbar = res.data.list;
- res.data.list.forEach(item => {
- item.children.forEach(item_1 => {
- that.goodsType.push(item_1)
- })
- });
- console.log(that.goodsType, that.tabbar)
+
+ // res.data.list.forEach(item => {
+ // item.children.forEach(item_1 => {
+ // that.goodsType.push(item_1)
+ // })
+ // });
+ // console.log(that.goodsType, that.tabbar)
}
})
.catch(reject)
})
},
- onChage(item, type) {
+ onChage(item, type,index) {
if (type == 1) {
+ if(this.tabbar && this.tabbar[index].children && this.tabbar[index].children.length > 0){
+ this.goodsType= this.tabbar[index].children;
+ }
+ this.isActive = '';
+ this.keyName2 = ''
if (item.category_id == this.isBanrdActive) {
this.isBanrdActive = '';
this.keyName1 = ''
diff --git a/pages/invite/index.vue b/pages/invite/index.vue
index 21fba2b..697066e 100644
--- a/pages/invite/index.vue
+++ b/pages/invite/index.vue
@@ -126,7 +126,6 @@
methods: {
createImge() {
const that = this;
-
ctx.fillRect(0, 0, 702 / that.devicePixelRatio, 1248 / that.devicePixelRatio);
uni.downloadFile({
url: 'https://www.royaum.com.cn/static/3@2x.png',
diff --git a/pages/news/rules/index.vue b/pages/news/rules/index.vue
index db0551d..6416c93 100644
--- a/pages/news/rules/index.vue
+++ b/pages/news/rules/index.vue
@@ -20,7 +20,7 @@
onLoad(options){
this.itemInfo = JSON.parse(decodeURIComponent(options.itemInfo))
this.title = this.itemInfo.title;
- this.strings = this.itemInfo.content;
+ this.strings = this.itemInfo.content.replace(/style=\"text-wrap: nowrap;\"/g,'style=\"text-wrap: inherit;\"');;
},
methods:{
diff --git a/pages/order/refund/index.vue b/pages/order/refund/index.vue
index 989a0c2..154c9a0 100644
--- a/pages/order/refund/index.vue
+++ b/pages/order/refund/index.vue
@@ -20,19 +20,19 @@
-
+
我要退款(无需退货)未收到货,或与商家协商之后申请
-
+
+
diff --git a/pages/order/refund/refund.vue b/pages/order/refund/refund.vue
index 25494b9..593ca85 100644
--- a/pages/order/refund/refund.vue
+++ b/pages/order/refund/refund.vue
@@ -14,7 +14,7 @@
申请类型
- {{type==1?'我要退货退款':'我要退款(无需退货)'}}
+ {{ type==1 ? '我要退货退款' : (type==2 ? '我要退款(无需退货)' : '我要换货') }}
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 9f2a051..70fb336 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -33,15 +33,18 @@
消息
-
+
+ v-if="userInfo.user_type == 20 || userInfo.user_type==40"
+ >
+
会员码
+ v-if="userInfo.user_type == 30 || userInfo.user_type==40"
+ >
分销码
@@ -618,9 +621,9 @@
-
+
-
+
-
+
-
+
+