This commit is contained in:
binbin_pan 2024-12-18 18:59:06 +08:00
parent b90ec0c35b
commit cd9edc2a32
5 changed files with 14 additions and 12 deletions

View File

@ -12,7 +12,7 @@
</view> </view>
<view class="opt-grids"> <view class="opt-grids">
<view v-for="(part, index) in opts" :key="index" @click="jumpUrl(part.url)"> <view v-for="(part, index) in opts" :key="index" @click="jumpUrl(part.url)">
<image :src="part.src" mode=""></image> <image :src="part.src" mode="" style="width: 58px; height: 58px;"></image>
<span>{{ part.name }}</span> <span>{{ part.name }}</span>
</view> </view>
</view> </view>

View File

@ -5,10 +5,11 @@
id="myVideo" id="myVideo"
:src="path" :src="path"
:initial-time="studyDuration" :initial-time="studyDuration"
:show-progress="false" :show-progress="true"
:enable-progress-gesture="false" :enable-progress-gesture="false"
@error="videoErrorCallback" @error="videoErrorCallback"
@timeupdate="videoTimeUpdate" @timeupdate="videoTimeUpdate"
controls
/> />
</div> </div>

View File

@ -56,11 +56,11 @@
</view> </view>
</view> </view>
</view> </view>
<div class="no-data" v-if="projList.length == 0">
<image src="/static/images/zanwuneirong.png" mode="aspectFit" />
<view class="no-data-text">暂无内容</view>
</div>
</view> </view>
<div class="no-data" v-if="projList.length == 0">
<image src="/static/images/zanwuneirong.png" mode="aspectFit" />
<view class="no-data-text">暂无内容</view>
</div>
</view> </view>
</template> </template>

View File

@ -25,7 +25,7 @@
<view class="yy-box"> <view class="yy-box">
<view class="bt">我的应用</view> <view class="bt">我的应用</view>
<view class="yy-list"> <view class="yy-list">
<view class="yy-one" @click="gotoYy(item.appName)" v-for="(item, index) in allApp" :key="index"> <view class="yy-one" @click="gotoYy(item.appName)" v-for="(item, index) in myApp" :key="index">
<view class="yy-img"> <view class="yy-img">
<image :src="item.base64Url"></image> <image :src="item.base64Url"></image>
</view> </view>
@ -441,6 +441,7 @@ export default {
if (response.code == 200) { if (response.code == 200) {
console.log('我的应用-----------', response) console.log('我的应用-----------', response)
this.myApp = response.data this.myApp = response.data
this.gotoYy('考试培训移动端')
} else { } else {
uni.$u.toast('获取我的应用失败') uni.$u.toast('获取我的应用失败')
} }

View File

@ -15,11 +15,11 @@ export default {
selectedIconPath: "static/images/dh2s.png", selectedIconPath: "static/images/dh2s.png",
text: "工作台", text: "工作台",
//新版本新增页面被打开方式默认为reLaunch //新版本新增页面被打开方式默认为reLaunch
}, { // }, {
pagePath: "pages/txl/index", // pagePath: "pages/txl/index",
iconPath: "static/images/dh3.png", // iconPath: "static/images/dh3.png",
selectedIconPath: "static/images/dh3s.png", // selectedIconPath: "static/images/dh3s.png",
text: "通讯录", // text: "通讯录",
//新版本新增页面被打开方式默认为reLaunch //新版本新增页面被打开方式默认为reLaunch
}, { }, {
pagePath: "pages/mine/index", pagePath: "pages/mine/index",