|
@@ -1,14 +1,42 @@
|
|
|
-import { CellGroup, Cell } from 'vant'
|
|
|
+import { CellGroup, Cell, Image, Button } from 'vant'
|
|
|
import { defineComponent } from 'vue'
|
|
|
import styles from './index.module.less'
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'award-activity',
|
|
|
render() {
|
|
|
- return <div>
|
|
|
- <CellGroup inset>
|
|
|
- <Cell />
|
|
|
- </CellGroup>
|
|
|
- </div>
|
|
|
+ return (
|
|
|
+ <div class={styles.award}>
|
|
|
+ <CellGroup inset class={styles.cellGroup}>
|
|
|
+ <Cell
|
|
|
+ v-slots={{
|
|
|
+ icon: () => <Image class={styles.image} />,
|
|
|
+ title: () => <div class={styles.title}>小酷Ai会员</div>,
|
|
|
+ label: () => (
|
|
|
+ <div class={styles.label}>
|
|
|
+ 小酷Ai(季度)3个月会员;您的智能陪练,会员曲目免费学,练习评测智能选段评分,提升练习兴趣!
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ <Cell
|
|
|
+ center
|
|
|
+ title={'获奖时间:2022-12-12'}
|
|
|
+ titleClass={styles.cellTitle}
|
|
|
+ v-slots={{
|
|
|
+ value: () => (
|
|
|
+ <Button
|
|
|
+ color="linear-gradient(180deg, #FF8636 0%, #FF4E19 100%)"
|
|
|
+ size="small"
|
|
|
+ class={styles.button}
|
|
|
+ >
|
|
|
+ 立即领取
|
|
|
+ </Button>
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </CellGroup>
|
|
|
+ </div>
|
|
|
+ )
|
|
|
}
|
|
|
})
|