Browse Source

修改16条

master
zhengshuiqi 4 years ago
parent
commit
5250f36238
  1. 62
      common/common.scss
  2. 6
      pages/account/index.vue
  3. 6
      pages/account/wishlist.vue
  4. 6
      pages/index/index.vue
  5. 1
      pages/productDetails/index.vue
  6. 5
      pages/shippingCart/index.vue

62
common/common.scss

@ -539,7 +539,7 @@
.wishlist_item_bottom{ .wishlist_item_bottom{
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 18.67rpx; padding-right: 18.67rpx;
justify-content: space-between; justify-content: space-between;
.wishlist_item_bottom_icon{ .wishlist_item_bottom_icon{
@ -549,6 +549,8 @@
} }
} }
} }
.wishlist_foot{ .wishlist_foot{
padding: 33.33rpx 26.67rpx; padding: 33.33rpx 26.67rpx;
position: fixed; position: fixed;
@ -1109,3 +1111,61 @@
} }
} }
} }
.wishlist-modification{
padding: 0 2.67rpx 40rpx 10rpx;
display: flex;
// padding-top: 40rpx;
// justify-content: space-between;
flex-wrap: wrap;
.wishlist_item{
display: flex;
flex-direction: column;
font-size: 25.33rpx;
font-weight: 500;
width: 50%;
margin-top: 33.33rpx;
// margin-right: 18.67rpx;
box-sizing: border-box;
&:nth-child(2n+0){
}
.wishlist_item_img{
width: 90%;
height: 190px;
object-fit: cover;
margin-bottom: 25.33rpx;
background-color: #999999;
position: relative;
border-radius: 10rpx;
.wishlist_item_img_goods{
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.select{
position: absolute;
width: 28rpx;
height: 28rpx;
top: 8rpx;
right: 8rpx;
}
}
.wishlist_item_bottom{
display: flex;
align-items: center;
padding-right: 18.67rpx;
justify-content: space-between;
.wishlist_item_bottom_icon{
width: 30rpx;
height: 30rpx;
}
}
}
}

6
pages/account/index.vue

@ -16,7 +16,7 @@
</view> </view>
<view class="info_name" v-else> <view class="info_name" v-else>
<navigator url="/pages/account/myProfile" > <navigator url="/pages/account/myProfile" >
Hey,{{user_info.nickname!=''?user_info.nickname:user_info.email}}> Hey.{{user_info.nickname!=''?user_info.nickname:user_info.email}}.>
</navigator> </navigator>
</view> </view>
@ -700,4 +700,8 @@
.margin_botoom { .margin_botoom {
padding-bottom: 55px !important; padding-bottom: 55px !important;
} }
.navigator-hover {
background-color: transparent !important;
opacity: 1 !important;
}
</style> </style>

6
pages/account/wishlist.vue

@ -4,7 +4,7 @@
<uni-nav-bar left-icon="left" :rightText="isDelete?'Done':'Delete'" :fixed="true" :border="false" <uni-nav-bar left-icon="left" :rightText="isDelete?'Done':'Delete'" :fixed="true" :border="false"
title="Wishlist" color="#fff" backgroundColor="#000000" @clickLeft="back" @clickRight="clickRight()"/> title="Wishlist" color="#fff" backgroundColor="#000000" @clickLeft="back" @clickRight="clickRight()"/>
</view> </view>
<view class="wishlist padding-top-40"> <view class="wishlist-modification padding-top-40">
<view class="wishlist_item" v-for="(item,index) in goodsList" :key="item.goods_id" > <view class="wishlist_item" v-for="(item,index) in goodsList" :key="item.goods_id" >
<view class="wishlist_item_img "@click="isDelete?selectGoods(item.goods_id,index): goDetails(item.goods_id)"> <view class="wishlist_item_img "@click="isDelete?selectGoods(item.goods_id,index): goDetails(item.goods_id)">
<image :src="item.goods_img" mode="" class="wishlist_item_img_goods"></image> <image :src="item.goods_img" mode="" class="wishlist_item_img_goods"></image>
@ -13,8 +13,8 @@
<!-- <image :src="Src" @click="deleteTap(item)" mode=" " v-model="item.goods_id" class="select" v-if="isDelete || item.goods_id==goods_id"></image> --> <!-- <image :src="Src" @click="deleteTap(item)" mode=" " v-model="item.goods_id" class="select" v-if="isDelete || item.goods_id==goods_id"></image> -->
</view> </view>
<view class="wishlist_item_bottom"> <view class="wishlist_item_bottom">
<text>US${{item.promote_price?item.promote_price:item.shop_price}}</text> <text style="margin-left: 4px;">US${{item.promote_price?item.promote_price:item.shop_price}}</text>
<image src="../../static/icon/cat_white.png" mode="" class="wishlist_item_bottom_icon" @click="isCart=true,getDate(item)"></image> <image src="../../static/icon/cat_white.png" mode="" style="margin-right: 8px;" class="wishlist_item_bottom_icon" @click="isCart=true,getDate(item)"></image>
<!-- <image src="../../static/img/delete.png" mode="" class="wishlist_item_bottom_icon" @click="removeL(item)"> --></image> <!-- <image src="../../static/img/delete.png" mode="" class="wishlist_item_bottom_icon" @click="removeL(item)"> --></image>
</view> </view>
</view> </view>

6
pages/index/index.vue

@ -1593,15 +1593,17 @@
} }
.bootom_last { .bootom_last {
height: 300rpx; height: 200rpx;
width: 100%; width: 100%;
color: #fff; color: #fff;
background-color: #000; background-color: #000;
margin-bottom: 200rpx; margin-bottom: 200rpx;
font-size: 25rpx; font-size: 25rpx;
padding-bottom: 40rpx; padding-bottom: 40rpx;
line-height: 300rpx; // line-height: 300rpx;
text-align: center; text-align: center;
line-height: 115rpx;
} }
.ONEPIC { .ONEPIC {

1
pages/productDetails/index.vue

@ -1118,6 +1118,7 @@
.body{ .body{
background-color: #000; background-color: #000;
color:white; color:white;
padding-bottom: 35px;
} }
.bg_b{ .bg_b{
background-color: #000000; background-color: #000000;

5
pages/shippingCart/index.vue

@ -1195,12 +1195,13 @@
} }
.bootom_last1{ .bootom_last1{
height: 300rpx; height: 200rpx;
// height: 300rpx;
width: 100%; width: 100%;
color: #000; color: #000;
// background-color: #fff; // background-color: #fff;
font-size: 25rpx; font-size: 25rpx;
line-height: 300rpx; line-height: 115rpx;
text-align: center; text-align: center;
} }
.recommend_content{ .recommend_content{

Loading…
Cancel
Save