liuyao 1 год назад
Родитель
Сommit
ed0565c022
3 измененных файлов с 7 добавлено и 9 удалено
  1. 4 4
      pages/home-page/home-page.js
  2. 1 5
      pages/home-page/home-page.wxml
  3. 2 0
      pages/home-page/home-page.wxss

+ 4 - 4
pages/home-page/home-page.js

@@ -68,7 +68,7 @@ Page({
     bottomCardList: [
       {
         title: '精准管理',
-        imageUrl: 'pur-icon.png',
+        imageUrl: 'up-icon.png',
         content: '助力企业腾飞,共创企业辉煌',
         dataUrl: '/package-basic-data/pages/func-buy/add/add',
         buttonTitle: '立即购买',
@@ -85,11 +85,11 @@ Page({
           background: 'linear-gradient(223.67deg, #FFFFFF -15.06%, #FFF5E2 100%)'
         },
         {
-          title: '分享不停歇',
+          title: '签到有奖',
           imageUrl: 'ivt-icon.png',
-          content: '云币数量涨不停',
+          content: '云币不断,快快行动!',
           dataUrl: '',
-          buttonTitle: '立即分享',
+          buttonTitle: '立即签到',
           buttonColor: '#CE9965',
           background: 'linear-gradient(225.36deg, #FFFFFF -10.7%, #F2D1AC 100%)'
         }]

+ 1 - 5
pages/home-page/home-page.wxml

@@ -64,10 +64,6 @@
   </view>
 
 
-  <!-- <view>
-    <button bind:tap="subscribeMessage">消息订阅测试</button>
-  </view> -->
-
   <!--广告-->
   <view wx:if="{{advertisementList && advertisementList.length > 0}}">
     <swiper indicator-dots="{{true}}" autoplay="true" interval="10000" style="height: 200rpx;">
@@ -87,7 +83,7 @@
       <view class="childer-card-view" wx:for="{{bottomCardList}}" wx:for-index="index" wx:for-item="item">
         <view class="ch-card-content" wx:if="{{item && !item.smallButtonList}}">
           <view class="card-background-img">
-            <image src="{{imageUrl  + item.imageUrl}} " class="card-bottom-image" />
+            <image src="{{imageUrl  + item.imageUrl}} " style="width: 270rpx;height: 310rpx;" class="card-bottom-image" />
           </view>
           <view class="content-view" bindtap="toAppStd" data-flg="{{false}}" data-url="{{item.dataUrl}}">
             <view class="title-text">{{item.title}}</view>

+ 2 - 0
pages/home-page/home-page.wxss

@@ -425,6 +425,8 @@ image {
 .ch-card-content .content-view{
   height: 100%;
   width: 100%;
+  position: absolute;
+  z-index: 20;
   display: flex;
   flex-direction: column;
   justify-content: space-around;