前台 做市商 出售 立即发布操作 添加参数isTeacher

master
CherrysChang 4 years ago
parent 2ce819570f
commit f1bc15c42d
  1. 2
      src/api/ad.js
  2. 5
      src/components/announce/announce-sell-btn.vue
  3. 7
      src/components/announce/announce-table-sell.vue
  4. 5
      src/pages/marketAnnounce.vue

@ -84,6 +84,7 @@ export function getAdSellBlish({
unitName,
minLimit,
remark,
isTeacher,
}) {
return request({
url: adUrl + '/publishSellAd',
@ -98,6 +99,7 @@ export function getAdSellBlish({
unitName,
minLimit,
remark,
isTeacher,
},
});
}

@ -121,6 +121,10 @@ export default {
type: Object,
required: true,
},
isTeacher: {
type: Boolean,
default: false,
},
},
data() {
return {
@ -323,6 +327,7 @@ export default {
unitName: this.ansellcoinName.unitName,
minLimit: this.sammlPrice,
remark: this.textXuan,
isTeacher: this.isTeacher,
}).then(res => {
// console.log(res);
//

@ -13,6 +13,7 @@
</ul>
<AnnounceSellBtn
:ansellcoinName="coinName"
:is-teacher="isTeacher"
v-if="sellCoinname"
></AnnounceSellBtn>
</div>
@ -28,6 +29,12 @@ export default {
components: {
AnnounceSellBtn,
},
props: {
isTeacher: {
type: Boolean,
default: false,
},
},
data() {
return {
list: [],

@ -33,7 +33,10 @@
</div>
<!-- 出售 -->
<div v-show="ifCommentInput">
<AnnounceTableSell v-if="hackReset"></AnnounceTableSell>
<AnnounceTableSell
v-if="hackReset"
:is-teacher="true"
></AnnounceTableSell>
</div>
</main>

Loading…
Cancel
Save