shish 4 лет назад
Родитель
Сommit
b58c7392bc
4 измененных файлов с 46 добавлено и 36 удалено
  1. 5 1
      ghsApp/src/admin/home/me.vue
  2. 9 34
      ghsApp/src/admin/home/workbench.vue
  3. 30 0
      ghsApp/src/admin/shop/jc.vue
  4. 2 1
      ghsApp/src/pages.json

+ 5 - 1
ghsApp/src/admin/home/me.vue

@@ -127,6 +127,10 @@
               <div class="tui-title">云打印</div>
               <div class="tui-title">云打印</div>
             </tui-list-cell>
             </tui-list-cell>
 
 
+            <tui-list-cell @click="pageTo({ url: '/admin/shop/jc' })" class="line-cell" :hover="false" :arrow="true">
+              <div class="tui-title">新手教程</div>
+            </tui-list-cell>
+
             <tui-list-cell @click="getCustomService()" class="line-cell" :hover="false" :arrow="true">
             <tui-list-cell @click="getCustomService()" class="line-cell" :hover="false" :arrow="true">
               <div class="tui-title">联系客服</div>
               <div class="tui-title">联系客服</div>
             </tui-list-cell>
             </tui-list-cell>
@@ -315,7 +319,7 @@ export default {
     }
     }
   }
   }
   & .me-shop_box {
   & .me-shop_box {
-    padding: 50upx 20px 0;
+    padding: 50upx 20px 20rpx;
     & .me-shop_content {
     & .me-shop_content {
       position: relative;
       position: relative;
       z-index: 10;
       z-index: 10;

+ 9 - 34
ghsApp/src/admin/home/workbench.vue

@@ -57,7 +57,7 @@
 					<span>{{ item.title }}</span>
 					<span>{{ item.title }}</span>
 				</div>
 				</div>
 				<div class="news-right">
 				<div class="news-right">
-					<span>立即授权绑定</span>
+					<span>{{item.action}}</span>
 					<i class="iconfont iconxiangyou"></i>
 					<i class="iconfont iconxiangyou"></i>
 				</div>
 				</div>
 			</div>
 			</div>
@@ -124,8 +124,6 @@ import { getDataTimestamp } from "@/utils/common";
 import { getUser } from "@/utils/auth";
 import { getUser } from "@/utils/auth";
 import { consoleIndex } from "@/api/workbench";
 import { consoleIndex } from "@/api/workbench";
 import noneHd from "@/components/none-hd";
 import noneHd from "@/components/none-hd";
-// import priceSocket from "@/mixins/priceSocket";
-
 export default {
 export default {
 	name: "admin-workbench",
 	name: "admin-workbench",
 	components: {
 	components: {
@@ -234,15 +232,15 @@ export default {
 					img: `${this.$constant.imgUrl}/ghs/home/yggl.png`,
 					img: `${this.$constant.imgUrl}/ghs/home/yggl.png`,
 					url: "/admin/staff/list"
 					url: "/admin/staff/list"
 				},
 				},
-				{
-					name: "业绩",
-					img: `${this.$constant.imgUrl}/ghs/home/icon_ygyj.png`,
-					url: "/admin/staff/achieve"
-				},
 				{
 				{
 					name: "报损单",
 					name: "报损单",
 					img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
 					img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
 					url: "/admin/breakage/list"
 					url: "/admin/breakage/list"
+				},
+				{
+					name: "业绩",
+					img: `${this.$constant.imgUrl}/ghs/home/icon_ygyj.png`,
+					url: "/admin/staff/achieve"
 				}
 				}
 			],
 			],
 			// 总览
 			// 总览
@@ -341,21 +339,11 @@ export default {
 		},
 		},
 		// 跳转
 		// 跳转
 		pageToFn(item) {
 		pageToFn(item) {
-			// #ifdef H5
-			location.href = item.url;
-			// #endif
-			// #ifndef H5
-			// #endif
+			this.$util.pageTo({url: item.page})
 		},
 		},
 		// 续费
 		// 续费
 		renewFn() {
 		renewFn() {
-			this.$util.pageTo({
-				url: "/pagesClient/official/index",
-				query: {
-					pay: 1
-				},
-				type: 2
-			});
+			this.$util.pageTo({url: "/pagesClient/official/index",query: {pay: 1},type: 2})
 		},
 		},
 		getMyMall(){
 		getMyMall(){
 			console.log('pagesPurchase/ghsProduct?shopId='+ this.loginInfo.shopId+'&id=0&ghsShopAdminId='+this.loginInfo.shopAdminId)
 			console.log('pagesPurchase/ghsProduct?shopId='+ this.loginInfo.shopId+'&id=0&ghsShopAdminId='+this.loginInfo.shopAdminId)
@@ -380,22 +368,12 @@ export default {
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
-// button {
-//   margin: 0;
-//   padding: 0;
-//   border: 1px solid transparent;  //自定义边框
-//   outline: none;    //消除默认点击蓝色边框效果
-// }
 .app-content {
 .app-content {
 	padding-bottom: 10px;
 	padding-bottom: 10px;
 }
 }
-// 公共
 .module-com {
 .module-com {
 	margin-bottom: 20px;
 	margin-bottom: 20px;
-	// padding: 20px;
 	background-color: #fff;
 	background-color: #fff;
-	// box-shadow: 0px 6px 16px #ddd;
-	// border-radius: 10px;
 }
 }
 // 用户信息
 // 用户信息
 .user-wrap {
 .user-wrap {
@@ -418,13 +396,10 @@ export default {
 				border: 1px solid #ffffff;
 				border: 1px solid #ffffff;
 				border-radius: 22px;
 				border-radius: 22px;
 				padding: 10upx 17upx!important;
 				padding: 10upx 17upx!important;
-				// height: 44px;
-				// line-height: 44px;
 				font-size: 24px;
 				font-size: 24px;
 				font-family: PingFang SC;
 				font-family: PingFang SC;
 				font-weight: 400;
 				font-weight: 400;
 				color: #ffffff;
 				color: #ffffff;
-				// margin: 0 10px;
 				& > .iconfont {
 				& > .iconfont {
 					font-size: 25px;
 					font-size: 25px;
 					padding-right: 10px;
 					padding-right: 10px;
@@ -444,7 +419,6 @@ export default {
 	}
 	}
 	.user-bottom {
 	.user-bottom {
 		@include disFlex(center, space-around);
 		@include disFlex(center, space-around);
-		// padding-bottom: 40px;
 		.info-list-name {
 		.info-list-name {
 			color: #bfd4ff;
 			color: #bfd4ff;
 		}
 		}
@@ -473,6 +447,7 @@ export default {
 			.iconfont {
 			.iconfont {
 				color: $mainColor;
 				color: $mainColor;
 				margin-right: 10px;
 				margin-right: 10px;
+				font-size:30rpx;
 			}
 			}
 		}
 		}
 		.news-right {
 		.news-right {

+ 30 - 0
ghsApp/src/admin/shop/jc.vue

@@ -0,0 +1,30 @@
+<template>
+  <div class="app-content">
+    <div>
+
+        <view style="margin:10rpx 0 40rpx 53rpx;font-size:35rpx;font-weight:700;">抖音搜索“销花宝”,查看完整视频教程</view>
+        <image mode="aspectFit" style="height:1100rpx;" :src="`${constant.imgUrl}/uploads/0/202109/16/599c8033735b47ed4573df0b9b8c2d38.jpeg`"></image>
+
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  name: "jc",
+  components: {},
+  data() {
+    return {
+    };
+  },
+  onLoad() {
+  },
+  onShow() {
+  },
+  methods: {
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+</style>

+ 2 - 1
ghsApp/src/pages.json

@@ -131,7 +131,8 @@
 				{"path": "list","style": {"navigationBarTitleText": "店铺管理"}},
 				{"path": "list","style": {"navigationBarTitleText": "店铺管理"}},
 				{"path": "add","style": {"navigationBarTitleText": ""}},
 				{"path": "add","style": {"navigationBarTitleText": ""}},
 				{"path": "print","style": {"navigationBarTitleText": "云打印"}},
 				{"path": "print","style": {"navigationBarTitleText": "云打印"}},
-				{"path": "changeShop","style": {"navigationBarTitleText": "切换门店"}}
+				{"path": "changeShop","style": {"navigationBarTitleText": "切换门店"}},
+				{"path": "jc","style": {"navigationBarTitleText": "新手使用教程"}}
 			]
 			]
 		},
 		},
 		{
 		{