|
@@ -44,7 +44,6 @@
|
|
style="padding-left: 10rpx"
|
|
style="padding-left: 10rpx"
|
|
v-model="goodsName"
|
|
v-model="goodsName"
|
|
type="text"
|
|
type="text"
|
|
- :border="border"
|
|
|
|
placeholder="搜索"
|
|
placeholder="搜索"
|
|
@blur="blurSearch"
|
|
@blur="blurSearch"
|
|
:auto-blur="true"
|
|
:auto-blur="true"
|
|
@@ -275,7 +274,6 @@
|
|
>
|
|
>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
<view v-show="current == 2" class="contents">
|
|
<view v-show="current == 2" class="contents">
|
|
<view class="listBox">
|
|
<view class="listBox">
|
|
<!-- /pages5/liveDetail/index -->
|
|
<!-- /pages5/liveDetail/index -->
|
|
@@ -353,7 +351,12 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <u-popup v-model="show" mode="bottom" border-radius="32" :mask-close-able="false">
|
|
|
|
|
|
+ <u-popup
|
|
|
|
+ v-model="show"
|
|
|
|
+ mode="bottom"
|
|
|
|
+ border-radius="32"
|
|
|
|
+ :mask-close-able="false"
|
|
|
|
+ >
|
|
<view class="popuBox">
|
|
<view class="popuBox">
|
|
<view class="popuBox-title">选择分类</view>
|
|
<view class="popuBox-title">选择分类</view>
|
|
<view class="flex-d">
|
|
<view class="flex-d">
|
|
@@ -603,9 +606,7 @@ export default {
|
|
courseList() {
|
|
courseList() {
|
|
var self = this;
|
|
var self = this;
|
|
var param = this.paramList[0];
|
|
var param = this.paramList[0];
|
|
- if (this.goodsName) {
|
|
|
|
- param.goodsName = this.goodsName;
|
|
|
|
- }
|
|
|
|
|
|
+ param.goodsName = this.goodsName;
|
|
this.$api.goodsList(param).then((res) => {
|
|
this.$api.goodsList(param).then((res) => {
|
|
self.paramList[0].total = res.data.total;
|
|
self.paramList[0].total = res.data.total;
|
|
self.list1.push.apply(self.list1, res.data.rows);
|
|
self.list1.push.apply(self.list1, res.data.rows);
|
|
@@ -618,9 +619,7 @@ export default {
|
|
bankList() {
|
|
bankList() {
|
|
var self = this;
|
|
var self = this;
|
|
var param = this.paramList[1];
|
|
var param = this.paramList[1];
|
|
- if (this.goodsName) {
|
|
|
|
- param.goodsName = this.goodsName;
|
|
|
|
- }
|
|
|
|
|
|
+ param.goodsName = this.goodsName;
|
|
this.$api.goodsList(param).then((res) => {
|
|
this.$api.goodsList(param).then((res) => {
|
|
self.paramList[1].total = res.data.total;
|
|
self.paramList[1].total = res.data.total;
|
|
self.list2.push.apply(self.list2, res.data.rows);
|
|
self.list2.push.apply(self.list2, res.data.rows);
|
|
@@ -633,9 +632,7 @@ export default {
|
|
liveList() {
|
|
liveList() {
|
|
var self = this;
|
|
var self = this;
|
|
var param = this.paramList[2];
|
|
var param = this.paramList[2];
|
|
- if (this.goodsName) {
|
|
|
|
- param.goodsName = this.goodsName;
|
|
|
|
- }
|
|
|
|
|
|
+ param.goodsName = this.goodsName;
|
|
this.$api.goodsList(param).then((res) => {
|
|
this.$api.goodsList(param).then((res) => {
|
|
self.paramList[2].total = res.data.total;
|
|
self.paramList[2].total = res.data.total;
|
|
self.list3.push.apply(self.list3, res.data.rows);
|
|
self.list3.push.apply(self.list3, res.data.rows);
|