完善小程序

This commit is contained in:
myTest383
2024-12-16 14:39:59 +08:00
parent dafca7a329
commit f4f427174c
27 changed files with 893 additions and 328 deletions

View File

@@ -54,7 +54,7 @@
/**
* 全局默认背景透明supportChange= false 会对默认色变成不透明
*/
const defaultTransparentBg = "linear-gradient(89.26deg, rgba(97,204,44,0) 0.75%,rgba(128,200,90,0) 99.78%)";
const defaultTransparentBg = "linear-gradient(89.26deg, rgba(254,144,56,0) 0.75%,rgba(255,177,118,0) 99.78%)";
export default {
name: "NavBar",
@@ -161,8 +161,8 @@
*/
defaultColorBgAlpha(res) {
let x = this.alpha(res)
this.navBackground = "linear-gradient(89.26deg, rgba(97,204,44," + x +
") 0.75%,rgba(128,200,90," + x + ") 99.78%)"
this.navBackground = "linear-gradient(89.26deg, rgba(254,144,56," + x +
") 0.75%,rgba(255,177,118," + x + ") 99.78%)"
},
clickIcon() {
// uni.navigateBack()