作者 lihongjuan

22

正在显示 46 个修改的文件 包含 2618 行增加0 行删除
  1 +// pages/findblock/jiudandetail/jiudandetail.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面初次渲染完成
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * 生命周期函数--监听页面显示
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * 生命周期函数--监听页面隐藏
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * 生命周期函数--监听页面卸载
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * 页面相关事件处理函数--监听用户下拉动作
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * 页面上拉触底事件的处理函数
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * 用户点击右上角分享
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "发现"
  3 +}
  1 +<view class="jiudandetailhead">
  2 + <view class="edtaileft">
  3 + <view class="edtaileftimg">
  4 + <image src="{{url}}/aicon_77@2x.png"></image>
  5 + </view>
  6 + <view class="editmiddle">
  7 + <view class="middletop">万丈红尘一人醉</view>
  8 + <view class="middlebottom">lv12</view>
  9 + </view>
  10 +
  11 + </view>
  12 +
  13 +
  14 +
  15 + <view class="atten">关注</view>
  16 +</view>
  1 +.jiudandetailhead{
  2 + display:flex;
  3 + align-items: center;
  4 + justify-content: space-between;
  5 + padding: 30rpx;
  6 + box-sizing: border-box;
  7 +
  8 +}
  9 +
  10 +.edtaileftimg{
  11 + width:96rpx;
  12 + height:96rpx;
  13 + font-size: 0
  14 +}
  15 +
  16 +image{
  17 + width:100%;
  18 + height:100%;
  19 +}
  20 +.edtaileft{
  21 + display:flex;
  22 + align-items: center;
  23 +}
  24 +.editmiddle{
  25 + margin-let:
  26 +}
  1 +// pages/findblock/niangjiushi/niangjiushi.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面初次渲染完成
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * 生命周期函数--监听页面显示
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * 生命周期函数--监听页面隐藏
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * 生命周期函数--监听页面卸载
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * 页面相关事件处理函数--监听用户下拉动作
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * 页面上拉触底事件的处理函数
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * 用户点击右上角分享
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "酿酒师"
  3 +}
  1 +<view class="niangjiulist">
  2 + <view class="niangjiuitem">
  3 + <view class="teachimg">
  4 + <image src="{{url}}/aicon_77@2x.png"></image>
  5 + </view>
  6 + <view class="jiuname">徐强</view>
  7 +
  8 + <view class="atten">关注</view>
  9 +
  10 + <view class="jiubottom">
  11 + <view class="jiuleft">
  12 + <view class="jiuleftimg">
  13 + <image src="{{url}}/aicon_66x.png"></image>
  14 + </view>
  15 + <view class="jiuzan">618</view>
  16 + </view>
  17 +
  18 + <view class="jiumiddle">
  19 + <view class="middleimg">
  20 + <image src="{{url}}/aicon_67x.png"></image>
  21 + </view>
  22 + <view class="tiao">54</view>
  23 + </view>
  24 +
  25 + <view class="jiuright">
  26 + <image src="{{url}}/aicon_68x.png"></image>
  27 + </view>
  28 + </view>
  29 + </view>
  30 + <view class="niangjiuitem">
  31 + <view class="teachimg">
  32 + <image src="{{url}}/aicon_77@2x.png"></image>
  33 + </view>
  34 + <view class="jiuname">徐强</view>
  35 +
  36 + <view class="atten">关注</view>
  37 +
  38 + <view class="jiubottom">
  39 + <view class="jiuleft">
  40 + <view class="jiuleftimg">
  41 + <image src="{{url}}/aicon_66x.png"></image>
  42 + </view>
  43 + <view class="jiuzan">618</view>
  44 + </view>
  45 +
  46 + <view class="jiumiddle">
  47 + <view class="middleimg">
  48 + <image src="{{url}}/aicon_67x.png"></image>
  49 + </view>
  50 + <view class="tiao">54</view>
  51 + </view>
  52 +
  53 + <view class="jiuright">
  54 + <image src="{{url}}/aicon_68x.png"></image>
  55 + </view>
  56 + </view>
  57 + </view>
  58 + <view class="niangjiuitem">
  59 + <view class="teachimg">
  60 + <image src="{{url}}/aicon_77@2x.png"></image>
  61 + </view>
  62 + <view class="jiuname">徐强</view>
  63 +
  64 + <view class="atten">关注</view>
  65 +
  66 + <view class="jiubottom">
  67 + <view class="jiuleft">
  68 + <view class="jiuleftimg">
  69 + <image src="{{url}}/aicon_66x.png"></image>
  70 + </view>
  71 + <view class="jiuzan">618</view>
  72 + </view>
  73 +
  74 + <view class="jiumiddle">
  75 + <view class="middleimg">
  76 + <image src="{{url}}/aicon_67x.png"></image>
  77 + </view>
  78 + <view class="tiao">54</view>
  79 + </view>
  80 +
  81 + <view class="jiuright">
  82 + <image src="{{url}}/aicon_68x.png"></image>
  83 + </view>
  84 + </view>
  85 + </view>
  86 + <view class="niangjiuitem">
  87 + <view class="teachimg">
  88 + <image src="{{url}}/aicon_77@2x.png"></image>
  89 + </view>
  90 + <view class="jiuname">徐强</view>
  91 +
  92 + <view class="atten">关注</view>
  93 +
  94 + <view class="jiubottom">
  95 + <view class="jiuleft">
  96 + <view class="jiuleftimg">
  97 + <image src="{{url}}/aicon_66x.png"></image>
  98 + </view>
  99 + <view class="jiuzan">618</view>
  100 + </view>
  101 +
  102 + <view class="jiumiddle">
  103 + <view class="middleimg">
  104 + <image src="{{url}}/aicon_67x.png"></image>
  105 + </view>
  106 + <view class="tiao">54</view>
  107 + </view>
  108 +
  109 + <view class="jiuright">
  110 + <image src="{{url}}/aicon_68x.png"></image>
  111 + </view>
  112 + </view>
  113 + </view>
  114 + <view class="niangjiuitem">
  115 + <view class="teachimg">
  116 + <image src="{{url}}/aicon_77@2x.png"></image>
  117 + </view>
  118 + <view class="jiuname">徐强</view>
  119 +
  120 + <view class="atten">关注</view>
  121 +
  122 + <view class="jiubottom">
  123 + <view class="jiuleft">
  124 + <view class="jiuleftimg">
  125 + <image src="{{url}}/aicon_66x.png"></image>
  126 + </view>
  127 + <view class="jiuzan">618</view>
  128 + </view>
  129 +
  130 + <view class="jiumiddle">
  131 + <view class="middleimg">
  132 + <image src="{{url}}/aicon_67x.png"></image>
  133 + </view>
  134 + <view class="tiao">54</view>
  135 + </view>
  136 +
  137 + <view class="jiuright">
  138 + <image src="{{url}}/aicon_68x.png"></image>
  139 + </view>
  140 + </view>
  141 + </view>
  142 +</view>
  1 +.niangjiulist{
  2 + display:flex;
  3 + flex-wrap:wrap;
  4 +}
  5 +
  6 +.teachimg{
  7 + width:120rpx;
  8 + height:120rpx;
  9 + font-size: 0;
  10 + border-radius:50%;
  11 + margin:40rpx auto 0;
  12 +
  13 +}
  14 +.teachimg image{
  15 + width:100%;
  16 + height:100%;
  17 + border-radius:50%;
  18 +}
  19 +.niangjiuitem{
  20 + width:366rpx;
  21 + height:386rpx;
  22 + border-bottom: 1rpx solid #f5f5f5;
  23 +
  24 +}
  25 +.niangjiuitem:nth-child(n){
  26 + border-right:1rpx solid #f5f5f5
  27 +}
  28 +.jiuname{
  29 + color:#1A1A1A;
  30 + font-size: 28rpx;
  31 + text-align: center;
  32 + margin-top:14rpx;
  33 +}
  34 +.atten{
  35 + width:100rpx;
  36 + margin:20rpx auto 0;
  37 +}
  38 +.jiubottom{
  39 + display:flex;
  40 + align-items: center;
  41 + justify-content: space-around;
  42 + margin-top:23rpx;
  43 +}
  44 +.jiuleft{
  45 + display:flex;
  46 + align-items: center
  47 +}
  48 +.jiumiddle{
  49 + display:flex;
  50 + align-items: center
  51 +}
  52 +.jiuleftimg{
  53 + width:30rpx;
  54 + height:28rpx;
  55 + font-size: 0
  56 +}
  57 +image{
  58 + width:100%;
  59 + height:100%;
  60 +}
  61 +.jiuzan{
  62 + color:#666666;
  63 + font-size: 28rpx;
  64 + margin-left:16rpx;
  65 +}
  66 +.middleimg{
  67 + width:29rpx;
  68 + height:27rpx;
  69 + font-size: 0
  70 +}
  71 +.tiao{
  72 + color:#666666;
  73 + font-size: 28rpx;
  74 + margin-left:16rpx;
  75 +}
  76 +.jiuright{
  77 + width:26rpx;
  78 + height:26rpx;
  79 + font-size: 0
  80 +}
  1 +// pages/findblock/zhuanjiapinjiu/zhuanjiapinjiu.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面初次渲染完成
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * 生命周期函数--监听页面显示
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * 生命周期函数--监听页面隐藏
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * 生命周期函数--监听页面卸载
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * 页面相关事件处理函数--监听用户下拉动作
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * 页面上拉触底事件的处理函数
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * 用户点击右上角分享
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "发现"
  3 +}
  1 +<view class="wineblock">
  2 +
  3 + <view class="winetitle">浓香酒酿酒大师:沈才宏</view>
  4 +
  5 + <view class="wineimg">
  6 + <image src="{{url}}aicon_64.png"></image>
  7 + </view>
  8 +
  9 + <view class="winebottom">
  10 + <view class="winebottomleft">
  11 + <view class="winebottomleftimg">
  12 + <image src="{{url}}aicon_65x.png"></image>
  13 + </view>
  14 + <view class="wineeng">WinesBook</view>
  15 + </view>
  16 + <view class="winebottonright">
  17 +
  18 + <view class="winerighttou">
  19 + <view class="winerighttouimg">
  20 + <image src="{{url}}aicon_66x.png"></image>
  21 + </view>
  22 + <view class="winezan">18</view>
  23 + </view>
  24 + <view class="winerighttou">
  25 + <view class="winerighttouimg">
  26 + <image src="{{url}}aicon_67x.png"></image>
  27 + </view>
  28 + <view class="winezan">54</view>
  29 + </view>
  30 +
  31 + <view class="winerighttou">
  32 + <view class="winerighttouimg">
  33 + <image src="{{url}}aicon_68x.png"></image>
  34 + </view>
  35 +
  36 + </view>
  37 + </view>
  38 +
  39 + </view>
  40 +
  41 +</view>
  42 +<view class="wineblock">
  43 +
  44 + <view class="winetitle">浓香酒酿酒大师:沈才宏</view>
  45 +
  46 + <view class="wineimg">
  47 + <image src="{{url}}aicon_64.png"></image>
  48 + </view>
  49 +
  50 + <view class="winebottom">
  51 + <view class="winebottomleft">
  52 + <view class="winebottomleftimg">
  53 + <image src="{{url}}aicon_65x.png"></image>
  54 + </view>
  55 + <view class="wineeng">WinesBook</view>
  56 + </view>
  57 + <view class="winebottonright">
  58 +
  59 + <view class="winerighttou">
  60 + <view class="winerighttouimg">
  61 + <image src="{{url}}aicon_66x.png"></image>
  62 + </view>
  63 + <view class="winezan">18</view>
  64 + </view>
  65 + <view class="winerighttou">
  66 + <view class="winerighttouimg">
  67 + <image src="{{url}}aicon_67x.png"></image>
  68 + </view>
  69 + <view class="winezan">54</view>
  70 + </view>
  71 +
  72 + <view class="winerighttou">
  73 + <view class="winerighttouimg">
  74 + <image src="{{url}}aicon_68x.png"></image>
  75 + </view>
  76 +
  77 + </view>
  78 + </view>
  79 +
  80 + </view>
  81 +
  82 +</view>
  1 +.winetitle{
  2 + color:#1A1A1A;
  3 + font-size: 28rpx;
  4 + margin-left:36rpx;
  5 + font-weight: bold
  6 +}
  7 +.wineimg{
  8 + width:686rpx;
  9 + height:300rpx;
  10 + margin:30rpx auto 0;
  11 +}
  12 +.winebottom{
  13 + display:flex;
  14 + justify-content: space-between;
  15 + align-items: center;
  16 + padding: 0 32rpx;
  17 + box-sizing: border-box;
  18 + margin-top:30rpx;
  19 +}
  20 +.winebottomleftimg{
  21 + width:60rpx;
  22 + height:60rpx;
  23 + font-size: 0
  24 +}
  25 +.winebottomleft{
  26 + display:flex;
  27 + align-items: center
  28 +}
  29 +.winebottonright{
  30 + width:345rpx;
  31 + display:flex;
  32 + align-items: center;
  33 + justify-content: space-around
  34 +}
  35 +.winerighttouimg{
  36 + width:30rpx;
  37 + height:28rpx;
  38 + font-size: 0
  39 +}
  40 +.winerighttou{
  41 + display:flex;
  42 + align-items: center
  43 +}
  44 +.wineeng{
  45 + color:#666666;
  46 + font-size: 28rpx;
  47 + margin-left: 20rpx;
  48 +}
  49 +.winezan{
  50 + color:#666666;
  51 + font-size:28rpx;
  52 + margin-left:5rpx;
  53 +}
  54 +.wineblock{
  55 + border-bottom: 1rpx solid #f5f5f5;
  56 + padding-bottom: 30rpx;
  57 + margin-top:33rpx;
  58 +}
  59 +.pin{
  60 + width:16rpx;
  61 + height:32rpx;
  62 + font-size: 0
  63 +}
  1 +// pages/findblock/zhuanjiapinjiudetail/zhuanjiapinjiudetail.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 +
  20 + },
  21 +
  22 + /**
  23 + * 生命周期函数--监听页面初次渲染完成
  24 + */
  25 + onReady: function () {
  26 +
  27 + },
  28 +
  29 + /**
  30 + * 生命周期函数--监听页面显示
  31 + */
  32 + onShow: function () {
  33 +
  34 + },
  35 +
  36 + /**
  37 + * 生命周期函数--监听页面隐藏
  38 + */
  39 + onHide: function () {
  40 +
  41 + },
  42 +
  43 + /**
  44 + * 生命周期函数--监听页面卸载
  45 + */
  46 + onUnload: function () {
  47 +
  48 + },
  49 +
  50 + /**
  51 + * 页面相关事件处理函数--监听用户下拉动作
  52 + */
  53 + onPullDownRefresh: function () {
  54 +
  55 + },
  56 +
  57 + /**
  58 + * 页面上拉触底事件的处理函数
  59 + */
  60 + onReachBottom: function () {
  61 +
  62 + },
  63 +
  64 + /**
  65 + * 用户点击右上角分享
  66 + */
  67 + onShareAppMessage: function () {
  68 +
  69 + }
  70 +})
  1 +<view class="detailhead">
  2 + <view class="liuliang">播放将消耗7.72MB流量,是否需要在WIFI环境下播放</view>
  3 + <view class="goon">继续播放</view>
  4 +</view>
  5 +
  6 +<view class="winebottom">
  7 + <view class="winebottomleft">
  8 + <view class="winebottomleftimg">
  9 + <image src="{{url}}aicon_65x.png"></image>
  10 + </view>
  11 + <view class="wineeng">WinesBook</view>
  12 + </view>
  13 + <view class="winebottonright">
  14 +
  15 + <view class="winerighttou zantou">
  16 + <view class="winerighttouimg">
  17 + <image src="{{url}}aicon_66x.png"></image>
  18 + </view>
  19 + <view class="winezan">12</view>
  20 + </view>
  21 +
  22 +
  23 + <view class="winerighttou">
  24 + <view class="winerighttouimg">
  25 + <image src="{{url}}aicon_68x.png"></image>
  26 + </view>
  27 +
  28 + </view>
  29 + </view>
  30 +
  31 +</view>
  32 +
  33 +
  34 +<view class="commentlist">
  35 + <view class="commentitem">
  36 + <view class="commentleft">
  37 + <image src="{{url}}/aicon_77@2x.png"></image>
  38 + </view>
  39 +
  40 + <view class="commentright">
  41 + <view class="rightname">小叶子</view>
  42 + <view class="rightdate">2019年11月5日</view>
  43 + <view class="righttext">我怎么这么好看</view>
  44 + </view>
  45 + </view>
  46 + <view class="commentitem">
  47 + <view class="commentleft">
  48 + <image src="{{url}}/aicon_77@2x.png"></image>
  49 + </view>
  50 +
  51 + <view class="commentright">
  52 + <view class="rightname">小叶子</view>
  53 + <view class="rightdate">2019年11月5日</view>
  54 + <view class="righttext">我怎么这么好看</view>
  55 + </view>
  56 + </view>
  57 + <view class="commentitem">
  58 + <view class="commentleft">
  59 + <image src="{{url}}/aicon_77@2x.png"></image>
  60 + </view>
  61 +
  62 + <view class="commentright">
  63 + <view class="rightname">小叶子</view>
  64 + <view class="rightdate">2019年11月5日</view>
  65 + <view class="righttext">我怎么这么好看</view>
  66 + </view>
  67 + </view>
  68 + <view class="commentitem">
  69 + <view class="commentleft">
  70 + <image src="{{url}}/aicon_77@2x.png"></image>
  71 + </view>
  72 +
  73 + <view class="commentright">
  74 + <view class="rightname">小叶子</view>
  75 + <view class="rightdate">2019年11月5日</view>
  76 + <view class="righttext">我怎么这么好看</view>
  77 + </view>
  78 + </view>
  79 + <view class="commentitem">
  80 + <view class="commentleft">
  81 + <image src="{{url}}/aicon_77@2x.png"></image>
  82 + </view>
  83 +
  84 + <view class="commentright">
  85 + <view class="rightname">小叶子</view>
  86 + <view class="rightdate">2019年11月5日</view>
  87 + <view class="righttext">我怎么这么好看</view>
  88 + </view>
  89 + </view>
  90 + <view class="commentitem">
  91 + <view class="commentleft">
  92 + <image src="{{url}}/aicon_77@2x.png"></image>
  93 + </view>
  94 +
  95 + <view class="commentright">
  96 + <view class="rightname">小叶子</view>
  97 + <view class="rightdate">2019年11月5日</view>
  98 + <view class="righttext">我怎么这么好看</view>
  99 + </view>
  100 + </view>
  101 + <view class="commentitem">
  102 + <view class="commentleft">
  103 + <image src="{{url}}/aicon_77@2x.png"></image>
  104 + </view>
  105 +
  106 + <view class="commentright">
  107 + <view class="rightname">小叶子</view>
  108 + <view class="rightdate">2019年11月5日</view>
  109 + <view class="righttext">我怎么这么好看</view>
  110 + </view>
  111 + </view>
  112 + <view class="commentitem">
  113 + <view class="commentleft">
  114 + <image src="{{url}}/aicon_77@2x.png"></image>
  115 + </view>
  116 +
  117 + <view class="commentright">
  118 + <view class="rightname">小叶子</view>
  119 + <view class="rightdate">2019年11月5日</view>
  120 + <view class="righttext">我怎么这么好看</view>
  121 + </view>
  122 + </view>
  123 +
  124 +
  125 +
  126 +</view>
  127 +<view class="pingjiabottom">
  128 + <view class="pbleft">
  129 + <input placeholder='输入评论的内容' placeholder-class='enterping' />
  130 + </view>
  131 +
  132 + <view class="pbright">发送</view>
  133 +</view>
  1 +.detailhead {
  2 + width: 750rpx;
  3 + height: 483rpx;
  4 + background: #000;
  5 + overflow: hidden;
  6 +}
  7 +
  8 +.liuliang {
  9 + color: #fff;
  10 + font-size: 24rpx;
  11 + text-align: center;
  12 + margin-top: 164rpx;
  13 +}
  14 +
  15 +.goon {
  16 + width: 206rpx;
  17 + height: 64rpx;
  18 + background: rgba(52, 52, 52, 1);
  19 + border-radius: 4rpx;
  20 + color: #fff;
  21 + font-size: 26rpx;
  22 + text-align: center;
  23 + line-height: 64rpx;
  24 + margin: 26rpx auto 0;
  25 +}
  26 +
  27 +.winebottom {
  28 + display: flex;
  29 + justify-content: space-between;
  30 + align-items: center;
  31 + padding: 30rpx 32rpx;
  32 + box-sizing: border-box;
  33 + border-bottom: 1rpx solid #f5f5f5;
  34 +}
  35 +
  36 +.winebottomleftimg {
  37 + width: 60rpx;
  38 + height: 60rpx;
  39 + font-size: 0;
  40 +}
  41 +
  42 +.winebottomleft {
  43 + display: flex;
  44 + align-items: center;
  45 +}
  46 +
  47 +.winebottonright {
  48 + width: 345rpx;
  49 + display: flex;
  50 + align-items: center;
  51 + justify-content: flex-end;
  52 +}
  53 +
  54 +.winerighttouimg {
  55 + width: 30rpx;
  56 + height: 28rpx;
  57 + font-size: 0;
  58 +}
  59 +
  60 +.winerighttou {
  61 + display: flex;
  62 + align-items: center;
  63 +}
  64 +
  65 +.zantou {
  66 + margin-right: 50rpx;
  67 +}
  68 +
  69 +.wineeng {
  70 + color: #666;
  71 + font-size: 28rpx;
  72 + margin-left: 20rpx;
  73 +}
  74 +
  75 +.winezan {
  76 + color: #666;
  77 + font-size: 28rpx;
  78 + margin-left: 5rpx;
  79 +}
  80 +
  81 +.wineblock {
  82 + border-bottom: 14rpx solid #f2f2f2;
  83 + padding-bottom: 30rpx;
  84 +}
  85 +
  86 +.pin {
  87 + width: 16rpx;
  88 + height: 32rpx;
  89 + font-size: 0;
  90 +}
  91 +
  92 +.commentlist {
  93 + padding: 0 30rpx;
  94 + box-sizing: border-box;
  95 + padding-bottom: 100rpx;
  96 +}
  97 +
  98 +.commentitem {
  99 + display: flex;
  100 + padding: 40rpx 0;
  101 + box-sizing: border-box;
  102 + border-bottom: 1rpx solid #f5f5f5;
  103 +}
  104 +
  105 +.commentleft {
  106 + width: 60rpx;
  107 + height: 60rpx;
  108 + font-size: 0;
  109 + border-radius: 50%;
  110 +}
  111 +
  112 +image {
  113 + width: 100%;
  114 + height: 100%;
  115 + border-radius: 50%;
  116 +}
  117 +
  118 +.commentright {
  119 + margin-left: 20rpx;
  120 +}
  121 +
  122 +.rightname {
  123 + color: #666;
  124 + font-size: 28rpx;
  125 +}
  126 +
  127 +.rightdate {
  128 + color: #999;
  129 + font-size: 24rpx;
  130 + margin-top: 14rpx;
  131 +}
  132 +
  133 +.righttext {
  134 + color: #1a1a1a;
  135 + font-size: 28rpx;
  136 + margin-top: 23rpx;
  137 +}
  138 +
  139 +.pingjiabottom {
  140 + width: 750rpx;
  141 + height: 86rpx;
  142 + display: flex;
  143 + align-items: center;
  144 + justify-content: space-between;
  145 + padding: 16rpx 30rpx;
  146 + box-sizing: border-box;
  147 + position: fixed;
  148 + bottom: 0rpx;
  149 + background: #fff;
  150 + border-top: 1rpx solid #f5f5f5;
  151 +}
  152 +
  153 +.pbleft {
  154 + width: 531rpx;
  155 + height: 60rpx;
  156 + background: rgba(242, 242, 242, 1);
  157 + border-radius: 5rpx;
  158 + color: #999;
  159 + font-size: 26rpx;
  160 + padding: 0 26rpx;
  161 + line-height: 60rpx;
  162 + box-sizing: border-box;
  163 +}
  164 +
  165 +.pbleft input {
  166 + width: 531rpx;
  167 + height: 60rpx;
  168 + padding: 0 26rpx;
  169 + line-height: 60rpx;
  170 + box-sizing: border-box;
  171 +}
  172 +
  173 +.enterping {
  174 + color: #999;
  175 + font-size: 2F6rpx;
  176 +}
  177 +
  178 +.pbright {
  179 + width: 120rpx;
  180 + height: 60rpx;
  181 + background: rgba(232, 24, 37, 1);
  182 + border-radius: 30rpx;
  183 + color: #fff;
  184 + font-size: 26rpx;
  185 + text-align: center;
  186 + line-height: 60rpx;
  187 +}
  1 +// import qqmap from '../../utils/map.js';
  2 +const app = getApp()
  3 +
  4 +Page({
  5 + data: {
  6 + //下面是字母排序
  7 + letter: ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"],
  8 + cityListId: '',
  9 + //下面是城市列表信息,这里只是模拟数据
  10 + citylist: [{ "letter": "A", "data": [{ "id": "v7", "cityName": "安徽" }] }, { "letter": "B", "data": [{ "id": "v10", "cityName": "巴中" }, { "id": "v4", "cityName": "包头" }, { "id": "v1", "cityName": "北京" }] }, { "letter": "C", "data": [{ "id": "v15", "cityName": "成都" }] }, { "letter": "D", "data": [{ "id": "v21", "cityName": "稻城" }] }, { "letter": "G", "data": [{ "id": "v17", "cityName": "广州" }, { "id": "v29", "cityName": "桂林" }] }, { "letter": "H", "data": [{ "id": "v9", "cityName": "海南" }, { "id": "v3", "cityName": "呼和浩特" }] }, { "letter": "L", "data": [{ "id": "v24", "cityName": "洛阳" }, { "id": "v20", "cityName": "拉萨" }, { "id": "v14", "cityName": "丽江" }] }, { "letter": "M", "data": [{ "id": "v13", "cityName": "眉山" }] }, { "letter": "N", "data": [{ "id": "v27", "cityName": "南京" }] }, { "letter": "S", "data": [{ "id": "v18", "cityName": "三亚" }, { "id": "v2", "cityName": "上海" }] }, { "letter": "T", "data": [{ "id": "v5", "cityName": "天津" }] }, { "letter": "W", "data": [{ "id": "v12", "cityName": "乌鲁木齐" }, { "id": "v25", "cityName": "武汉" }] }, { "letter": "X", "data": [{ "id": "v23", "cityName": "西安" }, { "id": "v28", "cityName": "香港" }, { "id": "v19", "cityName": "厦门" }] }, { "letter": "Z", "data": [{ "id": "v8", "cityName": "张家口" }] }],
  11 + //下面是热门城市数据,模拟数据
  12 + newcity: ['北京', '上海', '广州', '深圳', '成都', '杭州'],
  13 + // citySel: '全国',
  14 + locateCity: '',
  15 + currentCity:'',
  16 + history_list:[],
  17 + hot_list:[]
  18 + },
  19 + //获取用户当前位置
  20 + getcity() {
  21 + let that = this;
  22 + wx.getLocation({
  23 + type: 'gcj02',
  24 + success: function (res) {
  25 + // 经纬度
  26 + var latitude = res.latitude
  27 + var longitude = res.longitude
  28 +
  29 + var aK = that.data.aK
  30 + wx.request({
  31 + url: 'https://api.map.baidu.com/geocoder/v2/?ak=y8jPDTMIuAnaVscUztce1RKfNx8v5sok&location=' + latitude + ',' + longitude + '&output=json',
  32 + data: {},
  33 + header: {
  34 + 'content-type': 'application/json'
  35 + },
  36 + success: function (res) {
  37 + console.log('1234567890', res)
  38 + var province = res.data.result.addressComponent.province;
  39 + let district = res.data.result.addressComponent.district
  40 + that.setData({
  41 + currentCity: province
  42 + })
  43 + wx.setStorageSync('city', province)
  44 + wx.request({
  45 + // url: 'xxx' + city,
  46 + // data: {},
  47 + // header: {
  48 + // 'content-type': 'application/json'
  49 + // },
  50 + // success: function (res) {
  51 + // that.setData({
  52 + // county: res.data,
  53 + // })
  54 + // },
  55 + })
  56 + }
  57 + })
  58 +
  59 + },
  60 + fail: function () {
  61 + wx.showToast({
  62 + title: '授权失败,请打开GPS重新进入页面授权',
  63 + icon: 'none',
  64 + duration: 2000
  65 + })
  66 + }
  67 + })
  68 + },
  69 +
  70 + //点击城市
  71 + cityTap(e) {
  72 + console.log(e)
  73 + const val = e.currentTarget.dataset.val || '',
  74 + types = e.currentTarget.dataset.types || '',
  75 + Index = e.currentTarget.dataset.index || '',
  76 + that = this;
  77 + let city = this.data.citySel;
  78 + let newcity = e.currentTarget.dataset.val.cityName;
  79 + console.log(newcity)
  80 + if (newcity != undefined) {
  81 + wx.setStorageSync("cityname", newcity);
  82 + }
  83 +
  84 +
  85 + let url = 'index/Index/set_city', params = {
  86 + city: newcity,
  87 +
  88 + }
  89 + app.post(url, params).then((res) => {
  90 + console.log(res);
  91 +
  92 +
  93 +
  94 + }).catch((err) => {
  95 +
  96 + })
  97 +
  98 + wx.navigateBack({
  99 + checked:true
  100 + })
  101 + },
  102 +
  103 + //点击热门城市
  104 + cityTaphot(e){
  105 + console.log(e)
  106 + let newcity = e.currentTarget.dataset.val;
  107 + console.log(newcity)
  108 + if (newcity != undefined) {
  109 + wx.setStorageSync("cityname", newcity);
  110 + }
  111 +
  112 +
  113 + let url = 'index/Index/set_city', params = {
  114 + city: newcity,
  115 +
  116 + }
  117 + app.post(url, params).then((res) => {
  118 + console.log(res);
  119 +
  120 +
  121 +
  122 + }).catch((err) => {
  123 +
  124 + })
  125 +
  126 + wx.navigateBack({
  127 + checked: true
  128 + })
  129 + },
  130 + //点击历史记录
  131 + cityTaphistory(e){
  132 + let newcity = e.currentTarget.dataset.val;
  133 + console.log(newcity)
  134 + if (newcity != undefined) {
  135 + wx.setStorageSync("cityname", newcity);
  136 + }
  137 +
  138 + wx.navigateBack({
  139 + checked: true
  140 + })
  141 + },
  142 + //点击城市字母
  143 + letterTap(e) {
  144 + const Item = e.currentTarget.dataset.item;
  145 + this.setData({
  146 + cityListId: Item
  147 + });
  148 + console.log("..............." + this.data.cityListId);
  149 + },
  150 + //调用定位
  151 +
  152 + //获取热门城市
  153 +
  154 + gethotcity() {
  155 + let that = this;
  156 + var url = 'index/Index/get_city';
  157 + var params = {
  158 + }
  159 + app.post(url, params).then((res) => {
  160 + console.log(res);
  161 + that.setData({
  162 + hot_list: res.hot_city,
  163 + history_list: res.history_list
  164 + })
  165 +
  166 + console.log(that.data.newcity)
  167 +
  168 +
  169 + }).catch((err) => {
  170 +
  171 + })
  172 +
  173 + },
  174 +
  175 + onShow() {
  176 + console.log(getApp());
  177 + let that = this,
  178 + cityOrTime = wx.getStorageSync('locatecity') || {},
  179 + time = new Date().getTime(),
  180 + city = '';
  181 + if (!cityOrTime.time || (time - cityOrTime.time > 1800000)) {//每隔30分钟请求一次定位
  182 +
  183 + } else {//如果未满30分钟,那么直接从本地缓存里取值
  184 + that.setData({
  185 + locateCity: cityOrTime.city
  186 + })
  187 + }
  188 + that.getcity()
  189 +
  190 + that.gethotcity()
  191 +
  192 + }
  193 +})
  1 +{
  2 + "usingComponents": {}
  3 +}
  1 +<view class='city_box'>
  2 + <view class='city_left'>
  3 + <scroll-view scroll-y style='width:100%;height:100%;' scroll-with-animation scroll-into-view='{{cityListId}}'>
  4 + <view class='city_locate' data-types='locate' catchtap='cityTap'>
  5 + <!-- <text class='city_locate_title'>自动定位</text>
  6 + <text class='city_locate_text' style='{{!locateCity&&"color:#33b9ff;"}}'>{{locateCity||'点击定位'}}</text> -->
  7 +
  8 + <view class="slecity">
  9 + <image src='{{url}}bicon_01x.png'></image>
  10 + </view>
  11 +
  12 + <view>{{currentCity}}</view>
  13 + </view>
  14 + <!-- <view class='national' data-types='national' catchtap='cityTap'>全国</view> -->
  15 + <view class='new_city'>
  16 + <view class='new_city_title'>历史访问城市</view>
  17 + <view class='new_city_box'>
  18 + <view class="nodata" wx:if="{{history_list.length==0}}">暂无数据</view>
  19 + <block wx:else>
  20 + <text class='new_city_text' wx:for='{{history_list}}' wx:key='this' data-types='new' catchtap='cityTaphistory' data-val='{{item}}'>{{item}}</text>
  21 + </block>
  22 + </view>
  23 + </view>
  24 +
  25 + <view class='new_city'>
  26 + <view class='new_city_title'>热门城市</view>
  27 + <view class='new_city_box'>
  28 + <text class='new_city_text' wx:for='{{hot_list}}' wx:key='this' data-types='new' catchtap='cityTaphot' data-val='{{item}}'>{{item}}</text>
  29 + </view>
  30 + </view>
  31 +
  32 + <view class='city_list_box'>
  33 + <block wx:for='{{citylist}}' wx:key='this' wx:for-item='letterItem' wx:for-index='letterIndex'>
  34 + <view class='city_first_letter' id='{{letterItem.letter}}'>{{letterItem.letter}}</view>
  35 + <text class='city_name' wx:for='{{letterItem.data}}' wx:key='this' data-types='list' catchtap='cityTap' data-index='{{index}}' data-val='{{item}}'>{{item.cityName}}</text>
  36 + </block>
  37 + </view>
  38 + </scroll-view>
  39 + </view>
  40 + <view class='city_right'>
  41 + <text class='letter_item' wx:for='{{letter}}' wx:key='this' catchtap='letterTap' data-item='{{item}}'>{{item}}</text>
  42 + </view>
  43 +</view>
  1 +page{
  2 + height:100%
  3 +}
  4 +
  5 +.city_box{
  6 + height:100%;
  7 + background: #fff;
  8 + display: flex;
  9 +}
  10 +.city_left{
  11 + flex: 1;
  12 +}
  13 +.city_right{
  14 + width: 60rpx;
  15 + display: flex;
  16 + flex-direction: column;
  17 + justify-content: space-around;
  18 +}
  19 +.letter_item{
  20 + flex: 1;
  21 + display: block;
  22 + font-size: 24rpx;
  23 + color: #33B9FF;
  24 + text-align: center;
  25 +}
  26 +.city_locate,.national{
  27 + height: 80rpx;
  28 + line-height: 80rpx;
  29 + border-bottom: 1px solid #efefef;
  30 + font-size: 28rpx;
  31 + color: #333;
  32 + padding-left: 25rpx;
  33 +}
  34 +.city_locate_title{
  35 + color: #999;
  36 + margin-right: 20rpx;
  37 +}
  38 +.new_city{
  39 + background: #efefef;
  40 + font-size: 28rpx;
  41 +}
  42 +.new_city_title{
  43 + line-height: 60rpx;
  44 + color: #999;
  45 + padding-left: 25rpx;
  46 + /* margin-bottom: 20rpx; */
  47 +}
  48 +.new_city_box{
  49 + display: flex;
  50 + flex-wrap: wrap;
  51 + background: #fff;
  52 +}
  53 +.new_city_text{
  54 + width: 200rpx;
  55 + text-align: center;
  56 + line-height: 70rpx;
  57 + background: #fff;
  58 + border-radius: 35rpx;
  59 + margin:0 0 22rpx 22rpx;
  60 +}
  61 +.city_first_letter{
  62 + line-height: 60rpx;
  63 + height: 60rpx;
  64 + padding-left: 25rpx;
  65 + font-size: 28rpx;
  66 + background: #eee;
  67 + color: #999;
  68 +
  69 +}
  70 +.city_name{
  71 + display: block;
  72 + line-height: 80rpx;
  73 + height: 80rpx;
  74 + border-bottom: 1px solid #efefef;
  75 + font-size: 28rpx;
  76 + color: #333;
  77 + padding-left: 25rpx;
  78 +}
  79 +.city_locate{
  80 + display:flex;
  81 + align-items: center
  82 +}
  83 +.slecity{
  84 + width:20rpx;
  85 + height:24rpx;
  86 + font-size:0
  87 +}
  88 +.slecity image{
  89 + width:100%;
  90 + height:100%;
  91 +}
  92 +.nodata{
  93 + color:#999;
  94 + font-size: 30rpx;
  95 + text-align: center;
  96 + width:750rpx;
  97 + padding: 20rpx 0;
  98 +}
  1 +// pages/homeblock/shuxing/shuxing.js
  2 +const app = getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url: '',
  10 + user_list: [],
  11 + list: [],
  12 + type: 1,
  13 + arr: []
  14 + },
  15 +
  16 + /**
  17 + * 生命周期函数--监听页面加载
  18 + */
  19 + onLoad: function(options) {
  20 + this.setData({
  21 + url: app.globalData.url,
  22 + })
  23 +
  24 + this.getcanshu()
  25 + },
  26 + qingchu() {
  27 + this.setData({
  28 + type: 2
  29 + })
  30 + },
  31 + //获取酒品参数
  32 + getcanshu() {
  33 + let that = this;
  34 + let url = 'index/Wine/wine_attr',
  35 + params = {
  36 +
  37 + }
  38 + app.post(url, params).then((res) => {
  39 + console.log(res);
  40 + that.setData({
  41 + user_list: res.user_list,
  42 + list: res.list
  43 + })
  44 +
  45 + let allarr = [];
  46 + let usearr = []
  47 +
  48 + let newlist = that.data.list;
  49 + for (var obj of newlist) {
  50 + obj.sel = false,
  51 + allarr.push(obj.id)
  52 + }
  53 +
  54 + that.setData({
  55 + list: newlist
  56 + })
  57 + let newuserlist = that.data.user_list;
  58 + for (var obj of newuserlist) {
  59 + obj.sel = false;
  60 + usearr.push(obj.id)
  61 + }
  62 +
  63 + that.setData({
  64 + user_list: newuserlist
  65 + })
  66 +
  67 + console.log(allarr)
  68 + console.log(usearr)
  69 + //判断所有属性里有没有默认属性
  70 + let newuserlist1 = that.data.user_list;
  71 + let newlist1 = that.data.list;
  72 +
  73 +
  74 + let arr = []
  75 +
  76 + for (var i = 0; i < allarr.length; i++) {
  77 +
  78 + if (usearr.indexOf(allarr[i]) == -1) {
  79 + arr.push(allarr[i])
  80 + }
  81 + }
  82 +
  83 + for (var i = 0; i < newlist1.length; i++) {
  84 + for (var j = 0; j < arr.length; j++) {
  85 + if (newlist1[i].id == arr[j]) {
  86 + newlist1[i].sel=true
  87 + }
  88 + }
  89 +
  90 + }
  91 + that.setData({
  92 + list:newlist1
  93 + })
  94 +
  95 + }).catch((err) => {
  96 +
  97 + })
  98 + },
  99 + //删除
  100 + shanchu(e) {
  101 + let id = e.currentTarget.dataset.id;
  102 + this.setData({
  103 + type: 3
  104 + })
  105 + let newuser_list = this.data.user_list;
  106 + for (var i = 0; i < newuser_list.length; i++) {
  107 + if (id == newuser_list[i].id) {
  108 + newuser_list.splice(i, 1)
  109 + }
  110 + }
  111 +
  112 + this.setData({
  113 + user_list: newuser_list
  114 +
  115 + })
  116 + let newlist = this.data.list;
  117 + for (var obj of newlist) {
  118 + if (id == obj.id) {
  119 + obj.sel = true
  120 + }
  121 + }
  122 +
  123 + this.setData({
  124 + list: newlist
  125 + })
  126 + },
  127 +
  128 + //长按事件
  129 + handleLongPress(e) {
  130 +
  131 + this.setData({
  132 + type:3
  133 + })
  134 + let id = e.currentTarget.dataset.id;
  135 +
  136 + let newlist = this.data.list;
  137 + let newuser_list = this.data.user_list
  138 + for (var obj of newlist) {
  139 + if (obj.id == id) {
  140 + if (obj.sel == true) {
  141 + obj.sel = false;
  142 + newuser_list.push(obj)
  143 + }
  144 +
  145 + }
  146 + }
  147 +
  148 + this.setData({
  149 + list: newlist,
  150 + user_list: newuser_list
  151 + })
  152 + },
  153 +
  154 + //完成事件
  155 + finish() {
  156 + let that = this;
  157 + let arr = [];
  158 + let newuser_list = that.data.user_list;
  159 + for (var obj of newuser_list) {
  160 + arr.push(obj.id)
  161 + }
  162 + console.log(arr)
  163 +
  164 + if (arr.indexOf(-1) == -1) {
  165 + wx.showToast({
  166 + title: '基本参数无法取消',
  167 + icon: 'none'
  168 + })
  169 + } else if (arr.indexOf(-2) == -1) {
  170 + wx.showToast({
  171 + title: '生产企业无法取消',
  172 + icon: 'none'
  173 + })
  174 + } else if (arr.indexOf(-3) == -1) {
  175 + wx.showToast({
  176 + title: '酿酒师无法取消',
  177 + icon: 'none'
  178 + })
  179 + } else if (arr.indexOf(-4) == -1) {
  180 + wx.showToast({
  181 + title: '专业品评无法取消',
  182 + icon: 'none'
  183 + })
  184 + } else if (arr.indexOf(-5) == -1) {
  185 + wx.showToast({
  186 + title: '独具匠心无法取消',
  187 + icon: 'none'
  188 + })
  189 + } else {
  190 + let url = 'index/Wine/change_attr_order',
  191 + params = {
  192 + attr_array: arr,
  193 +
  194 + }
  195 + app.post(url, params).then((res) => {
  196 + console.log(res);
  197 + wx.showToast({
  198 + title: '修改成功',
  199 + icon:'none'
  200 + })
  201 +
  202 + setTimeout(function() {
  203 + wx.navigateBack({
  204 + checked: true
  205 + })
  206 + }, 1500)
  207 +
  208 +
  209 +
  210 + }).catch((err) => {
  211 +
  212 + })
  213 + }
  214 +
  215 + },
  216 + /**
  217 + * 生命周期函数--监听页面初次渲染完成
  218 + */
  219 + onReady: function() {
  220 +
  221 + },
  222 +
  223 + /**
  224 + * 生命周期函数--监听页面显示
  225 + */
  226 + onShow: function() {
  227 +
  228 + },
  229 +
  230 + /**
  231 + * 生命周期函数--监听页面隐藏
  232 + */
  233 + onHide: function() {
  234 +
  235 + },
  236 +
  237 + /**
  238 + * 生命周期函数--监听页面卸载
  239 + */
  240 + onUnload: function() {
  241 +
  242 + },
  243 +
  244 + /**
  245 + * 页面相关事件处理函数--监听用户下拉动作
  246 + */
  247 + onPullDownRefresh: function() {
  248 +
  249 + },
  250 +
  251 + /**
  252 + * 页面上拉触底事件的处理函数
  253 + */
  254 + onReachBottom: function() {
  255 +
  256 + },
  257 +
  258 + /**
  259 + * 用户点击右上角分享
  260 + */
  261 + onShareAppMessage: function() {
  262 +
  263 + }
  264 +})
  1 +{
  2 + "navigationBarTitleText": "属性"
  3 +}
  1 +<view class="clear" wx:if="{{type==1}}" bindtap="qingchu">清除</view>
  2 +<view class="clear" wx:if="{{type==2}}">编辑</view>
  3 +<view class="clear" wx:if="{{type==3}}" bindtap="finish">完成</view>
  4 +
  5 +<view class="morenshu">
  6 + <view class="moren">默认属性</view>
  7 + <view class="longan">长按可拖动排序</view>
  8 +</view>
  9 +
  10 +<view class="shubox">
  11 + <view class="shuitem" wx:for="{{user_list}}" wx:key="">
  12 + {{item.name}}
  13 +
  14 + <view class="cancelmg" wx:if="{{type!=1}}" bindtap="shanchu" data-id="{{item.id}}">
  15 + <image src="{{url}}/bicon_09x.png"></image>
  16 + </view>
  17 + </view>
  18 +
  19 +</view>
  20 +
  21 +
  22 +<view class="morenshu allshu">
  23 + <view class="moren">所有属性</view>
  24 + <view class="longan">长按可拖动排序</view>
  25 +</view>
  26 +
  27 +
  28 +<view class="shubox">
  29 + <view class="allshuitem {{item.sel==true?'selitem':''}}" wx:for="{{list}}" wx:key=""
  30 +bindlongpress="handleLongPress" data-id="{{item.id}}">{{item.name}}</view>
  31 +
  32 +</view>
  1 +page{
  2 + background: #F2F2F2;
  3 + padding: 0 33rpx;
  4 + box-sizing: border-box
  5 +}
  6 +
  7 +.clear{
  8 + color:#E81825;
  9 + font-size: 28rpx;
  10 + display:flex;
  11 + justify-content: flex-end;
  12 +
  13 + margin-top:20rpx;
  14 +
  15 +}
  16 +.moren{
  17 + color:#1A1A1A;
  18 + font-size: 32rpx;
  19 + font-weight: bold
  20 +}
  21 +.morenshu{
  22 + display:flex;
  23 + align-items: center;
  24 + justify-content: space-between
  25 +}
  26 +.longan{
  27 + color:#999999;
  28 + font-size: 26rpx;
  29 +}
  30 +.shubox{
  31 + display:flex;
  32 + flex-wrap: wrap;
  33 + align-items: center;
  34 + margin-top:29rpx;
  35 +}
  36 +.shuitem{
  37 + margin-right:20rpx;
  38 + padding:10rpx 20rpx;
  39 + box-sizing: border-box;
  40 + background: #FAFAFA;
  41 + color:#666666;
  42 + font-size: 26rpx;
  43 + margin-top:16rpx;
  44 + position: relative
  45 +}
  46 +.allshuitem{
  47 + margin-right:20rpx;
  48 + padding:10rpx 20rpx;
  49 + box-sizing: border-box;
  50 + background: #EBEBEB;
  51 + color:#CCCCCC;
  52 + font-size: 26rpx;
  53 + margin-top:16rpx;
  54 + position: relative
  55 +}
  56 +.cancelmg{
  57 + width:22rpx;
  58 + height:22rpx;
  59 + font-size: 0;
  60 + border-radius:50%;
  61 + position: absolute;
  62 + right:-10rpx;
  63 + top:-10rpx;
  64 +
  65 +}
  66 +.cancelmg image{
  67 + width:100%;
  68 + height:100%;
  69 + border-radius:50%;
  70 +
  71 +}
  72 +.allshu{
  73 + margin-top:60rpx;
  74 +}
  75 +.selitem{
  76 + background: #fff;
  77 + color:#666666
  78 +}
  1 +// pages/homeblock/video/video.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 + videourl:''
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 + this.setData({
  16 + videourl:options.url
  17 + })
  18 + },
  19 + end(){
  20 + console.log(43347889)
  21 + wx.navigateBack({
  22 + checked:true
  23 + })
  24 + },
  25 + /**
  26 + * 生命周期函数--监听页面初次渲染完成
  27 + */
  28 + onReady: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面显示
  34 + */
  35 + onShow: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面隐藏
  41 + */
  42 + onHide: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 生命周期函数--监听页面卸载
  48 + */
  49 + onUnload: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面相关事件处理函数--监听用户下拉动作
  55 + */
  56 + onPullDownRefresh: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 页面上拉触底事件的处理函数
  62 + */
  63 + onReachBottom: function () {
  64 +
  65 + },
  66 +
  67 + /**
  68 + * 用户点击右上角分享
  69 + */
  70 + onShareAppMessage: function () {
  71 +
  72 + }
  73 +})
  1 +{
  2 + "usingComponents": {}
  3 +}
  1 +<view class="video">
  2 + <video src="{{videourl}}" autoplay="true" bindended="end"></video>
  3 +</view>
  1 +page{
  2 + width:100%;
  3 + height:100%;
  4 +}
  5 +
  6 +.video{
  7 + width:750rpx;
  8 + height:100%;
  9 +}
  10 +.video video{
  11 + width:100%;
  12 + height:100%;
  13 +}
  1 +// pages/myblock/jifenjilu/jifenjilu.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
  1 +{
  2 + "navigationBarTitleText": "积分记录"
  3 +}
  1 +<view class="jilubox">
  2 + <view class="jiluitem">
  3 + <view class="jiluleft">
  4 + <view class="jilutext">评论</view>
  5 + <view class="jiludate">2019-02-28 11:23</view>
  6 + </view>
  7 +
  8 + <view class="jiluright">
  9 + <view class="righttop">+100.00</view>
  10 +
  11 + <view class="righttext">已成功</view>
  12 + </view>
  13 + </view>
  14 + <view class="jiluitem">
  15 + <view class="jiluleft">
  16 + <view class="jilutext">评论</view>
  17 + <view class="jiludate">2019-02-28 11:23</view>
  18 + </view>
  19 +
  20 + <view class="jiluright">
  21 + <view class="righttop">+100.00</view>
  22 +
  23 + <view class="righttext">已成功</view>
  24 + </view>
  25 + </view>
  26 + <view class="jiluitem">
  27 + <view class="jiluleft">
  28 + <view class="jilutext">评论</view>
  29 + <view class="jiludate">2019-02-28 11:23</view>
  30 + </view>
  31 +
  32 + <view class="jiluright">
  33 + <view class="righttop">+100.00</view>
  34 +
  35 + <view class="righttext">已成功</view>
  36 + </view>
  37 + </view>
  38 + <view class="jiluitem">
  39 + <view class="jiluleft">
  40 + <view class="jilutext">评论</view>
  41 + <view class="jiludate">2019-02-28 11:23</view>
  42 + </view>
  43 +
  44 + <view class="jiluright">
  45 + <view class="righttop">+100.00</view>
  46 +
  47 + <view class="righttext">已成功</view>
  48 + </view>
  49 + </view>
  50 + <view class="jiluitem">
  51 + <view class="jiluleft">
  52 + <view class="jilutext">评论</view>
  53 + <view class="jiludate">2019-02-28 11:23</view>
  54 + </view>
  55 +
  56 + <view class="jiluright">
  57 + <view class="righttop">+100.00</view>
  58 +
  59 + <view class="righttext">已成功</view>
  60 + </view>
  61 + </view>
  62 + <view class="jiluitem">
  63 + <view class="jiluleft">
  64 + <view class="jilutext">评论</view>
  65 + <view class="jiludate">2019-02-28 11:23</view>
  66 + </view>
  67 +
  68 + <view class="jiluright">
  69 + <view class="righttop">+100.00</view>
  70 +
  71 + <view class="righttext">已成功</view>
  72 + </view>
  73 + </view>
  74 + <view class="jiluitem">
  75 + <view class="jiluleft">
  76 + <view class="jilutext">评论</view>
  77 + <view class="jiludate">2019-02-28 11:23</view>
  78 + </view>
  79 +
  80 + <view class="jiluright">
  81 + <view class="righttop">+100.00</view>
  82 +
  83 + <view class="righttext">已成功</view>
  84 + </view>
  85 + </view>
  86 +</view>
  1 +
  2 +.jilubox{
  3 + padding:0 35rpx;
  4 + box-sizing: border-box;
  5 +}
  6 +.jiluitem{
  7 + display:flex;
  8 + align-items: center;
  9 + justify-content: space-between;
  10 +}
  11 +.jilutext{
  12 + color:#1A1A1A;
  13 + font-size:32rpx;
  14 +}
  15 +.jiludate{
  16 + color:#999999;
  17 + font-size:24rpx;
  18 + margin-top:22rpx;
  19 +}
  20 +.righttop{
  21 + color:#FF5344;
  22 + font-size: 32rpx;
  23 +}
  24 +.righttext{
  25 + color:#666666;
  26 + font-size: 26rpx;
  27 + margin-top:22rpx;
  28 + text-align: center
  29 +
  30 +}
  31 +.jiluitem{
  32 + padding: 42rpx 0;
  33 + box-sizing: border-box;
  34 + border-bottom:1rpx solid #f5f5f5;
  35 +}
  1 +// pages/myblock/niangjiulist/niangjiulist.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url,
  18 + })
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面初次渲染完成
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * 生命周期函数--监听页面显示
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * 生命周期函数--监听页面隐藏
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * 生命周期函数--监听页面卸载
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * 页面相关事件处理函数--监听用户下拉动作
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * 页面上拉触底事件的处理函数
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * 用户点击右上角分享
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "酿酒师"
  3 +}
  1 +<view class="niangjiulist">
  2 + <view class="niangjiuitem">
  3 + <view class="niangjiuleft">
  4 + <view class="njiuimg">
  5 + <image src="{{url}}/aicon_77@2x.png"></image>
  6 + </view>
  7 +
  8 + <view class="leftname">徐强</view>
  9 + <view class="duigou" style="margin-left:20rpx;">
  10 + <image src="{{url}}aicon_20x.png"></image>
  11 + </view>
  12 + </view>
  13 +
  14 + <view class="atten">关注</view>
  15 + </view>
  16 + <view class="niangjiuitem">
  17 + <view class="niangjiuleft">
  18 + <view class="njiuimg">
  19 + <image src="{{url}}/aicon_77@2x.png"></image>
  20 + </view>
  21 +
  22 + <view class="leftname">徐强</view>
  23 + <view class="duigou" style="margin-left:20rpx;">
  24 + <image src="{{url}}aicon_20x.png"></image>
  25 + </view>
  26 + </view>
  27 +
  28 + <view class="atten">关注</view>
  29 + </view>
  30 + <view class="niangjiuitem">
  31 + <view class="niangjiuleft">
  32 + <view class="njiuimg">
  33 + <image src="{{url}}/aicon_77@2x.png"></image>
  34 + </view>
  35 +
  36 + <view class="leftname">徐强</view>
  37 + <view class="duigou" style="margin-left:20rpx;">
  38 + <image src="{{url}}aicon_20x.png"></image>
  39 + </view>
  40 + </view>
  41 +
  42 + <view class="atten">关注</view>
  43 + </view>
  44 + <view class="niangjiuitem">
  45 + <view class="niangjiuleft">
  46 + <view class="njiuimg">
  47 + <image src="{{url}}/aicon_77@2x.png"></image>
  48 + </view>
  49 +
  50 + <view class="leftname">徐强</view>
  51 + <view class="duigou" style="margin-left:20rpx;">
  52 + <image src="{{url}}aicon_20x.png"></image>
  53 + </view>
  54 + </view>
  55 +
  56 + <view class="atten">关注</view>
  57 + </view>
  58 + <view class="niangjiuitem">
  59 + <view class="niangjiuleft">
  60 + <view class="njiuimg">
  61 + <image src="{{url}}/aicon_77@2x.png"></image>
  62 + </view>
  63 +
  64 + <view class="leftname">徐强</view>
  65 + <view class="duigou" style="margin-left:20rpx;">
  66 + <image src="{{url}}aicon_20x.png"></image>
  67 + </view>
  68 + </view>
  69 +
  70 + <view class="alatten">关注</view>
  71 + </view>
  72 +</view>
  1 +
  2 +.niangjiuitem{
  3 + display:flex;
  4 + align-items: center;
  5 + justify-content: space-between;
  6 + padding: 32rpx 0;
  7 + box-sizing: border-box;
  8 + border-bottom:1rpx solid #f5f5f5;
  9 +
  10 +}
  11 +
  12 +.duigou{
  13 + width:24rpx;
  14 + height:24rpx;
  15 + font-size: 0;
  16 + margin-left:8rpx;
  17 +}
  18 +
  19 +
  20 +.niangjiulist{
  21 + padding: 0 32rpx;
  22 +}
  23 +.njiuimg{
  24 + width:60rpx;
  25 + height:60rpx;
  26 + font-size: 0;
  27 + border-radius: 50%
  28 +}
  29 +
  30 +.njiuimg image{
  31 + border-radius:50%;
  32 +}
  33 +.niangjiuleft{
  34 + display:flex;
  35 + align-items: center;
  36 +}
  37 +.leftname{
  38 + color:#1A1A1A;
  39 + font-size: 28rpx;
  40 + margin-left:30rpx;
  41 +}
  42 +.alatten{
  43 + padding:0 20rpx;
  44 + height:50rpx;
  45 + background:#B3B3B3;
  46 + border-radius:2rpx;
  47 + font-size:26rpx;
  48 + color:#fff;
  49 + text-align:center;
  50 + line-height:50rpx;
  51 +
  52 +}
  1 +// pages/myblock/pingjia/pingjia.js
  2 +const app=getApp();
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 + },
  20 +
  21 + /**
  22 + * 生命周期函数--监听页面初次渲染完成
  23 + */
  24 + onReady: function () {
  25 +
  26 + },
  27 +
  28 + /**
  29 + * 生命周期函数--监听页面显示
  30 + */
  31 + onShow: function () {
  32 +
  33 + },
  34 +
  35 + /**
  36 + * 生命周期函数--监听页面隐藏
  37 + */
  38 + onHide: function () {
  39 +
  40 + },
  41 +
  42 + /**
  43 + * 生命周期函数--监听页面卸载
  44 + */
  45 + onUnload: function () {
  46 +
  47 + },
  48 +
  49 + /**
  50 + * 页面相关事件处理函数--监听用户下拉动作
  51 + */
  52 + onPullDownRefresh: function () {
  53 +
  54 + },
  55 +
  56 + /**
  57 + * 页面上拉触底事件的处理函数
  58 + */
  59 + onReachBottom: function () {
  60 +
  61 + },
  62 +
  63 + /**
  64 + * 用户点击右上角分享
  65 + */
  66 + onShareAppMessage: function () {
  67 +
  68 + }
  69 +})
  1 +{
  2 + "navigationBarTitleText": "评价"
  3 +}
  1 +<view class="commentlist">
  2 + <view class="commentitem">
  3 + <view class="commentleft">
  4 + <image src="{{url}}/aicon_77@2x.png"></image>
  5 + </view>
  6 +
  7 + <view class="commentright">
  8 + <view class="rightname">小叶子</view>
  9 + <view class="rightdate">2019年11月5日</view>
  10 + <view class="righttext">我怎么这么好看</view>
  11 + </view>
  12 + </view>
  13 + <view class="commentitem">
  14 + <view class="commentleft">
  15 + <image src="{{url}}/aicon_77@2x.png"></image>
  16 + </view>
  17 +
  18 + <view class="commentright">
  19 + <view class="rightname">小叶子</view>
  20 + <view class="rightdate">2019年11月5日</view>
  21 + <view class="righttext">我怎么这么好看</view>
  22 + </view>
  23 + </view>
  24 + <view class="commentitem">
  25 + <view class="commentleft">
  26 + <image src="{{url}}/aicon_77@2x.png"></image>
  27 + </view>
  28 +
  29 + <view class="commentright">
  30 + <view class="rightname">小叶子</view>
  31 + <view class="rightdate">2019年11月5日</view>
  32 + <view class="righttext">我怎么这么好看</view>
  33 + </view>
  34 + </view>
  35 + <view class="commentitem">
  36 + <view class="commentleft">
  37 + <image src="{{url}}/aicon_77@2x.png"></image>
  38 + </view>
  39 +
  40 + <view class="commentright">
  41 + <view class="rightname">小叶子</view>
  42 + <view class="rightdate">2019年11月5日</view>
  43 + <view class="righttext">我怎么这么好看</view>
  44 + </view>
  45 + </view>
  46 + <view class="commentitem">
  47 + <view class="commentleft">
  48 + <image src="{{url}}/aicon_77@2x.png"></image>
  49 + </view>
  50 +
  51 + <view class="commentright">
  52 + <view class="rightname">小叶子</view>
  53 + <view class="rightdate">2019年11月5日</view>
  54 + <view class="righttext">我怎么这么好看</view>
  55 + </view>
  56 + </view>
  57 + <view class="commentitem">
  58 + <view class="commentleft">
  59 + <image src="{{url}}/aicon_77@2x.png"></image>
  60 + </view>
  61 +
  62 + <view class="commentright">
  63 + <view class="rightname">小叶子</view>
  64 + <view class="rightdate">2019年11月5日</view>
  65 + <view class="righttext">我怎么这么好看</view>
  66 + </view>
  67 + </view>
  68 + <view class="commentitem">
  69 + <view class="commentleft">
  70 + <image src="{{url}}/aicon_77@2x.png"></image>
  71 + </view>
  72 +
  73 + <view class="commentright">
  74 + <view class="rightname">小叶子</view>
  75 + <view class="rightdate">2019年11月5日</view>
  76 + <view class="righttext">我怎么这么好看</view>
  77 + </view>
  78 + </view>
  79 + <view class="commentitem">
  80 + <view class="commentleft">
  81 + <image src="{{url}}/aicon_77@2x.png"></image>
  82 + </view>
  83 +
  84 + <view class="commentright">
  85 + <view class="rightname">小叶子</view>
  86 + <view class="rightdate">2019年11月5日</view>
  87 + <view class="righttext">我怎么这么好看</view>
  88 + </view>
  89 + </view>
  90 +
  91 +
  92 +
  93 +</view>
  94 +<view class="pingjiabottom">
  95 + <view class="pbleft">
  96 + <input placeholder='输入评论的内容' placeholder-class='enterping' />
  97 + </view>
  98 +
  99 + <view class="pbright">发送</view>
  100 +</view>
  1 +.commentlist{
  2 + padding: 0 30rpx;
  3 + box-sizing: border-box;
  4 + padding-bottom: 100rpx;
  5 +}
  6 +.commentitem{
  7 + display:flex;
  8 + padding: 40rpx 0;
  9 + box-sizing: border-box;
  10 + border-bottom:1rpx solid #f5f5f5;
  11 +
  12 +
  13 +}
  14 +.commentleft{
  15 + width:60rpx;
  16 + height:60rpx;
  17 + font-size: 0;
  18 + border-radius:50%;
  19 +
  20 +}
  21 +image{
  22 + width:100%;
  23 + height:100%;
  24 + border-radius: 50%;
  25 +}
  26 +.commentright{
  27 + margin-left:20rpx;
  28 +}
  29 +.rightname{
  30 + color:#666666;
  31 + font-size: 28rpx;
  32 +
  33 +}
  34 +.rightdate{
  35 + color:#999999;
  36 + font-size: 24rpx;
  37 + margin-top:14rpx;
  38 +}
  39 +.righttext{
  40 + color:#1A1A1A;
  41 + font-size: 28rpx;
  42 + margin-top:23rpx;
  43 +}
  44 +.pingjiabottom{
  45 + width:750rpx;
  46 + height:86rpx;
  47 + display:flex;
  48 + align-items: center;
  49 + justify-content: space-between;
  50 + padding: 16rpx 30rpx;
  51 + box-sizing: border-box;
  52 + position: fixed;
  53 + bottom:0rpx;
  54 + background: #fff;
  55 + border-top:1rpx solid #f5f5f5;
  56 +}
  57 +.pbleft{
  58 + width:531rpx;
  59 + height:60rpx;
  60 + background:rgba(242,242,242,1);
  61 + border-radius:5rpx;
  62 + color:#999999;
  63 + font-size: 26rpx;
  64 + padding: 0 26rpx;
  65 + line-height: 60rpx;
  66 + box-sizing: border-box
  67 +}
  68 +.pbleft input{
  69 + width:531rpx;
  70 + height:60rpx;
  71 + padding: 0 26rpx;
  72 + line-height: 60rpx;
  73 + box-sizing: border-box
  74 +
  75 +}
  76 +.enterping{
  77 + color:#999999;
  78 + font-size: 26rpx
  79 +}
  80 +.pbright{
  81 + width:120rpx;
  82 + height:60rpx;
  83 + background:rgba(232,24,37,1);
  84 + border-radius:30rpx;
  85 + color:#fff;
  86 + font-size: 26rpx;
  87 + text-align: center;
  88 + line-height: 60rpx;
  89 +}
  1 +// pages/myblock/shezhimima/shezhimima.js
  2 +const app=getApp()
  3 +Page({
  4 +
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + url:''
  10 + },
  11 +
  12 + /**
  13 + * 生命周期函数--监听页面加载
  14 + */
  15 + onLoad: function (options) {
  16 + this.setData({
  17 + url: app.globalData.url
  18 + })
  19 +
  20 + },
  21 +
  22 + /**
  23 + * 生命周期函数--监听页面初次渲染完成
  24 + */
  25 + onReady: function () {
  26 +
  27 + },
  28 +
  29 + /**
  30 + * 生命周期函数--监听页面显示
  31 + */
  32 + onShow: function () {
  33 +
  34 + },
  35 +
  36 + /**
  37 + * 生命周期函数--监听页面隐藏
  38 + */
  39 + onHide: function () {
  40 +
  41 + },
  42 +
  43 + /**
  44 + * 生命周期函数--监听页面卸载
  45 + */
  46 + onUnload: function () {
  47 +
  48 + },
  49 +
  50 + /**
  51 + * 页面相关事件处理函数--监听用户下拉动作
  52 + */
  53 + onPullDownRefresh: function () {
  54 +
  55 + },
  56 +
  57 + /**
  58 + * 页面上拉触底事件的处理函数
  59 + */
  60 + onReachBottom: function () {
  61 +
  62 + },
  63 +
  64 + /**
  65 + * 用户点击右上角分享
  66 + */
  67 + onShareAppMessage: function () {
  68 +
  69 + }
  70 +})
  1 +{
  2 + "navigationBarTitleText": "设置密码"
  3 +}
  1 +<view class="setmima">
  2 + <view class="setmimaleft">
  3 + <input placeholder='设置密码' placeholder-class='shemi'/>
  4 +
  5 + </view>
  6 + <view class="mimaeye">
  7 + <image src="{{url}}/bicon_14x.png"></image>
  8 + </view>
  9 +</view>
  10 +
  11 +<view class="que">确认</view>
  12 +
  13 +<view class="needmi">需要有6-20位数字、字母或符号组成,至少两种</view>
  14 +
  15 +<view class="mimasuccess">密码设置成功</view>
  1 +page{
  2 + background: #F2F2F2
  3 +}
  4 +.setmima{
  5 + width:540rpx;
  6 + height:120rpx;
  7 + background:rgba(255,255,255,1);
  8 + border-radius:5rpx;
  9 + margin:206rpx auto 0;
  10 + display:flex;
  11 + align-items: center;
  12 + justify-content: space-between;
  13 + padding: 0 30rpx;
  14 + box-sizing: border-box
  15 +}
  16 +.setmimaleft{
  17 + width:420rpx;
  18 + color:#1A1A1A;
  19 + font-size: 30rpx;
  20 +
  21 +}
  22 +.shemi{
  23 + color:#1A1A1A;
  24 + font-size: 30rpx;
  25 +}
  26 +.mimaeye{
  27 + width:34rpx;
  28 + height:16rpx;
  29 + font-size: 0
  30 +}
  31 +.que{
  32 + width:540rpx;
  33 + height:100rpx;
  34 + background:rgba(232,24,37,1);
  35 + border-radius:50rpx;
  36 + color:#fff;
  37 + font-size: 30rpx;
  38 + text-align: center;
  39 + line-height: 100rpx;
  40 + margin:90rpx auto 0;
  41 +}
  42 +.needmi{
  43 + color:#999999;
  44 + font-size: 24rpx;
  45 + text-align: center;
  46 + margin-top:32rpx;
  47 +}
  48 +.mimasuccess{
  49 + width:290rpx;
  50 + height:60rpx;
  51 + background:rgba(0,0,0,1);
  52 + opacity:0.8;
  53 + border-radius:10rpx;
  54 + color:#fff;
  55 + font-size: 24rpx;
  56 + text-align: center;
  57 + line-height: 60rpx;
  58 + margin:468rpx auto 0;
  59 +}