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

dd

parent adb5c1c1
...@@ -100,7 +100,7 @@ App({ ...@@ -100,7 +100,7 @@ App({
const user = LocalStorage.getItem('user'); const user = LocalStorage.getItem('user');
const dakarole = LocalStorage.getItem('dakarole'); 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 ((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 { } else {
LocalStorage.removeItem('teacher'); LocalStorage.removeItem('teacher');
LocalStorage.removeItem('user'); LocalStorage.removeItem('user');
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</view> </view>
</view> </view>
<view class="nick-name"> <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}} {{nickName}}
</view> </view>
</view> </view>
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
<image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image> <image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view> </view>
</view> </view>
<btabbar sid="{{sid}}" current="ucenter"> <btabbar sid="{{sid}}" current="ucenter">
</btabbar> </btabbar>
</view> </view>
......
...@@ -90,6 +90,7 @@ page{ ...@@ -90,6 +90,7 @@ page{
width: 34rpx; width: 34rpx;
height: 34rpx; height: 34rpx;
margin-right: 14rpx; margin-right: 14rpx;
border-radius: 50%;
} }
.line-box{ .line-box{
width:702rpx; width:702rpx;
......
import { // import {
wxRequest // wxRequest
} from '../../utilities/request.js'; // } from '../../utilities/request.js';
import apis from '../../constants/api.js'; // import apis from '../../constants/api.js';
function postfeed (data) { // function postfeed (data) {
return wxRequest({ // return wxRequest({
url: apis.customer.feedback.postfeed, // url: apis.customer.feedback.postfeed,
data, // data,
method: 'POST', // method: 'POST',
errorresolve: 1, // errorresolve: 1,
}) // })
} // }
export { // export {
postfeed, // postfeed,
} // }
\ No newline at end of file \ 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