guhongwei 4 년 전
부모
커밋
4a619cb42e
5개의 변경된 파일27개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 1
      app.json
  2. 7 4
      pages/car/car.wxml
  3. 6 2
      pages/car/car.wxss
  4. 4 2
      pages/home/home.wxml
  5. 9 4
      pages/home/home.wxss

+ 1 - 1
app.json

@@ -1,7 +1,7 @@
 {
   "pages": [
-    "pages/login/login",
     "pages/home/home",
+    "pages/login/login",
     "pages/perssonal/perssonal",
     "pages/setting/setting",
     "pages/editPwd/editPwd",

+ 7 - 4
pages/car/car.wxml

@@ -4,14 +4,17 @@
   </view>
   <view class="two">
     <view class="twoImg">
-      <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
+      <!-- <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
         duration="{{duration}}">
         <block wx:key="unique" wx:for="{{bannerList}}" wx:for-item="item">
           <swiper-item>
             <image src="{{item.pic}}"></image>
           </swiper-item>
         </block>
-      </swiper>
+      </swiper> -->
+      <video
+        src="https://vdse.bdstatic.com//7f3bf98bc7e22e8ccb10d3328b50f744.mp4?authorization=bce-auth-v1%2F40f207e648424f47b2e3dfbb1014b1a5%2F2020-12-28T03%3A56%3A01Z%2F-1%2Fhost%2Fc6c3ede6fba4edf3cec2724df902c1b68d7be89069dc901493436b714b7b532c"
+        controls autoplay loop></video>
     </view>
     <view class="twoTxt">
       <van-tabs active="{{ active }}">
@@ -39,7 +42,7 @@
             </view>
             <view>
               <text>车辆具体信息:</text>
-              <text>车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介车辆简介</text>
+              <text>C+超级豪华跑车;ALCANTARA车顶全景天窗;SACC高级巡航心痛3.0T;V6机械增压空气悬架系统圈画暗纹内饰独创香氛,馥兴之韵;L2.5级智能驾驶升级版智能人机交互奇技术;9H笼式防撞车身;</text>
             </view>
           </view>
         </van-tab>
@@ -55,7 +58,7 @@
             </view>
             <view>
               <text>奖励积分:</text>
-              <text>131400</text>
+              <text>131419</text>
             </view>
             <view class="btn">
               <button type="warn" disabled="{{disabled}}" bindtap="receiveBtn">领取积分</button>

+ 6 - 2
pages/car/car.wxss

@@ -27,7 +27,11 @@
   width: 100%;
 }
 
-.main .two .twoImg swiper {
+.main .two .twoImg video {
+  width: 100%;
+}
+
+/* .main .two .twoImg swiper {
   height: 200px;
 }
 
@@ -35,7 +39,7 @@
   float: left;
   width: 100%;
   height: 400rpx;
-}
+} */
 
 .main .two .twoTxt {
   float: left;

+ 4 - 2
pages/home/home.wxml

@@ -2,14 +2,16 @@
 <view class="main">
   <van-row>
     <van-col span="24" class="one">
-      <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
+      <!-- <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
         duration="{{duration}}">
         <block wx:key="unique" wx:for="{{backgrounds}}" wx:for-item="item">
           <swiper-item>
             <image src="{{item.pic}}"></image>
           </swiper-item>
         </block>
-      </swiper>
+      </swiper> -->
+      <video src="https://vd3.bdstatic.com/mda-kar9n2ip1u508ewq/hd/mda-kar9n2ip1u508ewq.mp4?pd=20" autoplay
+        loop></video>
     </van-col>
     <van-col span="24" class="two">
       <text class="comTitle">个人服务</text>

+ 9 - 4
pages/home/home.wxss

@@ -4,21 +4,26 @@
   height: 100%;
   /* background-image: linear-gradient(#ff0000, #ffffff); */
   background-color: #f6f6f6;
-  padding: 30rpx 20rpx 0 20rpx;
+  padding: 20rpx 20rpx 0 20rpx;
 }
 
 .one {
   float: left;
   width: 100%;
-  height: 150px;
+  height: 192px;
   margin: 0 0 20rpx 0;
 }
 
-.one image {
+.one video {
   width: 100%;
-  height: 150px;
+  height: 192px;
 }
 
+/* .one image {
+  width: 100%;
+  height: 150px;
+} */
+
 .two {
   float: left;
   width: 100%;