我的页面优化

dev
shuxiaoquan 9 months ago
parent 62587d6b8b
commit a2fcaec559
  1. 1
      pages/activity/presale.vue
  2. 2
      pages/invoice/list.vue
  3. 8
      pages/news/goods/del.vue
  4. 8
      pages/news/park/browsingHistory.vue
  5. 23
      pages/user/index.vue
  6. BIN
      static/bg-1.png
  7. BIN
      static/bg-2.png
  8. BIN
      static/bg-3.png
  9. BIN
      static/bg-4.png
  10. BIN
      static/bg-5.png
  11. BIN
      static/bg-6.png

@ -37,7 +37,6 @@
</template>
<script>
// import img from "@/static/news/newPeople-bg.png"
import * as Api from '@/api/activity'
export default {
data() {

@ -22,7 +22,7 @@
<view class="s">税号{{item.duty_no}}</view>
</view>
<view class="e" @click="toEdit(item)">
<image src="@/static/order/edit.png"></image>
<image :src="$picUrl+'/static/order/edit.png'"></image>
</view>
</view>
</view>

@ -12,8 +12,8 @@
<view class="b">
<view class="item">
<view class="select" @click="selectItem(i,index)">
<image mode="aspectFill" v-if="!i.checked" src="@/static/invoice/select.png" />
<image mode="aspectFill" v-else src="@/static/invoice/select-on.png" />
<image mode="aspectFill" v-if="!i.checked" :src="$picUrl+'/static/invoice/select.png'" />
<image mode="aspectFill" v-else :src="$picUrl+'/static/invoice/select-on.png'" />
</view>
<view class="pic">
<image mode="aspectFill" :src="i.goods_image" />
@ -38,8 +38,8 @@
</view>
<view class="goods-fd">
<view class="a" @click="checkedAllHandle">
<image mode="aspectFill" v-if="!checkedAll" src="@/static/invoice/select.png" />
<image mode="aspectFill" v-else src="@/static/invoice/select-on.png" />全选
<image mode="aspectFill" v-if="!checkedAll" :src="$picUrl+'/static/invoice/select.png'" />
<image mode="aspectFill" v-else :src="$picUrl+'/static/invoice/select-on.png'" />全选
</view>
<view class="b"><text>{{checkedList.length}}</text>件商品</view>
<view class="c" @click="show=true">删除</view>

@ -9,8 +9,8 @@
<u-swipe-action class="b" v-for="(b,k) in a.list" :key="k" @click="clickItem(i,b.goods_id)" :options="options">
<view class="item u-border-bottom">
<view class="select" v-if="isToggle" @click.stop="openPage(4,i,k)">
<image mode="aspectFill" v-if="b.isSelect" src="@/static/invoice/select-on.png" />
<image mode="aspectFill" v-else src="@/static/invoice/select.png" />
<image mode="aspectFill" v-if="b.isSelect" :src="$picUrl+'/static/invoice/select-on.png'" />
<image mode="aspectFill" v-else :src="$picUrl+'/static/invoice/select.png'" />
</view>
<view class="pic" @click.stop="openPage(5,b.goods_id)">
<image mode="aspectFill" v-if="b.imgs" :src="b.imgs" />
@ -34,8 +34,8 @@
</view>
<view class="browsing-fd" v-if="isToggle">
<view class="a" @click="openPage(3)">
<image mode="aspectFill" v-if="isSelect" src="@/static/invoice/select-on.png" />
<image mode="aspectFill" v-else src="@/static/invoice/select.png" />全选
<image mode="aspectFill" v-if="isSelect" :src="$picUrl+'/static/invoice/select-on.png'" />
<image mode="aspectFill" v-else :src="$picUrl+'/static/invoice/select.png'" />全选
</view>
<view class="b"><text>{{goodsids.length}}</text>件商品</view>
<view class="c" @click="openPage(2)">删除</view>

@ -61,7 +61,7 @@
</view>
<view class="newplus" v-if="isLogin == false || userInfo.user_type==20">
<view class="memVip" @click="goMember('hy')">
<view class="vipLine">
<!-- <view class="vipLine">
<image :src="$picUrl+'/static/user/vip.png'" class="vipIcon"></image>
<text>Plus会员</text>
</view>
@ -69,10 +69,13 @@
<text class="inVip">加入会员</text>
<text class="enjoyVip">享受会员价</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view> -->
<image :src="$picUrl+'/static/bg-4.png'" class="icon"></image>
</view>
<view class="memVip fxVip" @click="goMember('fx')">
<view class="vipLine">
<image :src="$picUrl+'/static/bg-4.png'" class="icon"></image>
<!-- <view class="vipLine">
<image :src="$picUrl+'/static/user/vip.png'" class="vipIcon"></image>
<text>分销会员</text>
</view>
@ -80,7 +83,7 @@
<text class="inVip">加入会员</text>
<text class="enjoyVip">享受分销价</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view> -->
</view>
</view>
<view class="goodsManage" v-if="userInfo.user_type== 40">
@ -125,7 +128,7 @@
<view class="walletList">
<view class="listItem" @click="goPage('pages/cart/index')">
<view class="num">
{{actionCountsInfo.cart_number}}
{{actionCountsInfo.cart_number?actionCountsInfo.cart_number:0}}
</view>
<view class="info">
购物车
@ -133,7 +136,7 @@
</view>
<view class="listItem" @click="goJump('pages/news/park/browsingHistory')">
<view class="num">
{{actionCountsInfo.view_number}}
{{actionCountsInfo.view_number?actionCountsInfo.view_number:0}}
</view>
<view class="info">
浏览记录
@ -141,7 +144,7 @@
</view>
<view class="listItem" @click="goJump('pages/news/park/recordHistory')">
<view class="num">
{{actionCountsInfo.reservation_number}}
{{actionCountsInfo.reservation_number?actionCountsInfo.reservation_number:0}}
</view>
<view class="info">
预约记录
@ -149,7 +152,7 @@
</view>
<view class="listItem" @click="goJump('pages/news/coupon/list')">
<view class="num">
{{actionCountsInfo.view_number}}
{{actionCountsInfo.view_number?actionCountsInfo.view_number:0}}
</view>
<view class="info">
优惠券
@ -1114,6 +1117,10 @@
height: 130rpx;
background: linear-gradient(180deg, #FFF0DF 0%, #EFD4B4 100%);
border-radius: 8rpx 8rpx 8rpx 8rpx;
image{
width: 100%;
height: 100%;
}
.vipLine {
width: 176rpx;
height: 46rpx;

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Loading…
Cancel
Save