diff --git a/root/merchantManagement/dynamicNotice.vue b/root/merchantManagement/dynamicNotice.vue index c9aa8a4..b53bb6d 100644 --- a/root/merchantManagement/dynamicNotice.vue +++ b/root/merchantManagement/dynamicNotice.vue @@ -14,7 +14,7 @@ - + { + this.G.Put(this.api.merchantManagement_updateField, { + fieldName: "notice", + fieldValue: this.noticList[0] + }, () => { that.isSubmit = false; uni.showToast({ @@ -174,5 +183,38 @@ export default { border-radius: 8px; } } + .color-item { + position: relative; + transition: all 0.2s ease; + &::after { + content: ''; + position: absolute; + top: -4px; + left: -4px; + right: -4px; + bottom: -4px; + border-radius: 12px; + border: 2px solid transparent; + transition: all 0.2s ease; + } + } + .color-item-selected { + transform: scale(1.1); + &::after { + border-color: #999; + } + animation: selectedPulse 0.3s ease; + } +} +@keyframes selectedPulse { + 0% { + transform: scale(1); + } + 50% { + transform: scale(1.15); + } + 100% { + transform: scale(1.1); + } }