qj-common 4.1.36 → 4.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qj-common",
3
- "version": "4.1.36",
3
+ "version": "4.1.38",
4
4
  "description": "common files && template for qj-paas",
5
5
  "scripts": {
6
6
  "gulp": "gulp css"
@@ -1,85 +1,30 @@
1
1
  <template>
2
- <div class="footerC">
3
- <div class="container">
4
- <div v-for="item in menuList" :key="item.conttitleId">
5
- <p>{{ item.conttitleName }}</p>
6
- <p
7
- v-for="item2 in item.cmsContlistReDomainList"
8
- :key="item2.contlistId"
9
- @click="cutPage(item2.contlistName, item2.contlistId)"
10
- >
11
- {{ item2.contlistName }}
12
- </p>
13
- </div>
14
- </div>
2
+ <div v-show="copyright" class="layout fex-c t-12 pad-tb10 copyright-box">
3
+ <a href="">
4
+ <p v-html="copyright"></p>
5
+ </a>
15
6
  </div>
16
7
  </template>
17
-
18
8
  <script>
19
- import { queryConttitleReDomainByCode } from '#/api/apimanage.js'
20
9
  export default {
21
10
  data() {
22
- return {
23
- menuList: [],
24
- active: "",
25
- };
11
+ return {}
26
12
  },
27
- created() {
28
- this.getLeftFloor();
13
+ computed: {
14
+ copyright() {
15
+ let proappEnvLayout = sessionStorage.getItem('proappEnvLayout') ? JSON.parse(sessionStorage.getItem('proappEnvLayout')) : null;
16
+ return proappEnvLayout ? proappEnvLayout.proappEnvFoot : ''
17
+ }
29
18
  },
30
- methods: {
31
- cutPage(contlistName, contlistId) {
32
- location.href = `/paas/b2b-cli-pc-ayd/index.html#/helpindex?contlistName=${contlistName}&contlistId=${contlistId}`;
33
- },
34
- getLeftFloor() {
35
- let footMenuList = localStorage.getItem('footMenuList');
36
- if (footMenuList) {
37
- this.menuList = JSON.parse(footMenuList);
38
- } else {
39
- let tginfoMenuCode = "helpcenter";
40
- let dataState = 2;
41
- queryConttitleReDomainByCode({
42
- tginfoMenuCode: "helpcenter"
43
- }).then((res) => {
44
- if (res) {
45
- this.menuList = res;
46
- localStorage.setItem('footMenuList', JSON.stringify(this.menuList));
47
- }
48
- })
49
- }
50
- },
19
+ mounted() {
20
+ this.copyright = sessionStorage.getItem('proappEnvLayout') ? JSON.parse(sessionStorage.getItem('proappEnvLayout')).proappEnvFoot : '';
51
21
  },
22
+ methods: {},
52
23
  };
53
24
  </script>
54
25
 
55
26
  <style lang="scss" scoped>
56
- .footerC {
57
- background-color: #56423d;
58
-
59
- .container {
60
- box-sizing: border-box;
61
- width: 1200px;
62
- margin: 0 auto;
63
- height: 300px;
64
- padding: 50px 0;
65
- display: flex;
66
- justify-content: space-between;
67
-
68
- div {
69
- p {
70
- cursor: pointer;
71
- color: #c3c2c2;
72
- margin-bottom: 14px;
73
- font-size: 14px;
74
- }
75
-
76
- p:nth-child(1) {
77
- cursor: pointer;
78
- color: #e6e4e4;
79
- margin-bottom: 24px;
80
- font-size: 16px;
81
- }
82
- }
83
- }
27
+ .copyright-box {
28
+ background-color: transparent;
84
29
  }
85
30
  </style>
@@ -35,7 +35,7 @@
35
35
  queryConttitleReDomainByCode
36
36
  } from '#/api/apimanage.js'
37
37
  let logo_default_href =
38
- "https://opt.lbaby1998.com/paas/shop/2021122100000001/2022-07-05/c4b2eeb72f834547920be58450fb07be.png";
38
+ "http://mhdmspc.saas.qjclouds.com//paas/shop/796758877233610836//e234056d165e40af99190b604f3cd0b9.png";
39
39
  export default {
40
40
  data() {
41
41
  return {
@@ -43,7 +43,7 @@
43
43
  searchWord: [],
44
44
  logo: sessionStorage.getItem('proappEnvLayout') ? location.origin + JSON.parse(sessionStorage.getItem(
45
45
  'proappEnvLayout')).proappEnvLogo : logo_default_href,
46
- orginHref: process.env.NODE_ENV == "development" ? '' : '/paas/b2b-cli-pc-ayd/index.html'
46
+ orginHref: process.env.NODE_ENV == "development" ? '' : '/paas/b2b-cli-pc-mh/index.html'
47
47
  }
48
48
  },
49
49
  computed: {
@@ -30,7 +30,7 @@
30
30
 
31
31
  <!-- <span @click="toIndex()" :class="[ $route.path === `/islandStore` ? 'c-theme' : '' ]">个人中心</span> -->
32
32
  </block>
33
- <span @click="toHelp()" :class="[ $route.path === `/helpindex` ? 'c-theme' : '' ]">帮助中心</span>
33
+ <!-- <span @click="toHelp()" :class="[ $route.path === `/helpindex` ? 'c-theme' : '' ]">帮助中心</span> -->
34
34
  </div>
35
35
  </div>
36
36
  </div>
@@ -74,10 +74,10 @@ export default {
74
74
  * 跳转到消息列表页面
75
75
  */
76
76
  jumpToPage(){
77
- location.href = '/paas/b2b-cli-pc-ayd/index.html#/msgListPC'
77
+ location.href = '/paas/b2b-cli-pc-mh/index.html#/msgListPC'
78
78
  },
79
79
  toLogin() {
80
- location.href = '/paas/b2b-cli-pc-ayd/index.html#/loginPc'
80
+ location.href = '/paas/b2b-cli-pc-mh/index.html#/loginPc'
81
81
  },
82
82
  outLogin() {
83
83
  loginOut().then((res) => {
@@ -86,18 +86,18 @@ export default {
86
86
  localStorage.clear()
87
87
  sessionStorage.clear()
88
88
  this.userInfo = {}
89
- location.href = '/paas/b2b-cli-pc-ayd/index.html#/loginPc'
89
+ location.href = '/paas/b2b-cli-pc-mh/index.html#/loginPc'
90
90
  }
91
91
  })
92
92
  },
93
93
  toUser() {
94
- location.href = '/paas/b2b-bus-pc-ayd/index.html#/order'
94
+ location.href = '/paas/b2b-bus-pc-mh/index.html#/order'
95
95
  },
96
96
  toIndex() {
97
- location.href = '/paas/b2b-bus-pc-ayd/index.html#/order'
97
+ location.href = '/paas/b2b-bus-pc-mh/index.html#/order'
98
98
  },
99
99
  toHelp() {
100
- location.href = '/paas/b2b-cli-pc-ayd/index.html#/helpindex'
100
+ location.href = '/paas/b2b-cli-pc-mh/index.html#/helpindex'
101
101
  }
102
102
  }
103
103
  }