Commit 22320d2f by 李嘉林

ui优化

parent ff9eba45
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"scripts": { "scripts": {
"dev:wx": "cross-env NODE_ENV=development node build/dev-server.js wx", "dev:wx": "cross-env NODE_ENV=development node build/dev-server.js wx",
"dev:xhyx_uat": "cross-env NODE_ENV=xhyx_uat node build/dev-server.js wx", "dev:xhyx_uat": "cross-env NODE_ENV=xhyx_uat node build/dev-server.js wx",
"dev:production": "cross-env NODE_ENV=production node build/dev-server.js wx",
"pro:wx": "cross-env NODE_ENV=production node build/dev-server.js wx", "pro:wx": "cross-env NODE_ENV=production node build/dev-server.js wx",
"start:wx": "npm run dev:wx", "start:wx": "npm run dev:wx",
"build:wx": "cross-env NODE_ENV=production node build/build.js wx", "build:wx": "cross-env NODE_ENV=production node build/build.js wx",
......
...@@ -19,12 +19,15 @@ export default { ...@@ -19,12 +19,15 @@ export default {
development: { mixid: "antgood", "shopid": 67}, development: { mixid: "antgood", "shopid": 67},
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可 // production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"metasense_doctors", "shopid": 1238 }, // 册为医护端 // production: { "mixid":"metasense_doctors", "shopid": 1238 }, // 册为医护端
production: { "mixid":"3QqsFT", "shopid": 1337 }, // production: { "mixid":"3QqsFT", "shopid": 1337 },
// production: { "mixid":"notSHOWROOM", "shopid": 1274 }, // 诸色
// production: { "mixid":"LLGW", "shopid": 981 }, // 贺砚堂
// production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八 // production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩 // production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
// production: { "mixid":"ant", "shopid": 6 }, // 小工蚁 // production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为 // production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为
// production: { "mixid":"5BkDRR", "shopid": 1316 }, // lost in echo订货 production: { "mixid":"5BkDRR", "shopid": 1316 }, // lost in echo订货
production: { "mixid":"CYNZ", "shopid": 1609 }, // 晨语女装
xhyx_uat: { "mixid":"xhyxshop", "shopid": 1 }, xhyx_uat: { "mixid":"xhyxshop", "shopid": 1 },
xhyx_prod: { "mixid":"antgood", "shopid": 67 }, xhyx_prod: { "mixid":"antgood", "shopid": 67 },
wly_prod: { "mixid":"WLYSWT", "shopid": 2 } wly_prod: { "mixid":"WLYSWT", "shopid": 2 }
......
...@@ -729,7 +729,7 @@ $wrapWidth: 50px; ...@@ -729,7 +729,7 @@ $wrapWidth: 50px;
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: -8px; left: -9px;
right: 0; right: 0;
bottom: 0; bottom: 0;
border-radius: 34px; border-radius: 34px;
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
width: 100%; width: 100%;
position: absolute; position: absolute;
text-align: center; text-align: center;
bottom: 8rpx; bottom: 20rpx;
} }
.nav { .nav {
width: 120rpx; width: 120rpx;
......
...@@ -214,13 +214,17 @@ image{ ...@@ -214,13 +214,17 @@ image{
bottom: 0; bottom: 0;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 120rpx;
border-radius: 4rpx;
overflow: hidden;
} }
.custom-indicator .custom-indicator__item { .custom-indicator .custom-indicator__item {
width: 32rpx; flex: 1;
border: 2rpx solid rgba(0, 0, 0, 0.1); height: 8rpx;
background: rgba(0,0,0,0.1);
} }
.custom-indicator .custom-indicator__active { .custom-indicator .custom-indicator__active {
border: 2rpx solid #C72A30; background: var(--main-color);
} }
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
.hot_words_class { .hot_words_class {
width:100%; width:100%;
padding: 0 8px; padding: 0 8px;
margin-bottom: 10px;
} }
.hot_words_box { .hot_words_box {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<view class="ranking-list__content"> <view class="ranking-list__content">
<block wx:for="{{rankingList}}"> <block wx:for="{{rankingList}}">
<view class="flex list-item" bindtap="handleItemClick" data-item="{{item}}"> <view class="flex list-item" bindtap="handleItemClick" data-item="{{item}}">
<image class="image" src="{{item.productImgUrl}}" /> <image class="image" mode="aspectFill" src="{{item.productImgUrl}}" />
<view class="content line-clamp1">{{ item.productName }}</view> <view class="content line-clamp1">{{ item.productName }}</view>
<view class="price">¥{{ item.minPrice }}</view> <view class="price">¥{{ item.minPrice }}</view>
</view> </view>
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
.ranking-list__content .image { .ranking-list__content .image {
width: 148rpx; width: 148rpx;
height: 148rpx; height: 148rpx;
border-radius: 16rpx;
} }
.ranking-list__content .content { .ranking-list__content .content {
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
.ranking-list__content .price { .ranking-list__content .price {
margin: 12rpx 0 24rpx; margin: 12rpx 0 24rpx;
color: #C72A30; color: var(--main-color);
font-weight: 600; font-weight: 600;
font-size: 24rpx; font-size: 24rpx;
} }
...@@ -117,8 +117,8 @@ ...@@ -117,8 +117,8 @@
.price { .price {
font-weight: 600; font-weight: 600;
margin-top: 10rpx; margin-top: 10rpx;
color: #ff3434; color: #333;
font-size: 32rpx; font-size: 28rpx;
} }
.delPrice { .delPrice {
text-decoration: line-through; text-decoration: line-through;
...@@ -129,7 +129,6 @@ ...@@ -129,7 +129,6 @@
.goods1 .goods-item .info .btn { .goods1 .goods-item .info .btn {
font-size: 24rpx; font-size: 24rpx;
/* background: var(--main-color); */ /* background: var(--main-color); */
padding: 8rpx;
color: #fff; color: #fff;
border-radius: 10rpx; border-radius: 10rpx;
-webkit-border-radius: 10rpx; -webkit-border-radius: 10rpx;
......
...@@ -102,8 +102,7 @@ ...@@ -102,8 +102,7 @@
overflow: hidden; overflow: hidden;
} }
.van-tabs--line .van-tabs__wrap { .van-tabs--line .van-tabs__wrap {
height: 44px; height: var(--tabs-line-height, 46px);
height: var(--tabs-line-height, 44px);
} }
.van-tabs--card .van-tabs__wrap { .van-tabs--card .van-tabs__wrap {
height: 30px; height: 30px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment