Commit aa1f1be7f20f58485f435abb0a14b4fc67928594
1 parent
c6e41920
Exists in
master
feat:改成h5版本的修改
Showing
4 changed files
with
11 additions
and
11 deletions
Show diff stats
src/App.vue
| ... | ... | @@ -52,11 +52,11 @@ export default { |
| 52 | 52 | }) |
| 53 | 53 | // 健康地址调用 |
| 54 | 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 | 61 | methods: { |
| 62 | 62 | setElder(e) { | ... | ... |
src/components/c_Tabbar.vue
| ... | ... | @@ -5,21 +5,21 @@ |
| 5 | 5 | <img v-else src="@/assets/tabbar/tab1_off.png" alt="" /> |
| 6 | 6 | <p>绍兴研学</p> |
| 7 | 7 | </div> |
| 8 | - <div class="tab" :class="active == 'grow' ? 'active' : ''" @click="handleGrowUp"> | |
| 8 | + <!-- <div class="tab" :class="active == 'grow' ? 'active' : ''" @click="handleGrowUp"> | |
| 9 | 9 | <img v-if="active == 'grow'" src="@/assets/tabbar/tab2_on.png" alt="" /> |
| 10 | 10 | <img v-else src="@/assets/tabbar/tab2_off.png" alt="" /> |
| 11 | 11 | <p>成长记录</p> |
| 12 | - </div> | |
| 12 | + </div> --> | |
| 13 | 13 | <div class="tab" :class="active == 'fruit' ? 'active' : ''" @click="handleFruit"> |
| 14 | 14 | <img v-if="active == 'fruit'" src="@/assets/tabbar/tab2_on.png" alt="" /> |
| 15 | 15 | <img v-else src="@/assets/tabbar/tab2_off.png" alt="" /> |
| 16 | 16 | <p>研学成果</p> |
| 17 | 17 | </div> |
| 18 | - <div class="tab" :class="active == 'home' ? 'active' : ''" @click="handleHome"> | |
| 18 | + <!-- <div class="tab" :class="active == 'home' ? 'active' : ''" @click="handleHome"> | |
| 19 | 19 | <img v-if="active == 'home'" src="@/assets/tabbar/tab3_on.png" alt="" /> |
| 20 | 20 | <img v-else src="@/assets/tabbar/tab3_off.png" alt="" /> |
| 21 | 21 | <p>我的</p> |
| 22 | - </div> | |
| 22 | + </div> --> | |
| 23 | 23 | </div> |
| 24 | 24 | </template> |
| 25 | 25 | <script> | ... | ... |
src/views/Home/SelectContact.vue
| ... | ... | @@ -55,7 +55,7 @@ export default { |
| 55 | 55 | forbidClick: true |
| 56 | 56 | }) |
| 57 | 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 | 59 | this.$toast.clear() |
| 60 | 60 | if (res.data.code == 200) { |
| 61 | 61 | let userInfo = res.data.data.userInfo; | ... | ... |
src/views/Home/component/HomeChildList.vue
| ... | ... | @@ -85,7 +85,7 @@ export default { |
| 85 | 85 | }) |
| 86 | 86 | let userInfo = localStorage.getItem('userInfo') |
| 87 | 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 | 89 | this.$toast.clear() |
| 90 | 90 | if (res.data.code == 200) { |
| 91 | 91 | const userInfo = res.data.data.userInfo | ... | ... |