Browse Source

van-fab样式的阴影

feature/v2.3
xpz2018 4 years ago
parent
commit
21a8e3fee2
14 changed files with 21 additions and 13 deletions
  1. 8
      app.wxss
  2. 2
      pages/home/customer-list/index.wxml
  3. 2
      pages/home/employee/index.wxml
  4. 2
      pages/home/factory-list/index.wxml
  5. 2
      pages/process/order-info/index.wxml
  6. 2
      pages/process/order-list/index.wxml
  7. 2
      pages/process/outside-info/index.wxml
  8. 2
      pages/process/outside-list/index.wxml
  9. 2
      pages/process/outside-price/index.wxml
  10. 2
      pages/setting/paper-list/index.wxml
  11. 2
      pages/setting/vehicle-list/index.wxml
  12. 2
      pages/storage/order-info/index.wxml
  13. 2
      pages/storage/order-list/index.wxml
  14. 2
      pages/storage/order-settlement/index.wxml

8
app.wxss

@ -38,6 +38,14 @@
opacity: .5 opacity: .5
} }
.van-fab{
border-radius: 50rpx;
position: fixed;
bottom:160rpx;
right:50rpx;
box-shadow: 0 0 8rpx rgba(0,0,0,.14),0 8rpx 16rpx rgba(0,0,0,.28);
}
page { page {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',

2
pages/home/customer-list/index.wxml

@ -61,7 +61,7 @@
</view> </view>
</scroll-view> </scroll-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx">
<view class="van-fab">
<van-button round type="info" icon="plus" bind:click="addCustomer" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="addCustomer" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>
<notification id="qn-notification"/> <notification id="qn-notification"/>

2
pages/home/employee/index.wxml

@ -55,7 +55,7 @@
</van-cell> </van-cell>
</view> </view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{qrcode}}">
<view class="van-fab" wx:if="{{qrcode}}">
<van-button round type="info" icon="plus" open-type="share" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" open-type="share" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/home/factory-list/index.wxml

@ -53,7 +53,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{tabIndex == 0 && userInfo.factoryId}}">
<view class="van-fab" wx:if="{{tabIndex == 0 && userInfo.factoryId}}">
<van-button round type="info" icon="plus" bind:click="showDialog" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="showDialog" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/process/order-info/index.wxml

@ -204,7 +204,7 @@
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="paymentOrder">客户结算</van-button> <van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="paymentOrder">客户结算</van-button>
</submit-layout> </submit-layout>
<view style="border-radius: 50rpx;position:fixed;bottom:{{160 + safeBottom}}rpx;right:50rpx" wx:if="{{form && form.status != 6}}">
<view class="van-fab" style="bottom:{{160 + safeBottom}}rpx;" wx:if="{{form && form.status != 6}}">
<van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx"> <van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx">
<van-icon name="/assets/image/icon-print.png" size="100rpx"/> <van-icon name="/assets/image/icon-print.png" size="100rpx"/>
</van-button> </van-button>

2
pages/process/order-list/index.wxml

@ -92,7 +92,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{admin}}">
<view class="van-fab" wx:if="{{admin}}">
<van-button round type="info" icon="plus" bind:click="addOrder" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="addOrder" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/process/outside-info/index.wxml

@ -241,7 +241,7 @@
<van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="paymentOrder" wx:if="{{form.orderStatus == 42}}">客户结算</van-button> <van-button type="info" custom-style="height:88rpx;width:300rpx" bind:click="paymentOrder" wx:if="{{form.orderStatus == 42}}">客户结算</van-button>
</submit-layout> </submit-layout>
<view style="border-radius: 50rpx;position: fixed;bottom:{{160 + safeBottom}}rpx;right:50rpx" wx:if="{{form && form.orderStatus != 6}}">
<view class="van-fab" style="bottom:{{160 + safeBottom}}rpx;" wx:if="{{form && form.orderStatus != 6}}">
<van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx"> <van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx">
<van-icon name="/assets/image/icon-print.png" size="100rpx"/> <van-icon name="/assets/image/icon-print.png" size="100rpx"/>
</van-button> </van-button>

2
pages/process/outside-list/index.wxml

@ -90,7 +90,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{admin}}">
<view class="van-fab" wx:if="{{admin}}">
<van-button round type="info" icon="plus" bind:click="addOutside" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="addOutside" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/process/outside-price/index.wxml

@ -167,7 +167,7 @@
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="checkForm">审核</van-button> <van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="checkForm">审核</van-button>
</submit-layout> </submit-layout>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{form && form.orderStatus == 3}}">
<view class="van-fab" wx:if="{{form && form.orderStatus == 3}}">
<van-button round type="info" bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;"> <van-button round type="info" bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;">
<van-icon name="printer" size="30px"/> <van-icon name="printer" size="30px"/>
</van-button> </van-button>

2
pages/setting/paper-list/index.wxml

@ -29,7 +29,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx">
<view class="van-fab">
<van-button round type="info" icon="plus" bind:click="lookItem" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="lookItem" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/setting/vehicle-list/index.wxml

@ -35,7 +35,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx">
<view class="van-fab">
<van-button round type="info" icon="plus" bind:click="lookItem" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="lookItem" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/storage/order-info/index.wxml

@ -298,7 +298,7 @@
<van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="settleForm" wx:if="{{orderInfo.status == 1}}">收款结算</van-button> <van-button type="info" custom-style="height:88rpx;width:686rpx" bind:click="settleForm" wx:if="{{orderInfo.status == 1}}">收款结算</van-button>
</submit-layout> </submit-layout>
<view style="border-radius: 50rpx;position:fixed;bottom:{{160 + safeBottom}}rpx;right:50rpx">
<view class="van-fab" style="bottom:{{160 + safeBottom}}rpx;">
<van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx"> <van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx">
<van-icon name="/assets/image/icon-print.png" size="100rpx"/> <van-icon name="/assets/image/icon-print.png" size="100rpx"/>
</van-button> </van-button>

2
pages/storage/order-list/index.wxml

@ -66,7 +66,7 @@
</van-divider> </van-divider>
</refresh-view> </refresh-view>
<view style="border-radius: 50rpx;position: fixed;bottom:160rpx;right:50rpx" wx:if="{{admin}}">
<view class="van-fab" wx:if="{{admin}}">
<van-button round type="info" icon="plus" bind:click="addStorageOrder" custom-style="width: 100rpx;height: 100rpx;"></van-button> <van-button round type="info" icon="plus" bind:click="addStorageOrder" custom-style="width: 100rpx;height: 100rpx;"></van-button>
</view> </view>

2
pages/storage/order-settlement/index.wxml

@ -145,7 +145,7 @@
</van-collapse-item> </van-collapse-item>
</van-collapse> </van-collapse>
<view style="border-radius: 50rpx;position:fixed;bottom:{{160 + safeBottom}}rpx;right:50rpx">
<view class="van-fab" style="bottom:{{160 + safeBottom}}rpx;">
<van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx"> <van-button round bind:click="printOrderInfo" custom-style="width: 100rpx;height: 100rpx;padding-top:12rpx">
<van-icon name="/assets/image/icon-print.png" size="100rpx"/> <van-icon name="/assets/image/icon-print.png" size="100rpx"/>
</van-button> </van-button>

Loading…
Cancel
Save