yujialong 3 months ago
parent f02324cf0b
commit c65b5b8314
  1. 18
      course/courseDetail/courseDetail.vue
  2. 1
      user/selectAccount/selectAccount.vue

@ -71,6 +71,8 @@
<image v-else-if="section.fileType === 'mp4'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/video.png" alt=""> <image v-else-if="section.fileType === 'mp4'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/video.png" alt="">
<image v-else-if="section.fileType === 'doc' || section.fileType === 'docx'" class="ext" <image v-else-if="section.fileType === 'doc' || section.fileType === 'docx'" class="ext"
src="https://eduvessel.com/images/occupationlab/exts/word.png" alt=""> src="https://eduvessel.com/images/occupationlab/exts/word.png" alt="">
<image v-else-if="section.fileType === 'xlsx' || section.fileType === 'xls'" class="ext"
src="https://eduvessel.com/images/occupationlab/exts/excel.png" alt="">
<image v-else-if="section.fileType === 'txt'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/txt.png" alt=""> <image v-else-if="section.fileType === 'txt'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/txt.png" alt="">
<image v-else-if="section.fileType === 'pdf'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/pdf.png" alt=""> <image v-else-if="section.fileType === 'pdf'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/pdf.png" alt="">
<image v-else class="ext" src="https://eduvessel.com/images/occupationlab/exts/pic.png" alt=""> <image v-else class="ext" src="https://eduvessel.com/images/occupationlab/exts/pic.png" alt="">
@ -248,14 +250,14 @@
}, },
// //
async getInfo () { async getInfo () {
if (this.mallId) { if (this.mallId) {
const res = await detailsOfGoods({ const res = await detailsOfGoods({
mallId: this.mallId mallId: this.mallId
}) })
const e = res.orderDetails.mall const e = res.orderDetails.mall
this.coverUrl = e.coverDrawing this.coverUrl = e.coverDrawing
this.briefIntroduction = e.detailedIntroduction this.briefIntroduction = e.detailedIntroduction
} }
}, },
// 使 // 使
async addRecord () { async addRecord () {

@ -25,6 +25,7 @@
data() { data() {
return { return {
openid: '', openid: '',
phone: uni.getStorageSync('phone'),
accounts: JSON.parse(uni.getStorageSync('accounts')), accounts: JSON.parse(uni.getStorageSync('accounts')),
} }
}, },

Loading…
Cancel
Save