diff --git a/src/doc/point.js b/src/doc/point.js
index ca9e57de3..070148a4b 100644
--- a/src/doc/point.js
+++ b/src/doc/point.js
@@ -30,7 +30,7 @@ const JOURNAL_TYPE = {
export const POINT_LIST_ITEM = {
journalType: ({ journal_type }) => JOURNAL_TYPE[journal_type],
- outinType: 'outin_type',
+ outinType: ({ income, outcome }) => income ? 'in' : outcome ? 'out' : '',
point: ({ point }) => thousandthFormat(point),
orderId: 'order_id',
created: ({ created }) => formatDateTime(created)
diff --git a/src/pages/home/wgts/imghot-zone.scss b/src/pages/home/wgts/imghot-zone.scss
index 17877505c..473231521 100644
--- a/src/pages/home/wgts/imghot-zone.scss
+++ b/src/pages/home/wgts/imghot-zone.scss
@@ -1,7 +1,6 @@
.wgt-imghot-zone {
.img-hotzone {
position: relative;
- border-radius: 16px;
overflow: hidden;
&_zone {
position: absolute;
diff --git a/src/pages/item/espier-detail.js b/src/pages/item/espier-detail.js
index b11dd628a..04bd44032 100644
--- a/src/pages/item/espier-detail.js
+++ b/src/pages/item/espier-detail.js
@@ -706,11 +706,11 @@ const getMultipleImageInfo = async (imageUrls) => {
.catch(error => {
console.log('获取图片信息失败:', url, error)
// 返回一个默认高度或 null
- return { width: 0, height: 750 }
+ return { width: 0, height: 650 }
})
)
const results = await Promise.all(promises)
- return results.map(info => info.height / 2)
+ return results.map(info => (info.height) / 2 > 650 ? 650 : info.height / 2)
}
const getRecommendList = async () => {
@@ -775,9 +775,10 @@ const getMultipleImageInfo = async (imageUrls) => {
return {
height: '100%',
width: '100%',
- backgroundSize: '100% auto',
+ backgroundSize: 'cover',
backgroundImage: `url(${item})`,
- backgroundRepeat: 'no-repeat'
+ backgroundRepeat: 'no-repeat',
+ backgroundPosition: 'center'
}
}
diff --git a/src/subpages/guide/components/wgts/imghot-zone.scss b/src/subpages/guide/components/wgts/imghot-zone.scss
index 17877505c..473231521 100644
--- a/src/subpages/guide/components/wgts/imghot-zone.scss
+++ b/src/subpages/guide/components/wgts/imghot-zone.scss
@@ -1,7 +1,6 @@
.wgt-imghot-zone {
.img-hotzone {
position: relative;
- border-radius: 16px;
overflow: hidden;
&_zone {
position: absolute;
diff --git a/src/subpages/member/point-detail.js b/src/subpages/member/point-detail.js
index dc308bafa..b27a2b94b 100644
--- a/src/subpages/member/point-detail.js
+++ b/src/subpages/member/point-detail.js
@@ -7,7 +7,6 @@ import { SpPage, SpScrollView, SpImage } from '@/components'
import api from '@/api'
import doc from '@/doc'
import { classNames, pickBy, thousandthFormat } from '@/utils'
-import { POINT_TYPE } from '@/consts'
import './point-detail.scss'
const btns = [
@@ -82,9 +81,12 @@ function PointDetail(props) {
{`可用${pointName}`}
- {
- Taro.navigateTo({ url: '/subpages/member/point-rule' })
- }}>{`${pointName}规则`}
+ {
+ Taro.navigateTo({ url: '/subpages/member/point-rule' })
+ }}
+ >{`${pointName}规则`}
{point}