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
5fbe0d1c
提交
5fbe0d1c
authored
11月 10, 2022
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化h5
上级
ac566c13
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
27 行增加
和
14 行删除
+27
-14
index.vue
src/pages/cart/index.vue
+3
-2
index.vue
src/pages/index/index.vue
+3
-2
orderList.vue
src/pages/order/orderList.vue
+1
-1
collection.vue
src/pages/profile/collection.vue
+20
-9
没有找到文件。
src/pages/cart/index.vue
浏览文件 @
5fbe0d1c
...
...
@@ -18,6 +18,7 @@
shape=
"circle"
></u-checkbox>
<u-image
v-if=
"type === 0"
width=
"140rpx"
height=
"200rpx"
:src=
"
...
...
@@ -42,7 +43,7 @@
/>
</block>
</view>
<
view
style=
"font-weight: bold;"
>
¥{{ item.price }}
</view
>
<
!-- <view style="font-weight: bold;">¥{{ item.price }}</view> --
>
</view>
</view>
<view
v-if=
"delCircle"
class=
"circle"
@
tap=
"deleteCart(index)"
>
...
...
@@ -355,7 +356,7 @@ onShow(() => {
.b-tag
{
display
:
flex
;
flex-direction
:
row
;
margin-bottom
:
25
%
;
margin-bottom
:
40
%
;
flex-wrap
:
wrap
;
}
}
...
...
src/pages/index/index.vue
浏览文件 @
5fbe0d1c
...
...
@@ -198,7 +198,6 @@ const initIndex = () => {
item
.
url
=
baseUrl
+
item
.
url
;
}
});
console
.
log
(
indexData
.
value
.
banner
);
}
});
};
...
...
@@ -214,6 +213,8 @@ initIndex();
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
font-size
:
24rpx
;
margin-top
:
2rpx
;
}
}
...
...
@@ -229,7 +230,7 @@ initIndex();
.goods-item
{
width
:
auto
;
height
:
45
0rpx
;
height
:
38
0rpx
;
background-color
:
#ffffff
;
margin
:
5rpx
;
border-radius
:
25rpx
;
...
...
src/pages/order/orderList.vue
浏览文件 @
5fbe0d1c
...
...
@@ -172,7 +172,7 @@ let total = ref(0)
let
list
=
ref
([
{
name
:
'全部'
},
{
name
:
'待推送'
},
{
name
:
'待生
成
'
},
{
name
:
'待生
产
'
},
{
name
:
'待发货'
},
{
name
:
'已完成'
}
// count: 12
])
...
...
src/pages/profile/collection.vue
浏览文件 @
5fbe0d1c
<
template
>
<u-subsection
:list=
"list"
v-model=
"current"
active-color=
"#ff9900"
@
change=
"change"
/>
<view
v-if=
"collectList.length !== 0"
>
<goodsItem
v-for=
"item in collectList"
:src=
"item?.picUrl"
:name=
"item.name"
:brief=
"item.brief"
:retailPrice=
"item.retailPrice"
@
tap=
"toGoods(item.valueId)"
style=
"margin-top: 6rpx;"
/>
<view
v-if=
"current === 0"
style=
"margin-top: 6rpx;"
>
<goodsItem
v-for=
"item in collectList"
:key=
"item.id"
:src=
"item?.picUrl"
:name=
"item.name"
:brief=
"item.brief"
:retailPrice=
"item.retailPrice"
@
tap=
"toGoods(item.valueId)"
/>
</view>
<view
v-else
>
<view
v-for=
"item in collectList"
:key=
"item.id"
style=
"width: 100%; height: 80rpx; line-height: 80rpx; background-color: #fff; padding: 0 30rpx; margin-bottom: 4rpx;"
>
{{
item
.
name
}}
</view>
</view>
<view
style=
"padding: 20rpx;"
><u-loadmore
:status=
"status"
icon-type=
"flower"
/></view>
</view>
<u-empty
v-else
text=
"收藏为空"
mode=
"list"
style=
"margin: 200rpx auto;"
></u-empty>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论