|
@@ -2,56 +2,25 @@
|
|
|
<div class="goods">
|
|
|
<m-header :backUrl="backUrl2" name="学员乐器列表" />
|
|
|
<div>
|
|
|
- <van-list
|
|
|
- v-model="loading"
|
|
|
- class="studentContainer"
|
|
|
- v-if="dataShow"
|
|
|
- key="data"
|
|
|
- :immediate-check="false"
|
|
|
- :finished="finished"
|
|
|
- finished-text=""
|
|
|
- @load="getStudentList"
|
|
|
- >
|
|
|
+ <van-list v-model="loading" class="studentContainer" v-if="dataShow" key="data" :immediate-check="false" :finished="finished" finished-text="" @load="getStudentList">
|
|
|
<van-cell-group>
|
|
|
- <van-cell
|
|
|
- class="input-cell"
|
|
|
- :center="true"
|
|
|
- v-for="item in dataList"
|
|
|
- :key="item.id"
|
|
|
- @click="selectGood(item)"
|
|
|
- >
|
|
|
+ <van-cell class="input-cell" :center="true" v-for="item in dataList" :key="item.id" @click="selectGood(item)">
|
|
|
<template slot="icon">
|
|
|
<van-image :src="item.goodsImg" class="logo">
|
|
|
<template v-slot:loading>
|
|
|
<van-loading type="spinner" size="20" />
|
|
|
</template>
|
|
|
</van-image>
|
|
|
- <!-- <img class="logo" src="https://daya.ks3-cn-beijing.ksyun.com/202102/SO1d5Za.jpg" alt=""> -->
|
|
|
+
|
|
|
<!-- <img class="logo" v-else src="@/assets/images/icon_student.png" alt=""> -->
|
|
|
</template>
|
|
|
<template slot="title">
|
|
|
- <div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- "
|
|
|
- >
|
|
|
+ <div style="display: flex; align-items: center; justify-content: space-between">
|
|
|
{{ item.goodsName }} <span>{{ item.goodsBrand }}</span>
|
|
|
</div>
|
|
|
- <p style="padding: 0.02rem 0; font-size: 0.14rem; color: #808080">
|
|
|
- 型号:{{ item.specification }}
|
|
|
- </p>
|
|
|
- <van-tag
|
|
|
- plain
|
|
|
- v-if="item.open"
|
|
|
- color="#01C1B5"
|
|
|
- style="margin: 0; background: #f2fffc"
|
|
|
- >乐器保养</van-tag
|
|
|
- >
|
|
|
- <van-tag plain v-else color="#C0C0C0" style="margin: 0"
|
|
|
- >乐器保养</van-tag
|
|
|
- >
|
|
|
+ <p style="padding: 0.02rem 0; font-size: 0.14rem; color: #808080">型号:{{ item.specification }}</p>
|
|
|
+ <van-tag plain v-if="item.open" color="#01C1B5" style="margin: 0; background: #f2fffc">乐器保养</van-tag>
|
|
|
+ <van-tag plain v-else color="#C0C0C0" style="margin: 0">乐器保养</van-tag>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
</van-cell-group>
|