增收赋能
This commit is contained in:
@@ -117,37 +117,11 @@
|
||||
scroll-x="true"
|
||||
scroll-with-animation="true"
|
||||
:scroll-into-view='defaultViewId'
|
||||
@click="onToast()"
|
||||
>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_07.png') + ');'"></view>
|
||||
<view class="title nowrap">巅峰销售思维</view>
|
||||
<view class="price nowrap"><text>¥</text>2980</view>
|
||||
</view>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_08.png') + ');'"></view>
|
||||
<view class="title nowrap">团队系统思维</view>
|
||||
<view class="price nowrap"><text>¥</text>3980</view>
|
||||
</view>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_09.png') + ');'"></view>
|
||||
<view class="title nowrap">领袖演说思维</view>
|
||||
<view class="price nowrap"><text>¥</text>4980</view>
|
||||
</view>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_10.png') + ');'"></view>
|
||||
<view class="title nowrap">卓越领袖能量思维</view>
|
||||
<view class="price nowrap"><text>¥</text>5980</view>
|
||||
</view>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_11.png') + ');'"></view>
|
||||
<view class="title nowrap">激发内在无限潜能</view>
|
||||
<view class="price nowrap"><text>¥</text>9980</view>
|
||||
</view>
|
||||
<view class="the-flex-item">
|
||||
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_12.png') + ');'"></view>
|
||||
<view class="title nowrap">其他赋能培训会议</view>
|
||||
<view class="price nowrap">价格另议</view>
|
||||
<view class="the-flex-item" v-for="(item, index) in empowerArr" :key="index" @click="onEmpower(item.id)">
|
||||
<view class="cover" :style="'background-image: url(' + item.cover + ');'"></view>
|
||||
<view class="title nowrap">{{item.title}}</view>
|
||||
<view class="price nowrap"><text>¥</text>{{item.price}}</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
@@ -184,6 +158,7 @@
|
||||
<script>
|
||||
import { region } from '@/apis/interfaces/address.js'
|
||||
import { categories, jf, index } from '@/apis/interfaces/index.js'
|
||||
import { lists } from '@/apis/interfaces/empower.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -208,19 +183,35 @@
|
||||
appMenus : {
|
||||
cases : [],
|
||||
service : []
|
||||
}
|
||||
},
|
||||
// 增收赋能列表
|
||||
empowerArr : []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.getCategory()
|
||||
this.getJf()
|
||||
this.getIndex()
|
||||
// 增收赋能
|
||||
this.getEmpower()
|
||||
},
|
||||
methods: {
|
||||
onToast(){
|
||||
uni.showToast({
|
||||
title: '即将开放,敬请期待',
|
||||
icon : 'none'
|
||||
// 查看增收赋能详情
|
||||
onEmpower(id){
|
||||
this.$Router.push({
|
||||
name : 'EmpowerInfo',
|
||||
params : { id }
|
||||
})
|
||||
},
|
||||
// 增收赋能接口
|
||||
getEmpower(){
|
||||
lists().then(res => {
|
||||
this.empowerArr = res;
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
},
|
||||
// 获取金法列表
|
||||
|
||||
Reference in New Issue
Block a user