From 949739f33f7cc0c0b277cbccfdd61ac311bb6928 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期三, 05 七月 2023 10:00:08 +0800
Subject: [PATCH] no message

---
 public/html/freebuy.html |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/public/html/freebuy.html b/public/html/freebuy.html
index b86ecca..b8e0c28 100644
--- a/public/html/freebuy.html
+++ b/public/html/freebuy.html
@@ -58,6 +58,8 @@
         }
         .act_header .centent{
             text-align: center;
+            background: #FF451F;
+            padding-top: 0.6rem;
         }
         .act_header .centent img{
             width:100%;
@@ -281,17 +283,32 @@
 .sort-list>li span i.arrow-active {
     border-color: #f2f2f2 transparent transparent
 }
+.appback
+{
+    width: 100%;
+    height: 0.5rem;
+    position: absolute;
+    top: 0.4rem;
+    left: 10px;
+}
+.appback-img
+{
+    height: 100%;
+}
     </style>
 </head>
 
 <body style="background: #fbe7e2;">
-    
+    <div id="appMain" >
+        <div class="appback">
+            <image v-on:click="topBack()" class="appback-img" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/h5return_backIcon.png"></image>
+        </div>
     <header class="act_header">
         <div></div>
         <div class="centent"><img src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/xinrengoubanner.png" alt=""></div>
         
     </header>
-    <div id="appMain" >
+   
    
     <div class="sort">
         <ul class="sort-list">
@@ -410,6 +427,14 @@
             //posturl:"http://dfgapp.ushopvip.com"
         },
         methods: {
+            topBack:function()
+            {
+                uni.postMessage({
+                      data: {
+                         action: 'back'
+                      }
+                     });
+            },
             Infoformat: function(info){
             let formatObj = info.replace(/\%/g,"%25")
             formatObj = info.replace(/\#/g,"%23")
@@ -426,7 +451,7 @@
                         });
                         break;
                     case "dy":
-                        var itemsStr=this.Infoformat(JSON.stringify(items));
+                        var itemsStr=this.Infoformat(JSON.stringify(item));
                         uni.navigateTo({
                             url: '/pages/goods/goodsDetail?sourcefrom=freebuy&info=' + itemsStr+'&frompage=freebuy'
                         });

--
Gitblit v1.9.3