jufubao-base 1.0.174-beta7 → 1.0.174-beta8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.174-beta7",
3
+ "version": "1.0.174-beta8",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -304,9 +304,11 @@ export default {
304
304
  flex-flow: wrap;
305
305
 
306
306
  &.showTwo {
307
- &:nth-child(4),&:nth-child(5),&:nth-child(6){
308
- margin-top: 8rpx;
309
- }
307
+ & > view{
308
+ &:nth-child(4),&:nth-child(5),&:nth-child(6){
309
+ margin-top: 8rpx;
310
+ }
311
+ }
310
312
  }
311
313
  & > view {
312
314
  padding: 0 14rpx;
@@ -92,9 +92,11 @@
92
92
  componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins
93
93
  ],
94
94
  data() {
95
+ let keyword = ''
96
+ if(this.$configProject['isPreview']) keyword = '商品'
95
97
  return {
96
98
  tabId: 'all', //cinema/film/shop/product
97
- keyword: '',
99
+ keyword: keyword,
98
100
  options:{},
99
101
  menuList: [],
100
102
  //公共样式
@@ -223,7 +225,7 @@
223
225
  },
224
226
  },
225
227
  created() {
226
- if(this.$configProject['isPreview']) this.keyword = '商品'
228
+
227
229
  this.emitParent = new EmitParent({
228
230
  getParent: ()=>{
229
231
  return this;
@@ -303,7 +305,6 @@
303
305
 
304
306
  if(this.$configProject['isPreview']){
305
307
  this.menuList = this.searchScope;
306
- this.keyword = "搜索关键字";
307
308
  this.isPreview = true;
308
309
  }
309
310
  },