| ¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | props: { |
| | | // æ¯å¦å±ç¤ºmodal |
| | | show: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.show |
| | | }, |
| | | // æ é¢ |
| | | title: { |
| | | type: [String], |
| | | default: uni.$u.props.modal.title |
| | | }, |
| | | // å¼¹çªå
容 |
| | | content: { |
| | | type: String, |
| | | default: uni.$u.props.modal.content |
| | | }, |
| | | // ç¡®è®¤ææ¡ |
| | | confirmText: { |
| | | type: String, |
| | | default: uni.$u.props.modal.confirmText |
| | | }, |
| | | // åæ¶ææ¡ |
| | | cancelText: { |
| | | type: String, |
| | | default: uni.$u.props.modal.cancelText |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºç¡®è®¤æé® |
| | | showConfirmButton: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.showConfirmButton |
| | | }, |
| | | // æ¯å¦æ¾ç¤ºåæ¶æé® |
| | | showCancelButton: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.showCancelButton |
| | | }, |
| | | // 确认æé®é¢è² |
| | | confirmColor: { |
| | | type: String, |
| | | default: uni.$u.props.modal.confirmColor |
| | | }, |
| | | // åæ¶æåé¢è² |
| | | cancelColor: { |
| | | type: String, |
| | | default: uni.$u.props.modal.cancelColor |
| | | }, |
| | | // 对è°ç¡®è®¤ååæ¶çä½ç½® |
| | | buttonReverse: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.buttonReverse |
| | | }, |
| | | // æ¯å¦å¼å¯ç¼©æ¾ææ |
| | | zoom: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.zoom |
| | | }, |
| | | // æ¯å¦å¼æ¥å
³éï¼åªå¯¹ç¡®å®æé®ææ |
| | | asyncClose: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.asyncClose |
| | | }, |
| | | // æ¯å¦å
许ç¹å»é®ç½©å
³émodal |
| | | closeOnClickOverlay: { |
| | | type: Boolean, |
| | | default: uni.$u.props.modal.closeOnClickOverlay |
| | | }, |
| | | // ç»ä¸ä¸ªè´çmargin-topï¼å¾ä¸åç§»ï¼é¿å
åé®çéåçæ
åµ |
| | | negativeTop: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.modal.negativeTop |
| | | }, |
| | | // modal宽度ï¼ä¸æ¯æç¾åæ¯ï¼å¯ä»¥æ°å¼ï¼pxï¼rpxåä½ |
| | | width: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.modal.width |
| | | }, |
| | | // 确认æé®çæ ·å¼ï¼circle-åå½¢ï¼square-æ¹å½¢ï¼å¦è®¾ç½®ï¼å°ä¸ä¼æ¾ç¤ºåæ¶æé® |
| | | confirmButtonShape: { |
| | | type: String, |
| | | default: uni.$u.props.modal.confirmButtonShape |
| | | } |
| | | } |
| | | } |