浏览代码

样式修改

黄琪勇 4 月之前
父节点
当前提交
84b01d143b

+ 1 - 1
miniprogram/pages/address/addAddress.less

@@ -94,7 +94,7 @@
       font-weight: 600;
       font-size: 32rpx;
       color: #FFFFFF;
-      line-height: 88rpx;
+      line-height: 84rpx;
       text-align: center;
       background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
       background-size: 100% 100%;

+ 1 - 1
miniprogram/pages/address/addAddress.wxml

@@ -7,7 +7,7 @@
       <view class="fromCon">
         <text class="fromTit">收货人</text>
         <view class="fromIpt">
-          <van-field maxlength="11" model:value="{{ name }}" input-align="left" placeholder="请输入收货人姓名" border="{{ false }}" />
+          <van-field maxlength="50" model:value="{{ name }}" input-align="left" placeholder="请输入收货人姓名" border="{{ false }}" />
         </view>
       </view>
       <view class="fromCon">

+ 2 - 2
miniprogram/pages/address/addressList.less

@@ -153,11 +153,11 @@
 
     .subBtn {
       width: 100%;
-      height: 88rpx;
+      height: 84rpx;
       font-weight: 600;
       font-size: 32rpx;
       color: #FFFFFF;
-      line-height: 88rpx;
+      line-height: 84rpx;
       background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
       background-size: 100% 100%;
       display: flex;

+ 3 - 0
miniprogram/pages/index/index.less

@@ -406,6 +406,9 @@ page {
         display: flex;
         flex-wrap: wrap;
 
+        &.lastGoodsList{
+          padding-bottom: 72rpx;
+        }
         &.instrumentsList {
           .goodsItem {
             padding: 10rpx 24rpx;

+ 4 - 4
miniprogram/pages/index/index.ts

@@ -28,10 +28,10 @@ Page({
     windowHeight: 0, // 屏幕高度
     elementHeight: 180, // 元素高度
     goodsImgList: [
-      "https://oss.dayaedu.com/ktyq/1739518565519.png",
-      "https://oss.dayaedu.com/ktyq/1739518602666.png",
-      "https://oss.dayaedu.com/ktyq/1739518623253.png",
-      "https://oss.dayaedu.com/ktyq/1739518638007.png"
+      "https://oss.dayaedu.com/ktyq/1739953136282.png",
+      "https://oss.dayaedu.com/ktyq/1739953165012.png",
+      "https://oss.dayaedu.com/ktyq/1739953178386.png",
+      "https://oss.dayaedu.com/ktyq/1739953196763.png"
     ],
     serviceShow: true,
     popupShow: false,

+ 1 - 1
miniprogram/pages/index/index.wxml

@@ -70,7 +70,7 @@
             </view>
           </view>
           <view class="desc">时长</view>
-          <view class="goodsList">
+          <view class="goodsList lastGoodsList">
             <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">
               <text class="name">{{ item.typeName }}</text>
               <image class="iconSale" wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>

+ 3 - 3
miniprogram/pages/member/addMember.less

@@ -176,7 +176,7 @@
     position: fixed;
     left: 0;
     bottom: 0;
-    padding: 32rpx 40rpx 56rpx;
+    padding: 24rpx 32rpx 56rpx;
     width: 100%;
     box-sizing: border-box;
     background: #FFFFFF;
@@ -185,12 +185,12 @@
 
     .subBtn {
       width: 100%;
-      height: 88rpx;
+      height: 84rpx;
       font-weight: 600;
       font-size: 32rpx;
       color: #FFFFFF;
       text-align: center;
-      line-height: 88rpx;
+      line-height: 84rpx;
       background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
       background-size: 100% 100%;
     }

+ 2 - 2
miniprogram/pages/member/memberList.less

@@ -153,11 +153,11 @@
 
     .subBtn {
       width: 100%;
-      height: 88rpx;
+      height: 84rpx;
       font-weight: 600;
       font-size: 32rpx;
       color: #FFFFFF;
-      line-height: 88rpx;
+      line-height: 84rpx;
       background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
       background-size: 100% 100%;
       display: flex;

+ 5 - 7
miniprogram/pages/orders/order-detail.less

@@ -333,6 +333,7 @@
     }
 
     .stuff {
+      line-height: 40rpx;
       margin-right: 4rpx;
     }
 
@@ -400,7 +401,7 @@
 
       button {
         width: 100%;
-        line-height: 88rpx;
+        line-height: 84rpx;
         background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
         background-size: 100% 100%;
         font-weight: 500;
@@ -451,9 +452,7 @@
           font-size: 28rpx;
           color: #131415;
           line-height: 40rpx;
-          white-space: nowrap;
-          overflow: hidden;
-          text-overflow: ellipsis;
+          word-break: break-all;
         }
 
         .infoCon {
@@ -545,7 +544,7 @@
 
       button {
         width: 100%;
-        line-height: 88rpx;
+        line-height: 84rpx;
         background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
         background-size: 100% 100%;
         font-weight: 500;
@@ -592,6 +591,7 @@
   .goodsInfo {
     display: flex;
     justify-content: space-between;
+    align-items: center;
     margin-top: 8rpx;
 
     .goods-name {
@@ -612,8 +612,6 @@
       font-weight: bold;
       font-size: 24rpx;
       color: #131415;
-      line-height: 48rpx;
-      display: flex;
 
       .stuff {
         margin-right: 6rpx;

+ 4 - 0
miniprogram/pages/orders/order-result.less

@@ -25,6 +25,7 @@
     color: rgba(0, 0, 0, 0.5);
     line-height: 34rpx;
     text-align: center;
+    z-index: 122;
   }
 
   .record-list {
@@ -96,6 +97,9 @@
   line-height: 40rpx;
   margin-bottom: 32rpx;
   position: relative;
+  &.priceTip{
+    margin-bottom: 0;
+  }
 }
 
 .item-content {

+ 1 - 1
miniprogram/pages/orders/order-result.ts

@@ -152,7 +152,7 @@ Page({
       YEAR: "年"
     }
     if (type === "YEAR" && num >= 99) {
-      return '永久'
+      return '时长: 永久'
     }
     return "时长: " + num + template[type]
   },

+ 1 - 1
miniprogram/pages/orders/order-result.wxml

@@ -48,7 +48,7 @@
       </view>
     </view>
     <view class="order-content">
-      <view class="titTip">价格明细</view>
+      <view class="titTip priceTip">价格明细</view>
       <view class="priceDetails">
         <view class="priceLeft">
           <text>商品总价</text>

+ 3 - 0
miniprogram/pages/orders/orders.less

@@ -260,6 +260,9 @@
       font-size: 24rpx;
       color: #FE462E;
       line-height: 54rpx;
+      &::after {
+        border: none;
+      }
     }
 
     .lookDetails {

+ 1 - 1
miniprogram/pages/orders/orders.ts

@@ -169,7 +169,7 @@ Page({
       YEAR: "年"
     }
     if (type === "YEAR" && num >= 99) {
-      return '永久'
+      return '时长: 永久'
     }
     return "时长: " + num + template[type]
   },