Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uni-app-ddh-shop
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
zhanhai
uni-app-ddh-shop
Commits
fb4272f9
Commit
fb4272f9
authored
Aug 08, 2024
by
ly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分类页
parent
3c007020
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
19 deletions
+16
-19
index.less
pages/sort/index.less
+4
-2
index.vue
pages/sort/index.vue
+10
-15
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+1
-1
app-view.js
unpackage/dist/dev/app-plus/app-view.js
+1
-1
No files found.
pages/sort/index.less
View file @
fb4272f9
.sort-page{
.sort-page{
width: 100%;
width: 100%;
height: 100vh;
height: 100vh;
// min-height: 2300rpx;
background: #F7FAFF;
background: #F7FAFF;
.sort-body{
.sort-body{
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
.leftTab {
.leftTab {
width: 184rpx;
width: 184rpx;
height: 100vh;
height: 100vh;
background: #FFFFFF;
background: #FFFFFF;
...
@@ -40,10 +42,10 @@
...
@@ -40,10 +42,10 @@
box-sizing: border-box;
box-sizing: border-box;
.whiteBox {
.whiteBox {
height:
9
00rpx;
height:
13
00rpx;
// background: #ffffff;
// background: #ffffff;
border-radius: 15rpx;
border-radius: 15rpx;
padding: 0 25rpx;
padding: 0 25rpx
120rpx
;
box-sizing: border-box;
box-sizing: border-box;
.title {
.title {
height: 77rpx;
height: 77rpx;
...
...
pages/sort/index.vue
View file @
fb4272f9
...
@@ -19,12 +19,12 @@
...
@@ -19,12 +19,12 @@
refresher-default-style=
"none"
refresher-default-style=
"none"
@
scrolltoupper=
"toupperTop"
@
scrolltoupper=
"toupperTop"
@
scrolltolower=
"lowerMore"
>
@
scrolltolower=
"lowerMore"
>
<view
class=
"list"
>
<view
class=
"list"
>
<view
class=
'l-item'
v-for=
"item in listIndex"
:key=
"item.id"
@
click=
"goProduct(item)"
>
<view
class=
'l-item'
v-for=
"item in listIndex"
:key=
"item.id"
@
click=
"goProduct(item)"
>
<image
class=
'item-img'
:src=
'item.goodsImage'
></image>
<image
class=
'item-img'
:src=
'item.goodsImage'
></image>
<view
class=
'item-text'
>
{{
item
.
goodsName
}}
</view>
<view
class=
'item-text'
>
{{
item
.
goodsName
}}
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</view>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
tabCurrent
:
1
,
tabCurrent
:
1
,
fromStore
:
false
,
fromStore
:
false
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
1
0
,
//每页展示几条数据
pageSize
:
5
0
,
//每页展示几条数据
total
:
0
,
total
:
0
,
hasNextText
:
'上拉加载更多'
,
hasNextText
:
'上拉加载更多'
,
loadFlag
:
true
,
loadFlag
:
true
,
...
@@ -119,21 +119,16 @@
...
@@ -119,21 +119,16 @@
this
.
pageNum
=
1
this
.
pageNum
=
1
this
.
initSearch
()
this
.
initSearch
()
},
},
gotel
(){
uni
.
makePhoneCall
({
phoneNumber
:
this
.
phoneNum
//仅为示例
});
},
toupperTop
(
e
){
toupperTop
(
e
){
console
.
log
(
e
,
'到顶了'
);
console
.
log
(
e
,
'到顶了'
);
},
},
lowerMore
(
e
){
lowerMore
(
e
){
console
.
log
(
e
,
'触底了'
);
console
.
log
(
e
,
'触底了'
);
if
(
!
this
.
hasNextPage
){
if
(
!
this
.
hasNextPage
){
uni
.
showToast
({
//
uni.showToast({
icon
:
'none'
,
//
icon: 'none',
title
:
'到底了'
,
//
title: '到底了',
})
//
})
return
false
;
return
false
;
}
}
if
(
this
.
loadFlag
)
return
;
if
(
this
.
loadFlag
)
return
;
...
...
unpackage/dist/dev/app-plus/app-service.js
View file @
fb4272f9
...
@@ -1160,7 +1160,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _App
...
@@ -1160,7 +1160,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _App
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports,
\"
__esModule
\"
, { value: true });exports.default = void 0; //
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
var _default =
\n
{
\n
data: function data() {
\n
return {
\n
// 分类列表
\n
tabList: [],
\n
tabCurrent: 1,
\n
fromStore: false,
\n
pageNum: 1,
\n
pageSize:
10, //每页展示几条数据
\n
total: 0,
\n
hasNextText: '上拉加载更多',
\n
loadFlag: true,
\n
hasNextPage: false,
\n
listIndex: [],
\n
inputValue: '' };
\n\n
},
\n
onLoad: function onLoad(options) {
\n
// 有传值说明是从门店进入
\n
if (options.fromStore) {
\n
this.fromStore = options.fromStore;
\n
}
\n
this.init();
\n
this.initSearch();
\n
},
\n
methods: {
\n
init: function init() {
\n
var self = this;
\n
self.$request('/pawn/category/getCategoryList', 'POST').then(function (res) {
\n
self.tabList = res.result;
\n
__f__(
\"
log
\"
, res, '9766',
\"
at pages/sort/index.vue:65
\"
);
\n
});
\n
},
\n
initSearch: function initSearch() {
\n
var self = this;var
\n
tabCurrent = self.tabCurrent,pageNum = self.pageNum,pageSize = self.pageSize;
\n
var parmas = {
\n
\"
categoryId
\"
: tabCurrent,
\n
\"
current
\"
: pageNum,
\n
\"
size
\"
: pageSize,
\n
\"
sort
\"
:
\"
id desc
\"
};
\n\n
__f__(
\"
log
\"
, parmas, 'parmas',
\"
at pages/sort/index.vue:77
\"
);
\n
self.$request('/pawn/category/getGoodsPage', 'POST', parmas).then(function (res) {
\n
__f__(
\"
log
\"
, res, 'res',
\"
at pages/sort/index.vue:79
\"
);var _res$result =
\n
res.result,current = _res$result.current,records = _res$result.records,total = _res$result.total,size = _res$result.size;
\n\n
var hasNextPage = total - self.pageSize * self.pageNum > 0 ? true : false; //是否有下一页
\n
if (self.loadFlag) {
\n
__f__(
\"
log
\"
, 33,
\"
at pages/sort/index.vue:84
\"
);
\n
self.listIndex = self.listIndex.concat(records);
\n
} else {
\n
__f__(
\"
log
\"
, 34,
\"
at pages/sort/index.vue:87
\"
);
\n
self.listIndex = records;
\n
}
\n
self.hasNextPage = hasNextPage;
\n
self.loadFlag = false;
\n
__f__(
\"
log
\"
, self.hasNextPage, 'sort8888',
\"
at pages/sort/index.vue:92
\"
);
\n
});
\n
},
\n
goProduct: function goProduct(item) {
\n
var params = {
\n
goodId: item.id };
\n\n
uni.navigateTo({
\n
url: '/pages/productDetails/productDetails?mydata=' + encodeURIComponent(JSON.stringify(params)) });
\n\n
},
\n
changeTab: function changeTab(index) {
\n
__f__(
\"
log
\"
, index, 'indexhyyy',
\"
at pages/sort/index.vue:104
\"
);
\n
this.tabCurrent = index;
\n
// this.categoryId=index
\n
this.pageNum = 1;
\n
if (index != 0) {
\n
this.recommandStatus = '';
\n
} else {
\n
this.recommandStatus = 1;
\n
}
\n
this.initSearch();
\n
},
\n\n
goInput: function goInput(e) {
\n
__f__(
\"
log
\"
, e.detail.value, '9644',
\"
at pages/sort/index.vue:117
\"
);
\n
this.inputValue = e.detail.value;
\n
this.pageNum = 1;
\n
this.initSearch();
\n
},
\n
gotel: function gotel() {
\n
uni.makePhoneCall({
\n
phoneNumber: this.phoneNum //仅为示例
\n
});
\n
},
\n
toupperTop: function toupperTop(e) {
\n
__f__(
\"
log
\"
, e, '到顶了',
\"
at pages/sort/index.vue:128
\"
);
\n
},
\n
lowerMore: function lowerMore(e) {
\n
__f__(
\"
log
\"
, e, '触底了',
\"
at pages/sort/index.vue:131
\"
);
\n
if (!this.hasNextPage) {
\n
uni.showToast({
\n
icon: 'none',
\n
title: '到底了' });
\n\n
return false;
\n
}
\n
if (this.loadFlag) return;
\n
this.loadFlag = true,
\n
this.pageNum = this.pageNum + 1;
\n
this.initSearch();
\n
} },
\n\n
onShow: function onShow() {
\n
this.init();
\n
this.initSearch();
\n
} };exports.default = _default;
\n
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 7)[
\"
default
\"
]))//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvc29ydC9pbmRleC52dWUiXSwibmFtZXMiOlsiZGF0YSIsInRhYkxpc3QiLCJ0YWJDdXJyZW50IiwiZnJvbVN0b3JlIiwicGFnZU51bSIsInBhZ2VTaXplIiwidG90YWwiLCJoYXNOZXh0VGV4dCIsImxvYWRGbGFnIiwiaGFzTmV4dFBhZ2UiLCJsaXN0SW5kZXgiLCJpbnB1dFZhbHVlIiwib25Mb2FkIiwib3B0aW9ucyIsImluaXQiLCJpbml0U2VhcmNoIiwibWV0aG9kcyIsInNlbGYiLCIkcmVxdWVzdCIsInRoZW4iLCJyZXMiLCJyZXN1bHQiLCJwYXJtYXMiLCJjdXJyZW50IiwicmVjb3JkcyIsInNpemUiLCJjb25jYXQiLCJnb1Byb2R1Y3QiLCJpdGVtIiwicGFyYW1zIiwiZ29vZElkIiwiaWQiLCJ1bmkiLCJuYXZpZ2F0ZVRvIiwidXJsIiwiZW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dlTnVtPXRoaXMucGFnZU51bSsxXG5cdFx0XHRcdHRoaXMuaW5pdFNlYXJjaCgpO1xuXHRcdH1cblx0fSxcblx0b25TaG93KCkge1xuXHRcdHRoaXMuaW5pdCgpXG5cdFx0dGhpcy5pbml0U2VhcmNoKClcblx0fVxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ==
\n
//# sourceURL=webpack-internal:///13
\n
"
);
eval
(
"/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports,
\"
__esModule
\"
, { value: true });exports.default = void 0; //
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
var _default =
\n
{
\n
data: function data() {
\n
return {
\n
// 分类列表
\n
tabList: [],
\n
tabCurrent: 1,
\n
fromStore: false,
\n
pageNum: 1,
\n
pageSize:
50, //每页展示几条数据
\n
total: 0,
\n
hasNextText: '上拉加载更多',
\n
loadFlag: true,
\n
hasNextPage: false,
\n
listIndex: [],
\n
inputValue: '' };
\n\n
},
\n
onLoad: function onLoad(options) {
\n
// 有传值说明是从门店进入
\n
if (options.fromStore) {
\n
this.fromStore = options.fromStore;
\n
}
\n
this.init();
\n
this.initSearch();
\n
},
\n
methods: {
\n
init: function init() {
\n
var self = this;
\n
self.$request('/pawn/category/getCategoryList', 'POST').then(function (res) {
\n
self.tabList = res.result;
\n
__f__(
\"
log
\"
, res, '9766',
\"
at pages/sort/index.vue:65
\"
);
\n
});
\n
},
\n
initSearch: function initSearch() {
\n
var self = this;var
\n
tabCurrent = self.tabCurrent,pageNum = self.pageNum,pageSize = self.pageSize;
\n
var parmas = {
\n
\"
categoryId
\"
: tabCurrent,
\n
\"
current
\"
: pageNum,
\n
\"
size
\"
: pageSize,
\n
\"
sort
\"
:
\"
id desc
\"
};
\n\n
__f__(
\"
log
\"
, parmas, 'parmas',
\"
at pages/sort/index.vue:77
\"
);
\n
self.$request('/pawn/category/getGoodsPage', 'POST', parmas).then(function (res) {
\n
__f__(
\"
log
\"
, res, 'res',
\"
at pages/sort/index.vue:79
\"
);var _res$result =
\n
res.result,current = _res$result.current,records = _res$result.records,total = _res$result.total,size = _res$result.size;
\n\n
var hasNextPage = total - self.pageSize * self.pageNum > 0 ? true : false; //是否有下一页
\n
if (self.loadFlag) {
\n
__f__(
\"
log
\"
, 33,
\"
at pages/sort/index.vue:84
\"
);
\n
self.listIndex = self.listIndex.concat(records);
\n
} else {
\n
__f__(
\"
log
\"
, 34,
\"
at pages/sort/index.vue:87
\"
);
\n
self.listIndex = records;
\n
}
\n
self.hasNextPage = hasNextPage;
\n
self.loadFlag = false;
\n
__f__(
\"
log
\"
, self.hasNextPage, 'sort8888',
\"
at pages/sort/index.vue:92
\"
);
\n
});
\n
},
\n
goProduct: function goProduct(item) {
\n
var params = {
\n
goodId: item.id };
\n\n
uni.navigateTo({
\n
url: '/pages/productDetails/productDetails?mydata=' + encodeURIComponent(JSON.stringify(params)) });
\n\n
},
\n
changeTab: function changeTab(index) {
\n
__f__(
\"
log
\"
, index, 'indexhyyy',
\"
at pages/sort/index.vue:104
\"
);
\n
this.tabCurrent = index;
\n
// this.categoryId=index
\n
this.pageNum = 1;
\n
if (index != 0) {
\n
this.recommandStatus = '';
\n
} else {
\n
this.recommandStatus = 1;
\n
}
\n
this.initSearch();
\n
},
\n\n
goInput: function goInput(e) {
\n
__f__(
\"
log
\"
, e.detail.value, '9644',
\"
at pages/sort/index.vue:117
\"
);
\n
this.inputValue = e.detail.value;
\n
this.pageNum = 1;
\n
this.initSearch();
\n
},
\n
toupperTop: function toupperTop(e) {
\n
__f__(
\"
log
\"
, e, '到顶了',
\"
at pages/sort/index.vue:123
\"
);
\n
},
\n
lowerMore: function lowerMore(e) {
\n
__f__(
\"
log
\"
, e, '触底了',
\"
at pages/sort/index.vue:126
\"
);
\n
if (!this.hasNextPage) {
\n
// uni.showToast({
\n
// icon: 'none',
\n
// title: '到底了',
\n
// })
\n
return false;
\n
}
\n
if (this.loadFlag) return;
\n
this.loadFlag = true,
\n
this.pageNum = this.pageNum + 1;
\n
this.initSearch();
\n
} },
\n\n
onShow: function onShow() {
\n
this.init();
\n
this.initSearch();
\n
} };exports.default = _default;
\n
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 7)[
\"
default
\"
]))//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvc29ydC9pbmRleC52dWUiXSwibmFtZXMiOlsiZGF0YSIsInRhYkxpc3QiLCJ0YWJDdXJyZW50IiwiZnJvbVN0b3JlIiwicGFnZU51bSIsInBhZ2VTaXplIiwidG90YWwiLCJoYXNOZXh0VGV4dCIsImxvYWRGbGFnIiwiaGFzTmV4dFBhZ2UiLCJsaXN0SW5kZXgiLCJpbnB1dFZhbHVlIiwib25Mb2FkIiwib3B0aW9ucyIsImluaXQiLCJpbml0U2VhcmNoIiwibWV0aG9kcyIsInNlbGYiLCIkcmVxdWVzdCIsInRoZW4iLCJyZXMiLCJyZXN1bHQiLCJwYXJtYXMiLCJjdXJyZW50IiwicmVjb3JkcyIsInNpemUiLCJjb25jYXQiLCJnb1Byb2R1Y3QiLCJpdGVtIiwicGFyYW1zIiwiZ29vZElkIiwiaWQiLCJ1bmkiLCJuYXZpZ2F0ZVRvIiwidXJsIiwiZW5jb2RlVVJJQ29tcG9uZW50IiwiSlNPTiIsInN0cmluZ2lmeSIsImNoYW5nZVRhYiIsImluZGV4IiwicmVjb21tYW5kU3RhdHVzIiwiZ29JbnB1dCIsImUiLCJkZXRhaWwiLCJ2YWx1ZSIsInRvdXBwZXJUb3AiLCJsb3dlck1vcmUiLCJvblNob3ci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cdFx0bG93ZXJNb3JlKGUpe1xuXHRcdFx0XHRjb25zb2xlLmxvZyhlLCfop6blupXkuoYnKTtcblx0XHRcdFx0aWYoIXRoaXMuaGFzTmV4dFBhZ2Upe1xuXHRcdFx0XHQgICAgLy8gdW5pLnNob3dUb2FzdCh7XG5cdFx0XHRcdCAgICAvLyAgICAgaWNvbjogJ25vbmUnLFxuXHRcdFx0XHQgICAgLy8gICAgIHRpdGxlOiAn5Yiw5bqV5LqGJyxcblx0XHRcdFx0ICAgIC8vIH0pXG5cdFx0XHRcdCAgICByZXR1cm4gZmFsc2U7XG5cdFx0XHRcdH0gXG5cdFx0XHRcdGlmKHRoaXMubG9hZEZsYWcpIHJldHVybjtcblx0XHRcdFx0dGhpcy5sb2FkRmxhZz10cnVlLFxuXHRcdFx0XHR0aGlzLnBhZ2VOdW09dGhpcy5wYWdlTnVtKzFcblx0XHRcdFx0dGhpcy5pbml0U2VhcmNoKCk7XG5cdFx0fVxuXHR9LFxuXHRvblNob3coKSB7XG5cdFx0dGhpcy5pbml0KClcblx0XHR0aGlzLmluaXRTZWFyY2goKVxuXHR9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9
\n
//# sourceURL=webpack-internal:///13
\n
"
);
/***/
}),
/***/
}),
/* 14 */
/* 14 */
...
...
unpackage/dist/dev/app-plus/app-view.js
View file @
fb4272f9
...
@@ -1679,7 +1679,7 @@ if(false) {}
...
@@ -1679,7 +1679,7 @@ if(false) {}
var
___CSS_LOADER_API_IMPORT___
=
__webpack_require__
(
/*! ../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */
10
);
var
___CSS_LOADER_API_IMPORT___
=
__webpack_require__
(
/*! ../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */
10
);
exports
=
___CSS_LOADER_API_IMPORT___
(
false
);
exports
=
___CSS_LOADER_API_IMPORT___
(
false
);
// Module
// Module
exports
.
push
([
module
.
i
,
".sort-page[data-v-d2d867ac] {
\n
width: 100%;
\n
height: 100vh;
\n
background: #F7FAFF;
\n
}
\n
.sort-page .sort-body[data-v-d2d867ac] {
\n
display: flex;
\n
justify-content: space-between;
\n
}
\n
.sort-page .sort-body .leftTab[data-v-d2d867ac] {
\n
width: 184rpx;
\n
height: 100vh;
\n
background: #FFFFFF;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox[data-v-d2d867ac] {
\n
height: 100%;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox .tabItem[data-v-d2d867ac] {
\n
height: 120rpx;
\n
color: #333333;
\n
font-size: 26rpx;
\n
line-height: 120rpx;
\n
text-align: center;
\n
font-weight: bold;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox .tabActive[data-v-d2d867ac] {
\n
height: 120rpx;
\n
background: #F7FAFF;
\n
line-height: 120rpx;
\n
text-align: center;
\n
border-left: 7rpx solid #2263E6;
\n
color: #2263E6;
\n
}
\n
.sort-page .sort-body .rightGoods[data-v-d2d867ac] {
\n
width: 100%;
\n
height: 900rpx;
\n
padding: 0 16rpx 27rpx;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox[data-v-d2d867ac] {
\n
height:
900rpx;
\n
border-radius: 15rpx;
\n
padding: 0 25
rpx;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .title[data-v-d2d867ac] {
\n
height: 77rpx;
\n
line-height: 77rpx;
\n
color: #2D2D2D;
\n
font-size: 26rpx;
\n
font-weight: bold;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list[data-v-d2d867ac] {
\n
margin: 24rpx 10rpx;
\n
display: flex;
\n
flex-wrap: wrap;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item[data-v-d2d867ac] {
\n
margin-right: 16rpx ;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item .item-img[data-v-d2d867ac] {
\n
width: 155rpx;
\n
height: 164rpx;
\n
border-radius: 10px;
\n
background-size: 155rpx 164rpx;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item .item-text[data-v-d2d867ac] {
\n
height: 40rpx;
\n
width: 150rpx;
\n
font-family: PingFangSC, PingFang SC;
\n
font-weight: 400;
\n
font-size: 28rpx;
\n
color: #333333;
\n
line-height: 40rpx;
\n
text-align: center;
\n
font-style: normal;
\n
white-space: nowrap;
\n
/* 确保文本在一行内显示 */
\n
overflow: hidden;
\n
/* 隐藏超出容器的内容 */
\n
text-overflow: ellipsis;
\n
/* 使用省略号表示被截断的文本 */
\n
word-break: break-all;
\n
/* 允许在单词内换行 */
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item[data-v-d2d867ac]:nth-child(3n) {
\n
margin-right: 0;
\n
}
\n
"
,
""
]);
exports
.
push
([
module
.
i
,
".sort-page[data-v-d2d867ac] {
\n
width: 100%;
\n
height: 100vh;
\n
background: #F7FAFF;
\n
}
\n
.sort-page .sort-body[data-v-d2d867ac] {
\n
display: flex;
\n
justify-content: space-between;
\n
}
\n
.sort-page .sort-body .leftTab[data-v-d2d867ac] {
\n
width: 184rpx;
\n
height: 100vh;
\n
background: #FFFFFF;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox[data-v-d2d867ac] {
\n
height: 100%;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox .tabItem[data-v-d2d867ac] {
\n
height: 120rpx;
\n
color: #333333;
\n
font-size: 26rpx;
\n
line-height: 120rpx;
\n
text-align: center;
\n
font-weight: bold;
\n
}
\n
.sort-page .sort-body .leftTab .tabBox .tabActive[data-v-d2d867ac] {
\n
height: 120rpx;
\n
background: #F7FAFF;
\n
line-height: 120rpx;
\n
text-align: center;
\n
border-left: 7rpx solid #2263E6;
\n
color: #2263E6;
\n
}
\n
.sort-page .sort-body .rightGoods[data-v-d2d867ac] {
\n
width: 100%;
\n
height: 900rpx;
\n
padding: 0 16rpx 27rpx;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox[data-v-d2d867ac] {
\n
height:
1300rpx;
\n
border-radius: 15rpx;
\n
padding: 0 25rpx 120
rpx;
\n
box-sizing: border-box;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .title[data-v-d2d867ac] {
\n
height: 77rpx;
\n
line-height: 77rpx;
\n
color: #2D2D2D;
\n
font-size: 26rpx;
\n
font-weight: bold;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list[data-v-d2d867ac] {
\n
margin: 24rpx 10rpx;
\n
display: flex;
\n
flex-wrap: wrap;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item[data-v-d2d867ac] {
\n
margin-right: 16rpx ;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item .item-img[data-v-d2d867ac] {
\n
width: 155rpx;
\n
height: 164rpx;
\n
border-radius: 10px;
\n
background-size: 155rpx 164rpx;
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item .item-text[data-v-d2d867ac] {
\n
height: 40rpx;
\n
width: 150rpx;
\n
font-family: PingFangSC, PingFang SC;
\n
font-weight: 400;
\n
font-size: 28rpx;
\n
color: #333333;
\n
line-height: 40rpx;
\n
text-align: center;
\n
font-style: normal;
\n
white-space: nowrap;
\n
/* 确保文本在一行内显示 */
\n
overflow: hidden;
\n
/* 隐藏超出容器的内容 */
\n
text-overflow: ellipsis;
\n
/* 使用省略号表示被截断的文本 */
\n
word-break: break-all;
\n
/* 允许在单词内换行 */
\n
}
\n
.sort-page .sort-body .rightGoods .whiteBox .list .l-item[data-v-d2d867ac]:nth-child(3n) {
\n
margin-right: 0;
\n
}
\n
"
,
""
]);
// Exports
// Exports
module
.
exports
=
exports
;
module
.
exports
=
exports
;
...
...
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