| <template> | 
|     <view> | 
|         <!-- <u-navbar back-text="" title="首页" :custom-back="back"></u-navbar> --> | 
|         <u-card margin="0rpx" title="常用操作"> | 
|             <view class="" slot="body"> | 
|                 <u-grid :col="3"> | 
|                     <u-grid-item @click="deliverying"> | 
|                         <view class="iconBg green1"> | 
|                             <text class="txt color txt1">收</text> | 
|                         </view> | 
|                         <view class="grid-text">收货</view> | 
|                     </u-grid-item> | 
|                      | 
|                      | 
|                     <u-grid-item @click="groupingTp"> | 
|                         <view class="iconBg green1"> | 
|                             <text class="txt color txt1">上</text> | 
|                         </view> | 
|                         <view class="grid-text">码盘上架</view> | 
|                     </u-grid-item> | 
|                      | 
|                      | 
|             <!--         <u-grid-item @click="sorting"> | 
|                         <view class="iconBg green1"> | 
|                             <text class="txt color txt1">分</text> | 
|                         </view> | 
|                         <view class="grid-text">分拣</view> | 
|                     </u-grid-item> --> | 
|                      | 
|                     <u-grid-item @click="calling"> | 
|                         <view class="iconBg green1"> | 
|                             <text class="txt color txt1">呼</text> | 
|                         </view> | 
|                         <view class="grid-text">呼叫托盘</view> | 
|                     </u-grid-item> | 
|                      | 
|                 </u-grid> | 
|   | 
|             </view> | 
|         </u-card> | 
|     </view> | 
| </template> | 
|   | 
| <script> | 
|     export default { | 
|         data() { | 
|             return { | 
|                 count: '9' | 
|             }; | 
|         }, | 
|         onShow() { | 
|         }, | 
|      | 
|         methods: { | 
|              | 
|             // 呼叫托盘 | 
|             calling() { | 
|                 uni.navigateTo({ | 
|                     url: '../callTp/callTp' | 
|                 }); | 
|             }, | 
|             // 分拣 | 
|             sorting() { | 
|                 uni.navigateTo({ | 
|                     url: '../Sorting/Sorting' | 
|                 }); | 
|             }, | 
|             // 收货 | 
|             deliverying() { | 
|                 uni.navigateTo({ | 
|                     url: '../deliverying/deliverying' | 
|                 }); | 
|             }, | 
|             // 组盘 | 
|             groupingTp() { | 
|                 uni.navigateTo({ | 
|                     url: '../groupingTp/groupingTp' | 
|                 }); | 
|             }, | 
|          | 
|         } | 
|     } | 
| </script> | 
| <style lang="scss"> | 
|     .iconBg { | 
|         margin-bottom: 5px; | 
|         font-size: 1.2rem; | 
|         color: white; | 
|         display: inline-block; | 
|         border-radius: 25px; | 
|         line-height: 20px; | 
|         width: 40px; | 
|         height: 40px; | 
|         padding: 5px; | 
|         position: relative; | 
|         cursor: pointer; | 
|         font-weight: 500; | 
|         text-decoration: none; | 
|         white-space: nowrap; | 
|         background-image: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #f5a3a0), color-stop(5%, #ff0066), color-stop(100%, #ff6600)); | 
|         transition: background-color 0.2s ease-out; | 
|         border-radius: 8px; | 
|   | 
|         .txt { | 
|             position: absolute; | 
|             top: 10px; | 
|             left: 10px; | 
|             width: 30px; | 
|             height: 30px; | 
|             z-index: 100; | 
|             display: block; | 
|   | 
|             &.color { | 
|                 text-transform: uppercase; | 
|                 background-image: linear-gradient(to right, orangered, orange, gold, lightgreen, cyan, dodgerblue, mediumpurple, hotpink, orangered); | 
|                 -webkit-background-clip: text; | 
|                 -webkit-text-fill-color: transparent; | 
|                 color: white; | 
|                 background-size: 30px; | 
|             } | 
|   | 
|             &.txt1 { | 
|                 background-size: 40px; | 
|                 animation: sliding1 30s linear infinite; | 
|             } | 
|         } | 
|   | 
|         &.green1 { | 
|             background-image: -webkit-gradient(linear, | 
|                     left top, | 
|                     left bottom, | 
|                     color-stop(5%, #68ea68), | 
|                     color-stop(5%, #127e12), | 
|                     color-stop(100%, #1aad19)); | 
|             border: 1px solid #0f680f; | 
|             color: white !important; | 
|   | 
|             &::after { | 
|                 position: absolute; | 
|                 top: 5px; | 
|                 left: 5px; | 
|                 width: 20px; | 
|                 height: 20px; | 
|                 z-index: 0; | 
|                 border-radius: 4em; | 
|                 background-color: #127812; | 
|                 content: " "; | 
|                 display: block; | 
|                 padding: 5px; | 
|             } | 
|         } | 
|   | 
|     } | 
|   | 
|     /deep/.u-card__body { | 
|         padding: 0 !important; | 
|     } | 
|   | 
|     @keyframes sliding { | 
|         to { | 
|             background-position: -100px; | 
|         } | 
|     } | 
|   | 
|     @keyframes sliding1 { | 
|         to { | 
|             background-position: -150px; | 
|         } | 
|     } | 
| </style> |