Browse Source

新品特惠直角,十全街图片更换

master
shaojing 2 years ago
parent
commit
ffc35a9cbe
  1. 10
      pages/index/index.js
  2. 4
      pages/index/index.wxml
  3. 17
      pages/index/index.wxss

10
pages/index/index.js

@ -48,12 +48,12 @@ Page({
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-css.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-tcs.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-kss.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjqs.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzqs.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcqs.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsqs.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gyyq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxq.png',
'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxqs.png',
]
},
onLoad: function (options) {

4
pages/index/index.wxml

@ -202,7 +202,8 @@
<view class="xpth-product">
<!-- 左边的2个产品 -->
<view class="xpth-left">
<view class="xpth-item" wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}">
<view wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}" style="padding: 4rpx;background: #3F7572;clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%);margin-bottom: 10rpx;">
<view class="xpth-item" >
<image src="{{item.headimg}}" mode=""/>
<view class="xpth-item-content">
<view class="xpth-item-title textOver">{{item.title}}</view>
@ -213,6 +214,7 @@
</view>
</view>
</view>
</view>
</view>
<!-- 右边的banner -->
<view class="xpth-banner">

17
pages/index/index.wxss

@ -881,16 +881,22 @@ page {
}
/* 元旦修改新增样式 */
.xpth-banner {
width: 270rpx;
height: 333rpx;
/* width: 270rpx; */
/* height: 333rpx; */
height: 340rpx;
/* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-hBg.png"); */
background-size: 100% 100%;
border-radius: 20rpx;
padding: 4rpx;
background: #3F7572;
clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
}
.xpth-banner image {
width: 270rpx;
height: 333rpx;
border-radius: 20rpx;
/* height: 333rpx; */
height: 340rpx;
clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
/* border-radius: 20rpx; */
}
/* 元旦修改新增样式 */
.xpth-item {
@ -901,7 +907,8 @@ page {
background-size: 100% 100%;
border-radius: 20rpx;
display: flex;
margin-bottom: 10rpx;
/* margin-bottom: 10rpx; */
clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%);
/* padding: 5rpx; */
}
/* 元旦修改新增样式 */

Loading…
Cancel
Save