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
c2112e93
提交
c2112e93
authored
4月 24, 2023
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
哟花样式
上级
11aa2a17
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
14 行删除
+12
-14
goodsItem.vue
src/components/goodsItem.vue
+9
-11
checkout.vue
src/pages/order/checkout.vue
+1
-1
downPdf.vue
src/pages/order/downPdf.vue
+1
-1
index.vue
src/pages/productLine/index.vue
+1
-1
没有找到文件。
src/components/goodsItem.vue
浏览文件 @
c2112e93
<
template
>
<
template
>
<view
class=
"item-container"
>
<view
class=
"item-container"
>
<u-image
<u-image
width=
"176rpx"
height=
"176rpx"
:src=
"src?.split('http').length > 1 ? src : baseUrl + src"
></u-image>
width=
"176rpx"
height=
"176rpx"
:src=
"src?.split('http').length > 1 ? src : baseUrl + src"
></u-image>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"title"
>
<view
class=
"title"
>
<text>
{{
name
}}
</text>
<text>
{{
name
}}
</text>
...
@@ -17,10 +13,8 @@
...
@@ -17,10 +13,8 @@
</text>
-->
</text>
-->
</view>
</view>
</view>
</view>
<view
<view
v-if=
"isCollection"
v-if=
"isCollection"
style=
"width: 59%; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end;"
>
style=
"width: 59%; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end;"
>
<u-button
size=
"mini"
style=
"margin: 0;"
@
tap=
"tapCollection"
>
删除
</u-button>
<u-button
size=
"mini"
style=
"margin: 0;"
@
tap=
"tapCollection"
>
删除
</u-button>
</view>
</view>
</view>
</view>
...
@@ -76,26 +70,30 @@ let tapCollection = () => {
...
@@ -76,26 +70,30 @@ let tapCollection = () => {
.item-container
{
.item-container
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
height
:
208rpx
;
padding
:
16rpx
32rpx
;
padding
:
16rpx
32rpx
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
flex-start
;
background-color
:
#fff
;
background-color
:
#fff
;
.content
{
.content
{
flex
:
1
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-left
:
20rpx
;
margin-left
:
20rpx
;
.title
{
.title
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.price
{
.price
{
.new-price
{
.new-price
{
font-size
:
32rpx
;
font-size
:
32rpx
;
}
}
.old-price
{
.old-price
{
margin-left
:
10rpx
;
margin-left
:
10rpx
;
color
:
#969799
;
color
:
#969799
;
...
...
src/pages/order/checkout.vue
浏览文件 @
c2112e93
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
:src=
"item.picUrl?.split('http').length > 1 ? item.picUrl : baseUrl + item.picUrl"
class=
"img"
>
:src=
"item.picUrl?.split('http').length > 1 ? item.picUrl : baseUrl + item.picUrl"
class=
"img"
>
</u-image>
</u-image>
<view
class=
"right"
>
<view
class=
"right"
>
<view
class=
"name"
>
{{
item
.
goodsName
}}
</view>
<view
class=
"name"
>
{{
item
.
productName
?
item
.
productName
:
item
.
goodsName
}}
</view>
<view
class=
"tag"
>
<view
class=
"tag"
>
<block
v-for=
"(item1, index1) in item.specifications?.length"
:key=
"index1"
>
<block
v-for=
"(item1, index1) in item.specifications?.length"
:key=
"index1"
>
<u-tag
:text=
"item?.specifications[index1]"
type=
"info"
size=
"mini"
<u-tag
:text=
"item?.specifications[index1]"
type=
"info"
size=
"mini"
...
...
src/pages/order/downPdf.vue
浏览文件 @
c2112e93
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
: baseUrl + item.picUrl
: baseUrl + item.picUrl
"
class=
"img"
></u-image>
"
class=
"img"
></u-image>
<view
class=
"right"
>
<view
class=
"right"
>
<view
class=
"name"
>
{{
item
.
goodsName
}}
</view>
<view
class=
"name"
>
{{
item
.
productName
?
item
.
productName
:
item
.
goodsName
}}
</view>
<view
class=
"tag"
>
<view
class=
"tag"
>
<block
v-for=
"(item1, index1) in item.specifications.length"
:key=
"index1"
>
<block
v-for=
"(item1, index1) in item.specifications.length"
:key=
"index1"
>
<u-tag
:text=
"item.specifications[index1]"
type=
"info"
size=
"mini"
<u-tag
:text=
"item.specifications[index1]"
type=
"info"
size=
"mini"
...
...
src/pages/productLine/index.vue
浏览文件 @
c2112e93
...
@@ -814,7 +814,7 @@ let handleEditProductLineData = (editData: any, dataArr?: any[]) => {
...
@@ -814,7 +814,7 @@ let handleEditProductLineData = (editData: any, dataArr?: any[]) => {
editData
.
cartList
.
forEach
((
cart
:
any
)
=>
{
editData
.
cartList
.
forEach
((
cart
:
any
)
=>
{
cart
.
map
((
item
:
any
)
=>
{
cart
.
map
((
item
:
any
)
=>
{
if
(
JSON
.
stringify
(
item
)
!==
'{}'
)
{
if
(
JSON
.
stringify
(
item
)
!==
'{}'
)
{
item
[
'name'
]
=
item
.
productName
?
item
.
productName
:
item
.
goodsName
;
item
[
'name'
]
=
item
.
goodsName
;
item
[
'show'
]
=
false
;
item
[
'show'
]
=
false
;
item
[
'url'
]
=
item
.
picUrl
;
item
[
'url'
]
=
item
.
picUrl
;
item
[
'status'
]
=
1
;
item
[
'status'
]
=
1
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论