|
|
@@ -37,7 +37,7 @@
|
|
|
{{item.location == 1 ? '本地' : '上游'}}
|
|
|
</view>
|
|
|
<text class="store-title">{{item.name}}</text>
|
|
|
- <text class="edit-icon">✎</text>
|
|
|
+ <image class="edit-icon" :src="iconSrc('modify')" mode="aspectFit" />
|
|
|
</view>
|
|
|
|
|
|
<!-- 更多操作菜单 -->
|
|
|
@@ -122,6 +122,7 @@ import { getList, changeGhsName, changeLocationFn, changeDelStatus } from "@/api
|
|
|
import AppSearchModule from "@/components/module/app-search";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
import { list } from "@/mixins";
|
|
|
+import { iconSrc } from "@/utils/iconSrc";
|
|
|
export default {
|
|
|
components: { AppWrapperEmpty, AppSearchModule, Tabs, ModalModule },
|
|
|
data () {
|
|
|
@@ -182,6 +183,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ iconSrc,
|
|
|
changeLocation(ghs){
|
|
|
let that = this
|
|
|
this.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
@@ -472,11 +474,11 @@ export default {
|
|
|
}
|
|
|
|
|
|
.edit-icon {
|
|
|
- font-size: 24upx;
|
|
|
- color: #aaa;
|
|
|
+ width: 28upx;
|
|
|
+ height: 28upx;
|
|
|
margin-left: 8upx;
|
|
|
margin-right: 12upx;
|
|
|
- cursor: pointer;
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.location-badge {
|