ppt页面修改
This commit is contained in:
parent
ddbfac11c3
commit
54f8132cee
@ -1,5 +1,16 @@
|
||||
<template>
|
||||
<navBar title="我的课件" />
|
||||
<!-- <navBar title="我的课件" /> -->
|
||||
<view class="navbox">
|
||||
<view class="status_bar"></view>
|
||||
<uni-nav-bar
|
||||
left-icon="left"
|
||||
title="我的课件"
|
||||
@clickLeft="goBack"
|
||||
color="#8B2316"
|
||||
:border="false"
|
||||
backgroundColor="#eeeeee"
|
||||
/>
|
||||
</view>
|
||||
<view class="my-courseware-page">
|
||||
<!-- 顶部导航栏 -->
|
||||
|
||||
@ -87,7 +98,7 @@
|
||||
import { ref, onMounted } from 'vue';
|
||||
import api from '@/api/api';
|
||||
import navTo from '@/utils/navTo.js';
|
||||
import { onLoad } from '@dcloudio/uni-app';
|
||||
import { onLoad,onBackPress } from '@dcloudio/uni-app';
|
||||
import downLoadImg from "@/static/course_download.png"
|
||||
import moneyImg from "@/static/course_yuan.png"
|
||||
const activeTab = ref('download');
|
||||
@ -100,13 +111,28 @@ const downloadCount = ref(0);
|
||||
const totalAmount = ref(0);
|
||||
|
||||
const coursewareList = ref([]);
|
||||
|
||||
const from = ref('');
|
||||
onBackPress(() => {
|
||||
if(!from.value){
|
||||
plus.runtime.quit();
|
||||
return true;
|
||||
}
|
||||
});
|
||||
onLoad((options) => {
|
||||
if(options.from){
|
||||
from.value = options.from;
|
||||
}
|
||||
});
|
||||
onMounted(() => {
|
||||
onRefresh();
|
||||
});
|
||||
|
||||
const goBack = () => {
|
||||
if(!from.value){
|
||||
plus.runtime.quit();
|
||||
}else{
|
||||
uni.navigateBack();
|
||||
}
|
||||
};
|
||||
|
||||
onLoad((options) => {
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
|
||||
<!-- 投稿按钮 -->
|
||||
<view class="submit-btn" @click="submitCourseware">
|
||||
<up-image :src="tougaoImg" width="152rpx" height="80rpx" ></up-image>
|
||||
<up-image :src="getPptImg" width="152rpx" height="80rpx" ></up-image>
|
||||
</view>
|
||||
</view>
|
||||
<unidialog
|
||||
@ -140,6 +140,7 @@
|
||||
import upImg from "@/static/cb_up.png"
|
||||
import downImg from "@/static/cb_up.png"
|
||||
import tougaoImg from "@/static/kejiantougao.png"
|
||||
import getPptImg from "@/static/getPpt.png"
|
||||
import downLoadImg from "@/static/wdxz.png"
|
||||
import pptImg from "@/static/pdf.png"
|
||||
import wordImg from "@/static/word.png"
|
||||
|
||||
@ -7,9 +7,7 @@
|
||||
left-icon="left"
|
||||
title="课件详情"
|
||||
@clickLeft="goBack"
|
||||
|
||||
color="#8B2316"
|
||||
|
||||
:border="false"
|
||||
backgroundColor="#eeeeee"
|
||||
>
|
||||
|
||||
BIN
static/getPpt.png
Normal file
BIN
static/getPpt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
Loading…
x
Reference in New Issue
Block a user