liyongli 1 năm trước cách đây
mục cha
commit
76328e3414
5 tập tin đã thay đổi với 11 bổ sung11 xóa
  1. 0 1
      app.wxss
  2. 1 4
      pages/application/index.wxml
  3. 3 1
      pages/index/index.json
  4. 7 4
      pages/index/index.wxml
  5. 0 1
      pages/index/index.wxss

+ 0 - 1
app.wxss

@@ -22,5 +22,4 @@ page {
   position: absolute;
   width: 750rpx;
   top: 0;
-  color: #ffffff!important;
 }

+ 1 - 4
pages/application/index.wxml

@@ -45,10 +45,7 @@
             <van-radio name="其他" checked-color="#91725D">其他</van-radio>
           </van-radio-group>
         </view>
-        <view class="top_label">题材</view>
-        <view class="top_input" style="background-color: #ffffff00;height: auto;">
-          展现黄帝文化、弘扬中华民族优秀文化与传统道德
-        </view>
+        <view class="top_label">题材不限*</view>
 
         <image wx:if="{{!local_image_url}}" bind:tap="upload" src="https://cxzx.smcic.net/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/upload.png" style="{{'height:' + uploadheight + 'px;width:600rpx;margin-top: 66rpx'}}" bindload="uploadimg" />
         <view wx:if="{{local_image_url}}" class="imgP" bind:tap="delimg">

+ 3 - 1
pages/index/index.json

@@ -1,6 +1,8 @@
 {
   "navigationBarTitleText": "首页",
   "usingComponents": {
-    "Container": "../../component/container/index"
+    "Container": "../../component/container/index", 
+    "van-row": "@vant/weapp/row/index",
+    "van-col": "@vant/weapp/col/index"
   }
 }

+ 7 - 4
pages/index/index.wxml

@@ -5,10 +5,13 @@
       <video src="{{ori.baseVideoUrl}}" autoplay />
       <view class="list" wx:for="{{ori.textList || []}}" wx:key="index">
         <view class="btn">{{item.title}}</view>
-        <view wx:for="{{item.content || []}}" wx:for-item="v" wx:for-index="i" wx:key="i">
-          <view class="list_label">· {{v.title}}</view>
-          <view class="list_value">{{v.content}}</view>
-        </view>
+        <van-row wx:for="{{item.content || []}}" wx:for-item="v" wx:for-index="i" wx:key="i">
+          <van-col span="1">· </van-col>
+          <van-col span="23">
+            <view class="list_label">{{v.title}}</view>
+            <view class="list_value">{{v.content}}</view>
+          </van-col>
+        </van-row>
         <view class="item" wx:if="{{item.data}}" data-item="{{item.data}}" bind:tap="toNext">
           <image mode="aspectFit" class="item_image" wx:if="{{item.data.cover}}" src="{{item.data.cover}}" />
           <view class="title">{{item.data.title}}</view>

+ 0 - 1
pages/index/index.wxss

@@ -35,7 +35,6 @@
 
 .list_value {
   font-size: 26rpx;
-  text-indent: 15rpx;
 }
 
 video {