Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
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
刘文虎
account-book
Commits
df589355
Commit
df589355
authored
Jun 04, 2025
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接入反馈
parent
507de7bb
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
739 additions
and
23 deletions
+739
-23
feedback.js
api/mine/feedback.js
+18
-0
index.vue
components/pop-back/index.vue
+143
-0
manifest.json
manifest.json
+1
-0
pages.json
pages.json
+10
-0
feedback.vue
pages/mine/feedback/feedback.vue
+537
-0
common.scss
static/styles/common.scss
+1
-0
index.js
utils/options/mine/index.js
+29
-23
No files found.
api/mine/feedback.js
0 → 100644
View file @
df589355
import
request
from
"@/utils/request.js"
export
function
add
(
data
)
{
return
request
({
url
:
`/rest/feedback`
,
method
:
'POST'
,
data
,
noLoading
:
true
})
}
export
function
getType
()
{
return
request
({
url
:
`/rest/feedback/getType`
,
method
:
'GET'
,
noLoading
:
true
})
}
\ No newline at end of file
components/pop-back/index.vue
0 → 100644
View file @
df589355
<
template
>
<u-popup
v-model=
"show"
safe-area-inset-bottom
border-radius=
"24"
mode=
"center"
width=
"86%"
:closeable=
"false"
:customStyle=
"
{backgroundColor:'transparent' }" @close="handleClose">
<view
class=
"pop-back"
>
<image
class=
"success-image"
:src=
"titleImage"
></image>
<view
class=
"success-title"
>
{{
titleText
}}
</view>
<view
class=
"success-text"
>
{{
descText
}}
</view>
<button
class=
"success-btn"
@
tap=
"popViewClick"
><text
class=
"btnText"
>
{{
sureButtonText
}}
</text></button>
</view>
</u-popup>
</
template
>
<
script
>
export
default
{
props
:
{
visible
:
{
type
:
Boolean
,
default
:
false
,
},
titleImage
:
{
type
:
String
,
default
:
''
},
titleText
:{
type
:
String
,
default
:
''
},
descText
:{
type
:
String
,
default
:
''
},
sureButtonText
:{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
show
:
false
,
}
},
watch
:
{
visible
(
val
)
{
console
.
log
(
"pop back"
,
this
.
show
)
this
.
show
=
val
},
},
computed
:
{
platform
()
{
return
uni
.
$u
.
platform
},
},
methods
:
{
changeVisibleValue
(
val
)
{
this
.
show
=
val
this
.
$emit
(
'update:visible'
,
val
)
},
handleClose
()
{
this
.
changeVisibleValue
(
false
)
},
popViewClick
()
{
this
.
changeVisibleValue
(
false
)
this
.
$emit
(
'click'
)
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.pop-back
{
// margin: 0 64rpx;
border-radius
:
24rpx
;
text-align
:
center
;
background-color
:
#ffffff
;
.success-view
{
text-align
:
center
;
}
.success-image
{
width
:
160rpx
;
height
:
160rpx
;
margin-top
:
64rpx
;
}
.success-title
{
margin-top
:
56rpx
;
font-size
:
48rpx
;
font-weight
:
bold
;
color
:
$default-color
;
}
.success-text
{
margin-top
:
24rpx
;
font-size
:
28rpx
;
color
:
#8D8D8D
;
padding
:
0
70rpx
;
}
.success-btn
{
margin-top
:
56rpx
;
margin-bottom
:
56rpx
;
width
:
558rpx
;
height
:
104rpx
;
background-color
:
$default-color
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
16rpx
;
color
:
white
;
}
.popCenterView
{
height
:
60%
;
background-color
:
white
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
}
.popViewImage
{
width
:
100%
;
height
:
100%
;
background-color
:
white
;
}
.closeBtnView
{
width
:
70%
;
height
:
40px
;
background-color
:
white
;
display
:
flex
;
}
.closeBtn
{
margin-top
:
10px
;
width
:
40px
;
height
:
40px
;
border-radius
:
20px
;
}
}
</
style
>
manifest.json
View file @
df589355
...
...
@@ -5,6 +5,7 @@
"versionName"
:
"1.3.6"
,
"versionCode"
:
136
,
"transformPx"
:
false
,
"sassImplementationName"
:
"node-sass"
,
/*
5
+App特有相关
*/
"app-plus"
:
{
"usingComponents"
:
true
,
...
...
pages.json
View file @
df589355
...
...
@@ -236,6 +236,16 @@
{
"root"
:
"pages/mine"
,
"pages"
:
[
{
"path"
:
"feedback/feedback"
,
"style"
:
{
"navigationBarTitleText"
:
"需求反馈"
,
"enablePullDownRefresh"
:
false
,
"backgroundColor"
:
"#F6F7FB"
,
"navigationBarBackgroundColor"
:
"#F6F7FB"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"shop-setting/shop-setting"
,
"style"
:
{
...
...
pages/mine/feedback/feedback.vue
0 → 100644
View file @
df589355
This diff is collapsed.
Click to expand it.
static/styles/common.scss
View file @
df589355
...
...
@@ -18,6 +18,7 @@ $base-line-height: 28upx;
// 主题颜色
$default-color
:
#02a074
;
$default-disabled-color
:
#7dcfb8
;
.ellipsis
{
white-space
:
nowrap
;
...
...
utils/options/mine/index.js
View file @
df589355
...
...
@@ -2,7 +2,7 @@ const baseUrl = process.uniEnv.qn_base_url + 'mine/'
// 常用功能
export
const
usedOptions
=
[
{
id
:
1
,
title
:
'店铺设置'
,
...
...
@@ -42,12 +42,18 @@ export const packageOptions = [
id
:
4
,
title
:
'我的奖金'
,
path
:
"/pages/bonus/index"
},
},
{
id
:
7
,
title
:
'我的订单'
,
path
:
"/pages/mine/order/order"
},
{
id
:
8
,
title
:
'反馈建议'
,
icon
:
baseUrl
+
'fankuijianyi@3x.png'
,
path
:
`/pages/mine/feedback/feedback?source=
${
'我的'
}
`
},
{
id
:
6
,
title
:
'使用帮助'
,
...
...
@@ -59,13 +65,13 @@ export const packageOptions = [
title
:
'数据导出/导入'
,
icon
:
'file-text'
,
path
:
"/pages/mine/import-export/import-export"
},
},
{
id
:
5
,
title
:
'账单回收站'
,
icon
:
'file-text'
,
path
:
"/pages/mine/recyled/recyled"
},
},
{
id
:
1
,
title
:
'关于'
,
...
...
@@ -87,23 +93,23 @@ export const packageOptions = [
]
export
const
shopSettingOptions
=
[{
label
:
'店铺名称'
,
value
:
'name'
,
path
:
"/pages/mine/shop-setting/shop-name/shop-name"
},
{
label
:
'店铺地址'
,
value
:
'address'
,
path
:
"/pages/mine/shop-setting/shop-address/shop-address"
},
{
label
:
'联系电话'
,
value
:
'phone'
,
path
:
"/pages/mine/shop-setting/shop-phone/shop-phone"
},
{
label
:
'收款人'
,
value
:
'lister'
,
path
:
"/pages/mine/shop-setting/shop-lister/shop-lister"
}
label
:
'店铺名称'
,
value
:
'name'
,
path
:
"/pages/mine/shop-setting/shop-name/shop-name"
},
{
label
:
'店铺地址'
,
value
:
'address'
,
path
:
"/pages/mine/shop-setting/shop-address/shop-address"
},
{
label
:
'联系电话'
,
value
:
'phone'
,
path
:
"/pages/mine/shop-setting/shop-phone/shop-phone"
},
{
label
:
'收款人'
,
value
:
'lister'
,
path
:
"/pages/mine/shop-setting/shop-lister/shop-lister"
}
]
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