Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
380e9fab
Commit
380e9fab
authored
Oct 17, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
adb5c1c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
app.js
app.js
+1
-1
index.wxml
business/pages/organizationalmgt/index.wxml
+1
-2
index.wxss
business/pages/organizationalmgt/index.wxss
+1
-0
feedback.js
service/customer/feedback.js
+15
-15
No files found.
app.js
View file @
380e9fab
...
...
@@ -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'
);
...
...
business/pages/organizationalmgt/index.wxml
View file @
380e9fab
...
...
@@ -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>
...
...
business/pages/organizationalmgt/index.wxss
View file @
380e9fab
...
...
@@ -90,6 +90,7 @@ page{
width: 34rpx;
height: 34rpx;
margin-right: 14rpx;
border-radius: 50%;
}
.line-box{
width:702rpx;
...
...
service/customer/feedback.js
View file @
380e9fab
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment