Selaa lähdekoodia

设置页,联系我们,公告管理,订单管理,公共头部,静态

ltx529596 4 vuotta sitten
vanhempi
commit
bf1f18a8a4

+ 14 - 0
src/pages.json

@@ -3,6 +3,7 @@
     {
       "path": "pages/public/login",
       "navigationBarTitleText": "登陆"
+      
     },
     {
       "path": "pages/public/resetpassword",
@@ -22,6 +23,18 @@
       "navigationBarTitleText": "设置"
     },
     {
+      "path":"pages/index/setting/changepassword",
+      "navigationBarTitleText": "修改密码"
+    },
+    {
+      "path":"pages/index/setting/cellme",
+      "navigationBarTitleText": "联系我们"
+    },
+    {
+      "path":"pages/index/setting/notice",
+      "navigationBarTitleText": "公告管理"
+    },
+    {
       "path": "pages/public/confirmpassword",
       "navigationBarTitleText": "找回密码",
       "app-plus": {
@@ -69,6 +82,7 @@
 		"selectedColor": "#7d66f3",
 		"borderStyle": "black",
     "backgroundColor": "#ffffff",
+    
     "list": [{
 			"pagePath": "pages/index/index",
 			"text": "店铺首页",

+ 31 - 21
src/pages/components/header.vue

@@ -1,36 +1,46 @@
 <template name="Header">
-	<view class="header">
-		<image src="../../static/images/backicon.png" class="back"></image>
-		<view class="title">{{ title }}</view>
-	</view>
+  <view class="header">
+    <image
+      src="../../static/images/backicon.png"
+      class="back"
+      @tap="goback"
+    ></image>
+    <view class="title">{{ title }}</view>
+  </view>
 </template>
 
 <script>
 export default {
-	name: 'setting',
-	props: {
-		title: {
-			type: String,
-			default: ''
-		}
-	},
-	data() {
-		return {};
-	}
+  name: 'setting',
+  props: {
+    title: {
+      type: String,
+      default: '',
+    },
+  },
+  data() {
+    return {};
+  },
+  methods: {
+    // 返回上一页
+    goback() {
+      this.$mRouter.back();
+    },
+  },
 };
 </script>
 
 <style lang="scss" scopde>
 .header {
   width: 100%;
-	background-color: #ffffff;
-	display: flex;
-	padding: 23upx 33upx;
+  background-color: #ffffff;
+  display: flex;
+  padding: 23upx 33upx;
   position: fixed;
-	.back {
-		width: 24upx;
-		height: 43upx;
-	}
+  .back {
+    width: 24upx;
+    height: 43upx;
+  }
   .title {
     flex: 1;
     font-size: 34upx;

+ 166 - 160
src/pages/index/index.vue

@@ -17,7 +17,7 @@
 					</view>
 					<view class="header-bar header-center">首页</view>
 					<view class="header-right">
-						<image src="../../static/images/seticon.png" mode="" class="icon"></image>
+						<image src="../../static/images/seticon.png" mode="" class="icon" @tap="tosetting"></image>
 					</view>
 				</view>
 				<view class="user">
@@ -200,164 +200,168 @@
 	</view>
 </template>
 <script>
-  import uCharts from '../../js_sdk/u-charts/u-charts/u-charts';
-	let _self;
-	let canvaLineA = null;
-	let canvaPie = null;
-	export default {
-		name: 'Header',
-		data() {
-			return {
-				array: ['中国', '美国', '巴西', '日本'],
-				index: 0,
-				cWidth: '',
-				cHeight: '',
-				pixelRatio: 1, // 像素比
-
-				// 饼图数据
-				bWidth: '',
-        bHeight: ''
-			};
-		},
-		// 此处定义传入的数据
-		props: {
-			shoplist: {
-				type: Object,
-				value: null,
-			},
-		},
-		// 页面生命周期 监听页面加载
-		onLoad() {
-			_self = this;
-			this.cWidth = uni.upx2px(690); // upx2px 转换为px
-			this.cHeight = uni.upx2px(300);
-			this.bWidth = uni.upx2px(690);
-			this.bHeight = uni.upx2px(300);
-			this.getServerData();
-		},
-		methods: {
-			bindPickerChange: function(e) {
-				console.log('picker发送选择改变,携带值为', e.target.value);
-				this.index = e.target.value;
-			},
-			getList() {
-				console.log(1);
-			},
-
-			seting() {
-				console.log('设置');
-			},
-			// 数据处理
-			getServerData() {
-				uni.request({
-					url: 'https://www.ucharts.cn/data.json',
-					data: {},
-					success: function(res) {
-						console.log(res);
-						let LineA = {
-							categories: [],
-							series: [],
-						};
-						//这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
-						LineA.categories = res.data.data.LineA.categories;
-						LineA.series = res.data.data.LineA.series;
-						_self.showLineA('canvasLineA', LineA);
-
-						let pie = {
-							series: [],
-						};
-						pie.series = res.data.data.Pie.series;
-						_self.showPie('shopecharts', pie);
-					},
-					fail: () => {
-						_self.tips = '网络错误,小程序端请检查合法域名';
-					},
-				});
-			},
-			// 图表
-			showLineA(canvasId, chartData) {
-				canvaLineA = new uCharts({
-					$this: _self,
-					canvasId: canvasId,
-					type: 'line',
-					fontSize: 12,
-					legend: {
-						show: false,
-					},
-					dataLabel: false, // 图表中是否显示数据
-					duration: 500,
-					dataPointShape: false, // 折点
-					background: '#FFFFFF',
-					pixelRatio: _self.pixelRatio,
-					categories: chartData.categories, // x轴数据
-					series: chartData.series, // 值
-					animation: true,
-					xAxis: {
-						type: 'grid',
-						disableGrid: true,
-					},
-					yAxis: {
-						gridType: 'solid',
-						gridColor: '#CCCCCC',
-						min: 0,
-						max: 180,
-						format: (val) => {
-							return val.toFixed(0) + '元';
-						},
-					},
-					width: _self.cWidth * _self.pixelRatio,
-					height: _self.cHeight * _self.pixelRatio,
-					extra: {
-						line: {
-							type: 'curve', // 平滑曲线; straight直线
-						},
-					},
-				});
-			},
-			touchLineA(e) {
-				canvaLineA.showToolTip(e, {
-					format: function(item, category) {
-						return category + ' ' + item.name + ':' + item.data;
-					},
-				});
-			},
-
-			// 饼图
-			showPie(canvasId, chartData) {
-				canvaPie = new uCharts({
-					$this: _self,
-					canvasId: canvasId,
-					type: 'pie',
-					fontSize: 11,
-					legend: {
-						show: true,
-						position: 'left',
-						margin: 10,
-						itemGap: 20,
-					},
-					background: '#FFFFFF',
-					pixelRatio: _self.pixelRatio,
-					series: chartData.series,
-					animation: true,
-					width: _self.cWidth * _self.pixelRatio,
-					height: _self.cHeight * _self.pixelRatio,
-					dataLabel: true,
-					extra: {
-						pie: {
-							lableWidth: 15,
-						},
-					},
-				});
-			},
-			touchPie(e) {
-				canvaPie.showToolTip(e, {
-					format: function(item) {
-						return item.name + ':' + item.data;
-					},
-				});
-			},
-		},
-	};
+import uCharts from '../../js_sdk/u-charts/u-charts/u-charts';
+let _self;
+let canvaLineA = null;
+let canvaPie = null;
+export default {
+  name: 'Header',
+  data() {
+    return {
+      array: ['中国', '美国', '巴西', '日本'],
+      index: 0,
+      cWidth: '',
+      cHeight: '',
+      pixelRatio: 1, // 像素比
+
+      // 饼图数据
+      bWidth: '',
+      bHeight: '',
+    };
+  },
+  // 此处定义传入的数据
+  props: {
+    shoplist: {
+      type: Object,
+      value: null,
+    },
+  },
+  // 页面生命周期 监听页面加载
+  onLoad() {
+    _self = this;
+    this.cWidth = uni.upx2px(690); // upx2px 转换为px
+    this.cHeight = uni.upx2px(300);
+    this.bWidth = uni.upx2px(690);
+    this.bHeight = uni.upx2px(300);
+    this.getServerData();
+  },
+  methods: {
+    bindPickerChange: function (e) {
+      console.log('picker发送选择改变,携带值为', e.target.value);
+      this.index = e.target.value;
+    },
+    // 设置页
+    tosetting() {
+      this.$mRouter.redirectTo({ route: '/pages/index/setting/setting' });
+    },
+    getList() {
+      console.log(1);
+    },
+
+    seting() {
+      console.log('设置');
+    },
+    // 数据处理
+    getServerData() {
+      uni.request({
+        url: 'https://www.ucharts.cn/data.json',
+        data: {},
+        success: function (res) {
+          console.log(res);
+          let LineA = {
+            categories: [],
+            series: [],
+          };
+          //这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
+          LineA.categories = res.data.data.LineA.categories;
+          LineA.series = res.data.data.LineA.series;
+          _self.showLineA('canvasLineA', LineA);
+
+          let pie = {
+            series: [],
+          };
+          pie.series = res.data.data.Pie.series;
+          _self.showPie('shopecharts', pie);
+        },
+        fail: () => {
+          _self.tips = '网络错误,小程序端请检查合法域名';
+        },
+      });
+    },
+    // 图表
+    showLineA(canvasId, chartData) {
+      canvaLineA = new uCharts({
+        $this: _self,
+        canvasId: canvasId,
+        type: 'line',
+        fontSize: 12,
+        legend: {
+          show: false,
+        },
+        dataLabel: false, // 图表中是否显示数据
+        duration: 500,
+        dataPointShape: false, // 折点
+        background: '#FFFFFF',
+        pixelRatio: _self.pixelRatio,
+        categories: chartData.categories, // x轴数据
+        series: chartData.series, // 值
+        animation: true,
+        xAxis: {
+          type: 'grid',
+          disableGrid: true,
+        },
+        yAxis: {
+          gridType: 'solid',
+          gridColor: '#CCCCCC',
+          min: 0,
+          max: 180,
+          format: (val) => {
+            return val.toFixed(0) + '元';
+          },
+        },
+        width: _self.cWidth * _self.pixelRatio,
+        height: _self.cHeight * _self.pixelRatio,
+        extra: {
+          line: {
+            type: 'curve', // 平滑曲线; straight直线
+          },
+        },
+      });
+    },
+    touchLineA(e) {
+      canvaLineA.showToolTip(e, {
+        format: function (item, category) {
+          return category + ' ' + item.name + ':' + item.data;
+        },
+      });
+    },
+
+    // 饼图
+    showPie(canvasId, chartData) {
+      canvaPie = new uCharts({
+        $this: _self,
+        canvasId: canvasId,
+        type: 'pie',
+        fontSize: 11,
+        legend: {
+          show: true,
+          position: 'left',
+          margin: 10,
+          itemGap: 20,
+        },
+        background: '#FFFFFF',
+        pixelRatio: _self.pixelRatio,
+        series: chartData.series,
+        animation: true,
+        width: _self.cWidth * _self.pixelRatio,
+        height: _self.cHeight * _self.pixelRatio,
+        dataLabel: true,
+        extra: {
+          pie: {
+            lableWidth: 15,
+          },
+        },
+      });
+    },
+    touchPie(e) {
+      canvaPie.showToolTip(e, {
+        format: function (item) {
+          return item.name + ':' + item.data;
+        },
+      });
+    },
+  },
+};
 </script>
 <style lang="scss" scoped>
 .header {
@@ -378,6 +382,9 @@
     .header-left {
       font-size: 28rpx;
 
+      .uni-list:after {
+        border-color: transparent;
+      }
       .uni-list-cell-db {
         height: 80rpx;
         font-size: 28rpx;
@@ -385,7 +392,6 @@
         justify-content: center;
         align-items: center;
         background-color: $barColor;
-				border-bottom: transparent;
 
         .icon {
           width: 17rpx;

+ 50 - 0
src/pages/index/setting/cellme.vue

@@ -0,0 +1,50 @@
+<!-- 联系我们 -->
+<template>
+  <view class="cellme">
+    <Header :title="title"></Header>
+    <view style="height: 94upx;"></view>
+    <view class="cellme-content">
+      <view class="name">重庆鼎游科技有限公司:</view>
+      <view class="phone">023-67535762</view>
+    </view>
+  </view>
+</template>
+
+<script>
+import Header from '../../components/header';
+export default {
+  name: 'cellme',
+  components: {
+    Header,
+  },
+  data() {
+    //这里存放数据
+    return {
+      title: '联系我们',
+    };
+  },
+  //方法集合
+  methods: {
+    // 返回上一页
+    navBack() {
+      console.log(1);
+      this.$mRouter.back();
+    },
+  },
+};
+</script>
+<style lang='scss' scoped>
+.cellme-content {
+  padding: 50upx 30upx;
+  .name {
+    font-size: 32upx;
+    font-weight: 700;
+    color: $titleColor;
+  }
+  .phone {
+    margin-top: 20upx;
+    font-size: 32upx;
+    font-weight: 700;
+  }
+}
+</style>

+ 95 - 0
src/pages/index/setting/changepassword.vue

@@ -0,0 +1,95 @@
+<!-- 修改密码 -->
+<template>
+  <view class="changepassword">
+    <view class="goback" @tap="navBack"
+      ><image src="../../../static/images/backicon.png" class="backicon"></image
+    ></view>
+    <view class="title">修改密码</view>
+    <view class="input-item cellphone">
+      <input type="text" placeholder="请输入旧密码" />
+    </view>
+    <view class="input-item imgcode">
+      <input type="text" class="inputcode" placeholder="请输入新密码" />
+    </view>
+    <view class="input-item sellcode">
+      <input type="text" class="inputcode" placeholder="再次输入旧密码" />
+    </view>
+    <view class="btn-warp">
+      <view class="btn" @tap="next">确认</view>
+    </view>
+  </view>
+</template>
+
+<script>
+export default {
+  name: 'changepassword',
+  data() {
+    //这里存放数据
+    return {};
+  },
+  onLoad() {},
+  //方法集合
+  methods: {
+    // 返回上一页
+    navBack() {
+      this.$mRouter.back();
+    },
+    next() {
+      console.log(1);
+    },
+  },
+};
+</script>
+<style lang='scss' scoped>
+.changepassword {
+  padding: 0 50upx;
+  .goback {
+    padding-top: 100upx;
+    .backicon {
+      width: 24upx;
+      height: 43upx;
+    }
+  }
+  .title {
+    font-size: 48upx;
+    color: $titleColor;
+    background: url('../../../static/images/passworddown.png') no-repeat left
+      82%;
+    background-size: 192upx 14upx;
+    margin-top: 65upx;
+  }
+  .input-item {
+    height: 95upx;
+    border-bottom: 1px solid #e7e7e7;
+    margin-top: 50upx;
+    position: relative;
+    input {
+      width: 100%;
+      height: 100%;
+      font-size: 32upx;
+    }
+  }
+  .cellphone {
+    margin-top: 100upx;
+  }
+  .btn-warp {
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    margin-top: 170upx;
+    .btn {
+      width: 586upx;
+      height: 98upx;
+      border-radius: 35upx;
+      background-color: $barColor;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      font-size: 36upx;
+      font-weight: 700;
+      color: $titleColor;
+      letter-spacing: 5upx;
+    }
+  }
+}
+</style>

+ 100 - 0
src/pages/index/setting/notice.vue

@@ -0,0 +1,100 @@
+<!-- 公告管理 -->
+<template>
+  <view class="notice">
+    <Header :title="title"></Header>
+    <view style="height: 94upx;"></view>
+    <view class="notice-content">
+      <view class="item">
+        <view class="notice-top">
+          <image src="" class="img"></image>
+          <view class="detail">
+            <text class="txt">景区公告</text>
+            <text class="time">2020-07-15</text>
+          </view>
+        </view>
+        <view class="notice-btns">
+          <view class="edit btn">编辑</view>
+          <view class="delete btn">删除</view>
+        </view>
+      </view>
+    </view>
+  </view>
+</template>
+
+<script>
+import Header from '../../components/header';
+export default {
+  name: 'notice',
+  components: {
+    Header,
+  },
+  data() {
+    //这里存放数据
+    return {
+      title: '公告管理',
+    };
+  },
+  //方法集合
+  methods: {},
+};
+</script>
+<style lang='scss' scoped>
+.notice-content {
+  background-color: #f4f4f4;
+  padding: 15upx 33upx;
+  .item {
+    background-color: #fff;
+    border-radius: 10upx;
+    padding: 20upx;
+    .notice-top {
+      .img {
+        width: 100%;
+        height: 350upx;
+        background-color: pink;
+        border-radius: 20upx;
+      }
+      .detail {
+        display: flex;
+        justify-content: space-between;
+        align-items: center;
+        margin-top: 20upx;
+        .txt {
+          flex: 1;
+          font-size: 30upx;
+          color: $titleColor;
+          overflow: hidden;
+          text-overflow: ellipsis;
+          white-space: nowrap;
+        }
+        .time {
+          width: 143upx;
+          color: #9ea9a3;
+          font-size: 26upx;
+        }
+      }
+    }
+    .notice-btns {
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      margin-top: 20upx;
+      .btn {
+        width: 200upx;
+        height: 70upx;
+        border: 1px solid #ccc;
+        border-radius: 10upx;
+        text-align: center;
+        line-height: 70upx;
+      }
+      .edit {
+        background-color: #fff;
+      }
+      .delete {
+        margin-left: 60upx;
+        background-color: #ff6a5e;
+        color: #fff;
+      }
+    }
+  }
+}
+</style>

+ 8 - 7
src/pages/index/setting/setting.vue

@@ -4,19 +4,19 @@
 		<view style="height:94upx"></view>
 		<view class="setting-warp">
 			<view class="item-warp">
-				<view class="item" @tap="topage">
+				<view class="item" @tap="topage('/pages/index/setting/changepassword')">
 					<text class="name">密码修改</text>
-					<image src="../../../static/images/moreicon.png" class="more" @tap='topage'></image>
+					<image src="../../../static/images/moreicon.png" class="more"></image>
 				</view>
 			</view>
 			<view class="item-warp cellme-warp">
-				<view class="item cellme" @tap="topage">
+				<view class="item cellme" @tap="topage('/pages/index/setting/cellme')">
 					<text class="name">联系我们</text>
 					<image src="../../../static/images/moreicon.png" class="more"></image>
 				</view>
 			</view>
 			<view class="item-warp">
-				<view class="item" @tap="topage">
+				<view class="item" @tap="topage('/pages/index/setting/notice')">
 					<text class="name">公告管理</text>
 					<image src="../../../static/images/moreicon.png" class="more"></image>
 				</view>
@@ -47,14 +47,15 @@ export default {
 
   },
   methods: {
-    topage () {
-      console.log(1);
+    topage (url) {
+			console.log(url);
+			this.$mRouter.push({ route: url});
     }
   }
 };
 </script>
 
-<style lang="scss" scopde>
+<style lang="scss" scoped>
 .setting {
 	height: 100vh;
 	background-color: #f4f4f4;

+ 282 - 7
src/pages/order/order.vue

@@ -1,6 +1,121 @@
 <!-- order -->
 <template>
-  <view class="order">商品管理</view>
+  <view class="order">
+    <view class="header-warp">
+      <view class="header-search">
+        <view class="uni-list-cell">
+          <view class="uni-list-cell-db">
+            <picker @change="bindPickerChange" :value="index" :range="array">
+              <view class="uni-input">{{ array[index] }}</view>
+            </picker>
+            <image
+              src="../../static/images/garydownicon.png"
+              mode=""
+              class="icon"
+            ></image>
+          </view>
+        </view>
+        <view class="search">
+          <input
+            type="text"
+            placeholder-style="color:#a3a8a8;font-size:10px;"
+            placeholder="请输入订单号或手机号、身份证号"
+            class="cellphone"
+          />
+          <text class="txt">搜索</text>
+        </view>
+        <view class="btn-time">
+          <image
+            src="../../static/images/timeIcon.png"
+            class="timeicon"
+          ></image>
+          <text class="screen">按时间</text>
+        </view>
+      </view>
+      <view class="header-bar">
+        <view
+          class="item"
+          @tap="changeTab(1)"
+          :class="{ active: isactive === 1 }"
+        >
+          <view class="ordertype">已付款</view>
+          <view class="heng"></view>
+        </view>
+        <view
+          class="item"
+          @tap="changeTab(2)"
+          :class="{ active: isactive === 2 }"
+        >
+          <view class="ordertype">已完成</view>
+          <view class="heng"></view>
+        </view>
+        <view
+          class="item"
+          @tap="changeTab(3)"
+          :class="{ active: isactive === 3 }"
+        >
+          <view class="ordertype">退款</view>
+          <view class="heng"></view>
+        </view>
+        <view class="line"></view>
+      </view>
+    </view>
+    <view style="height: 192upx;"></view>
+    <view class="order-content" v-if="isactive === 1">
+      <view class="order-list">
+        <view class="order-title">
+          <text class="ordernum"
+            >订单号:<text class="num">15648464184616</text></text
+          >
+          <text class="ordertime">09:26</text>
+        </view>
+        <view class="order-detail">
+          <view class="name">仙女山成人票</view>
+          <view class="door">门店:<text class="message">1</text></view>
+          <view class="num">门店:<text class="message">2</text></view>
+          <view class="status">门店:<text class="message">3</text></view>
+          <view class="playtime">门店:<text class="message">4</text></view>
+        </view>
+      </view>
+      1
+    </view>
+    <view class="order-content" v-if="isactive === 2">
+      <view class="order-list">
+        <view class="order-title">
+          <text class="ordernum"
+            >订单号:<text class="num">15648464184616</text></text
+          >
+          <text class="ordertime">09:26</text>
+        </view>
+        <view class="order-detail">
+          <view class="name">仙女山成人票</view>
+          <view class="door">门店:<text class="message">1</text></view>
+          <view class="num">门店:<text class="message">2</text></view>
+          <view class="status">门店:<text class="message">3</text></view>
+          <view class="playtime">门店:<text class="message">4</text></view>
+        </view>
+      </view>
+      2
+    </view>
+    <view class="order-content" v-if="isactive === 3">
+      <view class="order-list">
+        <view class="order-title">
+          <text class="ordernum"
+            >订单号:<text class="num">15648464184616</text></text
+          >
+          <text class="ordertime">09:26</text>
+        </view>
+        <view class="order-detail">
+          <view class="name">仙女山成人票</view>
+          <view class="door">门店:<text class="message">1</text></view>
+          <view class="num">门店:<text class="message">2</text></view>
+          <view class="status">门店:<text class="message">3</text></view>
+          <view class="playtime">门店:<text class="message">4</text></view>
+        </view>
+      </view>
+      3
+    </view>
+  </view>
 </template>
 
 <script>
@@ -9,17 +124,177 @@ export default {
   components: {},
   data() {
     //这里存放数据
-    return {};
+    return {
+      array: ['中国', '美国', '巴西', '日本'],
+      index: 0,
+      isactive: 1,
+    };
   },
   //监控data中的数据变化
   watch: {},
   //方法集合
-  methods: {},
-  //生命周期 - 创建完成(可以访问当前this实例)
-  created() {},
-  //生命周期 - 挂载完成(可以访问DOM元素)
-  mounted() {},
+  methods: {
+    bindPickerChange: function (e) {
+      console.log('picker发送选择改变,携带值为', e.target.value);
+      this.index = e.target.value;
+    },
+    // tab
+    changeTab(type) {
+      this.isactive = type;
+    },
+  },
 };
 </script>
 <style lang="scss" scoped>
+.order {
+  background-color: #f4f4f4;
+  .header-warp {
+    width: 100%;
+    background-color: #fff;
+    padding: 15upx 33upx 0;
+    position: fixed;
+    .header-search {
+      display: flex;
+      align-items: center;
+      .uni-list-cell {
+        width: 92upx;
+        .uni-list-cell-db {
+          height: 80upx;
+          font-size: 28upx;
+          display: flex;
+          justify-content: center;
+          align-items: center;
+          background-color: #fff;
+          color: #8f8f8f;
+          .icon {
+            width: 17upx;
+            height: 12upx;
+            margin-left: 10upx;
+          }
+        }
+      }
+      .search {
+        flex: 1;
+        display: flex;
+        align-items: center;
+        height: 80upx;
+        margin-left: 20upx;
+        background-color: #f7f7f7;
+        border-radius: 10upx;
+        .cellphone {
+          flex: 1;
+          height: 100%;
+          color: $titleColor;
+          padding-left: 20upx;
+        }
+        .search-holder {
+          color: #f00;
+        }
+        .txt {
+          height: 72upx;
+          width: 90upx;
+          text-align: center;
+          line-height: 72upx;
+          color: #a95cff;
+          font-size: 28upx;
+        }
+      }
+      .btn-time {
+        width: 130upx;
+        display: flex;
+        align-items: center;
+        justify-content: center;
+        .timeicon {
+          width: 25upx;
+          height: 28upx;
+        }
+        .screen {
+          margin-left: 5upx;
+          font-size: 24upx;
+          color: #8f8f8f;
+        }
+      }
+    }
+    .header-bar {
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      position: relative;
+      .item {
+        position: relative;
+        width: 33.33%;
+        height: 99upx;
+        display: flex;
+        justify-content: center;
+        align-items: center;
+        flex-direction: column;
+        .ordertype {
+          position: relative;
+          font-size: 30upx;
+          letter-spacing: 3upx;
+          color: #7a7c7c;
+        }
+        .heng {
+          position: absolute;
+          display: none;
+          bottom: 0;
+          width: 40upx;
+          height: 6upx;
+          border-radius: 4upx;
+          background-color: #a95cff;
+        }
+      }
+
+      .active .ordertype {
+        color: #a95cff;
+      }
+      .active .heng {
+        display: block;
+      }
+    }
+  }
+  .order-content {
+    padding: 24upx 32upx 0;
+    .order-list {
+      background-color: #fff;
+      border-radius: 10upx;
+      padding: 30upx 24upx 33upx;
+      margin-bottom: 24upx;
+      .order-title {
+        border-bottom: 1px solid $bordrColor;
+        display: flex;
+        justify-content: space-between;
+        align-items: center;
+        padding-bottom: 22upx;
+        .ordernum {
+          font-size: 30upx;
+          color: #232828;
+          .num {
+            margin-left: 10upx;
+          }
+        }
+        .ordertime {
+          color: #a3a8a8;
+        }
+      }
+      .order-detail {
+        margin-top: 24upx;
+        .name {
+          font-size: 34upx;
+        }
+        .door,
+        .num,
+        .status,
+        .playtime {
+          font-size: 26upx;
+          color: #7a7c7c;
+          margin-top: 14upx;
+        }
+        .message {
+          margin-left: 10upx;
+        }
+      }
+    }
+  }
+}
 </style>

BIN
src/static/images/garydownicon.png


BIN
src/static/images/timeIcon.png


+ 14 - 0
src/uni.scss

@@ -2,6 +2,7 @@ $titleColor: #2f2f2f;
 $subheadColor: #909090;
 $mainBgcColor: #fafafa;
 $barColor: #ffcc01;
+$bordrColor: #e7e7e7;
 
 
 
@@ -48,3 +49,16 @@ $uni-color-error: #dd524d;
     position: relative;
 }
 
+
+.uni-list-cell::before {
+    background-color: transparent !important;
+}
+.uni-list-cell::after {
+    background-color: transparent !important;
+}
+.uni-list::before {
+    background-color: transparent !important;
+}
+.uni-list::after {
+    background-color: transparent !important;
+}