- 修复 uni-popup-dialog/uni-data-picker keypress.js 中 $once 在 H5 端报错(改用生命周期钩子清理监听) - main.js 补 $delete globalProperties polyfill(z-paging 自动高度逻辑依赖) - App.vue onLaunch 补设备信息初始化,修复 X-Device-Id 恒为 unknown - 68 处 ::v-deep、/deep/ 旧深度选择器替换为 :deep()(含 login-page.scss) - zetank-personalpage 组件 .sync 修饰符改为 v-model:xxx(Vue3 已移除 .sync) - vite.config.js HBuilderX 路径支持 HBUILDERX_HOME 环境变量覆盖 - 根 package.json 清理 image-grid 插件遗留元数据 - 收录此前未提交的 uView Vue3 兜底补丁(common/uview-init.js 及各组件 props.js)
63 lines
2.2 KiB
JavaScript
63 lines
2.2 KiB
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 榛樿鐨勬樉绀哄崰浣嶉珮搴?
|
|
showHeight: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.readMore.showHeight
|
|
},
|
|
// 灞曞紑鍚庢槸鍚︽樉绀?鏀惰捣"鎸夐挳
|
|
toggle: {
|
|
type: Boolean,
|
|
default: uni.$u.props.readMore.toggle
|
|
},
|
|
// 鍏抽棴鏃剁殑鎻愮ず鏂囧瓧
|
|
closeText: {
|
|
type: String,
|
|
default: uni.$u.props.readMore.closeText
|
|
},
|
|
// 灞曞紑鏃剁殑鎻愮ず鏂囧瓧
|
|
openText: {
|
|
type: String,
|
|
default: uni.$u.props.readMore.openText
|
|
},
|
|
// 鎻愮ず鐨勬枃瀛楅鑹?
|
|
color: {
|
|
type: String,
|
|
default: uni.$u.props.readMore.color
|
|
},
|
|
// 鎻愮ず鏂囧瓧鐨勫ぇ灏?
|
|
fontSize: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.readMore.fontSize
|
|
},
|
|
// 鏄惁鏄剧ず闃村奖
|
|
// 姝ゅ弬鏁颁笉鑳藉啓鍦╬rops/readMore.js涓繘琛岄粯璁ら厤缃紝鍥犱负浣跨敤浜嗘潯浠剁紪璇戯紝鍦ㄥ閮╦s涓?
|
|
// uni鏃犳硶鍑嗙‘璇嗗埆褰撳墠鏄惁澶勪簬nvue杩樻槸闈瀗vue涓?
|
|
shadowStyle: {
|
|
type: Object,
|
|
default: () => ({
|
|
// #ifndef APP-NVUE
|
|
backgroundImage: 'linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)',
|
|
// #endif
|
|
// #ifdef APP-NVUE
|
|
// nvue涓婁笉鏀寔璁剧疆澶嶆潅鐨刡ackgroundImage灞炴€?
|
|
backgroundImage: 'linear-gradient(to top, #fff, rgba(255, 255, 255, 0.5))',
|
|
// #endif
|
|
paddingTop: '100px',
|
|
marginTop: '-100px'
|
|
})
|
|
},
|
|
// 娈佃惤棣栬缂╄繘鐨勫瓧绗︿釜鏁?
|
|
textIndent: {
|
|
type: String,
|
|
default: uni.$u.props.readMore.textIndent
|
|
},
|
|
// open鍜宑lose浜嬩欢鏃讹紝灏嗘鍙傛暟杩斿洖鍦ㄥ洖璋冨弬鏁颁腑
|
|
name: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.readMore.name
|
|
}
|
|
}
|
|
}
|