feat(fittingRoom): 调整试衣间页面展示逻辑
-试衣间结果列表倒序显示 - 模特图默认置于列表末尾 - 禁用轮播图自动播放功能 - 更新默认token值用于本地开发 - 添加验收文档链接至README - 调整uni-grid组件边框宽度为0.5px
This commit is contained in:
@@ -44,3 +44,7 @@ PC的老版本地址: https://puton.meidaojia.com/
|
|||||||
|
|
||||||
本地开发: http://172.16.18.38:3000/pages/fittingRoom/index
|
本地开发: http://172.16.18.38:3000/pages/fittingRoom/index
|
||||||
|
|
||||||
|
|
||||||
|
【腾讯文档】PUTON美搭小程序-验收文档
|
||||||
|
https://docs.qq.com/sheet/DS0pybm5Yc1ViakNj
|
||||||
|
改成所有人可编辑了
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<!-- https://ext.dcloud.net.cn/plugin?id=22930-->
|
<!-- https://ext.dcloud.net.cn/plugin?id=22930-->
|
||||||
<hbxw-stack-carousel
|
<hbxw-stack-carousel
|
||||||
:key="fittingRoomStore.testResults"
|
:key="fittingRoomStore.testResults"
|
||||||
|
:autoplay="false"
|
||||||
:height="680"
|
:height="680"
|
||||||
:interval="15000"
|
:interval="15000"
|
||||||
:list="fittingRoomStore.testResults"
|
:list="fittingRoomStore.testResults"
|
||||||
@@ -92,7 +93,7 @@
|
|||||||
// const template = computed(() => sheep.$store('app').template?.home);
|
// const template = computed(() => sheep.$store('app').template?.home);
|
||||||
|
|
||||||
onLoad((options) => {
|
onLoad((options) => {
|
||||||
uni.setStorageSync('token', options?.token ?? 'e84526c0f7a3457da54e663fb4396beb');
|
uni.setStorageSync('token', options?.token ?? '92d2805a85ca422e90dd7d50eef49a85');
|
||||||
console.log('🚀 ~ URL上的token ~ options?.token: ', options?.token);
|
console.log('🚀 ~ URL上的token ~ options?.token: ', options?.token);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ const fittingRoom = defineStore({
|
|||||||
pageSize: '30',
|
pageSize: '30',
|
||||||
});
|
});
|
||||||
const result = httpResponse.data?.list ?? [];
|
const result = httpResponse.data?.list ?? [];
|
||||||
|
result.reverse();
|
||||||
// 将模特放到最后一张
|
// 将模特放到最后一张
|
||||||
result.push({
|
result.push({
|
||||||
id: 100000,
|
id: 100000,
|
||||||
|
|||||||
@@ -117,8 +117,8 @@ export default {
|
|||||||
/* #endif */
|
/* #endif */
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
border-bottom: 1px #d2d2d2 solid;
|
border-bottom: 0.5px #d2d2d2 solid;
|
||||||
border-right: 1px #d2d2d2 solid;
|
border-right: 0.5px #d2d2d2 solid;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
}
|
}
|
||||||
.uni-grid-item--border-top {
|
.uni-grid-item--border-top {
|
||||||
|
|||||||
Reference in New Issue
Block a user