提交 fec679f5 authored 作者: 刘旭's avatar 刘旭

优化展示页面

上级 5878f23a
......@@ -154,6 +154,7 @@ onLoad((options: any) => {
initProductLine(options.id);
} else if (options.collectionId) {
flag.value = false;
// lineId.value = options.id;
// 把加入购物车变成禁用状态
initProductLine(options.id);
} else {
......@@ -293,6 +294,7 @@ let heightChange = () => {
// 获取图片尺寸
let getImageInfo = () => {
console.log('获取图片');
lineList.value.forEach((item: any) => {
uni.getImageInfo({
src: baseUrl + item.url,
......@@ -776,7 +778,6 @@ $nav-heigth: var(--window-bottom);
}
.right-cates {
box-sizing: border-box;
flex: 1;
display: flex;
flex-direction: row;
......@@ -800,13 +801,9 @@ $nav-heigth: var(--window-bottom);
max-width: 420px;
margin: 0 auto;
// .u-navbar-content-title {
// left: 36%
// }
}
:deep(.u-navbar-content-title) {
left: 36%;
.u-navbar-content-title {
left: 36% !important
}
}
:deep(.uni-tab__cart-box) {
......
......@@ -36,8 +36,6 @@ function request(url: string, method: 'GET' | 'POST' | 'PUT' | 'DELETE', data?:
header: header,
responseType,
success(res: any) {
console.log(res);
uni.hideLoading();
if (res.data.code == 200) {
resolve(res);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论