当前位置: 首页 > news >正文

做网站推广工作赚钱吗seo网站关键字优化

做网站推广工作赚钱吗,seo网站关键字优化,番禺网站建设,合肥有多少建网站公司一、效果 二、代码 实现思路使用的是官方提供的 movable-area:注意点,需要设置其高度,否则会出现列表内容重叠的现象。由于movable-view需要向右移动,左滑的时候给删除控件展示的空间,故 movable-area 需要左移 left:…

一、效果

二、代码

  实现思路使用的是官方提供的

movable-area:注意点,需要设置其高度,否则会出现列表内容重叠的现象。由于movable-view需要向右移动,左滑的时候给删除控件展示的空间,故 movable-area 需要左移 left: -120rpx;,movable-view右移left: 120rpx;。 通过 width: calc(100% - 120rpx);左划的距离。

.moveArea {
  display: flex;
  flex-direction: row;
  width: calc(100% + 120rpx);
  justify-content: center;
  left: -120rpx;
  height: 188rpx;
}
 

movable-view

.movableView {
  display: flex;
  flex-direction: row;
  width: calc(100% - 120rpx);
  z-index: 1001;
  left: 120rpx;
}


Page({/*** 页面的初始数据*/data: {pushedData:[{messageTitle:'饼干',messageContent:'饼干爱吃'}],//已推送数据},/*** 生命周期函数--监听页面加载*/onLoad() {},/*** 生命周期函数--监听页面初次渲染完成*/onReady() {},/*** 生命周期函数--监听页面显示*/onShow() {},/*** 生命周期函数--监听页面隐藏*/onHide() {},/*** 生命周期函数--监听页面卸载*/onUnload() {},/*** 页面相关事件处理函数--监听用户下拉动作*/onPullDownRefresh() {},/*** 页面上拉触底事件的处理函数*/onReachBottom() {},/*** 用户点击右上角分享*/onShareAppMessage() {},// 退出页面logout:function(){wx.navigateBack({})},})

xml代码

<!--pakage_kindness_remind/pages/kindess_msg_remind/kindness_msg_remind_pg.wxml-->
<!-- head -->
<view class="title_search"><view class="seeck_md"><!-- 返回 --><view class="logout" bindtap="logout"><image class="logout_ic" src="/images/msg/return_back.png"></image><text class="logout_txt">返回</text></view><!--内容模板--><view class="msg_title_center"><view class="msg" bindtap="open_msg"><text class="msg_txt">数据中心</text></view></view></view><view class="logout"><image class="logout_ic"></image><text class="logout_txt"></text></view>
</view><!-- body -->
<scroll-view class='scbg' scroll-y='true'><block wx:for="{{pushedData}}" wx:key="id" wx:for-item="itemName" wx:for-index="id"><!-- 子item父布局 --><view class="item_parent"><!-- 日期 4月5日 周二 8:00 --><view class="date" wx:if="{{id==0}}">{{itemName.pushTime}} </view><!--  --><movable-area class="moveArea"><movable-view class="movableView" direction="horizontal" inertia="{{true}}" out-of-bounds="{{true}}"><view style="display: flex;flex-direction: row;width: 100%;height: 100%;"><view class="box_item"><!--head布局--><view class="head_layout"><!-- itemhead左边模块  天气提醒--><view class="head_title">{{itemName.messageTitle}}</view></view><!--body布局--><view class="body_layout">{{itemName.messageContent}}</view></view></view></movable-view> <view class="itemDelet">删除</view></movable-area></view></block></scroll-view>

css代码

/* pakage_kindness_remind/pages/kindess_msg_remind/kindness_msg_remind_pg.wxss */Page {background: #f0f0f0;height: 100%;position: fixed;
}/* 头部搜索 */
/* 搜索标题 */
.title_search {background: linear-gradient(to right, #0455a7, #62c8ec);height: 170rpx;width: 100%;display: flex;flex-direction: row;align-items: flex-end;justify-content: flex-start;
}.seeck_md {display: flex;flex-direction: row;width: 100%;justify-content: flex-start;align-items: flex-end;
}/* 消息 */
.msg {width: 180rpx;height: 90rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;margin-right: 0rpx;margin-left: 30rpx;
}.msg_title_center {width: 100%;display: flex;flex-direction: row;justify-content: center;
}.msg_txt {font-size: 36rpx;height: 80rpx;width: 160rpx;margin-bottom: 20rpx;align-items: center;color: #fff;display: flex;justify-content: center;
}/* 返回 */
.logout {width: 100rpx;height: 90rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;margin-right: 20rpx;margin-left: 30rpx;
}.logout_ic {height: 44rpx;width: 48rpx;margin-right: 2rpx;
}.logout_txt {font-size: 24rpx;height: 40rpx;width: 60rpx;margin-bottom: 10rpx;align-items: flex-start;color: #fff;display: flex;justify-content: flex-start;
}/* 搜索标题 */
/* 头部搜索  *//* body */
.scbg {background-color: #f0f0f0;width: 100%;height: calc(100vh - 180rpx);left: 0rpx;right: 0rpx;top: 0rpx;padding-bottom: 120rpx;
}/* item条目布局 */
/* item父布局 */
.item_parent {margin-top: 20rpx;
}.date {display: flex;align-items: center;justify-content: center;color: #999999;font-size: 28rpx;margin-bottom: 10rpx;
}/* item盒子 */
.box_item {background-color: #fff;margin-left: 25rpx;margin-right: 25rpx;border-radius: 20rpx;flex-direction: column;width: 100%;height: 160rpx;display: flex;
}/* item模块时间 *//* item上部分布局 */
.head_layout {height: 60rpx;border-radius: 20rpx;margin-right: 20rpx;display: flex;flex-direction: row;justify-content: space-between;align-items: center;
}/* 标题 */
.head_title {width: 160rpx;display: flex;align-items: center;justify-content: flex-start;margin-left: 20rpx;color: #06c8ad;font-size: 28rpx;font-weight: 800;
}/* item下部份分布局 */
.body_layout {background-color: #fff;padding-bottom: 20rpx;border-radius: 20rpx;margin-bottom: 16rpx;align-items: center;margin-left: 20rpx;margin-top: 10rpx;margin-right: 10rpx;font-size: 28rpx;color: #999999;
}/* 滑动删除移动模块 */
.moveArea {display: flex;flex-direction: row;width: calc(100% + 120rpx);justify-content: center;left: -120rpx;height: 188rpx;
}/* 滑动删除模块 */
.movableView {display: flex;flex-direction: row;width: calc(100% - 120rpx);z-index: 1001;left: 120rpx;
}/* item删除 */
.itemDelet {position: absolute;right: 30rpx;line-height: 160rpx;background-color: #62c8ec;margin-top: 0rpx;margin-right: 6rpx;border-bottom-right-radius: 20rpx;border-top-right-radius: 20rpx;width: 120rpx;text-align: right;padding-right: 20rpx;color: #fff;
}

http://www.mmbaike.com/news/43485.html

相关文章:

  • 怎么免费建立自己的网站平台怎样推广一个产品
  • 深圳网站建设的成都网站制作设计公司
  • 柴沟堡做网站华与华营销策划公司
  • 微网站app制作品牌策划方案
  • 北京城市副中心投资建设公司网站百度推广登陆首页
  • 个人网站备案注销网站免费客服系统
  • 网站制作 南京友情链接网自动收录
  • 企业微信怎么下载东莞公司seo优化
  • 做网站在手机端预览乱码了网络推广的主要内容
  • 手机版网站怎么做网址怎么申请注册
  • win7下用iis搭建网站百度热搜榜排名
  • 废旧网站那个做的最好大连企业黄页电话
  • 如何在已建设好的网站做修改郑州网络推广报价
  • 廊坊哪里有制作手机网站的大连做优化网站哪家好
  • 夫妻找做伙食饭工作哪个网站好快速排名软件哪个好
  • 嘉定网站建设公司医院网站建设方案
  • 一下成都网站建设公司百度论坛首页
  • 局域网建设个人网站字节跳动广告代理商加盟
  • 亿网行网站建设百度公司招聘官网
  • 东平县建设局网站抖音营销推广怎么做
  • 外贸做中英文网站下拉框关键词软件
  • 海北wap网站建设公司谷歌seo和百度区别
  • 网站建设 福州立即优化在哪里
  • 物联网水表seo文章优化方法
  • 音频文件放到网站空间里生成链接怎么做关键词推广排名
  • 企业网站怎么做推广长沙网站推广合作
  • 做采集网站赚钱国家职业技能培训学校
  • notepad做网站技巧百度老旧版本大全
  • 国外域名注册哪个网站好网站推广软文
  • 山东外贸行业网站开发互联网营销师证书含金量