Commit a8addbae authored by spc's avatar spc

Merge branch 'dev' of http://gitlab2.dui88.com/fh/20250528_FHQ1 into dev

parents de2f7e3b 3e9e0313
......@@ -30,7 +30,7 @@
],
"toolList": {
"maintitle": "工具推荐",
"subtitle": "更多妈妈都在用,告别手忙脚乱助你轻松带娃!",
"subtitle": "更多妈妈都在用,告别手忙脚乱助你轻松带娃!",
"bgUrl": "homepage/toolBg.png",
"jtIcon": "homepage/tool_jt.png",
"tools": [
......
......@@ -54,7 +54,7 @@
}
.bg_1 {
height: 1476rpx;
height: 13142rpx;
}
.bg_2 {
......
......@@ -56,9 +56,12 @@
<swiper :vertical="false" :circular="true" class="tool_swiper" :display-multiple-items="1.65"
:next-margin="'0rpx'" :previous-margin="'0'" @change="onSwiperChange">
<swiper-item v-for="(item, index) in toolList.tools" :key="index"
:class="['swiperItem', { 'active': currentIndex === index }]" @click="handleToolClick(item)">
:class="['swiperItem', { 'active': currentIndex === index }]">
<view class="tool">
<image class="tool_bg" :src="$baseUrl + item.icon"></image>
<button v-if="homeStore && !homeStore.isLogin" open-type="getPhoneNumber"
@getphonenumber="onGetPhoneNumber" class="sq_btn"></button>
<image class="tool_bg" :src="$baseUrl + item.icon" @click="handleToolClick(item)">
</image>
<!-- <image class="tool_icon" :src="$baseUrl + item.icon"></image>
<image class="tool_jt" :src="$baseUrl + toolList.jtIcon"></image>
<view class="tool_title">{{ item.title }}</view>
......@@ -953,13 +956,23 @@ export default {
z-index: 10;
transition: top 0.4s ease;
}
.tool {
position: absolute;
width: 400rpx;
height: 700rpx;
.sq_btn{
position: absolute;
left: 0rpx;
top: 0rpx;
width: 400rpx;
height: 650rpx;
// background-color: red;
opacity: 0;
z-index: 2;
}
.tool_bg {
position: absolute;
left: 0rpx;
......@@ -967,6 +980,7 @@ export default {
width: 400rpx;
height: 650rpx;
border-radius: 40rpx;
z-index: 1;
}
.tool_icon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment