天府星
This commit is contained in:
		@@ -94,8 +94,6 @@
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    onLoad () {
 | 
			
		||||
      this.getList()
 | 
			
		||||
 | 
			
		||||
      if (!this.token) {
 | 
			
		||||
        this.autoLogin()
 | 
			
		||||
      } else {
 | 
			
		||||
 
 | 
			
		||||
@@ -10,15 +10,23 @@
 | 
			
		||||
    <div class="back-wrapper" @click="back" v-show="!isFixed" :style="{marginTop : statusBarHeight + 'px'}">
 | 
			
		||||
      <image src="/static/img/left.png"/>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="photo-header">
 | 
			
		||||
      <image class="bg-img" src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/photo-bg.png" />
 | 
			
		||||
      <h2>随手拍</h2>
 | 
			
		||||
      <p>将身边文明或不文明行为拍照上传即可获得积分奖励</p>
 | 
			
		||||
      <image class="right-icon" src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/right2.png" />
 | 
			
		||||
    </div>
 | 
			
		||||
    <image class="banner" src="https://jisheng-xiaochengxu.oss-cn-hangzhou.aliyuncs.com/admin/5bad9165-fa6e-4c81-894d-2beae426260b.png" />
 | 
			
		||||
    <div class="wrapper">
 | 
			
		||||
      <h2>我上传的</h2>
 | 
			
		||||
      <div class="list">
 | 
			
		||||
      <div class="top">
 | 
			
		||||
        <image src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/avatar.png" />
 | 
			
		||||
        <div class="top-right">
 | 
			
		||||
          <h2>商户名称名称名称</h2>
 | 
			
		||||
          <p>成都市金牛区xxxx大厦成都成都成都成都…</p>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="detail">
 | 
			
		||||
        <h2>优惠详情</h2>
 | 
			
		||||
        <div class="detail-content">
 | 
			
		||||
          <h3>Lv.1会员进店享受9折优惠</h3>
 | 
			
		||||
          <p>需要将 input 组件 type 的值设置为 nickname,当用户在此 input 进行输入时,键盘上方会展示微信昵称。
 | 
			
		||||
从基础库2.24.4版本起,在onBlur 事件触发时,微信将异步对用户输入的内容进行安全监测,若未通过安全监测,微信将清空用户输入的内容,
 | 
			
		||||
建议开发者通过 form 中form-type 为submit 的button 组件收集用户输入的内容。</p>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
@@ -71,9 +79,78 @@
 | 
			
		||||
 | 
			
		||||
<style lang="scss" socped>
 | 
			
		||||
  .StoreDetail {
 | 
			
		||||
    width: 100vw;
 | 
			
		||||
    overflow-x: hidden;
 | 
			
		||||
    padding-bottom: 200px;
 | 
			
		||||
    .banner {
 | 
			
		||||
      position: absolute;
 | 
			
		||||
      top: 0;
 | 
			
		||||
      left: 0;
 | 
			
		||||
      z-index: 1;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 480px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .wrapper {
 | 
			
		||||
      position: relative;
 | 
			
		||||
      z-index: 2;
 | 
			
		||||
      padding-top: 400px;
 | 
			
		||||
      margin: 0 16px;
 | 
			
		||||
 | 
			
		||||
      .top {
 | 
			
		||||
        display: flex;
 | 
			
		||||
        align-items: center;
 | 
			
		||||
        margin-bottom: 58px;
 | 
			
		||||
        padding: 24px;
 | 
			
		||||
        background: #FFFFFF;
 | 
			
		||||
        box-shadow: 0 0 8px 0 rgba(0,0,0,0.02);
 | 
			
		||||
        border-radius: 16px;
 | 
			
		||||
 | 
			
		||||
        image {
 | 
			
		||||
          width: 112px;
 | 
			
		||||
          height: 112px;
 | 
			
		||||
          margin-right: 24px;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        h2 {
 | 
			
		||||
          margin-bottom: 12px;
 | 
			
		||||
          font-size: 34px;
 | 
			
		||||
          color: #333333;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        p {
 | 
			
		||||
          font-size: 26px;
 | 
			
		||||
          color: #999999;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      .detail {
 | 
			
		||||
        margin: 0 16px;
 | 
			
		||||
 | 
			
		||||
        h2 {
 | 
			
		||||
          margin-bottom: 42px;
 | 
			
		||||
          font-size: 34px;
 | 
			
		||||
          color: #1D2229;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .detail-content {
 | 
			
		||||
          padding: 24px;
 | 
			
		||||
          background: #FFFFFF;
 | 
			
		||||
          box-shadow: 0 0 8px 0 rgba(0,0,0,0.02);
 | 
			
		||||
          border-radius: 32px;
 | 
			
		||||
 | 
			
		||||
          h3 {
 | 
			
		||||
            margin-bottom: 24px;
 | 
			
		||||
            font-size: 40px;
 | 
			
		||||
            color: #222222;
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          p {
 | 
			
		||||
            line-height: 1.3;
 | 
			
		||||
            font-size: 32px;
 | 
			
		||||
            color: #999999;
 | 
			
		||||
            text-align: justify;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    div {
 | 
			
		||||
      box-sizing: border-box;
 | 
			
		||||
@@ -120,7 +197,7 @@
 | 
			
		||||
          position: absolute;
 | 
			
		||||
          top: 0;
 | 
			
		||||
          left: 0;
 | 
			
		||||
          z-index: 1;
 | 
			
		||||
          z-index: 12;
 | 
			
		||||
          width: 40px;
 | 
			
		||||
          height: 40px;
 | 
			
		||||
          padding: 24px 20px 0 20px;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,16 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div class="Square"></div>
 | 
			
		||||
  <div class="AppSquare">
 | 
			
		||||
    <div class="item" v-for="(item, index) in 10" :key="index">
 | 
			
		||||
      <image src="https://jisheng-xiaochengxu.oss-cn-hangzhou.aliyuncs.com/admin/5bad9165-fa6e-4c81-894d-2beae426260b.png" />
 | 
			
		||||
      <div class="item-bottom">
 | 
			
		||||
        <div class="left">
 | 
			
		||||
          <image src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/avatar.png" />
 | 
			
		||||
          <span>张三</span>
 | 
			
		||||
        </div>
 | 
			
		||||
        <p>2022-11-05 17:45</p>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
@@ -9,6 +20,51 @@
 | 
			
		||||
  }
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
<style scoped lang="scss">
 | 
			
		||||
  .AppSquare {
 | 
			
		||||
    margin: 0 32px;
 | 
			
		||||
    padding: 20px 0;
 | 
			
		||||
 | 
			
		||||
    .item {
 | 
			
		||||
      margin-bottom: 24px;
 | 
			
		||||
      padding: 24px 24px 0;
 | 
			
		||||
      background: #FFFFFF;
 | 
			
		||||
      box-shadow: 0 0 8px 0 rgba(0,0,0,0.02);
 | 
			
		||||
      border-radius: 16px;
 | 
			
		||||
 | 
			
		||||
      & > image {
 | 
			
		||||
        width: 100%;
 | 
			
		||||
        height: 360px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      .item-bottom {
 | 
			
		||||
        display: flex;
 | 
			
		||||
        align-items: center;
 | 
			
		||||
        justify-content: space-between;
 | 
			
		||||
        height: 96px;
 | 
			
		||||
 | 
			
		||||
        .left {
 | 
			
		||||
          display: flex;
 | 
			
		||||
          align-items: center;
 | 
			
		||||
 | 
			
		||||
          image {
 | 
			
		||||
            width: 48px;
 | 
			
		||||
            height: 48px;
 | 
			
		||||
            margin-right: 16px;
 | 
			
		||||
            border-radius: 50%;
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          span {
 | 
			
		||||
            font-size: 28px;
 | 
			
		||||
            color: #333333;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        p {
 | 
			
		||||
          color: #999999;
 | 
			
		||||
          font-size: 28px;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
</style>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								src/project/tianfuxing/AppSquare/square.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/project/tianfuxing/AppSquare/square.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.6 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src/project/tianfuxing/AppSquare/square_selected.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/project/tianfuxing/AppSquare/square_selected.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.3 KiB  | 
		Reference in New Issue
	
	Block a user