|
|
@@ -6,7 +6,7 @@
|
|
|
<button class="admin-button-com middle blue" @click="selectFlowerNumFn()">图片分类</button>
|
|
|
</view>
|
|
|
<view class="search-bar">
|
|
|
- <app-search-module v-model="py" placeholder="输入拼音首字母搜索" @input="searchFn" />
|
|
|
+ <app-search-module v-model="py" placeholder="输入拼音首字母搜索" @input="goSearchFn" />
|
|
|
</view>
|
|
|
<view style="float:right;">
|
|
|
<button class="admin-button-com middle blue" @click="removeFromSave(option.customId)">清除花材</button>
|
|
|
@@ -204,6 +204,22 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ goSearchFn(){
|
|
|
+ let type = uni.getSystemInfoSync().platform
|
|
|
+ //8249
|
|
|
+ if(this.getLoginInfo.shopId == 8249){
|
|
|
+ if(type == 'windows'){
|
|
|
+ if(this.py.substr(-1,1) == '。'){
|
|
|
+ this.py = this.py.replace("。", "")
|
|
|
+ this.searchFn()
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.searchFn()
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.searchFn()
|
|
|
+ }
|
|
|
+ },
|
|
|
//小菊多颜色选择页
|
|
|
goToSpecialVariety(info){
|
|
|
this.xjDataInfo = info
|