梁旭颖 vor 1 Jahr
Ursprung
Commit
c6166d886b

BIN
.DS_Store


+ 8 - 0
前端/lionfish_comshop/components/new-auth/index.wxml

@@ -1,14 +1,22 @@
 <i-modal bind:cancel="close" scrollUp="{{false}}" visible="{{needAuth}}">
   <view class="auth-content">
     <view class="btn" wx:if="{{canIUse}}">
+    
       <view class="content">
         <button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
          <image class="avatar" src="{{avatarUrl}}"></image>
        </button> 
+       <view class="tips">
+        点击上方图片获取头像
+       </view>
+     
        <view class="nm">
        <text>昵称:</text>
         <input type="nickname" model:value="{{nickname}}"  class="weui-input" placeholder=""/>
        </view>
+       <view class="tips">
+        点击上方横线处获取微信昵称
+       </view>
       </view> 
       <view class="close-img" bindtap="close" wx:if="{{newauth_cancel_image}}">
         <image class="img" mode="widthFix" src="{{newauth_cancel_image}}"></image>

+ 112 - 90
前端/lionfish_comshop/components/new-auth/index.wxss

@@ -1,123 +1,145 @@
 .auth-content {
-  width: 520rpx;
-  min-height: 480rpx;
-  max-height: 660rpx;
-  background: #fff;
-  border-radius: 24rpx;
-  position: relative;
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  justify-content: flex-end;
+    width: 100vw;
+    min-height: 100vh;
+    max-height: 660rpx;
+    background: #fff;
+    /* border-radius: 24rpx; */
+    position: relative;
+    display: flex;
+    flex-direction: column;
+    /*  align-items: center;
+  justify-content: flex-end; */
 }
 
 .auth-content .bg {
-  width: 520rpx;
+    width: 520rpx;
 }
 
 .auth-content .h1 {
-  color: #000;
-  font-size: 32rpx;
-  margin-bottom: 20rpx;
-  font-weight: bold;
+    color: #000;
+    font-size: 32rpx;
+    margin-bottom: 20rpx;
+    font-weight: bold;
 }
 
 .auth-content .h2 {
-  font-size: 24rpx;
-  line-height: 36rpx;
-  color: #999;
-  width: 408rpx;
-  margin-bottom: 44rpx;
+    font-size: 24rpx;
+    line-height: 36rpx;
+    color: #999;
+    width: 408rpx;
+    margin-bottom: 44rpx;
 }
 
 .auth-content .btn {
-  position: absolute;
-  left: 0;
+    /* position: absolute; */
+    /* left: 0;
   right: 0;
-  bottom: 30rpx;
-  align-items: flex-start;
-  justify-content: center;
-  font-size: 28rpx;
+  bottom: 30rpx; */
+    margin-top: 12vh;
+    align-items: flex-start;
+    justify-content: center;
+    font-size: 28rpx;
+}
+
+.tips {
+    text-align: center;
+    margin-bottom: 20rpx;
+    margin-top: 10rpx;
+
+    /* color: #f45b56; */
+    font-size: 24rpx;
 }
 
 .auth-content .btn .close-btn {
- 
-  width: 50%;
-  text-align: center;
-  color: #f45b56;
-  border: 1rpx solid #f45b56;
-  border-radius: 36rpx;
-  margin: 10rpx auto;
-  padding: 0 15px;
-  height: 64rpx;
-  line-height: 64rpx;
+
+    width: 50%;
+    text-align: center;
+    color: #f45b56;
+    border: 1rpx solid #f45b56;
+    border-radius: 36rpx;
+    margin: 10rpx auto;
+    padding: 0 15px;
+    height: 64rpx;
+    line-height: 64rpx;
 }
 
 .auth-content .btn .close-img {
-  margin: 0 15rpx;
+    margin: 0 15rpx;
 }
 
 .auth-content .btn .img {
-  width: 180rpx;
+    width: 180rpx;
 }
 
 .auth-content .confirm {
-  width: 60%;
-  margin: 10rpx auto;
-  height: 74rpx;
-  line-height: 64rpx;
-  color: #fff;
-  background: #f45b56;
-  border-radius: 36rpx;
-  font-size: 28rpx;
-  padding: 0rpx 32rpx;
+    width: 60%;
+    margin: 30rpx auto;
+    height: 74rpx;
+    line-height: 64rpx;
+    color: #fff;
+    background: #f45b56;
+    border-radius: 36rpx;
+    font-size: 28rpx;
+    padding: 0rpx 32rpx;
 }
 
 .auth-content .confirm-img {
-  width: 180rpx;
-  height: 64rpx;
-  line-height: 64rpx;
-  margin: 0 15rpx;
-  padding: 0;
+    width: 180rpx;
+    height: 64rpx;
+    line-height: 64rpx;
+    margin: 0 15rpx;
+    padding: 0;
 }
 
 .updateWx {
-  width: 425rpx;
-  height: 64rpx;
-  line-height: 64rpx;
-  color: #fff;
-  background: #f45b56;
-  border-radius: 36rpx;
-  margin: 0 0 30rpx;
-  text-align: center;
-}
-.content{
-  display: block;
-  height: 60%;
-  width: 100%;
-}
-.avatar{
-  margin-left: -36rpx;
-  border-radius: 50%;
-  margin-top: -4rpx;
-  height:120rpx;
-  width:120rpx;
-}
-.weui-input{
-  width: 80%;
-  border-bottom: 1rpx solid #999;
-  padding-left: 10rpx;
-  margin-top: -6rpx;
-}
-.avatar-wrapper{
-  border: 1rpx solid #f45b56;
-  border-radius: 50%;
-  height:120rpx;
-  width:120rpx;
-}
-.nm{
-
-  margin: 40rpx;
-  font-size: 32rpx;
-  display: flex;
+    width: 425rpx;
+    height: 64rpx;
+    line-height: 64rpx;
+    color: #fff;
+    background: #f45b56;
+    border-radius: 36rpx;
+    margin: 0 0 30rpx;
+    text-align: center;
+}
+
+.content {
+    display: block;
+    height: 60%;
+    margin-bottom: 70rpx;
+    width: 100%;
+}
+
+.avatar {
+    margin-left: -36rpx;
+    border-radius: 50%;
+    margin-top: -4rpx;
+    height: 180rpx;
+    width: 180rpx;
+}
+
+.weui-input {
+    width: 80%;
+    /* border-bottom: 1rpx solid #999; */
+    padding-left: 10rpx;
+    margin-top: -6rpx;
+}
+
+.avatar-wrapper {
+    border: 1rpx solid #f45b56;
+    border-radius: 50%;
+    height: 180rpx;
+    width: 180rpx;
+}
+
+.nm {
+
+    /* margin: 40rpx 40rpx 0; */
+    margin: 0 30rpx;
+    font-size: 32rpx;
+    margin-top: 50rpx;
+    /* background-color: aliceblue; */
+    border-top: solid rgb(214, 214, 214) 1px;
+    border-bottom: solid rgb(214, 214, 214) 1px;
+    padding: 20rpx;
+    display: flex;
 }

+ 1 - 1
前端/project.config.json

@@ -1,5 +1,5 @@
 {
-    "appid": "wx8d0dbcebdc2950f8",
+    "appid": "wxb5a03d3b3ec643b3",
     "compileType": "miniprogram",
     "libVersion": "2.28.1",
     "packOptions": {

+ 2 - 2
前端/project.private.config.json

@@ -1,8 +1,8 @@
 {
-    "projectname": "%E7%8B%AE%E5%AD%90%E9%B1%BC17.9%E4%BF%AE%E5%A4%8D%E5%89%8D%E7%AB%AF",
+    "projectname": "%E5%89%8D%E7%AB%AF",
     "setting": {
         "compileHotReLoad": true,
-        "urlCheck": false
+        "urlCheck": true
     },
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
     "condition": {

+ 1 - 1
前端/siteinfo.js

@@ -1,2 +1,2 @@
-var siteinfo = { "siteroot": "https://2.xianlaiban.top/wxapp.php"}
+var siteinfo = { "siteroot": "https://shop.shengguo.cc/wxapp.php"}
 module.exports = siteinfo