bug修复
This commit is contained in:
parent
f7755041ad
commit
5c42041cbd
|
|
@ -171,12 +171,11 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 【新增】:跳转到品牌详情页面
|
// 跳转到品牌详情页面
|
||||||
goToBrandDetail() {
|
goToBrandDetail() {
|
||||||
if (this.authorInfo.brandId) {
|
if (this.authorInfo.brandId) {
|
||||||
// 注:请核对这里的路径是否与你项目中的品牌详情页路径一致
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/brand/detail?id=${this.authorInfo.brandId}`
|
url: `/pages/jingxuan/brand-detail?id=${this.authorInfo.brandId}`
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({ title: '缺少品牌信息', icon: 'none' });
|
uni.showToast({ title: '缺少品牌信息', icon: 'none' });
|
||||||
|
|
@ -385,13 +384,16 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #FF4767 ;
|
||||||
|
border: 2rpx solid #FF4767 ;
|
||||||
|
padding: 8rpx 20rpx;
|
||||||
|
border-radius: 45rpx;
|
||||||
|
|
||||||
.arrow-right {
|
.arrow-right {
|
||||||
width: 10rpx;
|
width: 10rpx;
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
border-top: 2rpx solid #666666;
|
border-top: 2rpx solid #FF4767 ;
|
||||||
border-right: 2rpx solid #666666;
|
border-right: 2rpx solid #FF4767 ;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
margin-left: 6rpx;
|
margin-left: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -289,8 +289,8 @@ export default {
|
||||||
// 【预留接口字段解析】:这里需要后端配合返回以下字段,如果没有的话目前会使用默认值
|
// 【预留接口字段解析】:这里需要后端配合返回以下字段,如果没有的话目前会使用默认值
|
||||||
linkType: data.link_type || 1, // 1=官方 2=品牌
|
linkType: data.link_type || 1, // 1=官方 2=品牌
|
||||||
linkId: data.link_id || 0,
|
linkId: data.link_id || 0,
|
||||||
authorName: data.author_name || '美融融平台',
|
authorName: data.link_name || '美融融平台',
|
||||||
authorAvatar: data.author_avatar || 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/bbe832bf-aae6-4579-b3cc-246d252488c3',
|
authorAvatar: data.link_logo || 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/bbe832bf-aae6-4579-b3cc-246d252488c3',
|
||||||
authorVideoCount: data.link_publish_num || 0, // 关联者发布数
|
authorVideoCount: data.link_publish_num || 0, // 关联者发布数
|
||||||
|
|
||||||
date: data.create_time ? data.create_time.substring(0, 10).replace(/-/g, '.') : '',
|
date: data.create_time ? data.create_time.substring(0, 10).replace(/-/g, '.') : '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue