Kaynağa Gözat

更新 日报-样式

王智慧 3 yıl önce
ebeveyn
işleme
3413e0c724

+ 1 - 1
miniprogram/pages/voyageManage/billVoyageList/billVoyageList.wxml

@@ -5,7 +5,7 @@
 </view>
 <view class="df aic tabs">
   <view class="tabsview tabsview-1" bindtap="changeStatus" data-status="{{1}}" style="color:{{status==1?'#363F4A':'#9199A3'}};border-bottom:{{status==1?'6rpx solid #0089FD':''}}">单据</view>
-  <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" data-islab="{{true}}" style="color:{{status==2?'#363F4A':'#9199A3'}};border-bottom:{{status==2?'6rpx solid #0089FD':''}}">提单</view>
+  <!-- <view class="tabsview" bindtap="changeStatus" data-status="{{2}}" data-islab="{{true}}" style="color:{{status==2?'#363F4A':'#9199A3'}};border-bottom:{{status==2?'6rpx solid #0089FD':''}}">提单</view> -->
 </view>
 <scroll-view bindrefresherrefresh="scrollDownList" refresher-triggered="{{isFreshing}}" refresher-enabled="{{true}}" scroll-y="true" bindscrolltolower="scrollList" style="height:calc(100vh - 140rpx);padding-bottom: 200rpx;">
   <VoyageCard wx:for="{{list}}" wx:key="index" item="{{item}}" data-id="{{item.id}}" bindtap="goToDetail" data-index="{{index}}" data-medias="{{item.medias}}" data-trans="{{item.transStatusName}}">

+ 7 - 14
miniprogram/pages/voyageManage/myDaily/examine/examine.wxml

@@ -1,16 +1,9 @@
-<map enable-scroll="{{false}}" enable-zoom="{{false}}" markers="{{markers}}" scale="{{10}}" include-points="{{points}}" latitude="{{latitude}}" longitude="{{longitude}}" style="width: 100%;height: 400rpx;" name="map"></map>
-<image bindtap="previewImage" style="width: 100%;height: 400rpx;" src="{{media.viewUrl}}" data-src="{{media.viewUrl}}" mode="aspectFill"></image>
-<view class="df aic jscb">
-  <view bindtap="checkMedia" data-audit="{{1}}" class="next">通过</view>
-  <view bindtap="checkMedia" data-audit="{{2}}" class="next">不通过</view>
+<map enable-scroll="{{false}}" enable-zoom="{{false}}" markers="{{markers}}" scale="{{10}}" include-points="{{points}}" latitude="{{latitude}}" longitude="{{longitude}}" style="width: 100%;height: 300rpx;" name="map"></map>
+<image bindtap="previewImage" class="media" src="{{media.viewUrl}}" data-src="{{media.viewUrl}}" mode="aspectFill"></image>
+<view class="df aic jscb mt50 mb50">
+  <button bindtap="checkMedia" data-audit="{{1}}" class="next">通过</button>
+  <button bindtap="checkMedia" data-audit="{{2}}" class="next">不通过</button>
 </view>
-<!-- <block wx:if="{{trans=='运输中'}}"> -->
 <view class="df aic jscb">
-  <button style="width: 300rpx;line-height: 80rpx;padding: 0;font-weight: 400;" open-type="share" data-type="{{1}}" class="next">分享航次照片</button> <button style="width: 300rpx;line-height: 80rpx;padding: 0;font-weight: 400;" open-type="share" data-type="{{2}}" class="next">分享航行报告</button>
-</view>
-<!-- </block> -->
-<!-- <block wx:if="{{trans=='卸货中'}}"> -->
-<!-- <view class="df aic jcc">
-  <button style="width: 300rpx;line-height: 80rpx;padding: 0;font-weight: 400;" open-type="share" data-type="{{3}}" class="next">分享卸货报告</button>
-</view> -->
-<!-- </block> -->
+  <button open-type="share" data-type="{{1}}" class="next">分享航次照片</button> <button open-type="share" data-type="{{2}}" class="next">分享航行报告</button>
+</view>

+ 25 - 1
miniprogram/pages/voyageManage/myDaily/examine/examine.wxss

@@ -1 +1,25 @@
-/* pages/voyageManage/myDaily/examine/examine.wxss */
+/* pages/voyageManage/myDaily/examine/examine.wxss */
+
+.media {
+  width: 694rpx;
+  height: 265rpx;
+  background: #D8D8D8;
+  border-radius: 1rpx;
+  margin: 20rpx auto;
+  display: block;
+}
+
+.next {
+  width: 330rpx !important;
+  height: 96rpx;
+  background: linear-gradient(270deg, #0089FD 0%, #43A9FF 100%);
+  border-radius: 20rpx;
+  text-align: center;
+  line-height: 96rpx;
+  font-size: 34rpx;
+  font-family: PingFangSC-Medium, PingFang SC;
+  font-weight: 500;
+  color: #FFFFFF;
+  box-sizing: border-box;
+  padding: 0;
+}

+ 6 - 7
miniprogram/pages/voyageManage/myDaily/myDaily.wxml

@@ -1,14 +1,13 @@
-<view class="p40">
-  <view class="m30">
+<view class="box">
+  <view class="title">
     <view> 请选择日报照片提交给货主(单选):</view>
-    <view class="fs24 p10">( 请遵守国家有关互联网信息安全相关法律 )</view>
+    <view class="tips">(请遵守国家有关互联网信息安全相关法律)</view>
   </view>
   <block wx:for="{{medias}}">
-    <view class="df aic jcsb" style="margin: 30rpx 0;">
+    <view class="df jcsb mt40">
       <checkbox bindtap="check" checked="{{index==currentIndex}}" data-index="{{index}}"></checkbox>
-      <image bindtap="check" style="width: 75vw;height: 260rpx;" src="{{item.viewUrl}}" data-index="{{index}}"></image>
+      <image bindtap="check" style="width: 609rpx;height: 265rpx;background: #D8D8D8;border-radius: 1rpx;" src="{{item.viewUrl}}" data-index="{{index}}"></image>
     </view>
   </block>
-
-  <view bindtap="examineMedia" class="next">下一步</view>
+  <view bindtap="examineMedia" class="update">下一步</view>
 </view>

+ 33 - 0
miniprogram/pages/voyageManage/myDaily/myDaily.wxss

@@ -0,0 +1,33 @@
+.box {
+  padding: 32rpx;
+}
+
+.title {
+  font-size: 30rpx;
+  font-family: PingFangSC-Medium, PingFang SC;
+  font-weight: 500;
+  color: #20252E;
+}
+
+.tips {
+  margin-top: 20rpx;
+  padding-left: 10rpx;
+  font-size: 26rpx;
+  font-family: PingFangSC-Medium, PingFang SC;
+  font-weight: 500;
+  color: #6C6C6C;
+}
+
+.update {
+  width: 590rpx;
+  height: 96rpx;
+  background: linear-gradient(270deg, #0089FD 0%, #43A9FF 100%);
+  border-radius: 20rpx;
+  text-align: center;
+  line-height: 96rpx;
+  font-size: 34rpx;
+  font-family: PingFangSC-Medium, PingFang SC;
+  font-weight: 500;
+  color: #FFFFFF;
+  margin: 113rpx auto;
+}