Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
198272db
Commit
198272db
authored
May 27, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单预览页面
parent
e224e3d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
.env.development
.env.development
+6
-6
Review.vue
src/views/components/Order/Review.vue
+8
-3
No files found.
.env.development
View file @
198272db
# VUE_APP_API_URL = 'http://192.168.5.87/api/common/post'
# VUE_APP_UPLOADURLAPI_URL = 'http://192.168.10.214:8120'
# VUE_APP_SHARE_URL = 'http://127.0.0.1:8080'
VUE_APP_API_URL = 'https://reborn.oytour.com/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'https://upload.oytour.com'
VUE_APP_SHARE_URL = 'http://vitto.com'
\ No newline at end of file
VUE_APP_API_URL = 'http://192.168.5.87/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'http://192.168.10.214:8120'
VUE_APP_SHARE_URL = 'http://127.0.0.1:8080'
# VUE_APP_API_URL = 'https://reborn.oytour.com/api/common/post'
# VUE_APP_UPLOADURLAPI_URL = 'https://upload.oytour.com'
# VUE_APP_SHARE_URL = 'http://vitto.com'
\ No newline at end of file
src/views/components/Order/Review.vue
View file @
198272db
...
...
@@ -5,8 +5,9 @@
<IconClose
size=
"0.83vw"
></IconClose>
</div>
<div
class=
"tabs-version-box row"
>
<div
class=
"item col magrig"
:class=
"
{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson">个人版
</div>
<div
class=
"item col magrig"
:class=
"
{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson
&&
!userInfo.it
">个人版
</div>
<div
class=
"item col"
:class=
"
{'active':activeVersion==2}" @click="changeVersionHandler(2)" v-if="showEnterprise">企业版
</div>
<div
class=
"col"
v-if=
"!showPerson || !showEnterprise"
></div>
</div>
<div
class=
"pre-order row"
>
<div
class=
"item column"
>
...
...
@@ -66,7 +67,7 @@
</
template
>
<div
v-else
>
<div
class=
"text-small text-info"
style=
"margin-bottom: 1.5vw"
>
定制版本需要联系客服进行沟通,我们将会根据你的需求为你进行量身打造
</div>
<el-button
type=
"primary"
size=
"large"
class=
"full-width"
>
开始定制
</el-button>
<el-button
type=
"primary"
size=
"large"
class=
"full-width"
@
click=
"redicetTo('https://work.weixin.qq.com/kfid/kfc378aada578ca8b0e')"
>
开始定制
</el-button>
</div>
</div>
</div>
...
...
@@ -80,7 +81,9 @@ import { ApiResult, VipType } from '@/configs/axios'
import
{
EntMemberRight
,
FreeMemberRight
,
PersonMemberRight
}
from
'@/configs/customer'
import
OrderService
from
'@/services/OrderService'
import
UserServices
from
'@/services/UserService'
import
{
query
}
from
'@/utils/common'
import
{
useUserStore
}
from
'@/store'
import
{
openNewBlank
,
query
}
from
'@/utils/common'
import
{
storeToRefs
}
from
'pinia'
import
{
ref
,
PropType
,
onMounted
}
from
'vue'
const
props
=
defineProps
({
...
...
@@ -102,6 +105,7 @@ const emit = defineEmits<{
(
event
:
'close'
):
void
}
>
()
const
{
userInfo
}
=
storeToRefs
(
useUserStore
())
const
activeVersion
=
ref
(
props
.
defaultType
)
const
rights
=
ref
(
PersonMemberRight
)
const
loading
=
ref
(
false
)
...
...
@@ -197,6 +201,7 @@ const close = ()=>{
emit
(
'close'
)
}
const
redicetTo
=
(
url
:
string
)
=>
openNewBlank
(
url
)
onMounted
(()
=>
{
if
(
OrderReviewRef
.
value
){
OrderReviewRef
.
value
.
click
()
...
...
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