|
@@ -8,7 +8,9 @@
|
|
|
<view class="global_title item-title" @click="goDetails">
|
|
|
{{ item.Title }}
|
|
|
</view>
|
|
|
- <view class="content-box" @click.stop="handelPlay(item)"></view>
|
|
|
+ <view class="content-box" @click.stop="handelPlay(item)">
|
|
|
+ <image :src="item.BackgroundImg"></image>
|
|
|
+ </view>
|
|
|
<text class="time">{{ item.PublishTime }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -17,6 +19,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { Reports } from "@/config/api.js";
|
|
|
+
|
|
|
import videoModule from "@/components/videoModule/index";
|
|
|
export default {
|
|
|
data() {
|
|
@@ -24,53 +28,7 @@ export default {
|
|
|
showVideoPop: false,
|
|
|
showAudioPop: false, //播放音频
|
|
|
videoPopList: {},
|
|
|
- videoList: [
|
|
|
- {
|
|
|
- Id: 7,
|
|
|
- SourceId: 7,
|
|
|
- Title: "5min【心内科高值耗材】逻辑解析",
|
|
|
- ActivityFileType: 0,
|
|
|
- ActivityId: 0,
|
|
|
- AuthInfo: { HasPermission: 1, SellerMobile: "15557270714", SellerName: "何柏仪", OperationMode: "", PopupMsg: "" },
|
|
|
- BackgroundImg: "https://hzstatic.hzinsights.com/static/images/202311/20231107/iZWGoVyyVVPIxAajODDH8grm64Gj.jpeg",
|
|
|
- ChartPermissionId: 22,
|
|
|
- ChartPermissionName: "医药",
|
|
|
- Id: 7,
|
|
|
- IndustryId: 82,
|
|
|
- IndustryName: "心内科高值耗材",
|
|
|
- IsCollect: false,
|
|
|
- LabelType: 3,
|
|
|
- PlaySeconds: "15",
|
|
|
- PublishTime: "2024-11-07",
|
|
|
- ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/1cf71240091ed77fab506cd4f8e0f04e.mp4",
|
|
|
- ShareImg: "https://hzstatic.hzinsights.com/static/images/htm2img/eogq2mnTGgy7SPg2k2AzGZ02xSXT.jpg",
|
|
|
- SourceId: 7,
|
|
|
- Title: "5min【心内科高值耗材】逻辑解析",
|
|
|
- Type: 3,
|
|
|
- },
|
|
|
- {
|
|
|
- Id: 8,
|
|
|
- SourceId: 8,
|
|
|
- Title: "xxxxxxxxxx",
|
|
|
- ActivityFileType: 0,
|
|
|
- ActivityId: 0,
|
|
|
- AuthInfo: { HasPermission: 1, SellerMobile: "15557270714", SellerName: "何柏仪", OperationMode: "", PopupMsg: "" },
|
|
|
- BackgroundImg: "https://hzstatic.hzinsights.com/static/images/202311/20231107/iZWGoVyyVVPIxAajODDH8grm64Gj.jpeg",
|
|
|
- ChartPermissionId: 22,
|
|
|
- ChartPermissionName: "医药",
|
|
|
- IndustryId: 882,
|
|
|
- IndustryName: "心内科高值耗材",
|
|
|
- IsCollect: false,
|
|
|
- LabelType: 3,
|
|
|
- PlaySeconds: "15",
|
|
|
- PublishTime: "2024-11-07",
|
|
|
- ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/1cf71240091ed77fab506cd4f8e0f04e.mp4",
|
|
|
- ShareImg: "https://hzstatic.hzinsights.com/static/images/htm2img/eogq2mnTGgy7SPg2k2AzGZ02xSXT.jpg",
|
|
|
- SourceId: 8,
|
|
|
- Title: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
|
- Type: 3,
|
|
|
- },
|
|
|
- ],
|
|
|
+ videoList: [],
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -109,6 +67,15 @@ export default {
|
|
|
this.videoPopList = item;
|
|
|
this.showVideoPop = true;
|
|
|
},
|
|
|
+ async getVideoList(item) {
|
|
|
+ const res = await Reports.microRoadshowTrainingList();
|
|
|
+ if (res.Ret === 200) {
|
|
|
+ this.videoList = res.Data.List;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
+ this.getVideoList();
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -149,6 +116,10 @@ export default {
|
|
|
height: 228rpx;
|
|
|
background-color: #f0f1f3;
|
|
|
margin: 20rpx 0;
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.item-title {
|