Browse Source

合并本地修改到Xfy分支

pull/1/head
Default User 2 months ago
parent
commit
a8c670fed8
  1. BIN
      images/9e590639954f2598a54eddf72b7d1fa.jpg
  2. 36
      pages/cooperation/index.wxml
  3. 85
      pages/cooperation/index.wxss
  4. 2
      pages/index/index.wxml

BIN
images/9e590639954f2598a54eddf72b7d1fa.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

36
pages/cooperation/index.wxml

@ -4,6 +4,11 @@
<text>招商合作</text>
</view>
<!-- 设计展示区域 -->
<view class="design-section">
<image class="design-image" src="/images/9e590639954f2598a54eddf72b7d1fa.jpg" mode="aspectFit"></image>
</view>
<!-- 招商广告区域 -->
<view class="ad-section">
<view class="ad-title">
@ -41,44 +46,17 @@
</view>
</view>
<!-- 合作优势区域 -->
<view class="advantage-section">
<view class="section-title">合作优势</view>
<view class="advantage-grid">
<view class="advantage-item">
<view class="advantage-icon">💪</view>
<view class="advantage-text">品牌支持</view>
</view>
<view class="advantage-item">
<view class="advantage-icon">💰</view>
<view class="advantage-text">灵活结算</view>
</view>
<view class="advantage-item">
<view class="advantage-icon">📱</view>
<view class="advantage-text">智能管理</view>
</view>
<view class="advantage-item">
<view class="advantage-icon">👥</view>
<view class="advantage-text">专属客服</view>
</view>
</view>
</view>
<!-- 联系方式区域 -->
<view class="contact-section">
<view class="section-title">联系方式</view>
<view class="contact-info">
<view class="contact-item">
<view class="contact-label">联系电话:</view>
<view class="contact-value" bindtap="makePhoneCall">138-XXXX-XXXX</view>
</view>
<view class="contact-item">
<view class="contact-label">电子邮箱:</view>
<view class="contact-value">cooperation@example.com</view>
<view class="contact-value" bindtap="makePhoneCall">18280108971</view>
</view>
<view class="contact-item">
<view class="contact-label">联系地址:</view>
<view class="contact-value">上海市浦东新区XX路XX号</view>
<view class="contact-value">四川又鸟</view>
</view>
</view>

85
pages/cooperation/index.wxss

@ -14,6 +14,32 @@
margin: 30rpx 0;
}
/* 设计展示区域 */
.design-section {
background-color: #fff;
border-radius: 16rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}
.design-title {
font-size: 30rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
text-align: center;
}
.design-image {
width: 100%;
height: auto;
border-radius: 12rpx;
background-color: #f9f9f9;
aspect-ratio: 4/3;
object-fit: cover;
}
/* 广告区域 */
.ad-section {
background-color: #fff;
@ -68,8 +94,8 @@
line-height: 1.5;
}
/* 合作优势区域 */
.advantage-section {
/* 联系方式区域 */
.contact-section {
background-color: #fff;
border-radius: 16rpx;
padding: 30rpx;
@ -85,46 +111,6 @@
text-align: center;
}
.advantage-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20rpx;
}
.advantage-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 10rpx;
padding: 20rpx;
background-color: #f9f9f9;
border-radius: 12rpx;
transition: transform 0.3s ease;
}
.advantage-item:active {
transform: scale(0.98);
}
.advantage-icon {
font-size: 48rpx;
}
.advantage-text {
font-size: 24rpx;
color: #333;
font-weight: 500;
}
/* 联系方式区域 */
.contact-section {
background-color: #fff;
border-radius: 16rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}
.contact-info {
display: flex;
flex-direction: column;
@ -135,6 +121,7 @@
.contact-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12rpx;
padding: 16rpx;
background-color: #f9f9f9;
@ -145,12 +132,14 @@
font-size: 26rpx;
color: #666;
width: 180rpx;
text-align: left;
}
.contact-value {
font-size: 26rpx;
color: #333;
flex: 1;
text-align: right;
}
.contact-value:active {
@ -168,6 +157,9 @@
line-height: 80rpx;
margin: 0;
box-shadow: 0 4rpx 12rpx rgba(255, 107, 129, 0.3);
display: flex;
align-items: center;
justify-content: center;
}
.cooperate-btn:active {
@ -185,10 +177,6 @@
/* 响应式设计 */
@media (max-width: 768rpx) {
.advantage-grid {
grid-template-columns: 1fr;
}
.ad-item {
flex-direction: column;
align-items: center;
@ -203,5 +191,10 @@
.contact-label {
width: auto;
text-align: left;
}
.contact-value {
text-align: left;
}
}

2
pages/index/index.wxml

@ -131,7 +131,7 @@
<text class="sidebar-item-icon">📢</text>
<text class="sidebar-item-text">招商合作</text>
</view>
<view class="sidebar-item" bindtap="navigateToSettlement">
<view class="sidebar-item" bindtap="navigateToCustomerService" data-type="buyer">
<text class="sidebar-item-icon">📞</text>
<text class="sidebar-item-text">联系我们</text>
</view>

Loading…
Cancel
Save