Commit 380e9fab authored by sujie@126.com's avatar sujie@126.com

dd

parent adb5c1c1
......@@ -100,7 +100,7 @@ App({
const user = LocalStorage.getItem('user');
const dakarole = LocalStorage.getItem('dakarole');
if ((path.indexOf('business/') != -1 && path != 'business/pages/loginregistermgt/login' && path != 'business/pages/loginregistermgt/register' && path != 'business/pages/loginregistermgt/teacherlogin') || path == 'ucenter/index') { // 个人中心和商家business文件家下面所有的页面只要有缓存丢失 跳转到个人中心页面开始
if ((dakarole == 1 && (user && user.token)) || (dakarole == 2 && (teacher && teacher.token))) {
if ((user && user.token) || (teacher && teacher.token)) {
} else {
LocalStorage.removeItem('teacher');
LocalStorage.removeItem('user');
......
......@@ -20,7 +20,7 @@
</view>
</view>
<view class="nick-name">
<image class="icon" src="{{imageRoot}}2b/organizationalmgt/name-icon.png?{{imageVersion}}"></image>
<image class="icon" src="{{filter.imagify(avatarUrl, 'image/resize,w_640/format,jpg/quality,q_50')}}"></image>
{{nickName}}
</view>
</view>
......@@ -45,7 +45,6 @@
<image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<btabbar sid="{{sid}}" current="ucenter">
</btabbar>
</view>
......
......@@ -90,6 +90,7 @@ page{
width: 34rpx;
height: 34rpx;
margin-right: 14rpx;
border-radius: 50%;
}
.line-box{
width:702rpx;
......
import {
wxRequest
} from '../../utilities/request.js';
import apis from '../../constants/api.js';
// import {
// wxRequest
// } from '../../utilities/request.js';
// import apis from '../../constants/api.js';
function postfeed (data) {
return wxRequest({
url: apis.customer.feedback.postfeed,
data,
method: 'POST',
errorresolve: 1,
})
}
export {
postfeed,
}
\ No newline at end of file
// function postfeed (data) {
// return wxRequest({
// url: apis.customer.feedback.postfeed,
// data,
// method: 'POST',
// errorresolve: 1,
// })
// }
// export {
// postfeed,
// }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment