|
@@ -384,7 +384,7 @@ li.chouzhen.first:before {
|
|
|
</span>
|
|
|
</a-form-item>
|
|
|
<a-form-item label="广告语">
|
|
|
- <a @click="showTitle(index, bestIndex)">推荐广告语</a>
|
|
|
+ <!-- <a @click="showTitle(index, bestIndex)">推荐广告语</a> -->
|
|
|
|
|
|
<a-textarea
|
|
|
class="rending"
|
|
@@ -394,7 +394,7 @@ li.chouzhen.first:before {
|
|
|
></a-textarea>
|
|
|
<span v-if="item.description.length > 30" style="color: red">广告语长度不能超过30个字符</span>
|
|
|
<br />
|
|
|
- <a @click="cunTitle(index, bestIndex)">收藏</a>
|
|
|
+ <!-- <a @click="cunTitle(index, bestIndex)">收藏</a>
|
|
|
<a @click="showCunTitle(index, bestIndex)" style="margin-left: 10px">收藏列表</a>
|
|
|
<br />
|
|
|
<a-tag
|
|
@@ -402,7 +402,7 @@ li.chouzhen.first:before {
|
|
|
:key="indexTag"
|
|
|
@click="getChange(item, itemTag, index)"
|
|
|
>{{ itemTag.name }}</a-tag
|
|
|
- >
|
|
|
+ > -->
|
|
|
</a-form-item>
|
|
|
|
|
|
<a-form-item label="短广告语">
|
|
@@ -533,28 +533,41 @@ li.chouzhen.first:before {
|
|
|
<a-button type="primary" @click="handleSubmit" :loading="loading">提交</a-button>
|
|
|
</a-form-item>
|
|
|
<checkMatemal ref="check" @showVideo="showData"></checkMatemal>
|
|
|
- <a-modal :maskClosable="false" v-model="visible" title="广告创意创建情况">
|
|
|
- <div>
|
|
|
- 创建成功:{{ allForm.success.length }}条
|
|
|
- <div style="margin-top: 20px">
|
|
|
- <p v-for="(item, index) of allForm.success" :key="index">
|
|
|
- <span>名称:{{ item.creativeName }}</span>
|
|
|
- </p>
|
|
|
+ <a-modal :maskClosable="false" v-model="visible" :footer="null" :width="520">
|
|
|
+ <div style="width: 100%; height: 329px; display: flex; flex-flow: column">
|
|
|
+ <main
|
|
|
+ class="container"
|
|
|
+ style="width: 100%; text-align: center; margin: 66px auto 24px; font-size: 30px; font-weight: 100"
|
|
|
+ >
|
|
|
+ <h2 data-splitting class="headline headline--yell" style="color: red">起量</h2>
|
|
|
+ </main>
|
|
|
+
|
|
|
+ <div style="width: 100%; text-align: center; font-size: 24px; margin-bottom: 65px">
|
|
|
+ <img src="@/assets/success.png" alt="" style="width: 24px; margin-right: 10px" />创建成功
|
|
|
</div>
|
|
|
- <br />
|
|
|
- 创建失败:{{ allForm.fail.length }}条
|
|
|
- <div style="margin-top: 20px">
|
|
|
- <p v-for="(item, index) of allForm.fail" :key="index">
|
|
|
- <span>名称:{{ item.creativeName }}</span
|
|
|
- ><br />
|
|
|
- <span>错误信息:{{ item.failMessage }}</span>
|
|
|
- </p>
|
|
|
+ <div style="width: 100%; margin-bottom: 43px; display: flex; justify-content: center">
|
|
|
+ <a-button key="submit" type="primary" @click="handleOk" style="margin-right: 8px"> 返回列表 </a-button>
|
|
|
+ <a-button key="back" @click="handleCancel">关闭</a-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <template slot="footer">
|
|
|
+ <!-- <div style="position: absolute; top: 20px;left:10px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 50px;left:20px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 70px;left:50px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 90px;left:100px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 110px;left:60px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 130px;left:470px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 150px;left:300px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 170px;left:370px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 190px;left:210px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 160px;left:190px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 260px;left:110px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 280px;left:400px;font-size:20px">起量</div>
|
|
|
+ <div style="position: absolute; top: 300px;left:330px;font-size:20px">起量</div> -->
|
|
|
+
|
|
|
+ <!-- <template slot="footer">
|
|
|
<a-button key="back" @click="handleCancel">关闭</a-button>
|
|
|
<a-button key="submit" type="primary" @click="handleOk"> 返回列表 </a-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</a-modal>
|
|
|
<a-modal
|
|
|
:maskClosable="false"
|
|
@@ -667,15 +680,33 @@ li.chouzhen.first:before {
|
|
|
<a-modal :maskClosable="false" title="选择素材" v-model="visibleMatemal" @ok="handleOkShow" :width="1000">
|
|
|
<a-tabs type="card" @change="callback" v-model="active" class="check-video">
|
|
|
<a-tab-pane :tab="item.label" v-for="item of tab" :key="item.value">
|
|
|
- <a-range-picker name="buildTime" style="width: 400px; margin: 10px 0" v-model="time" />
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="日期选择" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
+ <a-range-picker name="buildTime" v-model="time" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <!-- <a-col :span="12">
|
|
|
+ <a-form-item label="筛选条件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
+ <a-select v-model="orderBy" style="width: 100%">
|
|
|
+ <a-select-option value="time"> 按时间排序 </a-select-option>
|
|
|
+ <a-select-option value="cost"> 按消耗排序</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col> -->
|
|
|
+ </a-row>
|
|
|
+
|
|
|
<ul v-if="dataSource.length > 0" style="overflow: auto; padding-left: 0">
|
|
|
<a-checkbox-group v-model="checkVideo" @change="onChangeVideo" style="width: 100%">
|
|
|
- <li v-for="(item, index) of dataSource" :key="index" class="chouzhen" style="height: 350px">
|
|
|
+ <li v-for="(item, index) of dataSource" :key="index" class="chouzhen" style="height: 400px">
|
|
|
<!-- <video class="video" :src="item.url" controls="controls" style="width:100%">
|
|
|
您的浏览器不支持 video 标签。
|
|
|
</video> -->
|
|
|
<a-checkbox :value="item" style="width: 100%; position: absolute; z-index: 100; right: 0; top: 0">
|
|
|
- <img :src="item.coverUrl" alt="" style="width: 100%; margin-bottom: 10px" />
|
|
|
+ <img :src="item.coverUrl" alt="" style="width: 100%; margin-bottom: 30px" />
|
|
|
+ <div style="width: 100%; text-align: center">
|
|
|
+ {{ item.statDate ? '时间:' + item.statDate.split(' ')[0] : '消耗:' + item.charge }}
|
|
|
+ </div>
|
|
|
</a-checkbox>
|
|
|
<a @click="matemalVideo(item, index)" style="position: absolute; z-index: 100; right: 56px; bottom: 5px"
|
|
|
>查看视频</a
|
|
@@ -900,6 +931,7 @@ export default {
|
|
|
visibleVideo: false,
|
|
|
videoUrlShow: '',
|
|
|
time: [],
|
|
|
+ orderBy: 'time',
|
|
|
channelType: 0,
|
|
|
checkVideo: [],
|
|
|
dataSource: [],
|
|
@@ -1186,7 +1218,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
okTag() {
|
|
|
var data = this.$refs.tree.getCheckedKeys()
|
|
|
if (data.length > 1) {
|
|
@@ -1209,7 +1241,7 @@ export default {
|
|
|
}),
|
|
|
})
|
|
|
this.creativeTagVisible = false
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.$message.error('选择出错,请稍后选择或自行手填')
|
|
|
}
|
|
|
})
|
|
@@ -1448,7 +1480,7 @@ export default {
|
|
|
// params.materialType = this.getData('creativeMaterialType')
|
|
|
// params.pageSize = this.ipagination.pageSize
|
|
|
// params.pageNo = this.ipagination.current
|
|
|
- // this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ // this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
},
|
|
|
getDataSource(page, pageSize) {
|
|
|
this.ipagination.current = page
|
|
@@ -1459,20 +1491,22 @@ export default {
|
|
|
params.pageNo = page
|
|
|
params.channelType = this.channelType
|
|
|
params.status = 0
|
|
|
+ params.orderBy = this.orderBy
|
|
|
if (this.time.length > 0) {
|
|
|
// params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
// params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
|
params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
}
|
|
|
- this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
},
|
|
|
showVideoList(url, params) {
|
|
|
this.dataSource = []
|
|
|
this.loadingVideoList = true
|
|
|
getAction(url, params).then((res) => {
|
|
|
+ console.log(res)
|
|
|
if (res.success) {
|
|
|
- this.dataSource = res.result.records
|
|
|
+ this.dataSource = res.result.list
|
|
|
this.ipagination.total = res.result.total
|
|
|
this.loadingVideoList = false
|
|
|
} else {
|
|
@@ -1484,6 +1518,7 @@ export default {
|
|
|
if (type == 'video') {
|
|
|
nowIndex = index
|
|
|
bestIndex = bestIndex
|
|
|
+ this.orderBy = 'time'
|
|
|
this.visibleMatemal = true
|
|
|
this.checkVideo = []
|
|
|
this.active = 0
|
|
@@ -1496,7 +1531,7 @@ export default {
|
|
|
// params.pageSize = this.ipagination.pageSize
|
|
|
// params.pageNo = this.ipagination.current
|
|
|
// params.params.channelType = 0 = 0
|
|
|
- // this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ // this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
} else {
|
|
|
this.creativeMaterialType = item.creativeMaterialType
|
|
|
this.$refs.check.showCheck(
|
|
@@ -1540,21 +1575,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleOk() {
|
|
|
- if (this.allForm.fail.length == 0) {
|
|
|
- this.remove(this.pansKey)
|
|
|
- if (localStorage.getItem('originality')) {
|
|
|
- this.$router.replace({
|
|
|
- path: '/account/originality',
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.$router.replace({
|
|
|
- path: '/account/accountIndex',
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
- this.visible = false
|
|
|
+ this.remove(this.pansKey)
|
|
|
+ if (localStorage.getItem('originality')) {
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/account/originality',
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.visible = false
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/account/accountIndex',
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
handleCancel(e) {
|
|
@@ -1643,9 +1672,10 @@ export default {
|
|
|
postAction('/kuaishou/batch/createCreative', params).then((res) => {
|
|
|
if (res.success) {
|
|
|
this.visible = true
|
|
|
- this.allForm.fail = res.result.fail
|
|
|
- this.allForm.success = res.result.success
|
|
|
this.loading = false
|
|
|
+ this.$nextTick(() => {
|
|
|
+ Splitting()
|
|
|
+ })
|
|
|
} else {
|
|
|
this.loading = false
|
|
|
this.$message.error(res.message)
|
|
@@ -1728,13 +1758,14 @@ export default {
|
|
|
params.pageNo = 1
|
|
|
params.status = 0
|
|
|
params.channelType = this.channelType
|
|
|
+ params.orderBy = this.orderBy
|
|
|
if (this.time.length > 0) {
|
|
|
// params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
// params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
|
params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
}
|
|
|
- this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
} else {
|
|
|
this.$message.error(res.message)
|
|
|
this.tongbuLoading = false
|
|
@@ -2143,7 +2174,8 @@ export default {
|
|
|
params.channelType = this.channelType
|
|
|
params.startDate = moment(n[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
params.endDate = moment(n[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
- this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ params.orderBy = this.orderBy
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
} else {
|
|
|
var params = {}
|
|
|
params.accountId = localStorage.getItem('accountId')
|
|
@@ -2152,10 +2184,27 @@ export default {
|
|
|
params.pageNo = 1
|
|
|
params.status = 0
|
|
|
params.channelType = this.channelType
|
|
|
+ params.orderBy = this.orderBy
|
|
|
this.ipagination.current = 1
|
|
|
- this.showVideoList('/kuaishou/batch/getVideoList', params)
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
}
|
|
|
},
|
|
|
+ orderBy(n, o) {
|
|
|
+ var params = {}
|
|
|
+ params.accountId = localStorage.getItem('accountId')
|
|
|
+ params.materialType = this.creativeMaterialType
|
|
|
+ params.pageSize = this.ipagination.pageSize
|
|
|
+ params.pageNo = 1
|
|
|
+ params.status = 0
|
|
|
+ params.channelType = this.channelType
|
|
|
+ if (this.time.length > 0) {
|
|
|
+ params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
+ params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
+ } else {
|
|
|
+ }
|
|
|
+ params.orderBy = n
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
+ },
|
|
|
visibleVideo(n, o) {
|
|
|
if (!n) {
|
|
|
closeAllVideoFun()
|
|
@@ -2169,6 +2218,7 @@ export default {
|
|
|
},
|
|
|
mounted: function () {
|
|
|
this.$nextTick(() => {
|
|
|
+ Splitting()
|
|
|
if (localStorage.getItem('pans')) {
|
|
|
this.pans = JSON.parse(localStorage.getItem('pans')).map((item) => {
|
|
|
return {
|
|
@@ -2182,7 +2232,14 @@ export default {
|
|
|
})
|
|
|
this.pansKey = this.pans[0].key
|
|
|
setTimeout(() => {
|
|
|
- this.addCreative(0)
|
|
|
+ if (
|
|
|
+ this.pane.sceneId.indexOf(5) >= 0 ||
|
|
|
+ this.pane.sceneId.indexOf(1) >= 0 ||
|
|
|
+ this.pane.sceneId.indexOf(7) >= 0 ||
|
|
|
+ this.pane.sceneId.indexOf(6) >= 0
|
|
|
+ ) {
|
|
|
+ this.addCreative(0)
|
|
|
+ }
|
|
|
}, 0)
|
|
|
|
|
|
getAction('/kuaishou/batch/checkCreativeCount', {
|
|
@@ -2263,5 +2320,196 @@ export default {
|
|
|
},
|
|
|
}
|
|
|
</script>
|
|
|
-<style lang="scss">
|
|
|
+<style lang="scss" scope>
|
|
|
+$colors: #f9ca24, #3498db, #ff7979, #1abc9c, #e74c3c, #f8c291;
|
|
|
+
|
|
|
+/* Recommended styles for Splitting */
|
|
|
+.splitting .word,
|
|
|
+.splitting .char {
|
|
|
+ display: inline-block;
|
|
|
+}
|
|
|
+
|
|
|
+/* Psuedo-element chars */
|
|
|
+.splitting .char {
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * Populate the psuedo elements with the character to allow for expanded effects
|
|
|
+ * Set to `display: none` by default; just add `display: block` when you want
|
|
|
+ * to use the psuedo elements
|
|
|
+ */
|
|
|
+.splitting .char::before,
|
|
|
+.splitting .char::after {
|
|
|
+ content: attr(data-char);
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ visibility: hidden;
|
|
|
+ transition: inherit;
|
|
|
+ user-select: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* Expanded CSS Variables */
|
|
|
+
|
|
|
+.splitting {
|
|
|
+ /* The center word index */
|
|
|
+ --word-center: calc((var(--word-total) - 1) / 2);
|
|
|
+
|
|
|
+ /* The center character index */
|
|
|
+ --char-center: calc((var(--char-total) - 1) / 2);
|
|
|
+
|
|
|
+ /* The center character index */
|
|
|
+ --line-center: calc((var(--line-total) - 1) / 2);
|
|
|
+}
|
|
|
+
|
|
|
+.splitting .word {
|
|
|
+ /* Pecent (0-1) of the word's position */
|
|
|
+ --word-percent: calc(var(--word-index) / var(--word-total));
|
|
|
+
|
|
|
+ /* Pecent (0-1) of the line's position */
|
|
|
+ --line-percent: calc(var(--line-index) / var(--line-total));
|
|
|
+}
|
|
|
+
|
|
|
+.splitting .char {
|
|
|
+ /* Percent (0-1) of the char's position */
|
|
|
+ --char-percent: calc(var(--char-index) / var(--char-total));
|
|
|
+
|
|
|
+ /* Offset from center, positive & negative */
|
|
|
+ --char-offset: calc(var(--char-index) - var(--char-center));
|
|
|
+
|
|
|
+ /* Absolute distance from center, only positive */
|
|
|
+ --distance: calc((var(--char-offset) * var(--char-offset)) / var(--char-center));
|
|
|
+
|
|
|
+ /* Distance from center where -1 is the far left, 0 is center, 1 is far right */
|
|
|
+ --distance-sine: calc(var(--char-offset) / var(--char-center));
|
|
|
+
|
|
|
+ /* Distance from center where 1 is far left/far right, 0 is center */
|
|
|
+ --distance-percent: calc((var(--distance) / var(--char-center)));
|
|
|
+}
|
|
|
+
|
|
|
+* {
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+* {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+// html, body {
|
|
|
+// height: 100%;
|
|
|
+// }
|
|
|
+
|
|
|
+.headline {
|
|
|
+ align-items: center;
|
|
|
+ // background-color: var(--color);
|
|
|
+ display: flex;
|
|
|
+ font-family: 'Lexend Deca', sans-serif;
|
|
|
+ font-weight: 400;
|
|
|
+ // font-size: calc(1rem + 15vmin);
|
|
|
+ height: 72px;
|
|
|
+ justify-content: center;
|
|
|
+ // overflow: hidden;
|
|
|
+ perspective: 1000px;
|
|
|
+ scroll-snap-align: start;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.word,
|
|
|
+.char {
|
|
|
+ animation-delay: var(--del);
|
|
|
+ animation-direction: var(--dir, normal);
|
|
|
+ animation-duration: var(--dur);
|
|
|
+ animation-iteration-count: infinite;
|
|
|
+ animation-name: var(--name);
|
|
|
+ animation-timing-function: var(--tf);
|
|
|
+ display: inline-block;
|
|
|
+ position: relative;
|
|
|
+ transform-origin: 50% 100%;
|
|
|
+ z-index: 1;
|
|
|
+}
|
|
|
+
|
|
|
+// =========================
|
|
|
+// Headline animations
|
|
|
+// =========================
|
|
|
+
|
|
|
+.headline--yell .char {
|
|
|
+ --name: yell;
|
|
|
+ --dur: 2s;
|
|
|
+ --tf: ease;
|
|
|
+ -webkit-transform-origin: 50% 100%;
|
|
|
+ transform-origin: 50% 100%;
|
|
|
+}
|
|
|
+@-webkit-keyframes yell {
|
|
|
+ 3% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 6% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.2)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.2)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 12% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 18% {
|
|
|
+ -webkit-transform: scaleY(1) translateY(-2%);
|
|
|
+ transform: scaleY(1) translateY(-2%);
|
|
|
+ }
|
|
|
+ 25% {
|
|
|
+ -webkit-transform: scaleY(0.98);
|
|
|
+ transform: scaleY(0.98);
|
|
|
+ }
|
|
|
+ 50% {
|
|
|
+ -webkit-transform: scaleY(1);
|
|
|
+ transform: scaleY(1);
|
|
|
+ }
|
|
|
+ 75% {
|
|
|
+ -webkit-transform: scale(0.98);
|
|
|
+ transform: scale(0.98);
|
|
|
+ }
|
|
|
+}
|
|
|
+@keyframes yell {
|
|
|
+ 3% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 6% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.2)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.2)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 12% {
|
|
|
+ -webkit-transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ transform: scale(calc(1 * var(--distance-percent) + 1.5)) rotate(calc(15deg * var(--distance-sine)))
|
|
|
+ translateY(-10%);
|
|
|
+ }
|
|
|
+ 18% {
|
|
|
+ -webkit-transform: scaleY(1) translateY(-2%);
|
|
|
+ transform: scaleY(1) translateY(-2%);
|
|
|
+ }
|
|
|
+ 25% {
|
|
|
+ -webkit-transform: scaleY(0.98);
|
|
|
+ transform: scaleY(0.98);
|
|
|
+ }
|
|
|
+ 50% {
|
|
|
+ -webkit-transform: scaleY(1);
|
|
|
+ transform: scaleY(1);
|
|
|
+ }
|
|
|
+ 75% {
|
|
|
+ -webkit-transform: scale(0.98);
|
|
|
+ transform: scale(0.98);
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|