除了数据分析都完成
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</view>
|
||||
|
||||
<view class="student_end">
|
||||
<view class="nav_bottom" v-for="path_image in endbottom">
|
||||
<view class="nav_bottom" v-for="(path_image,index) in endbottom" @click="gowhere(index)">
|
||||
<image :src="path_image[0]"></image>
|
||||
<p>{{path_image[1]}}</p>
|
||||
</view>
|
||||
@@ -66,7 +66,7 @@
|
||||
this.write_none = false;
|
||||
this.useInput = ""
|
||||
},
|
||||
async requests(updown,path) {
|
||||
async requests(updown, path) {
|
||||
let response
|
||||
if (updown == "up") {
|
||||
response = await fetch(`http://124.93.196.45:10091/Neusoft/times-model${path}`, {
|
||||
@@ -92,10 +92,24 @@
|
||||
const data = await response.json()
|
||||
console.log(data)
|
||||
return data
|
||||
},
|
||||
gowhere(index) {
|
||||
switch (index) {
|
||||
case 0:
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/voluteer'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
async mounted(){
|
||||
await this.requests("down","/appStudy/app/deleteStatement")
|
||||
async mounted() {
|
||||
await this.requests("down", "/appStudy/app/deleteStatement")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -138,14 +152,26 @@
|
||||
.student_end {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
background-color: white;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height:65px;
|
||||
}
|
||||
|
||||
.nav_bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav_bottom image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
|
||||
.nav_bottom:nth-child(3) p {
|
||||
color: #C2050F;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user