修改已存在的问题
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
style="background-color: #f5f1f1;padding: 20rpx; display: flex;align-items: center;justify-content: space-between;"
|
||||
class="">
|
||||
<image src="../../static/logo.png" style="width: 170rpx;height: 51rpx;z-index: 999;" mode=""></image>
|
||||
<!-- <view class="">
|
||||
<!-- <view class="">
|
||||
<image src="../../static/dwbimgs/one.png" style="width: 46rpx;height: 46rpx;z-index: 999;" mode="">
|
||||
</image>
|
||||
<image src="../../static/dwbimgs/two.png" style="width: 46rpx;height: 46rpx;z-index: 999;" mode="">
|
||||
@@ -66,15 +66,14 @@
|
||||
我的积分
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- <view v-if="isShowMoneyPay" class="statistics-box-item"
|
||||
@click="goNav('/me/yaoqing/ymg-yaoqing-tixian')">
|
||||
<view v-if="isiosExamine" class="statistics-box-item" @click="goNav('/me/yaoqing/ymg-yaoqing-tixian')">
|
||||
<view class="statistics-box-item-btn">
|
||||
我的红包
|
||||
</view>
|
||||
<view class="statistics-box-item-top">
|
||||
{{userInfo.amount || '0.00'}}
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view v-if="isVips == '是' && isWxIosPay == true" class="vip flex align-center justify-center">
|
||||
@@ -108,25 +107,25 @@
|
||||
mode=""></image>
|
||||
<view style="font-weight: bold;font-size: 36rpx;color: #FFFFFF;">
|
||||
{{formatNumber(moneyNum)}}
|
||||
元
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
@tap="goNav('/me/yaoqing/redPack-mingxi?moneyType=2&viewType=2')"
|
||||
<view @tap="goNav('/me/yaoqing/redPack-mingxi?moneyType=2&viewType=2')"
|
||||
style="font-weight: bold;font-size: 25rpx;color: #977641;width: 160rpx;text-align:center;line-height: 50rpx;background: linear-gradient( 90deg, #FEE7BC 0%, #FDCC89 100%);border-radius: 46rpx 46rpx 46rpx 46rpx;">
|
||||
金币明细
|
||||
</view>
|
||||
<view style="position: absolute;background-color: #fff;width: 40rpx;height: 40rpx;transform: rotate(45deg);bottom: -10rpx;left: 48%;background-color: #f2b5b5;">
|
||||
|
||||
<view
|
||||
style="position: absolute;background-color: #fff;width: 40rpx;height: 40rpx;transform: rotate(45deg);bottom: -10rpx;left: 48%;background-color: #f2b5b5;">
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-top: 40rpx;">观看历史</view>
|
||||
<view class="df" style=" justify-content: space-between;margin-top: 28rpx;">
|
||||
<view style="border-radius:21rpx 21rpx 21rpx 21rpx" v-for="item in list" :key="item">
|
||||
<view style="border-radius:21rpx 21rpx 21rpx 21rpx" v-for="item in list" :key="item"
|
||||
@tap="seVideo(item)">
|
||||
<image :src="item.titleImg"
|
||||
style="width: 188rpx;height: 247rpx;border-radius:21rpx 21rpx 21rpx 21rpx" mode=""></image>
|
||||
<view style="font-weight: 400;font-size: 25rpx;color: #333333;">
|
||||
{{item.title}}
|
||||
{{item.title.substr(0,8)}}
|
||||
</view>
|
||||
<view style="font-weight: 400;font-size: 21rpx;color: #999999;">
|
||||
看到{{item.courseDetailsName}}
|
||||
@@ -305,7 +304,9 @@
|
||||
import ttMsg from '../../components/ttMsg/ttMsg.vue'
|
||||
import httpsRequest from '../../common/httpRequest.js'
|
||||
import otherXuanfu from '@/components/other-xuafu.vue'
|
||||
|
||||
import {
|
||||
returnIsSafari
|
||||
} from '@/utils/app.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -346,6 +347,7 @@
|
||||
isWxIosPay: true, //微信下是否显示支付功能
|
||||
userInfo: {},
|
||||
isShowMoneyPay: true,
|
||||
isiosExamine: false, // 我的金币审核
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -426,6 +428,12 @@
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform === 'ios'
|
||||
this.isShowMoneyPay = !(res.data.value === '1' && isIos)
|
||||
if (res.data.value == 1) {
|
||||
// debug
|
||||
this.isiosExamine = true
|
||||
}else{
|
||||
this.isiosExamine = false
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -480,6 +488,38 @@
|
||||
}
|
||||
|
||||
},
|
||||
pageScrollTo(time = 100) {
|
||||
uni.pageScrollTo({
|
||||
scrollTop: this.scrollTop - 50,
|
||||
duration: time,
|
||||
complete() {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
//查看视频
|
||||
seVideo(item) {
|
||||
const time = 100;
|
||||
// #ifdef H5
|
||||
if (returnIsSafari()) {
|
||||
this.pageScrollTo(time)
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url: '/me/detail/detail?id=' + item.courseId + '&courseDetailsId=' + item
|
||||
.courseDetailsId +
|
||||
'&tt_album_id=' + item.dyCourseId + '&tt_episode_id=' + item
|
||||
.dyEpisodeId
|
||||
})
|
||||
}, time)
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/me/detail/detail?id=' + item.courseId + '&courseDetailsId=' + item.courseDetailsId +
|
||||
'&tt_album_id=' + item.dyCourseId + '&tt_episode_id=' + item
|
||||
.dyEpisodeId
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
//获取我喜欢的数量
|
||||
getMyLoveNum() {
|
||||
let data = {
|
||||
@@ -519,7 +559,6 @@
|
||||
}
|
||||
this.$Request.getT('/app/courseCollect/selectByUserId', data).then(res => {
|
||||
if (res.code === 0) {
|
||||
console.log(res,'debug')
|
||||
let arr = []
|
||||
res.data.records.forEach((ele, index) => {
|
||||
if (index < 3) {
|
||||
|
||||
Reference in New Issue
Block a user