Explorar el Código

fix:技师二维码增加 技师名字与工作门店信息展示

Cooklalala hace 1 año
padre
commit
70cd6a436f
Se han modificado 2 ficheros con 7 adiciones y 4 borrados
  1. 2 2
      pages/index/index.rpx.css
  2. 5 2
      pages/index/index.vue

+ 2 - 2
pages/index/index.rpx.css

@@ -520,12 +520,12 @@
 }
 .promotionView{
 	width: 500rpx;
-	height: 600rpx;
+	mix-height: 600rpx;
 	background: #FFFFFF;
 	border-radius: 24rpx;
 }
 .qrcodeView{
-	padding: 50rpx 0;
+	padding: 10rpx 0;
 }
 .stateStr{
 	font-size: 28rpx;

+ 5 - 2
pages/index/index.vue

@@ -289,11 +289,14 @@
     </uni-popup>
     <uni-popup ref="promotionPopup" type="center">
       <view class="promotionView">
+        <view class="flex-row justify-center">
+          <text>娇骄儿造型</text>
+        </view>
         <view class="flex-row justify-center qrcodeView">
-          <uv-qrcode ref="qrcode" size="400rpx" :value="codeUrl" :options="options"></uv-qrcode>
+           <uv-qrcode ref="qrcode" size="400rpx" :value="codeUrl" :options="options"></uv-qrcode>
         </view>
         <view class="flex-row justify-center">
-          <text>娇骄儿造型</text>
+          <text>{{ this.userInfo.name }}({{ this.userInfo.workStoreName }})</text>
         </view>
         <view class="flex-row justify-center">
           <text>{{ codeTime }}</text>