Explorar o código

友盟数据统计埋点

zhengjinyi %!s(int64=4) %!d(string=hai) anos
pai
achega
27ee06e08b

+ 8 - 0
src/main/java/com/caimei/www/controller/authorized/supplier/SupplierPageController.java

@@ -60,6 +60,8 @@ public class SupplierPageController extends BaseController {
 	private static final String SHOP_EXAMPLE = "supplier-center/shop/example";
     /** 系统消息列表 */
     private static final String MESSAGE = "supplier-center/message/list";
+    /** 供应商维修详情 */
+    private static final String REPAIR_DETAIL = "supplier-center/repair/detail";
 
 
     /** 我的采美 */
@@ -203,5 +205,11 @@ public class SupplierPageController extends BaseController {
     @GetMapping("/supplier/message/list.html")
     public String settingMessage() {return MESSAGE;}
 
+    /** 供应商维修详情 */
+    @GetMapping("/supplier/repair/detail.html")
+    public String repairDetail() {
+        return REPAIR_DETAIL;
+    }
+
 
 }

+ 1 - 1
src/main/resources/static/css/supplier-center/repair/detail.css

@@ -77,7 +77,7 @@ li{list-style:none}
     .from-button{width: 93.4vw;height: 11.2vw;cursor: pointer;line-height: 11.2vw;text-align: center;color: #fff;background-color: #e15616;box-shadow: 0px .8vw 1.3vw 0px rgba(249, 75, 75, 0.17);border-radius: 2px;font-size: 3.7vw;margin: 4vw auto;}
     .mainconten{background: #fff;	box-shadow: 0px .8vw 1.3vw 0px rgba(34, 39, 46, 0.07);padding: 5.6vw 3.5vw}
     .sencondCont{background: #fff;	box-shadow: 0px .8vw 1.3vw 0px rgba(34, 39, 46, 0.07);padding:5vw 3.5vw;height: 100%;}
-    .sencondCont p{color: #627386;font-size: 4vw;margin-bottom: 32px}
+    .sencondCont p{color: #627386;font-size: 4vw;margin-bottom:9.5vw;}
     .sencondCont p span{color: #22272e;}
     .process p:nth-child(3){margin:2.7vw 0;}
     .sencondCont .Image img{width:15vw;height:15vw;margin-left: 2.7vw}

+ 1 - 1
src/main/resources/templates/components/header.html

@@ -81,7 +81,7 @@
                         </select>
                     </div>
                     <input class="keyword" type="text" placeholder="请输入搜索关键词" maxlength="30"/>
-                    <a class="searchBtn icon mIcon" href="javascript:void(0);"></a>
+                    <a class="searchBtn icon mIcon" href="javascript:void(0);" onclick="_czc.push(['_trackEvent','顶部导航','搜索按钮','点击','','Um_Event_SearchButton'])"></a>
                 </div>
                 <!-- 热门搜索关键词 -->
                 <div class="hotKey">

+ 1 - 1
src/main/resources/templates/flea-market/detail.html

@@ -57,7 +57,7 @@
                         <span class="label">交&nbsp;&nbsp;易&nbsp;&nbsp;价:</span>
                         <p>
                             <span v-if="detail.detailTalkFlag==2&&userID==0" class="fave-text">价格详聊</span></span>
-                            <span v-else-if="userID==0"><a class="member-detail toLogin loginWithParam" >登录查看价格></a></span>
+                            <span v-else-if="userID==0"><a class="member-detail toLogin loginWithParam" onclick="_czc.push(['_trackEvent','二手商品详情','登录查看价格','点击','','Um_Event_SecondDetailsLoginButton'])">登录查看价格></a></span>
                             <span v-else-if="userID!=0&&detail.detailTalkFlag==2" class="fave-text">价格详聊</span></span>
                             <span v-else class="fave-text">¥<span class="big">{{detail.price}}</span></span>
                         </p>

+ 2 - 2
src/main/resources/templates/flea-market/list.html

@@ -34,7 +34,7 @@
                             <a href="/flea-market/intro.html">二手市场介绍</a>
                         <li/>
                         <li class="fabu">
-                            <a href="/flea-market/form.html">我要发布</a>
+                            <a href="/flea-market/form.html" onclick="_czc.push(['_trackEvent','二手市场列表','我要发布','点击','','Um_Event_SecondReleaseSubmit'])">我要发布</a>
                         <li/>
                     </div>
 
@@ -70,7 +70,7 @@
                         </a>
                         <div class="targetprice">
                             <span v-if="item.detailTalkFlag ==2 && userID==null">价格详聊</span>
-                            <span v-else-if="userID==null" class="priceparam" @click="toLogin">登录查看价格></span>
+                            <span v-else-if="userID==null" class="priceparam" @click="toLogin" onclick="_czc.push(['_trackEvent','二手市场列表','登录查看价格','点击','','Um_Event_SecondListLoginSubmit'])">登录查看价格></span>
                             <span v-else-if="userID!=null && item.detailTalkFlag==2">价格详聊</span>
                             <span v-else>¥{{item.price}}</span>
                         </div>

+ 9 - 9
src/main/resources/templates/index.html

@@ -44,12 +44,12 @@
                     <div class="section_right_item" th:if="${sideJson.get('liveList')}!=null and ${sideJson.get('liveList').size}>0">
                         <div class="right_item_title">
                             <p>精彩直播</p>
-                            <a href="https://wx.vzan.com/plug-ins/?v=637429463853329710#/FixupIndex/399803126?shareuid=0" target="_blank"  rel="nofollow">
+                            <a href="https://wx.vzan.com/plug-ins/?v=637429463853329710#/FixupIndex/399803126?shareuid=0" target="_blank"  rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
                                 <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
-                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{liveTitle}" class="item_banner" target="_blank" rel="nofollow">
+                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{liveTitle}" class="item_banner" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
                                 <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
                                 <div class="name" th:text="*{liveTitle}"></div>
                                 <div class="statu">
@@ -58,7 +58,7 @@
                                     <template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
                                 </div>
                             </a>
-                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{liveTitle}" class="item_text" target="_blank" rel="nofollow">
+                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{liveTitle}" class="item_text" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
                                 <p class="item_text_name" th:text="*{liveTitle}"></p>
                             </a>
                         </div>
@@ -66,16 +66,16 @@
                     <div id="fixed-wrap" class="section_right_item" th:if="${sideJson.get('cmImageList')}!=null and ${sideJson.get('cmImageList').size}>0">
                         <div class="right_item_title">
                             <p>最新活动</p>
-                            <a href="https://www.caimei365.com/promotions.html" target="_blank">
+                            <a href="https://www.caimei365.com/promotions.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
                                 <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
-                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank">
+                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
                                 <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
                                 <div class="name" th:text="*{title}"></div>
                             </a>
-                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank">
+                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
                                 <p class="item_text_name" th:text="*{title}"></p>
                             </a>
                         </div>
@@ -83,16 +83,16 @@
                     <div class="section_right_item" th:if="${sideJson.get('infoList')}!=null and ${sideJson.get('infoList').size}>0">
                         <div class="right_item_title">
                             <p>热门文章</p>
-                            <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank">
+                            <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
                                 <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
-                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank">
+                            <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
                                 <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
                                 <div class="name" th:text="*{title}"></div>
                             </a>
-                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank">
+                            <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
                                 <p class="item_text_name info" th:text="*{title}"></p>
                                 <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
                             </a>