no message
This commit is contained in:
15
components/float-help/index.js
Normal file
15
components/float-help/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var e = require("../../common/vendor.js"),
|
||||
n = require("../../utils/navigate.js"),
|
||||
t = {
|
||||
__name: "index",
|
||||
setup: function (t) {
|
||||
var r = function () {
|
||||
n.navigateTo({ url: "/pages/question/index" });
|
||||
};
|
||||
return function (n, t) {
|
||||
return { a: e.o(r) };
|
||||
};
|
||||
},
|
||||
},
|
||||
r = e._export_sfc(t, [["__scopeId", "data-v-75efef85"]]);
|
||||
wx.createComponent(r);
|
||||
1
components/float-help/index.json
Normal file
1
components/float-help/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "component": true, "usingComponents": {} }
|
||||
8
components/float-help/index.wxml
Normal file
8
components/float-help/index.wxml
Normal file
@@ -0,0 +1,8 @@
|
||||
<view
|
||||
catchtap="{{a}}"
|
||||
class="button data-v-75efef85"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
<image class="icon data-v-75efef85" src="/static/svgs/icon_help.svg"></image>
|
||||
</view>
|
||||
20
components/float-help/index.wxss
Normal file
20
components/float-help/index.wxss
Normal file
@@ -0,0 +1,20 @@
|
||||
.button.data-v-75efef85 {
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
bottom: 180rpx;
|
||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
height: 80rpx;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
right: 40rpx;
|
||||
width: 80rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
.button image.data-v-75efef85 {
|
||||
height: 40rpx;
|
||||
width: 40rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user