Parcourir la source

feat:百宝箱替换为工作台

fuwencai il y a 2 ans
Parent
commit
8de7734efe

+ 2 - 2
src/jfw/front/laboratory.go

@@ -10,8 +10,8 @@ import (
 
 type Lab struct {
 	*xweb.Action
-	/*******************剑鱼标讯百宝箱dev2.8.5*************************/
-	treasureBox xweb.Mapper `xweb:"/jyTreasureBox/treasureBox"` //剑鱼百宝箱
+	/*******************剑鱼标讯工作台dev2.8.5*************************/
+	treasureBox xweb.Mapper `xweb:"/jyTreasureBox/treasureBox"` //剑鱼工作台
 }
 
 func init() {

+ 3 - 4
src/jfw/modules/app/src/app/front/laboratory.go

@@ -12,22 +12,21 @@ type Lab struct {
 	newIndex xweb.Mapper `xweb:"/jyapp/jylab/newIndex"` //实验室 nginx跳转
 }
 
-//
 func init() {
 	xweb.AddAction(&Lab{})
 }
 
-//剑鱼标讯实验室首页>移动端工作桌面(百宝箱
+// 剑鱼标讯实验室首页>移动端工作桌面(工作台
 func (l *Lab) Index() error {
 	return l.Redirect("/jy_mobile/tabbar/box")
 }
 
-//剑鱼标讯实验室首页
+// 剑鱼标讯实验室首页
 func (l *Lab) IndexNg() error {
 	return l.Redirect("/jyapp/jylab/page_index") //在nginx配置的路由
 }
 
-//剑鱼标讯实验室首页>移动端工作桌面(百宝箱
+// 剑鱼标讯实验室首页>移动端工作桌面(工作台
 func (l *Lab) NewIndex() error {
 	return l.Redirect("/jy_mobile/tabbar/box")
 }

+ 4 - 4
src/jfw/modules/app/src/web/staticres/jyapp/js/common.js

@@ -394,12 +394,12 @@ function mockAppFn () {
     },
     /*跳转到指定的webview
      * name 对应的值:
-     *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+     *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
      */
     skipAppointTab: function (name) {},
     /*刷新指定的webview
      * name 对应的值:
-     *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+     *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
      * type 对应的值:
      *   0:当前页 1:一级页面
      */
@@ -530,7 +530,7 @@ $(function () {
       },
       /*跳转到指定的webview
        * name 对应的值:
-       *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+       *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
        */
       skipAppointTab: function (name) {
         JyObjMessage.name = name
@@ -539,7 +539,7 @@ $(function () {
       },
       /*刷新指定的webview
        * name 对应的值:
-       *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+       *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
        * type 对应的值:
        *   0:当前页 1:一级页面
        */

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/js/vip_index_new.js

@@ -374,7 +374,7 @@ $(function () {
       let switchProduct = sessionStorage.getItem('switch-product')
       if (switchProduct) {
         if (switchProduct == 'bigmember') {
-          //   判断是否是从百宝箱跳转到订阅设置
+          //   判断是否是从工作台跳转到订阅设置
           if (document.referrer.indexOf('/jyapp/jylab/index') != -1) {
             sessionStorage.setItem('switch-product', 'supervip')
             res = r

+ 1 - 1
src/jfw/modules/app/src/web/templates/me/mine.html

@@ -309,7 +309,7 @@
         <div class="tip-box">
           <h3>功能搬家提醒</h3>
           <div class="tip-content">
-            “百宝箱”全新升级,“我的”部分功能(例如:项目关注、数据导出记录等)已搬家至“百宝箱”,请前往“百宝箱”了解并使用剑鱼全部功能。
+            “工作台”全新升级,“我的”部分功能(例如:项目关注、数据导出记录等)已搬家至“工作台”,请前往“工作台”了解并使用剑鱼全部功能。
           </div>
           <div class="tip-confirm-btn" onClick="mine.showMoveDialog('know')">我知道了</div>
           <div class="triangle"></div>

+ 1 - 1
src/jfw/modules/app/src/web/templates/weixin/tabbar.html

@@ -60,7 +60,7 @@ new Vue({
           index: 2
         },
         {
-          label: '百宝箱',
+          label: '工作台',
           icon: 'box',
           url: '/jy_mobile/tabbar/box',
           index: 3

+ 3 - 3
src/jfw/modules/app/src/web/templates/weixin/treasure_box.html

@@ -6,7 +6,7 @@
     <meta name="viewport"
         content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-    <title>百宝箱</title>
+    <title>工作台</title>
     <script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/rem.js"></script>
     <link rel="stylesheet" type="text/css" href="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/css/wx/base.css?v={{Msg "seo" "version"}}" />
     <link rel="stylesheet" type="text/css" href="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/css/wx/treasure_box.css?v={{Msg "seo" "version"}}">
@@ -15,8 +15,8 @@
 <body>
     <div class="treasure">
         <div class="top">
-            <h2>百宝箱</h2>
-            <p>欢迎来到剑鱼标讯百宝箱</p>
+            <h2>工作台</h2>
+            <p>欢迎来到剑鱼标讯工作台</p>
         </div>
         <div class="main">
             <div class="vip_subscribe">

+ 2 - 2
src/web/staticres/entnichePush/js/common.js

@@ -321,7 +321,7 @@ $(function () {
       },
       /*跳转到指定的webview
        * name 对应的值:
-       *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+       *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
        */
       skipAppointTab: function (name) {
         JyObjMessage.name = name
@@ -330,7 +330,7 @@ $(function () {
       },
       /*刷新指定的webview
        * name 对应的值:
-       *   search:搜索 subscribe:订阅 box:百宝箱 me:我的 message:消息
+       *   search:搜索 subscribe:订阅 box:工作台 me:我的 message:消息
        * type 对应的值:
        *   0:当前页 1:一级页面
        */

+ 1 - 1
src/web/templates/weixin/my.html

@@ -252,7 +252,7 @@
           <div class="tip-box">
             <h3>功能搬家提醒</h3>
             <div class="tip-content">
-              “百宝箱”全新升级,“我的”部分功能(例如:项目关注、数据导出记录等)已搬家至“百宝箱”,请前往“百宝箱”了解并使用剑鱼全部功能。
+              “工作台”全新升级,“我的”部分功能(例如:项目关注、数据导出记录等)已搬家至“工作台”,请前往“工作台”了解并使用剑鱼全部功能。
             </div>
             <div class="tip-confirm-btn" onClick="mine.showMoveDialog('know')">我知道了</div>
             <div class="triangle"></div>

+ 1 - 1
src/web/templates/weixin/tabbar.html

@@ -60,7 +60,7 @@ new Vue({
           index: 2
         },
         {
-          label: '百宝箱',
+          label: '工作台',
           icon: 'box',
           url: '/page_treasurebox/index.html',
           index: 3

+ 3 - 3
src/web/templates/weixin/treasure_box.html

@@ -6,7 +6,7 @@
     <meta name="viewport"
         content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-    <title>百宝箱</title>
+    <title>工作台</title>
     <script src="/js/rem.js"></script>
     <link rel="stylesheet" type="text/css" href="/css/wx/base.css" />
     <link rel="stylesheet" href="/css/wx/treasure_box.css?v=05">
@@ -16,8 +16,8 @@
 <body>
     <div class="treasure">
         <div class="top">
-            <h2>百宝箱</h2>
-            <p>欢迎来到剑鱼标讯百宝箱</p>
+            <h2>工作台</h2>
+            <p>欢迎来到剑鱼标讯工作台</p>
         </div>
         <div class="main">
             <div class="vip_subscribe">