@@ -171,7 +171,6 @@ export default {
this.detailsDialog.exData = row
this.detailsDialog.show = true
},
- // todo 推荐接口报错
del(row) {
this.$confirm('确定要推荐吗', '确认', {
type: 'warning'
@@ -40,7 +40,7 @@ view.footer-fixed-bottom {
bottom: 0;
z-index: 10;
background: rgba(255, 255, 255, 1);
- box-shadow: 0 -16px 15px 0 rgba(237, 237, 237, 0.25);
+ box-shadow: 0 -16rpx 15rpx 0 rgba(237, 237, 237, 0.25);
}
view.footer-fixed-bottom > view {
@@ -16,7 +16,8 @@ Page({
form: {
comment: ''
- booLock: false
+ booLock: false,
+ inputPosition: 'fixed'
...pages.methods,
/**
@@ -95,6 +96,10 @@ Page({
imageUrl: video_cover_url
+ handleFocus() {
+ const sys = wx.getSystemInfoSync()
+ },
+ handleBlur() {},
setComment(event) {
const { value } = event.detail
@@ -1,3 +1,9 @@
+page {
+ position: relative;
+ left: 0;
+ top: 0;
+}
+
.wrapper {
width: 100%;
padding-bottom: 100rpx;
@@ -50,7 +50,7 @@
<view
class="footer-fixed-bottom"
- style="box-shadow: none;">
+ style="box-shadow: none;position: {{inputPosition}}">
<view>
<view class="form-item">
<image
@@ -61,6 +61,8 @@
value="{{form.comment}}"
placeholder="说点什么吧..."
:cursor-spacing="{{60}}"
+ bind:focus="handleFocus"
+ bind:blur="handleBlur"
bind:input="setComment"></input>
<button
class="btn-send"