diff --git a/settings.yaml b/settings.yaml index ea796a49..807f8d3b 100644 --- a/settings.yaml +++ b/settings.yaml @@ -136,6 +136,15 @@ spec: name: profile_desc placeholder: 请填写个人卡片描述信息 help: "支持使用 HTML 标签" + - $formkit: url + name: wechat_img_face + placeholder: 微信正面图 + validation: "url" + - $formkit: url + name: wechat_img_back + placeholder: 微信背面图 + validation: "url" + help: 图片可以从公众号后台下载物料或者自制 - group: footer label: 页脚 formSchema: @@ -456,7 +465,7 @@ spec: formSchema: - $formkit: radio name: loading_box - label: 开关 + label: 加载页 value: true options: - label: 打开 diff --git a/templates/assets/images/wechat/wechat1.png b/templates/assets/images/wechat/wechat1.png new file mode 100644 index 00000000..c13e638a Binary files /dev/null and b/templates/assets/images/wechat/wechat1.png differ diff --git a/templates/assets/images/wechat/wechat2.png b/templates/assets/images/wechat/wechat2.png new file mode 100644 index 00000000..fc1bc144 Binary files /dev/null and b/templates/assets/images/wechat/wechat2.png differ diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 87c808ef..9fd56d1d 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -6808,7 +6808,7 @@ span.fund_name { } #aside-content .card-widget#card-wechat { - background: rgb(87, 189, 106); + background: rgb(7, 193, 96); display: flex; place-content: center; padding: 0px; @@ -6850,20 +6850,18 @@ span.fund_name { } /* 公众号推广部分 */ -/*.face {*/ -/* position: absolute;*/ -/* width: 100%;*/ -/* height: 100%;*/ -/* backface-visibility: hidden;*/ -/* background: url(../images/404.gif) center center / 100% no-repeat;*/ -/*}*/ +.face { + position: absolute; + width: 100%; + height: 100%; + backface-visibility: hidden; +} -/*.back.face {*/ -/* display: block;*/ -/* transform: rotateY(180deg);*/ -/* box-sizing: border-box;*/ -/* background: url(../images/404.gif) center center / 100% no-repeat;*/ -/*}*/ +.back.face { + display: block; + transform: rotateY(180deg); + box-sizing: border-box; +} #card-vip-designweekly.card-widget { padding: 0px; diff --git a/templates/index.html b/templates/index.html index 66a15f8b..f9268dd2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -24,7 +24,7 @@ -
+
diff --git a/templates/modules/widgets/aside/wechat.html b/templates/modules/widgets/aside/wechat.html new file mode 100644 index 00000000..6974e243 --- /dev/null +++ b/templates/modules/widgets/aside/wechat.html @@ -0,0 +1,14 @@ + + +
+
+
+
+
+
+
+
+ \ No newline at end of file