guhongwei 5 years ago
parent
commit
5d97712d3c

+ 6 - 1
src/layout/market/context.vue

@@ -135,7 +135,12 @@ export default {
         //TODO 请求房间号
         let obj = {};
         if (!this.user.uid) {
-          this.$message.error('游客身份无法与卖家对话,请先注册');
+          // this.$message.error('游客身份无法与卖家对话,请先注册');
+          this.$message({
+            dangerouslyUseHTMLString: true,
+            message: '<strong><a href="http://free.liaoningdoupo.com/platlive/newlogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            type: 'error',
+          });
           return;
         } else {
           obj.buyer_id = this.user.uid;

+ 6 - 3
src/layout/market/zhuanjia.vue

@@ -104,17 +104,20 @@ export default {
       this.resume = '123';
     },
     zjsubmit() {
-      console.log(this.policyInfo);
       this.$emit('zjsubmit', this.zhuanjiainfo);
     },
 
     async btnPhone() {
-      console.log(this.room.id);
       if (!this.room.id) {
         //TODO 请求房间号
         let obj = {};
         if (!this.user.uid) {
-          this.$message.error('游客身份无法与卖家对话,请先注册');
+          // this.$message.error('游客身份无法与卖家对话,请先注册');
+          this.$message({
+            dangerouslyUseHTMLString: true,
+            message: '<strong><a href="http://free.liaoningdoupo.com/platlive/newlogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            type: 'error',
+          });
           return;
         } else {
           obj.buyer_id = this.user.uid;

+ 7 - 2
src/views/hall/liveApply.vue

@@ -127,8 +127,13 @@ export default {
           });
         }
       } else {
-        let res = 0;
-        this.$checkRes(res, '请登录', '请登录');
+        // let res = 0;
+        // this.$checkRes(res, '请登录', '请登录');
+        this.$message({
+          dangerouslyUseHTMLString: true,
+          message: '<strong><a href="http://free.liaoningdoupo.com/platlive/newlogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+          type: 'error',
+        });
       }
     },
     productInfo(id) {

+ 0 - 2
src/views/market/marketfabu.vue

@@ -54,8 +54,6 @@ export default {
     // 查询类型
     async maarkettype({ category = 54, ...info } = {}) {
       const res = await this.markettypeList({ category, ...info });
-      console.log(res.data);
-
       if (this.$checkRes(res)) {
         this.$set(this, `columnList`, res.data);
       }

+ 12 - 2
src/views/market/marketlists.vue

@@ -253,7 +253,12 @@ export default {
       form.status = '0';
       form.type = '1';
       if (!this.user.uid) {
-        this.$message.error('游客身份无法与卖家对话,请先注册');
+        // this.$message.error('游客身份无法与卖家对话,请先注册');
+        this.$message({
+          dangerouslyUseHTMLString: true,
+          message: '<strong><a href="http://free.liaoningdoupo.com/platlive/newlogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+          type: 'error',
+        });
         return;
       } else {
         let res = await this.transactioncreate(form);
@@ -272,7 +277,12 @@ export default {
       form.status = '0';
 
       if (!this.user.uid) {
-        this.$message.error('游客身份无法与卖家对话,请先注册');
+        // this.$message.error('游客身份无法与卖家对话,请先注册');
+        this.$message({
+          dangerouslyUseHTMLString: true,
+          message: '<strong><a href="http://free.liaoningdoupo.com/platlive/newlogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+          type: 'error',
+        });
         return;
       } else {
         let res = await this.transactioncreate(form);