2 bài
hệ thống được xây dựng riêng cho ứng dụng adayroi. do vậy để áp dụng vào ứng dung bạn cần phải làm theo các yêu cầu ở đây
jQuery(document).ready(function ($) {
let view_cars_default = new Vue({
el: '.view-cars-default',
props: {},
components: {
'modal': {
template: `
<div class="modal-content">
<div class="modal-header">
<slot name="title"></slot>
</div>
<div class="modal-body">
<slot name="body"></slot>
</div>
<div class="modal-footer">
<slot name="TaoWeb"></slot>
<slot name="VuaThanhToan"></slot>
<slot name="ThanhToanSau"></slot>
<slot name="DiDenQuanTri"></slot>
<slot name="Close"></slot>
</div>
</div>
`
},
},
beforeMount() {
//nếu muốn điều chỉnh data thì điều chỉnh ở đây
},
mounted() {
this.init();
},
data: {},
computed: {},
methods: {
init: function () {
var CurrentThis = this;
},
//đây là ví dụ định nghĩa một hàm
temp_func: function () {
},
}
});
});
Vujs dùng để xây dựng giao diện dành cho người dùng, chu ý là không dùng vào làm các trang seo. chỉ là cho các trang seo ở các khu vực chức năng
Ghi chú
Tài liệu được cập nhật thường xuyên. Mọi góp ý xin gửi về đội ngũ Softway.