houwei 4 年 前
コミット
0a5f798e7d

+ 31 - 1
app.json

@@ -1,6 +1,9 @@
 {
   "pages": [
+    "pages/complaint/complaint",
     "pages/index/index",
+    "pages/onSiteActivity/onSiteActivity",
+    "pages/share/share",
     "pages/myActive/myActive",
     "pages/InfoType/InfoType",
     "pages/targetInfo/targetInfo",
@@ -9,7 +12,9 @@
     "pages/personal/personal",
     "pages/registrationSuccess/registrationSuccess",
     "pages/activeDetail/activeDetail",
-    "pages/red/red"
+    "pages/red/red",
+    "pages/service/service"
+  
   ],
   "window": {
     "backgroundTextStyle": "light",
@@ -55,6 +60,31 @@
     "van-notice-bar": "/miniprogram_npm/vant-weapp/notice-bar/index",
     "van-uploader": "/miniprogram_npm/vant-weapp/uploader/index"
   },
+  "tabBar": {
+    "color": "#a9b7b7",
+    "selectedColor": "#ad66ff",
+    "borderStyle": "black",
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": "首页",
+        "selectedIconPath": "./images/active_bar1.png",
+        "iconPath": "./images/unactive_bar1.png"
+      },
+      {
+        "pagePath": "pages/service/service",
+        "text": "红娘",
+        "selectedIconPath": "./images/active_bar3.png",
+        "iconPath": "./images/unactive_bar3.png"
+      },
+      {
+        "pagePath": "pages/personal/personal",
+        "text": "我的",
+        "selectedIconPath": "./images/active_bar2.png",
+        "iconPath": "./images/unactive_bar2.png"
+      }
+    ]
+  },
   "style": "v2",
   "sitemapLocation": "sitemap.json"
 }

BIN
images/active_bar1.png


BIN
images/active_bar2.png


BIN
images/active_bar3.png


BIN
images/ewmbj.png


BIN
images/gray.png


BIN
images/heart.png


BIN
images/lb.png


BIN
images/love.png


BIN
images/show.png


BIN
images/unactive_bar1.png


BIN
images/unactive_bar2.png


BIN
images/unactive_bar3.png


+ 5 - 1
pages/activeDetail/activeDetail.js

@@ -7,7 +7,11 @@ Page({
   data: {
 
   },
-
+  baoming(){
+    wx.redirectTo({
+      url: '/pages/registrationSuccess/registrationSuccess',
+    })
+  },
   /**
    * 生命周期函数--监听页面加载
    */

+ 1 - 1
pages/activeDetail/activeDetail.wxml

@@ -23,6 +23,6 @@
 		字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字占位文字
 	</view>
 	<view class="btn_area">
-		<view class="btn">报名</view>
+		<view class="btn" bindtap="baoming">报名</view>
 	</view>
 </view>

+ 68 - 0
pages/complaint/complaint.js

@@ -0,0 +1,68 @@
+// pages/complaint/complaint.js
+Page({
+  data: {
+    active: 0
+  },
+
+  onChange(event) {
+    wx.showToast({
+      title: `切换到标签 ${event.detail.name}`,
+      icon: 'none',
+    });
+  },
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 4 - 0
pages/complaint/complaint.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "navigationBarTitleText": "投诉"
+}

+ 9 - 0
pages/complaint/complaint.wxml

@@ -0,0 +1,9 @@
+<van-tabs active="{{ active }}" bind:change="onChange" color ='#ab65ff'>
+  <van-tab title="投诉">
+  <view>投诉问题</view>
+  
+  
+  
+  </van-tab>
+  <van-tab title="记录">内容 2</van-tab>
+</van-tabs>

+ 1 - 0
pages/complaint/complaint.wxss

@@ -0,0 +1 @@
+/* pages/complaint/complaint.wxss */

+ 24 - 43
pages/index/index.js

@@ -1,53 +1,34 @@
 Page({
- 
-  /**
-   * 页面的初始数据
-   */
   data: {
-    scrollindex: 0,  //当前页面的索引值
-    totalnum: 4,  //总共页面数
-    starty: 0,  //开始的位置x
-    endy: 0, //结束的位置y
-    critical: 80, //触发翻页的临界值
-    margintop: 0,  //滑动下拉距离
+    currentIndex: 0,
+    arr: [{
+      title: '月合红娘',
+      address: '吉林省长春市某某大厦',
+      remark: '请大家按照规定时间前来参与',
+      activeTime: '2020-02-20',
+      activeStatus: 0
+    }, {
+      title: '月合红娘',
+      address: '吉林省长春市某某大厦',
+      remark: '请大家按照规定时间前来参与',
+      activeTime: '2020-02-20',
+      activeStatus: 1
+    }, {
+      title: '月合红娘',
+      address: '吉林省长春市某某大厦',
+      remark: '请大家按照规定时间前来参与',
+      activeTime: '2020-02-20',
+      activeStatus: 2
+    }]
   },
-  scrollTouchstart: function (e) {
-    let py = e.touches[0].pageY;
-    console.log(py);
+  handleChange: function (e) {
     this.setData({
-      starty: py
+      currentIndex: e.detail.current
     })
   },
-  scrollTouchend: function (e) {
-    let py = e.changedTouches[0].pageY;
-    let d = this.data;
-    this.setData({
-      endy: py,
-    })
-    console.log(e.changedTouches[0].pageY, d.starty);
-    if (py - d.starty > d.critical && d.scrollindex > 0) {
-      this.setData({
-        scrollindex: d.scrollindex - 1
-      })
-    } else if (py - d.starty < -(d.critical) && d.scrollindex < this.data.totalnum - 1) {
-      this.setData({
-        scrollindex: d.scrollindex + 1
-      })
-    }
-    this.setData({
-      starty: 0,
-      endy: 0,
-      margintop: 0
-    })
-  },
-  goIndex(){
-    wx.navigateTo({
-      url: '/pages/index/index',
-    })
-  },
-  goMy(){
+  goActive(){
     wx.navigateTo({
-      url: '/pages/personal/personal',
+      url: '/pages/activeDetail/activeDetail',
     })
   }
 })

+ 26 - 38
pages/index/index.wxml

@@ -1,44 +1,32 @@
 <view class="swiper-cont container-fill">
-	<!-- <view class="scroll-fullpage" bindtouchstart="scrollTouchstart" bindtouchend="scrollTouchend" style="transform:translateY(-{{scrollindex*100}}%);margin-top: {{margintop}}px"> 
-    <view class="section section01 {{scrollindex==0?'active':''}}" style='background:red'> 
-      <view class='cont'>
-          <image src="../../images/active_bar1.png" class='cont-body'></image>
-      </view>
-    </view> 
-    <view class="section section02 {{scrollindex==1?'active':''}}" style='background:pink'> 
-      <view class='cont'>
-        <view class='cont-body'>
-          <view>two</view>
-        </view>
-      </view>
-    </view> 
-    <view class="section section03 {{scrollindex==2?'active':''}}" style='background:blue'>  
-      <view class='cont'>
-        <view class='cont-body'>
-          <view>three</view>
-        </view>
-      </view>
-    </view>
-    <view class="section section04 {{scrollindex==3?'active':''}}" style='background:green'> 
-      <view class='cont'>
-        <view class='cont-body'>
-          <view>foure</view>
-        </view>
-      </view>
-    </view>
-  </view>  -->
-	<view class="tabbar">
-		<view class="tab1" bindtap="goIndex">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<view style="color:#a342ff">首页</view>
+	<swiper class="imageContainer" bindchange="handleChange" previous-margin="50rpx" next-margin="50rpx" circular autoplay>
+		<block wx:for="{{3}}" wx:key="{{index}}">
+			<swiper-item class="item">
+				<image class="itemImg {{currentIndex == index ? 'active': ''}}" src="../../images/lb.png"></image>
+			</swiper-item>
+		</block>
+	</swiper>
+	<image src="../../images/show.png" style="width:650rpx;margin-left:50rpx;height:200rpx"></image>
+	<view style="display:flex;margin-left:30rpx;margin-top:20rpx;margin-bottom:20rpx"><view style='width:10rpx;height:35rpx;background-color:#986aff;margin-right:20rpx;border-radius:10rpx'></view>近期活动</view>
+	<view wx:for="{{arr}}" class="box" bindtap="goActive">
+		<view class="top">
+			<image src="../../images/activephoto.png" style="width:80rpx;height:80rpx;"></image>
+			<view class="text">
+				<view class="title">{{item.title}}</view>
+				<view class="remark">{{item.remark}}</view>
+			</view>
+			<view wx:if="{{item.activeStatus==0}}" class="btn btn1">未开始</view>
+			<view wx:if="{{item.activeStatus==1}}" class="btn btn2">进行中</view>
+			<view wx:if="{{item.activeStatus==2}}" class="btn btn3">已结束</view>
 		</view>
-		<view class="tab1">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<button id="red" type="primary" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}" open-type="contact">红娘</button>
+		<image src="../../images/activeimg.png" class="img2"></image>
+		<view class="p1">
+			<van-icon name="clock-o" color="#a267ff" size="35rpx" />
+			<view style="margin-left:15rpx">活动时间:{{item.activeTime}}</view>
 		</view>
-		<view class="tab1" bindtap="goMy">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<view>我的</view>
+		<view class="p1">
+			<van-icon name="location-o" color="#a267ff" size="35rpx" />
+			<view style="margin-left:15rpx">活动地点:{{item.address}}</view>
 		</view>
 	</view>
 </view>

+ 92 - 11
pages/index/index.wxss

@@ -1,10 +1,5 @@
-page {
-  height: 100%;
-  background: fff;
-  color: #282828;
-}
 
-.container {
+/* .container {
   flex: 1;
   flex-direction: column;
   box-sizing: border-box;
@@ -52,7 +47,7 @@ page {
 
 .tabbar {
   width: 750rpx;
-  border: 1px solid #999;
+  box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
   height: 100rpx;
   position: fixed;
   bottom: 0;
@@ -67,15 +62,101 @@ page {
   text-align: center;
   color: #999999;
 }
-#red{
+
+#red {
   background: none;
   color: #999999;
   font-weight: normal;
-  width:250rpx;
+  width: 250rpx;
   height: 100rpx;
-  /* border: 1px solid red; */
-  line-height:125rpx;
+  line-height: 125rpx;
   font-size: 28rpx;
   position: absolute;
   bottom: 0;
+} */
+
+page {
+  background: #f7f7f7f7;
+}
+.imageContainer {
+  width: 100%;
+  height: 420rpx;
+}
+.item {
+  height: 500rpx;
+}
+.itemImg {
+  position: absolute;
+  width: 100%;
+  height: 350rpx;
+  border-radius: 15rpx;
+  z-index: 5;
+  opacity: 0.7;
+  top: 30rpx;
+  padding-left: 10rpx;
+}
+.active {
+  opacity: 1;
+  z-index: 10;
+  height: 400rpx;
+  top:10rpx;
+  transition: all .15s ease-in 0s;
+}
+.box{
+  width: 650rpx;
+  height: 530rpx;
+  margin: 25rpx;
+  box-shadow:0 0 10rpx 10rpx #eceafa;
+  padding:25rpx
+}
+.top{
+  display: flex;
+}
+.text{
+  /* border: 1px solid red; */
+  width: 460rpx;
+}
+.title{
+  color: #999999;
+  font-size: 28rpx;
+  margin-left: 30rpx;
+}
+.remark{
+  color: #4d4d4d;
+  font-size: 28rpx;
+  margin-left: 30rpx;
+  margin-top: 10rpx;
+}
+.btn{
+  width:150rpx;
+  height:50rpx;
+  text-align: center;
+  font-weight: bold;
+  line-height: 50rpx;
+  font-size: 28rpx;
+  border-radius: 30rpx;
+  margin-top: 10rpx;
+}
+.btn1{
+  border: 1px solid #1bb610;
+  color: #1bb610;
+}
+.btn2{
+  border: 1px solid #216deb;
+  color: #216deb;
+}
+.btn3{
+  border: 1px solid #f1252e;
+  color: #f1252e;
+}
+.img2{
+  width: 100%;
+  height: 300rpx;
+  margin-top: 30rpx;
+}
+.p1{
+  display: flex;
+  color: #999999;
+  margin-top: 15rpx;
+  font-size: 28rpx;
 }

+ 5 - 1
pages/myActive/myActive.js

@@ -25,7 +25,11 @@ Page({
       activeStatus: 2
     }]
   },
-
+  goActive(){
+    wx.redirectTo({
+      url: '/pages/activeDetail/activeDetail',
+    })
+  },
   /**
    * 生命周期函数--监听页面加载
    */

+ 1 - 9
pages/myActive/myActive.wxml

@@ -1,4 +1,4 @@
-<view wx:for="{{arr}}" class="box">
+<view wx:for="{{arr}}" class="box" bindtap="goActive">
 	<view class="top">
 		<image src="../../images/activephoto.png" style="width:80rpx;height:80rpx;"></image>
 		<view class="text">
@@ -16,12 +16,4 @@
 	<view class="p1">
 	<van-icon name="location-o" color="#a267ff" size="35rpx"/><view style="margin-left:15rpx">活动地点:{{item.address}}</view>
 	</view>
-	<!-- <button type="primary" size="40" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}" open-type="contact">联系客服</button> -->
-	<!-- <view>{{item.photo}}</view>
-			<view>{{item.title}}</view>
-			<view>{{item.remark}}</view>
-			<view>{{item.activeStatus}}</view>
-			<view>{{item.img}}</view>
-			<view>{{item.activeTime}}</view>
-			<view>{{item.address}}</view> -->
 </view>

+ 86 - 0
pages/onSiteActivity/onSiteActivity.js

@@ -0,0 +1,86 @@
+// pages/onSiteActivity/onSiteActivity.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    checkArr: []
+  },
+  love(e) {
+    console.log(e.currentTarget.dataset.index)
+    let status=this.data.checkArr[e.currentTarget.dataset.index]
+    let statusValue = 'checkArr[' + e.currentTarget.dataset.index + ']'
+    console.log(status)
+    if (status) {
+      this.setData({
+        [statusValue]: false
+      })
+    }else{
+      this.setData({
+        [statusValue]: true
+      })
+    }
+  },
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+    var checkArr1 = [];
+    for (var i = 0; i < 50; i++) {
+      checkArr1[i] = false;
+    }
+    this.setData({
+      checkArr: checkArr1
+    })
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 4 - 0
pages/onSiteActivity/onSiteActivity.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "navigationBarTitleText": "现场活动"
+}

+ 28 - 0
pages/onSiteActivity/onSiteActivity.wxml

@@ -0,0 +1,28 @@
+<view class="container">
+	<view class="title">签到成功!本场编号为001</view>
+	<view class="subtitle">请给你喜欢的嘉宾点击心动,心动上限为十个</view>
+	<scroll-view scroll-x="true" enable-flex="true" style="margin-top:40rpx">
+  <view class="heartbox">
+		<view wx:for="{{5}}" style="z-index:10;">
+			<image src="../../images/heart.png" style="width:50rpx;height:50rpx"></image>
+		</view>
+		<view wx:for="{{5}}"  style="z-index:10;">
+			<image src="../../images/gray.png" style="width:35rpx;height:35rpx"></image>
+		</view>
+		<view class="line"></view>
+    </view>
+	</scroll-view>
+  <view class="num"> 
+  <view class='allnum'>嘉宾: 100名</view>
+  <view class="tousu">投诉反馈</view>
+  </view>
+  </view>
+  <view class="photobox">
+  	<view wx:for="{{50}}" data-index="{{index}}" bindtap="love" style="text-align:center;width: 140rpx;position:relative">
+			<image src="../../images/photo.jpg" style="width:110rpx;height:110rpx;border-radius:50%;margin-top:20rpx" mode="aspectFit"></image>
+      <view style="color:#4d4d4d;font-size:28rpx;margin-top:5rpx">001</view>
+      <view style="color:#4d4d4d;font-size:28rpx;padding-bottom:35rpx">小红阿</view>
+      <view class="grayCircle"></view>
+      <image src="../../images/love.png" class="loveCircle" wx:if="{{checkArr[index]}}"></image>
+		</view>
+  </view>

+ 74 - 0
pages/onSiteActivity/onSiteActivity.wxss

@@ -0,0 +1,74 @@
+.title {
+  color: #333333;
+  font-size: 35rpx;
+  font-weight: bold;
+}
+
+.subtitle {
+  color: #999999;
+  margin-top: 20rpx;
+}
+
+.heartbox {
+  width: 1100rpx;
+  height: 100rpx;
+  /* border: 1px solid red; */
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: space-around;
+}
+
+.line {
+  width: 1100rpx;
+  height: 4rpx;
+  background: #d8d8d8;
+  position: absolute;
+  top: 44rpx;
+  left: 0;
+  z-index: 0;
+}
+.num{
+  width: 100%;
+  height: 100rpx;
+  /* border: 1px solid red; */
+}
+.allnum{
+  line-height: 100rpx;
+  color: #4d4d4d;
+  float: left;
+}
+.tousu{
+  width: 155rpx;
+  color: #9d69ff;
+  height: 50rpx;
+  border: 1px solid #9d69ff;
+  border-radius: 20rpx;
+  float: right;
+  line-height: 50rpx;
+  text-align: center;
+  margin-top: 25rpx;
+}
+.photobox{
+  display: flex;
+  flex-wrap:wrap;
+  margin-left: 20rpx;
+}
+.grayCircle{
+  width: 130rpx;
+  height: 130rpx;
+  border-radius: 50%;
+  border:2rpx solid #d8d8d8;
+  position: absolute;
+  top: 8rpx;
+  left: 2rpx;
+}
+.loveCircle{
+  width: 130rpx;
+  height: 130rpx;
+  /* border-radius: 50%; */
+  /* border:2rpx solid #d8d8d8; */
+  position: absolute;
+  top: 10rpx;
+  left: 4rpx;
+}

+ 47 - 29
pages/personal/personal.js

@@ -1,56 +1,72 @@
-// pages/personal/personal.js
 Page({
-
-  /**
-   * 页面的初始数据
-   */
   data: {
     tabArr: [{
       name: '我的信息',
       img: '../../images/icon1.png',
       url: '/pages/InfoType/InfoType'
-    },{
+    }, {
       name: '我的活动',
       img: '../../images/icon2.png',
       url: '/pages/myActive/myActive'
-    },{
+    }, {
       name: '心动11次',
       img: '../../images/icon3.png',
       url: ''
-    },{
+    }, {
       name: '被心动12次',
       img: '../../images/icon4.png',
       url: ''
-    },{
+    }, {
       name: '投诉',
       img: '../../images/icon5.png',
       url: ''
-    },{
+    }, {
       name: '推荐好友',
       img: '../../images/icon6.png',
-      url: ''
+      url: '/pages/share/share'
     }]
   },
-  goTab(e){
+  goTab(e) {
     wx.navigateTo({
       url: e.currentTarget.dataset.src
     })
   },
-  goIndex(){
-    wx.navigateTo({
-      url: '/pages/index/index',
-    })
-  },
-  goMy(){
-    wx.navigateTo({
-      url: '/pages/personal/personal',
-    })
+  onShareAppMessage: function (options) {
+    console.log(options)
+    var that = this;
+    // 设置菜单中的转发按钮触发转发事件时的转发内容
+    var shareObj = {
+      title: "月合文化", // 默认是小程序的名称(可以写slogan等)
+      path: '/pages/personal/personal', // 默认是当前页面,必须是以‘/’开头的完整路径
+      imageUrl: '../../images/photo.jpg', //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4
+      success: function (res) {
+        console.log(res)
+        // 转发成功之后的回调
+        if (res.errMsg == 'shareAppMessage:ok') {}
+      },
+      fail: function () {
+        // 转发失败之后的回调
+        if (res.errMsg == 'shareAppMessage:fail cancel') {
+          // 用户取消转发
+        } else if (res.errMsg == 'shareAppMessage:fail') {
+          // 转发失败,其中 detail message 为详细失败信息
+        }
+      }
+    }
+    // 来自页面内的按钮的转发
+    if (options.from == 'button') {
+      var eData = options.target.dataset;
+      console.log(eData.name); // shareBtn
+      // 此处可以修改 shareObj 中的内容
+      shareObj.path = '/pages/btnname/btnname?btn_name=' + eData.name;
+    }
+    // 返回shareObj
+    return shareObj;
   },
   /**
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
-
   },
 
   /**
@@ -94,11 +110,13 @@ Page({
   onReachBottom: function () {
 
   },
-
-  /**
-   * 用户点击右上角分享
-   */
-  onShareAppMessage: function () {
-
-  }
+  onShareTimeline: function () {
+		return {
+	      title: '测试',
+	      query: {
+	        id: 0
+	      },
+	      imageUrl: '../../images/icon1.png'
+	    }
+	},
 })

+ 0 - 14
pages/personal/personal.wxml

@@ -10,18 +10,4 @@
 		<view style="color:#6f7582;font-size:30rpx;margin-left:30rpx">{{item.name}}</view>
 	</view>
 </view>
-	<view class="tabbar">
-		<view class="tab1" bindtap="goIndex">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<view>首页</view>
-		</view>
-		<view class="tab1">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<view>红娘</view>
-		</view>
-		<view class="tab1" bindtap="goMy">
-			<image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
-			<view style="color:#a342ff">我的</view>
-		</view>
-	</view>
 </view>

+ 2 - 1
pages/personal/personal.wxss

@@ -29,7 +29,8 @@
 }
 .tabbar {
   width: 750rpx;
-  border: 1px solid #999;
+  /* border: 1px solid #999; */
+  box-shadow: 0px 0px 10px rgba(0,0,0,.2);
   height: 100rpx;
   position: fixed;
   bottom: 0;

+ 66 - 0
pages/service/service.js

@@ -0,0 +1,66 @@
+// pages/service/service.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 4 - 0
pages/service/service.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "navigationBarTitleText": "在线客服"
+}

+ 1 - 0
pages/service/service.wxml

@@ -0,0 +1 @@
+<web-view src='https://hzkhcs.qiyukf.com/client?k=de9c471949df00adb71be66e0ac85978&wp=1&robotShuntSwitch=1&robotId=5217545&qtype=4486102'></web-view>

+ 1 - 0
pages/service/service.wxss

@@ -0,0 +1 @@
+/* pages/service/service.wxss */

ファイルの差分が大きいため隠しています
+ 172 - 0
pages/share/share.js


+ 4 - 0
pages/share/share.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "navigationBarTitleText": "分享"
+}

+ 5 - 0
pages/share/share.wxml

@@ -0,0 +1,5 @@
+<view style="position:relative">
+	<image src='../../images/ewmbj.png' style="width:604rpx;height:512rpx;margin:100rpx 73rpx" />
+	<image src="{{codeImg}}" style="position:absolute;top:328rpx;left:248rpx;width:220rpx;height:220rpx;"/>
+	<button id="sunbmit" bindtap="save">保存图片</button>
+</view>

+ 11 - 0
pages/share/share.wxss

@@ -0,0 +1,11 @@
+#sunbmit{
+  width:300rpx;
+  background: -webkit-linear-gradient(left, #bd64ff, #8873ff);
+  color: #fff;
+  height: 80rpx!important;
+  line-height: 50rpx!important;
+  border-radius: 50rpx!important;
+  font-weight: normal!important;
+  margin: 30rpx 225rpx;
+  font-size: 30rpx;
+}

+ 10 - 2
project.config.json

@@ -10,10 +10,18 @@
 		"preloadBackgroundData": false,
 		"minified": true,
 		"newFeature": true,
-		"autoAudits": false,
 		"coverView": true,
+		"autoAudits": false,
 		"showShadowRootInWxmlPanel": true,
-		"scopeDataCheck": false
+		"scopeDataCheck": false,
+		"checkInvalidKey": true,
+		"checkSiteMap": true,
+		"uploadWithSourceMap": true,
+		"babelSetting": {
+			"ignore": [],
+			"disablePlugins": [],
+			"outputPath": ""
+		}
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.14.0",