|
@@ -4,7 +4,11 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="top-container exp" wx:else="">
|
|
<view class="top-container exp" wx:else="">
|
|
|
<image class="avatar-icon" src="{{avater_exp}}"></image>
|
|
<image class="avatar-icon" src="{{avater_exp}}"></image>
|
|
|
- <view class="text" style="text-align: center;">{{userName?"":"体验用户"}}<text wx:if="{{userName}}" class="user-name">{{userName}}</text><text wx:if="{{phone}}" class="phone">{{phone}}</text></view>
|
|
|
|
|
|
|
+ <view class="text" style="text-align: center;">
|
|
|
|
|
+ {{userName?"":"体验用户"}}
|
|
|
|
|
+ <text wx:if="{{userName}}" class="user-name">{{userName}}</text>
|
|
|
|
|
+ <text wx:if="{{phone}}" class="phone">{{phone}}</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view wx:if="{{userId&&shipId}}">
|
|
<view wx:if="{{userId&&shipId}}">
|
|
|
<view class="new-camera camera-cargo">
|
|
<view class="new-camera camera-cargo">
|
|
@@ -13,22 +17,22 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="new-camera camera-bill">
|
|
<view class="new-camera camera-bill">
|
|
|
<image class="icon" data-mediatype="{{0}}" bindtap="takeBill" src="{{newCameraIcon}}"></image>
|
|
<image class="icon" data-mediatype="{{0}}" bindtap="takeBill" src="{{newCameraIcon}}"></image>
|
|
|
- <view data-mediatype="{{0}}" bindtap="takeBill"> 拍单据
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view data-mediatype="{{0}}" bindtap="takeBill">拍单据</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view wx:else>
|
|
<view wx:else>
|
|
|
<image wx:if="{{!userId&&!shipId||!userId}}" class="camera-icon" bindtap="takePhoto" data-mediatype="{{3}}" src="{{cameraIcon}}"></image>
|
|
<image wx:if="{{!userId&&!shipId||!userId}}" class="camera-icon" bindtap="takePhoto" data-mediatype="{{3}}" src="{{cameraIcon}}"></image>
|
|
|
<view wx:else style="margin-top: 20%;">
|
|
<view wx:else style="margin-top: 20%;">
|
|
|
<view class="line mb30">
|
|
<view class="line mb30">
|
|
|
- <view class="ship-name">船舶名称 : </view><input class="ship-name-ipt" model:value="{{shipName}}" type="text" placeholder="请输入船舶名称" />
|
|
|
|
|
|
|
+ <view class="ship-name">船舶名称 :</view>
|
|
|
|
|
+ <input class="ship-name-ipt" model:value="{{shipName}}" type="text" placeholder="请输入船舶名称" />
|
|
|
</view>
|
|
</view>
|
|
|
<view class="line">
|
|
<view class="line">
|
|
|
- <view class="ship-mmsi">MMSI : </view><input class="ship-mmsi-ipt" model:value="{{shipMmsi}}" type="number" placeholder="请输入MMSI" />
|
|
|
|
|
|
|
+ <view class="ship-mmsi">MMSI :</view>
|
|
|
|
|
+ <input class="ship-mmsi-ipt" model:value="{{shipMmsi}}" type="number" placeholder="请输入MMSI" />
|
|
|
</view>
|
|
</view>
|
|
|
<view bindtap="registerShip" class="submit">绑定船舶</view>
|
|
<view bindtap="registerShip" class="submit">绑定船舶</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="auth-modal" wx:if="{{authModal}}">
|
|
<view class="auth-modal" wx:if="{{authModal}}">
|
|
|
<view class="modal">
|
|
<view class="modal">
|
|
@@ -36,43 +40,53 @@
|
|
|
<view class="auth-btn" bindtap="openSetting">请授权{{modalText}}</view>
|
|
<view class="auth-btn" bindtap="openSetting">请授权{{modalText}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
-<view class="title">我的证书</view>
|
|
|
|
|
-<view class="pl30 pr30">
|
|
|
|
|
- <view class="df aic fs28 th">
|
|
|
|
|
- <view class="w20p tac">序号</view>
|
|
|
|
|
- <view class="w40p tac">证书名称</view>
|
|
|
|
|
- <view class="w40p tac">到期时间</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="df aic jcsb fs28 mt10 tr" wx:for="{{certs}}" wx:key="index">
|
|
|
|
|
- <view class="w20p tac">{{index+1}}</view>
|
|
|
|
|
- <view class="w40p tac">{{item.certTypeName}}</view>
|
|
|
|
|
- <view class="w40p tac">{{item.endValidTime}}</view>
|
|
|
|
|
|
|
+<view class="card">
|
|
|
|
|
+ <view class="card-title">我的证书</view>
|
|
|
|
|
+ <view class="">
|
|
|
|
|
+ <view class="df aic fs28 th mb20">
|
|
|
|
|
+ <view class="index-item tac">序号</view>
|
|
|
|
|
+ <view class="fg1 tac">证书名称</view>
|
|
|
|
|
+ <view class="end-time tac">到期时间</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="df aic jcsb fs28 tr mb10" style="{{certs.length===(index+1)?'border:none;margin-bottom:0!important;':''}}" wx:for="{{certs}}" wx:key="index">
|
|
|
|
|
+ <view class="index-item tac">{{index+1}}</view>
|
|
|
|
|
+ <view class="fg1 tac">{{item.certTypeName}}</view>
|
|
|
|
|
+ <view class="end-time tac">{{item.endValidTime}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-<view class="title">办证联系人</view>
|
|
|
|
|
-<view class="pl30 pr30">
|
|
|
|
|
- <view class="df aic jcsb fs28 th">
|
|
|
|
|
- <view class="w40p tac">办事处</view>
|
|
|
|
|
- <view class="w20p tac">姓名</view>
|
|
|
|
|
- <view class="w40p tac">电话</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="df aic jcsb fs28 mt10 tr" wx:for="{{contacts}}" wx:key="index">
|
|
|
|
|
- <view class="w40p tac">{{item.officeName}}</view>
|
|
|
|
|
- <view class="w20p tac">{{item.contactPerson}}</view>
|
|
|
|
|
- <view class="w40p tac df aic jcc" bind:tap="makePhoneCall" data-phone="{{item.contactPhone}}">
|
|
|
|
|
- <image class="tel ml10" data-phone="{{item.contactPhone}}" src="../../images/tel.png" mode="aspectFit" />
|
|
|
|
|
|
|
+<view class="card">
|
|
|
|
|
+ <view class="card-title">办证联系人</view>
|
|
|
|
|
+ <view class="">
|
|
|
|
|
+ <view class="df aic jcsb fs28 th">
|
|
|
|
|
+ <view class="index-item tac">序号</view>
|
|
|
|
|
+ <view class="w50p tac">办事处</view>
|
|
|
|
|
+ <view class="w30p tac">姓名</view>
|
|
|
|
|
+ <view class="w20p tac">电话</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="df aic jcsb fs28 mt10 tr" style="{{contacts.length===(index+1)?'border:none;margin-bottom:0!important;':''}}" wx:for="{{contacts}}" wx:key="index">
|
|
|
|
|
+ <view class="index-item tac">{{index+1}}</view>
|
|
|
|
|
+ <view class="w50p tac">{{item.officeName}}</view>
|
|
|
|
|
+ <view class="w30p tac">{{item.contactPerson}}</view>
|
|
|
|
|
+ <view class="w20p tac df aic jcc" bind:tap="makePhoneCall" data-phone="{{item.contactPhone}}">
|
|
|
|
|
+ <image class="tel ml10" data-phone="{{item.contactPhone}}" src="../../images/tel.png" mode="aspectFit" />
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-<view class="title">油价走势</view>
|
|
|
|
|
-<view class="pl30 pr30" style="padding-bottom: 200rpx;">
|
|
|
|
|
- <view class="df aic fs28 th">
|
|
|
|
|
- <view class="w50p tac">加油服务商</view>
|
|
|
|
|
- <view class="w50p tac">油价(元/吨)</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="df aic jcsb fs28 mt10 tr" wx:for="{{oilPriceList}}" wx:key="index">
|
|
|
|
|
- <view class="w50p tac">{{item.vendorName}}</view>
|
|
|
|
|
- <view class="w50p tac">{{item.price}}</view>
|
|
|
|
|
|
|
+<view class="card ">
|
|
|
|
|
+ <view class="card-title">油价走势</view>
|
|
|
|
|
+ <view class="">
|
|
|
|
|
+ <view class="df aic fs28 th">
|
|
|
|
|
+ <view class="index-item tac">序号</view>
|
|
|
|
|
+ <view class="w60p tac">加油服务商</view>
|
|
|
|
|
+ <view class="w40p tac">油价(元/吨)</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="df aic jcsb fs28 mt10 tr" style="{{oilPriceList.length===(index+1)?'border:none;margin-bottom:0!important;':''}}" wx:for="{{oilPriceList}}" wx:key="index">
|
|
|
|
|
+ <view class="index-item tac">{{index+1}}</view>
|
|
|
|
|
+ <view class="w60p tac">{{item.vendorName}}</view>
|
|
|
|
|
+ <view class="w40p tac">{{item.price}}</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
-</view>
|
|
|
|
|
|
|
+</view>
|
|
|
|
|
+<view class="h200"></view>
|