#
whycq
2022-04-07 69a6c47157aa56b223ae61766a55466338cdffb0
pages/basics/matQuery.vue
New file
@@ -0,0 +1,110 @@
<template>
   <scroll-view scroll-y>
      <view>
         <view class="container">
            <view class="text-box">
               <view class="text-title"><text>商品编码</text></view>
               <view class="text-title"><text>1111</text></view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>商品名称</text></view>
               <view class="text-title">显示器</view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>规格</text></view>
               <view class="text-title">24英寸</view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>批号</text></view>
               <view class="text-title">YC-897998776</view>
            </view>
            <view class="text-box">
               <view class="text-title"><text>数量</text></view>
               <view class="text-title">
                  <view>
                     <uni-number-box color="#747474"  @change="changeValue" />
                  </view>
               </view>
            </view>
         </view>
      </view>
      <view class="foot flex justify-center">
         <label for="">
            <button class="cu-btn bg-blue">提取</button>
         </label>
      </view>
   </scroll-view>
</template>
<script>
   export default {
      data() {
         return {
            vModelValue:''
         }
      },
      methods: {
         blur() {
         },
         focus() {
         },
         changeValue() {
         },
      }
   }
</script>
<style>
   .container {
      width: 100%;
      height: 100%;
      background-color: #ffffff;
   }
   .text-box {
      height: 100rpx;
      line-height: 100rpx;
      margin-top: 20rpx;
      margin-left: 10%;
      width: 80%;
      font-size: 36rpx;
      font-weight: 700;
      color: #434343;
      border-bottom: 1rpx solid #e8e8e8;
   }
   .text-box:last-child {
      border-bottom: none;
   }
   .text-box:last-child .text-title:last-child {
      display: flex;
      height: 100%;
      align-items: center;
   }
   .text-box .text-title {
      width: 30%;
      float: left;
      display: inline-block;
   }
   .text-box .text-title:last-child {
      display: inline-block;
      margin-left: 10%;
      width: 60%;
      font-size: 30rpx;
      font-weight: 400;
      color: #747474;
   }
   .foot {
      width: 100%;
      height: 100rpx;
      line-height: 100rpx;
      background-color: rgba(255,255,255,1);
      position: fixed;
      bottom: 0%;
      border-top: 1px solid #d8d8d8;
      z-index: 1;
   }
</style>