panyong 2 роки тому
батько
коміт
d2c836946e

+ 21 - 0
htmldev/wxMini/README.md

@@ -24,3 +24,24 @@
   - 商户消息 businessLeavingAMessage 4
 
 ### TODO
+* 用户消息、商家消息
+  * 展示逻辑
+  * 系统消息点击之后什么样子的
+
+* 预售商品
+  * 缺一个取消收藏的样式
+  * 供应商那个Tab点击之后页面是什么样子的
+
+* 购物车
+  * 商家信息 按钮 怎么展示:假设在多个商家里选购了商品
+
+* 购物车详情
+  * 页面入口是什么
+  * 商家的微信二维码从哪里拿到的
+
+* 村长说农货
+  * 点赞、评论、转发:视频列表应该是纯展示吧,这个功能在详情页怎么没有入口呢?
+
+* 农事天地
+  * 缺回复样式、收藏、点赞样式;
+  * 点击关注之后:合作社发了消息,用户那边是怎么展示的 -->

+ 54 - 0
htmldev/wxMini/pages/news/news.scss

@@ -0,0 +1,54 @@
+.wrapper {
+  padding-top: 20rpx;
+}
+
+.leaving-a-message {
+  position: relative;
+  left: 0;
+  top: 0;
+}
+
+.leaving-a-message image {
+  display: block;
+  width: 40rpx;
+  height: 50rpx;
+  background: pink;
+}
+
+.leaving-a-message view {
+  position: absolute;
+  top: -9rpx;
+  right: -9rpx;
+  z-index: 1;
+  min-width: 36rpx;
+  min-height: 36rpx;
+  border-radius: 18rpx;
+  background: #FA5151;
+  font-size: 24rpx;
+  font-weight: 500;
+  color: #FFF;
+  line-height: 36rpx;
+  text-align: center;
+}
+
+.btn-send {
+  position: fixed;
+  right: 30rpx;
+  bottom: 58rpx;
+  z-index: 100;
+
+  &:after {
+    display: block;
+    content: '';
+    width: 100%;
+    padding-bottom: constant(safe-area-inset-bottom);
+    padding-bottom: env(safe-area-inset-bottom);
+  }
+
+  image {
+    display: block;
+    width: 134rpx;
+    height: 134rpx;
+    background: pink;
+  }
+}

+ 18 - 0
htmldev/wxMini/pages/news/news.wxml

@@ -0,0 +1,18 @@
+<view class="wrapper">
+  <view class="app_page-header-search">
+    <view class="app_page-header-search-warp">
+      <label for="header-search">
+        <image src=""></image>
+      </label>
+      <input placeholder-class="app_header-search-placeholder" value="" placeholder="搜索"></input>
+    </view>
+    <view class="leaving-a-message" bind:tap="jumpLeavingAMessage">
+      <image src=""></image>
+      <view>8</view>
+    </view>
+  </view>
+</view>
+<view class="btn-send">
+  <image
+    src=""></image>
+</view>

+ 0 - 0
htmldev/wxMini/pages/news/news.wxss


+ 13 - 1
htmldev/wxMini/project.private.config.json

@@ -3,7 +3,19 @@
     "urlCheck": false,
     "compileHotReLoad": true
   },
-  "condition": {},
+  "condition": {
+    "miniprogram": {
+      "list": [
+        {
+          "name": "1111",
+          "pathName": "pages/news/news",
+          "query": "",
+          "launchMode": "default",
+          "scene": null
+        }
+      ]
+    }
+  },
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "libVersion": "2.13.2",
   "projectname": "%E5%A7%8B%E5%AE%81%E5%86%9C%E4%B8%9A"