ow
This commit is contained in:
1 parent
67c632715b
commit
1d766902f6
3 files changed
+13
-57
No files matched your search
@@ -90,7 +90,7 @@ namespace CloudBuilder.Master.Service
|
|||||||
|
|
||||||
var filePathRel = Path.Combine(upload, item.CreatedBy, "m3u8", "");
|
var filePathRel = Path.Combine(upload, item.CreatedBy, "m3u8", "");
|
||||||
var filePath = filePathRel.Replace(Path.DirectorySeparatorChar, '/');
|
var filePath = filePathRel.Replace(Path.DirectorySeparatorChar, '/');
|
||||||
item.FormattedUrl = service.Configuration[AppsettingsPolicy.ApplicationUrl] + webRootPath + filePath + Path.GetFileNameWithoutExtension(item.Url) + "/main.m3u8";
|
item.FormattedUrl = service.Configuration[AppsettingsPolicy.ApplicationUrl] + webRootPath + filePath + '/' + Path.GetFileNameWithoutExtension(item.Url) + "/main.m3u8";
|
||||||
|
|
||||||
item.FormattedPic = item.FormattedUrl.Replace("main.m3u8", "main.png");
|
item.FormattedPic = item.FormattedUrl.Replace("main.m3u8", "main.png");
|
||||||
|
|
||||||
|
|||||||
@@ -171,18 +171,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="upSon(datas.index)">
|
||||||
<UpSquareTwoTone :style="{ fontSize: '24px', color: '#08c' }"
|
<UpSquareTwoTone :style="{ fontSize: '24px', color: '#08c' }"
|
||||||
@click="upSon(datas.index)" />上移
|
/>上移
|
||||||
</span>
|
</span>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="downSon(datas.index)">
|
||||||
<DownSquareTwoTone
|
<DownSquareTwoTone
|
||||||
:style="{ fontSize: '24px', color: '#08c', marginLeft: '20px', marginRight: '20px' }"
|
:style="{ fontSize: '24px', color: '#08c', marginLeft: '20px', marginRight: '20px' }"
|
||||||
@click="downSon(datas.index)" />下移
|
/>下移
|
||||||
</span>
|
</span>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="deleteSon(datas.record.DetailId)" >
|
||||||
<DeleteOutlined :style="{ fontSize: '24px', color: 'red' }"
|
<DeleteOutlined :style="{ fontSize: '24px', color: 'red' }"
|
||||||
@click="deleteSon(datas.record.DetailId)" />删除
|
/>删除
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|||||||
@@ -124,65 +124,21 @@
|
|||||||
v-model:value="datas.record.Title" />
|
v-model:value="datas.record.Title" />
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="[16, 8]" style="margin-top: 2px;">
|
|
||||||
<a-col :offset="1" :lg="3" :sm="3">
|
|
||||||
<span>歌手:</span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="18" :sm="18">
|
|
||||||
<a-input v-if="isEdit" :readonly="!isEdit"
|
|
||||||
v-model:value="datas.record.Author" />
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="[16, 8]" style="margin-top: 2px;">
|
|
||||||
<a-col :offset="1" :lg="3" :sm="3">
|
|
||||||
<span>封面:</span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="18" :sm="18">
|
|
||||||
<a-input-search v-model:value="datas.record.Pic"
|
|
||||||
@search="onModalSearchPic" />
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="[16, 8]" style="margin-top: 2px;">
|
|
||||||
<a-col :offset="1" :lg="3" :sm="3">
|
|
||||||
<span>地址:</span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="18" :sm="18">
|
|
||||||
<a-input-search v-model:value="datas.record.Url"
|
|
||||||
@search="onModalSearchUrl" />
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="[16, 8]" style="margin-top: 2px;">
|
|
||||||
<a-col :offset="1" :lg="3" :sm="3">
|
|
||||||
<span>歌词:</span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="18" :sm="18">
|
|
||||||
<a-input-search v-model:value="datas.record.Lrc"
|
|
||||||
@search="onModalSearchLrc" />
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="[16, 8]" style="margin-top: 2px;">
|
|
||||||
<a-col :offset="1" :lg="3" :sm="3">
|
|
||||||
<span>备注:</span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="18" :sm="18">
|
|
||||||
<a-input v-model:value="datas.record.Notice" />
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="upSon(datas.index)" >
|
||||||
<UpSquareTwoTone :style="{ fontSize: '24px', color: '#08c' }"
|
<UpSquareTwoTone :style="{ fontSize: '24px', color: '#08c' }"
|
||||||
@click="upSon(datas.index)" />上移
|
/>上移
|
||||||
</span>
|
</span>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="downSon(datas.index)">
|
||||||
<DownSquareTwoTone
|
<DownSquareTwoTone
|
||||||
:style="{ fontSize: '24px', color: '#08c', marginLeft: '20px', marginRight: '20px' }"
|
:style="{ fontSize: '24px', color: '#08c', marginLeft: '20px', marginRight: '20px' }"
|
||||||
@click="downSon(datas.index)" />下移
|
/>下移
|
||||||
</span>
|
</span>
|
||||||
<span v-if="isEdit">
|
<span v-if="isEdit" @click="deleteSon(datas.record.DetailId)">
|
||||||
<DeleteOutlined :style="{ fontSize: '24px', color: 'red' }"
|
<DeleteOutlined :style="{ fontSize: '24px', color: 'red' }"
|
||||||
@click="deleteSon(datas.record.DetailId)" />删除
|
/>删除
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|||||||
Reference in new issue
Block a user