Commit d9bf829c authored by 刘帅阳's avatar 刘帅阳

修改

parent 22a4ed70
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="top"> <view class="top">
<view v-if="hotList.length>0"> <view v-if="hotList.length>0">
<view v-for="(item,index) in hotList" :key="index" class="indexcard"> <view v-for="(item,index) in hotList" :key="index" class="indexcard">
<image class="cardimage" :src="item.path" @click="toDetail(item.businessId)"></image> <image :src="item.path" class="cardimage" @click="toDetail(item.businessId)"></image>
<view class="cardtitle" @click="toDetail(item.businessId)"> <view class="cardtitle" @click="toDetail(item.businessId)">
<view class="cardtitle1">{{item.videoTitle}}</view> <view class="cardtitle1">{{item.videoTitle}}</view>
<view class="cardtitle1">推广量:{{item.readNum || '-'}}</view> <view class="cardtitle1">推广量:{{item.readNum || '-'}}</view>
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
export default { export default {
data() { data() {
return { return {
userId: '',
hotList: [], hotList: [],
page: 1, page: 1,
rows: 10, rows: 10,
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
} }
}else { }else {
this.unitId = '' this.unitId = ''
this.userId = ''
} }
this.$u.get('cmsvideo/miniProgram/listByClassification?page=1&rows=10&unitId='+this.unitId+'&userId='+this.userId).then(res => { this.$u.get('cmsvideo/miniProgram/listByClassification?page=1&rows=10&unitId='+this.unitId+'&userId='+this.userId).then(res => {
if (this.page === 1) { if (this.page === 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment