lyy@qq.com vor 11 Monaten
Ursprung
Commit
1e7d762b2f

+ 1 - 0
components/specPopup.vue

@@ -296,6 +296,7 @@
 		justify-content: space-around;
 		align-items: center;
 		padding-top: 80upx;
+		padding-bottom: 40upx;
 
 		.btn {
 			width: 45%;

+ 1 - 1
env/dev.js

@@ -1,5 +1,5 @@
 const ENV_PATH = {
-  serverPath: 'http://192.168.5.3:8080', // 请求前缀地址
+  serverPath: 'http://47.107.53.207:8914', // 请求前缀地址
   //serverFilePath: 'https://lsfdev.benyuntech.com/data/access', // 文件前缀地址
   appId: 'wxfc1ae62fd810717d', // 小程序 appid
   appName: '销售小程序', // 小程序名称(登录页面显示的名称)

+ 0 - 1
pages/classify/classify.vue

@@ -43,7 +43,6 @@
 				</view>
 			</view>
 		</view>
-		<my-gap :height="10" />
 		<specPopup class='spec-box' ref="specPopup" :cardMsg="cardMsg" @update-shopmsg="handleUpdateShopMsg"
 			@addShop="carListMeg">
 		</specPopup>

+ 12 - 6
pages/diningList/diningList.vue

@@ -148,11 +148,16 @@
 		background-color: #fff;
 
 		.btnbor {
-			margin: -32rpx -20rpx 0;
-			// margin-right: -11px;
-			margin-top: 8px;
-			float: right;
-			position: relative; // 设置为相对定位
+			position: absolute;
+			/* 设置为绝对定位 */
+			right: 16px;
+			/* 相对于父元素的右边缘 */
+			bottom: 30px;
+			/* 相对于父元素的下边缘 */
+			margin: 0;
+			/* 清除 margin 属性 */
+			padding: 0;
+			/* 清除 padding 属性 */
 
 			&::after {
 				content: '';
@@ -165,7 +170,8 @@
 				top: 0;
 				right: 0;
 				background-color: #fff;
-				z-index: -1; // 使边框在图片下面
+				z-index: -1;
+				/* 使边框在图片下面 */
 			}
 		}
 	}

+ 6 - 6
pages/goodDetail/goodDetail.vue

@@ -30,8 +30,8 @@
 					</view> -->
 				</view>
 				<view class="container">
-					<u-tag type="error" icon="coupon"></u-tag>
-					<u-tag text="平台活动" type="error" plain plainFill></u-tag>
+					<u-tag type="error" icon="coupon" size="mini"></u-tag>
+					<u-tag text="平台活动" type="error" plain plainFill  size="mini"></u-tag>
 				</view>
 				<!-- <view class="coupon">
 					<view class="mj-tag">
@@ -49,7 +49,7 @@
 			<!-- 06. 详情区 -->
 			<view class="gap"></view>
 			<view class="spec-cell">
-				<u-cell title="已选" isLink clickable @click="clickSpec" :border="false">
+				<u-cell title="规格" isLink clickable @click="clickSpec" :border="false">
 					<text slot="value" class="u-slot-value">{{specValue}}</text>
 				</u-cell>
 			</view>
@@ -73,11 +73,11 @@
 		<!-- 07. 操作区 -->
 		<view class="cart-bottom padding-sm dflex-b">
 			<view style="width: 60px;">
-				<u-icon :name="service" label="客服" labelPos="bottom" size="32" @click="call"></u-icon>
+				<u-icon :name="service" label="客服" labelSize="10px" color="#9A9A9A" labelPos="bottom" size="24" @click="call"></u-icon>
 			</view>
 			<view style="width: 60px;">
 				<uni-badge size="small" :text="buyCount" absolute="rightTop">
-					<u-icon :name="shoppingCart" label="购物车" labelPos="bottom" size="32" @click="showCart"></u-icon>
+					<u-icon :name="shoppingCart" label="购物车" labelSize="10px" labelPos="bottom" size="24" @click="showCart"></u-icon>
 				</uni-badge>
 			</view>
 			<view class="go-cart dflex-c" @click="toShop">加入购物车</view>
@@ -430,7 +430,7 @@
 	}
 
 	.u-slot-value {
-		font-size: 12px;
+		font-size: 16px;
 	}
 
 	.cart-bottom {

+ 2 - 2
pages/order/orderPaid/orderPaid.vue

@@ -93,7 +93,7 @@
 		<view class="bg-main">
 			<view class="dflex-b padding-lr padding-tb-sm">
 				<view class="flex1 send-label">总金额</view>
-				<view class=""><text style="font-size: 24rpx;">¥</text>{{goods.totalAmount}}</view>
+				<view class="price">{{goods.totalAmount}}</view>
 			</view>
 		</view>
 		<view class="gap"></view>
@@ -273,7 +273,7 @@
 		color: #FFF;
 
 		.state-info {
-			font-size: 14px;
+			font-size: 18px;
 			padding-bottom: 4px;
 		}
 

+ 1 - 1
pages/order/submitOrder/submitOrder.vue

@@ -60,7 +60,7 @@
 		<view class="bg-main">
 			<view class="dflex-b padding-lr padding-tb-sm">
 				<view class="flex1">总金额</view>
-				<view class=""><text style="font-size: 24rpx;">¥</text>{{data.total}}</view>
+				<view class="price">{{data.total}}</view>
 			</view>
 			<!-- <view class="dflex-b padding-lr padding-tb-sm">
 				<view class="flex1">运费 (总重:4.960 kg )</view>

BIN
static/service.png


BIN
static/shoppingCart.png


+ 1 - 1
style/common.scss

@@ -31,7 +31,7 @@ view[class*='-round-area']{ border-radius: 20rpx; }
 /**
  * 组件公共样式
  **/
-.price{font-size: 36rpx; color: #ff6a6c; line-height: 1; font-weight: 580;}.m-price{font-size: 24rpx;text-decoration: line-through;color: #909399;margin-left: 20rpx;}
+.price{font-size: 36rpx; color: #FF0000; line-height: 1; font-weight: 580;}.m-price{font-size: 24rpx;text-decoration: line-through;color: #909399;margin-left: 20rpx;}
 .price::before{ content: '¥'; font-size: 24rpx; } .m-price::before{ content: '¥'; font-size: 24rpx; }
 .price::after{ content: attr(data-decimal); font-size: 24rpx; }
 .price-add::before { content: '+'; font-weight: 600; }