ソースを参照

评价样式调整

junyuanz 4 年 前
コミット
6f08d0efe4

+ 1 - 1
packageUser/pages/user/order/order.wxml

@@ -52,7 +52,7 @@
 	        
 	        
 			<view wx:if="{{!item.commend}}" class="order-btn__black">
-				<navigator url="/packageUser/pages/user/comment/comment?id={{item.id}}&pid={{item.product_id}}" open-type="navigate">商品评论 </navigator>
+				<navigator url="/packageUser/pages/user/comment/comment?id={{item.id}}&pid={{item.product_id}}" open-type="navigate">评价 </navigator>
 			</view>
 	      </view>
 	      <view class="clean"></view>

+ 12 - 10
packageUser/pages/user/order/order.wxss

@@ -61,6 +61,8 @@
       height: 200rpx;
       /* float: right; */
       display: inline-block;
+	  padding-left: 20rpx;
+	      box-sizing: border-box;
 }
 .order-info__title {
   color: #4c4c4c;
@@ -224,17 +226,17 @@ padding-top: 15px;
 font-size: 14px;
 }
 .order-btn__black {
-  float: right;
-  width: 158rpx;
-  height: 58rpx;
-  border: 1rpx solid #cccccc;
-  font-size: 28rpx;
-  color: #4c4c4c;
+  border: 1rpx solid #eab86a;
   text-align: center;
-  line-height: 58rpx;
-  margin-top: -15rpx;
-  margin-left: 20rpx;
-  border-radius: 5rpx;
+  line-height: 50rpx;
+  position: absolute;
+  z-index: 999;
+  right: 0;
+  bottom: 5rpx;
+  border-radius: 45px;
+  color: #eab86a;
+  font-size: 26rpx;
+  padding: 0rpx 25rpx;
 }
 
 .project-pack-list{

+ 1 - 1
packageUser/pages/user/orders/orders.wxml

@@ -42,7 +42,7 @@
 			        </view>
               <!-- <currency wx:if="{{item.status == 'unpay' || item.pay_way == 'weixinpay'}}" symbol="¥" value="{{nitem.price}}"></currency><text style="color:#bbb"> <text wx:if="{{item.status == 'unpay' || item.pay_way == 'balance'}}"> <text wx:if="{{item.status == 'unpay'}}"> 或</text> {{nitem.price}}提货券</text></text><currency symbol="¥" value="{{nitem.price}}" ></currency><text class="order-info__point">(或{{nitem.price}}提货券)</text> -->
             
-			<view wx:if="{{!nitem.commend}}" class="order-btn__black" catchtap="toCommend" data-id="{{nitem.id}}" data-pid="{{nitem.product_id}}">商品评论
+			<view wx:if="{{!nitem.commend}}" class="order-btn__black" catchtap="toCommend" data-id="{{nitem.id}}" data-pid="{{nitem.product_id}}">评价
 				<!-- <navigator url="/packageUser/pages/user/comment/comment?id={{nitem.id}}&pid={{nitem.product_id}}" open-type="navigate">商品评论 </navigator> -->
 			</view>
 			

+ 13 - 14
packageUser/pages/user/orders/orders.wxss

@@ -57,6 +57,7 @@
   width: 710rpx;
   background-color: #fcfcfc;
   margin-bottom:5px;
+  position: relative;
 }
 .order-main__left {
   width: 200rpx;
@@ -65,7 +66,7 @@
   vertical-align: top;
 }
 .order-main__right {
-  position: relative;
+  /* position: relative; */
   width: 490rpx;
   display: inline-block;
   padding: 0 15rpx;
@@ -114,19 +115,17 @@ bottom: 16rpx;
   height: 108rpx;
 }
 .order-btn__black {
-  float: right;
-  width: 158rpx;
-  height: 58rpx;
-  border: 1rpx solid #cccccc;
-  font-size: 28rpx;
-  color: #4c4c4c;
-  text-align: center;
-  line-height: 58rpx;
-  margin-top: 20rpx;
-  margin-left: 20rpx;
-  border-radius: 5rpx;
-  position: relative;
-  z-index: 999;
+     border: 1rpx solid #eab86a;
+     text-align: center;
+     line-height: 50rpx;
+     position: absolute;
+     z-index: 999;
+     right: 0;
+     bottom: 5rpx;
+     border-radius: 45px;
+     color: #eab86a;
+     font-size: 26rpx;
+     padding: 0rpx 25rpx;
 }
 .order-btn__red {
   float: right;