Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yongxinda-h5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
yongxinda-h5
Commits
7c1cb524
提交
7c1cb524
authored
11月 21, 2022
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
展示配件信息
上级
720ec15c
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
20 行增加
和
8 行删除
+20
-8
goodsSku.vue
src/pages/goods/goodsSku.vue
+2
-4
checkout.vue
src/pages/order/checkout.vue
+16
-0
orderList.vue
src/pages/order/orderList.vue
+0
-2
config.ts
src/utils/config.ts
+2
-2
没有找到文件。
src/pages/goods/goodsSku.vue
浏览文件 @
7c1cb524
...
...
@@ -61,14 +61,12 @@ let onPlus = (index: number) => {
// 失去输入自定义规格输入框焦点
let
onBlur
=
(
val
:
string
,
index
:
number
)
=>
{
goodsInfo
.
value
.
spec_list
[
index
].
isPlus
=
true
if
(
!
val
)
return
if
(
!
val
)
return
goodsInfo
.
value
.
spec_list
[
index
].
isPlus
=
true
goodsInfo
.
value
.
spec_list
[
index
].
custom
=
val
}
let
onConfirm
=
(
val
:
string
,
index
:
number
)
=>
{
goodsInfo
.
value
.
spec_list
[
index
].
isPlus
=
true
if
(
!
val
)
return
if
(
!
val
)
return
goodsInfo
.
value
.
spec_list
[
index
].
isPlus
=
true
goodsInfo
.
value
.
spec_list
[
index
].
custom
=
val
}
...
...
src/pages/order/checkout.vue
浏览文件 @
7c1cb524
...
...
@@ -34,6 +34,16 @@
/>
</block>
</view>
<view
class=
"tag1"
>
<block
v-for=
"(item2, index2) in item.partList?.length"
:key=
"index2"
>
<u-tag
:text=
"item?.partList[index2]"
type=
"warning"
size=
"mini"
style=
"margin: 8rpx 8rpx 8rpx 0pt;"
/>
</block>
</view>
<view
class=
"sum-price"
>
<!--
<text>
¥
{{
item
.
price
.
toFixed
(
2
)
}}
</text>
-->
...
...
@@ -224,6 +234,12 @@ onShow(() => {
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
}
.tag1
{
margin-top
:
1%
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
margin-bottom
:
13%
;
}
...
...
src/pages/order/orderList.vue
浏览文件 @
7c1cb524
...
...
@@ -276,7 +276,6 @@ let orderQuotation = (orderId: number, type: number) => {
url
:
'../productLine/productLineDetails?orderId='
+
orderId
})
}
}
// 跳转到订单详情
...
...
@@ -315,7 +314,6 @@ let onConfirm = () => {
})
}
else
{
pushOrder
({
orderId
:
orderIds
.
value
}).
then
((
res
:
any
)
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
code
===
200
)
{
orderData
.
value
=
[]
listQuery
.
value
.
page
=
1
...
...
src/utils/config.ts
浏览文件 @
7c1cb524
...
...
@@ -2,8 +2,8 @@ const CONFIG: any = {
// 开发环境配置
development
:
{
assetsPath
:
'http://192.168.60:81'
,
// 静态资源路径
baseUrl
:
'http://192.168.0.9:8089'
,
// 后台接口请求地址
//
baseUrl: 'http://192.168.0.60:81', // 后台接口请求地址
//
baseUrl: 'http://192.168.0.9:8089', // 后台接口请求地址
baseUrl
:
'http://192.168.0.60:81'
,
// 后台接口请求地址
hostUrl
:
'http://192.168.0.60:81'
,
// H5地址(前端运行地址)
websocketUrl
:
''
,
// websocket服务端地址
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论