Commit b70d42bde5b23c21673d589391c289022ce9c250
1 parent
5158c128
达人相关组件图片添加七牛云图片加载参数,下载图片使用JPG编码
Showing
6 changed files
with
37 additions
and
23 deletions
src/components/darenListCom/darenListCom.vue
src/components/goodsItem_4/goodsItem_4.vue
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | <div class="main-box"> |
| 4 | 4 | <div class="left-box"> |
| 5 | 5 | <div class="img-box"> |
| 6 | - <img v-lazy="item.simg" class="img" mode="widthFix" /> | |
| 6 | + <img v-lazy="item.simg + SIGN.SMALL" class="img" mode="widthFix" /> | |
| 7 | 7 | </div> |
| 8 | 8 | <div class="content-box"> |
| 9 | 9 | <div class="title">{{item.title}}</div> | ... | ... |
src/components/shopDarenHot/shopDarenHot.vue
src/components/shopDatenTop/shopDatenTop.vue
| 1 | 1 | <template> |
| 2 | 2 | <div> |
| 3 | 3 | <div class="item_box" @click="userJump(shopDatenTop)"> |
| 4 | - <img class="head_portrait" v-lazy="shopDatenTop.logo" /> | |
| 4 | + <img class="head_portrait" v-lazy="shopDatenTop.logo + SIGN.SMALL" /> | |
| 5 | 5 | <div class="user_info"> |
| 6 | 6 | <div class="daren_box"> |
| 7 | 7 | <div class="name"> | ... | ... |
src/components/userAvatarBox/userAvatarBox.vue
src/pages/newDaren/newDaren.vue
| 1 | 1 | <template> |
| 2 | 2 | <div class="daren-list"> |
| 3 | + | |
| 3 | 4 | <!--轮播--> |
| 4 | 5 | <swiper v-if="banner" |
| 5 | - :swipers="banner" | |
| 6 | - :options="{ | |
| 7 | - showIndicators: false | |
| 8 | - }"> | |
| 6 | + :swipers="banner" | |
| 7 | + :options="{ | |
| 8 | + showIndicators: false | |
| 9 | + }" | |
| 10 | + > | |
| 9 | 11 | </swiper> |
| 12 | + | |
| 10 | 13 | <!--达人信息--> |
| 11 | 14 | <shop-daten-top v-if="shopDatenTop" @userJump="userJump" :shopDatenTop="shopDatenTop"></shop-daten-top> |
| 15 | + | |
| 12 | 16 | <!--推荐达人--> |
| 17 | + | |
| 13 | 18 | <!-- 最新动态标题 --> |
| 14 | 19 | <text-title-box v-if="shopDarenHot && shopDarenHot.length" slot="title-box" @more="recommendedDaren" |
| 15 | - :titles="{ | |
| 16 | - title: '推荐达人', | |
| 17 | - more: true | |
| 18 | - }"> | |
| 20 | + :titles="{ | |
| 21 | + title: '推荐达人', | |
| 22 | + more: true | |
| 23 | + }" | |
| 24 | + > | |
| 19 | 25 | </text-title-box> |
| 26 | + | |
| 20 | 27 | <!--导航--> |
| 21 | 28 | <horiz-list class="components-box" v-if="shopDarenHot && shopDarenHot.length" @jump="jump" @userJump="userJump" @fansShop="fansShop" |
| 22 | - :lists="shopDarenHot" | |
| 23 | - com="5"> | |
| 29 | + :lists="shopDarenHot" | |
| 30 | + com="5"> | |
| 24 | 31 | </horiz-list> |
| 32 | + | |
| 25 | 33 | <!-- 已关注达人 --> |
| 26 | 34 | <daren-list-box class="daren-list" @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary" |
| 27 | - :lists="fansDaren"> | |
| 35 | + :lists="fansDaren"> | |
| 28 | 36 | |
| 29 | 37 | <!-- 最新动态标题 --> |
| 30 | 38 | <text-title-box v-if="fansDaren && fansDaren.length" slot="title-box" @more="moreDynamic" |
| 31 | - :titles="{ | |
| 39 | + :titles="{ | |
| 32 | 40 | title: '已关注达人', |
| 33 | 41 | more: true |
| 34 | - }"> | |
| 42 | + }" | |
| 43 | + > | |
| 35 | 44 | </text-title-box> |
| 36 | 45 | </daren-list-box> |
| 46 | + | |
| 37 | 47 | <div class="item_box"> |
| 38 | 48 | <div |
| 39 | 49 | infinite-scroll-immediate-check="true" |
| 40 | 50 | v-infinite-scroll="getNewDynamicList" |
| 41 | 51 | infinite-scroll-disabled="loading" |
| 42 | 52 | :infinite-scroll-distance="50"> |
| 53 | + | |
| 43 | 54 | <daren-list-box class="daren-list" @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary" |
| 44 | - :lists="shopFnsDynamic"> | |
| 55 | + :lists="shopFnsDynamic"> | |
| 56 | + | |
| 45 | 57 | <!--最新达人动态--> |
| 46 | 58 | <text-title-box v-if="shopFnsDynamic && shopFnsDynamic.length" slot="title-box" |
| 47 | - :titles="{ | |
| 48 | - title: '最新达人动态', | |
| 49 | - more: false | |
| 50 | - }"> | |
| 59 | + :titles="{ | |
| 60 | + title: '最新达人动态', | |
| 61 | + more: false | |
| 62 | + }" | |
| 63 | + > | |
| 51 | 64 | </text-title-box> |
| 52 | 65 | </daren-list-box> |
| 53 | 66 | </div> |
| ... | ... | @@ -64,6 +77,7 @@ |
| 64 | 77 | import textTitleBox from "@/components/textTitleBox/textTitleBox"; |
| 65 | 78 | import shopDatenTop from "@/components/shopDatenTop/shopDatenTop"; |
| 66 | 79 | import horizList from "@/components/horizList/horizList"; |
| 80 | + | |
| 67 | 81 | export default { |
| 68 | 82 | name: "darenList", |
| 69 | 83 | data() { | ... | ... |