Commit aa1f1be7f20f58485f435abb0a14b4fc67928594

Authored by 夏洋涛
1 parent c6e41920
Exists in master

feat:改成h5版本的修改

@@ -52,11 +52,11 @@ export default { @@ -52,11 +52,11 @@ export default {
52 }) 52 })
53 // 健康地址调用 53 // 健康地址调用
54 // this.yxAxios.get(`https://proxy.shunzhi.net/achieve/healthCheckSXYX`).then((res) => { 54 // this.yxAxios.get(`https://proxy.shunzhi.net/achieve/healthCheckSXYX`).then((res) => {
55 - this.yxAxios.get(`https://ocp.sxsedu.net/szsh/health/checkSx`).then((res) => {  
56 - console.log('健康地址:', JSON.stringify(res.data))  
57 - const bodyElement = document.getElementsByTagName('body')[0]  
58 - bodyElement.append(JSON.stringify(res.data))  
59 - }) 55 + // // this.yxAxios.get(`https://ocp.sxsedu.net/szsh/health/checkSx`).then((res) => {
  56 + // console.log('健康地址:', JSON.stringify(res.data))
  57 + // const bodyElement = document.getElementsByTagName('body')[0]
  58 + // bodyElement.append(JSON.stringify(res.data))
  59 + // })
60 }, 60 },
61 methods: { 61 methods: {
62 setElder(e) { 62 setElder(e) {
src/components/c_Tabbar.vue
@@ -5,21 +5,21 @@ @@ -5,21 +5,21 @@
5 <img v-else src="@/assets/tabbar/tab1_off.png" alt="" /> 5 <img v-else src="@/assets/tabbar/tab1_off.png" alt="" />
6 <p>绍兴研学</p> 6 <p>绍兴研学</p>
7 </div> 7 </div>
8 - <div class="tab" :class="active == 'grow' ? 'active' : ''" @click="handleGrowUp"> 8 + <!-- <div class="tab" :class="active == 'grow' ? 'active' : ''" @click="handleGrowUp">
9 <img v-if="active == 'grow'" src="@/assets/tabbar/tab2_on.png" alt="" /> 9 <img v-if="active == 'grow'" src="@/assets/tabbar/tab2_on.png" alt="" />
10 <img v-else src="@/assets/tabbar/tab2_off.png" alt="" /> 10 <img v-else src="@/assets/tabbar/tab2_off.png" alt="" />
11 <p>成长记录</p> 11 <p>成长记录</p>
12 - </div> 12 + </div> -->
13 <div class="tab" :class="active == 'fruit' ? 'active' : ''" @click="handleFruit"> 13 <div class="tab" :class="active == 'fruit' ? 'active' : ''" @click="handleFruit">
14 <img v-if="active == 'fruit'" src="@/assets/tabbar/tab2_on.png" alt="" /> 14 <img v-if="active == 'fruit'" src="@/assets/tabbar/tab2_on.png" alt="" />
15 <img v-else src="@/assets/tabbar/tab2_off.png" alt="" /> 15 <img v-else src="@/assets/tabbar/tab2_off.png" alt="" />
16 <p>研学成果</p> 16 <p>研学成果</p>
17 </div> 17 </div>
18 - <div class="tab" :class="active == 'home' ? 'active' : ''" @click="handleHome"> 18 + <!-- <div class="tab" :class="active == 'home' ? 'active' : ''" @click="handleHome">
19 <img v-if="active == 'home'" src="@/assets/tabbar/tab3_on.png" alt="" /> 19 <img v-if="active == 'home'" src="@/assets/tabbar/tab3_on.png" alt="" />
20 <img v-else src="@/assets/tabbar/tab3_off.png" alt="" /> 20 <img v-else src="@/assets/tabbar/tab3_off.png" alt="" />
21 <p>我的</p> 21 <p>我的</p>
22 - </div> 22 + </div> -->
23 </div> 23 </div>
24 </template> 24 </template>
25 <script> 25 <script>
src/views/Home/SelectContact.vue
@@ -55,7 +55,7 @@ export default { @@ -55,7 +55,7 @@ export default {
55 forbidClick: true 55 forbidClick: true
56 }) 56 })
57 const userInfo = JSON.parse(localStorage.getItem('userInfo')) 57 const userInfo = JSON.parse(localStorage.getItem('userInfo'))
58 - this.yxAxios.get(`${this.baseUrl}/prod/user/info/getPortalUserByNum?userNum=${userInfo.centerNo}`).then((res) => { 58 + this.yxAxios.get(`${this.proxyUrl}/prod/user/info/getPortalUserByNum?userNum=${userInfo.centerNo}`).then((res) => {
59 this.$toast.clear() 59 this.$toast.clear()
60 if (res.data.code == 200) { 60 if (res.data.code == 200) {
61 let userInfo = res.data.data.userInfo; 61 let userInfo = res.data.data.userInfo;
src/views/Home/component/HomeChildList.vue
@@ -85,7 +85,7 @@ export default { @@ -85,7 +85,7 @@ export default {
85 }) 85 })
86 let userInfo = localStorage.getItem('userInfo') 86 let userInfo = localStorage.getItem('userInfo')
87 userInfo = JSON.parse(userInfo) 87 userInfo = JSON.parse(userInfo)
88 - this.yxAxios.get(`${this.baseUrl}/prod/user/info/getPortalUserByNum?userNum=${userInfo?.centerNo}`).then((res) => { 88 + this.yxAxios.get(`${this.proxyUrl}/prod/user/info/getPortalUserByNum?userNum=${userInfo?.centerNo}`).then((res) => {
89 this.$toast.clear() 89 this.$toast.clear()
90 if (res.data.code == 200) { 90 if (res.data.code == 200) {
91 const userInfo = res.data.data.userInfo 91 const userInfo = res.data.data.userInfo