main
liudan 2 years ago
parent 7c97fd4d5e
commit 243c4a189a
  1. 4
      common/http.interceptor.js
  2. 4
      manifest.json
  3. 11
      pages/detail/detail.vue
  4. 11
      pages/my/collection.vue
  5. 9
      pages/my/look.vue
  6. 2
      pages/my/my.vue
  7. 11
      pages/my/share.vue

@ -69,7 +69,7 @@ module.exports = (vm) => {
icon:'none'
});
if(data.code==401){
uni.reLaunch({
uni.navigateTo({
url:'/pages/login/login'
})
}
@ -79,7 +79,7 @@ module.exports = (vm) => {
}, (response) => {
if(response.data.code==401){
uni.reLaunch({
uni.navigateTo({
url:'/pages/login/login'
})
}

@ -2,8 +2,8 @@
"name" : "留学万象",
"appid" : "__UNI__CF90E01",
"description" : "",
"versionName" : "4.0.0",
"versionCode" : 400,
"versionName" : "6.0.0",
"versionCode" : 600,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -108,6 +108,17 @@
},
addShare(){
if(!uni.getStorageSync('userInfo')){
uni.showToast({
title:'请登录后操作',
icon:'none'
});
uni.navigateTo({
url:"/pages/login/login"
})
return;
}
let routes = this.$mp.page.route
let that = this;
// ifdef APP

@ -1,6 +1,6 @@
<template>
<view class="editInfo">
<view class="status_bar"><!-- 这里是状态栏 --></view>
<view class="status_bar"><!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD> --></view>
<u-navbar height="50" :autoBack="true">
<view
class="u-nav-slot"
@ -15,11 +15,14 @@
</view>
</view>
</u-navbar>
<view class="editInfoContent">
<view class="editInfoContent" v-if="list.length>0">
<view class="lookItem" @click="godetails(item)" v-for="(item,index) in list" :key="index">
{{item.wxcategory.name}}
</view>
</view>
<view class="empty" v-else>
暂无数据
</view>
</view>
</template>
@ -72,4 +75,8 @@ export default{
margin-bottom:20upx;
}
}
.empty{
margin-top:120px;
text-align: center;
}
</style>

@ -15,11 +15,14 @@
</view>
</view>
</u-navbar>
<view class="editInfoContent">
<view class="editInfoContent" v-if="list.length>0">
<view class="lookItem" @click="godetails(item)" v-for="(item,index) in list" :key="index">
{{item.wxcategory.name}}
</view>
</view>
<view class="empty" v-else>
暂无数据
</view>
</view>
</template>
@ -72,4 +75,8 @@ export default{
margin-bottom:20upx;
}
}
.empty{
margin-top:120px;
text-align: center;
}
</style>

@ -105,7 +105,7 @@
}
},
goLogin(){
uni.reLaunch({
uni.navigateTo({
url:'/pages/login/login'
})
},

@ -1,6 +1,6 @@
<template>
<view class="editInfo">
<view class="status_bar"><!-- 这里是状态栏 --></view>
<view class="status_bar"></view>
<u-navbar height="50" :autoBack="true">
<view
class="u-nav-slot"
@ -15,11 +15,14 @@
</view>
</view>
</u-navbar>
<view class="editInfoContent">
<view class="editInfoContent" v-if="list.length>0">
<view class="lookItem" @click="godetails(item)" v-for="(item,index) in list" :key="index">
{{item.wxcategory.name}}
</view>
</view>
<view class="empty" v-else>
暂无数据
</view>
</view>
</template>
@ -72,4 +75,8 @@ export default{
margin-bottom:20upx;
}
}
.empty{
margin-top:120px;
text-align: center;
}
</style>
Loading…
Cancel
Save