frame" x="0.0" y="264" width="414" height="48"/> 239 235
                                         <subviews>
240 236
                                             <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="about-score" translatesAutoresizingMaskIntoConstraints="NO" id="0O4-xB-jPJ">
241
-                                                <rect key="frame" x="16" y="8" width="32" height="32"/>
237
+                                                <rect key="frame" x="16" y="16" width="16" height="16"/>
242 238
                                             </imageView>
243 239
                                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="给我评分" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JAf-2j-KJO">
244
-                                                <rect key="frame" x="62" y="14.5" width="65.5" height="19.5"/>
240
+                                                <rect key="frame" x="46" y="14.5" width="65.5" height="19.5"/>
245 241
                                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
246 242
                                                 <fontDescription key="fontDescription" type="system" pointSize="16"/>
247 243
                                                 <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
248 244
                                                 <nil key="highlightedColor"/>
249 245
                                             </label>
250 246
                                             <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="list-arrow" translatesAutoresizingMaskIntoConstraints="NO" id="vLw-Zd-Mis">
251
-                                                <rect key="frame" x="357" y="18" width="8" height="12"/>
247
+                                                <rect key="frame" x="388" y="16" width="16" height="16"/>
252 248
                                             </imageView>
253 249
                                             <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FIE-jb-ZGu">
254
-                                                <rect key="frame" x="0.0" y="0.0" width="375" height="48"/>
250
+                                                <rect key="frame" x="0.0" y="0.0" width="414" height="48"/>
255 251
                                             </button>
256 252
                                         </subviews>
257 253
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -270,23 +266,23 @@
270 266
                                         </constraints>
271 267
                                     </view>
272 268
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hN9-6g-QCB" userLabel="User Agreement View">
273
-                                        <rect key="frame" x="0.0" y="312" width="375" height="48"/>
269
+                                        <rect key="frame" x="0.0" y="312" width="414" height="48"/>
274 270
                                         <subviews>
275 271
                                             <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="about-userAgreement" translatesAutoresizingMaskIntoConstraints="NO" id="u6G-8X-fqc">
276
-                                                <rect key="frame" x="16" y="8" width="32" height="32"/>
272
+                                                <rect key="frame" x="16" y="16" width="16" height="16"/>
277 273
                                             </imageView>
278 274
                                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="用户协议" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="COm-64-2lk">
279
-                                                <rect key="frame" x="62" y="14.5" width="65.5" height="19.5"/>
275
+                                                <rect key="frame" x="46" y="14.5" width="65.5" height="19.5"/>
280 276
                                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
281 277
                                                 <fontDescription key="fontDescription" type="system" pointSize="16"/>
282 278
                                                 <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
283 279
                                                 <nil key="highlightedColor"/>
284 280
                                             </label>
285 281
                                             <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="list-arrow" translatesAutoresizingMaskIntoConstraints="NO" id="mhJ-Uj-tdj">
286
-                                                <rect key="frame" x="357" y="18" width="8" height="12"/>
282
+                                                <rect key="frame" x="388" y="16" width="16" height="16"/>
287 283
                                             </imageView>
288 284
                                             <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VGv-oO-leT">
289
-                                                <rect key="frame" x="0.0" y="0.0" width="375" height="48"/>
285
+                                                <rect key="frame" x="0.0" y="0.0" width="414" height="48"/>
290 286
                                             </button>
291 287
                                         </subviews>
292 288
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -305,18 +301,18 @@
305 301
                                         </constraints>
306 302
                                     </view>
307 303
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bjC-jQ-LOw" userLabel="Fill view">
308
-                                        <rect key="frame" x="0.0" y="360" width="375" height="254.5"/>
304
+                                        <rect key="frame" x="0.0" y="360" width="414" height="483.5"/>
309 305
                                         <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
310 306
                                     </view>
311 307
                                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="版本:1.0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bEV-QT-Egq">
312
-                                        <rect key="frame" x="0.0" y="614.5" width="375" height="14.5"/>
308
+                                        <rect key="frame" x="0.0" y="843.5" width="414" height="14.5"/>
313 309
                                         <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
314 310
                                         <fontDescription key="fontDescription" type="system" pointSize="12"/>
315 311
                                         <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
316 312
                                         <nil key="highlightedColor"/>
317 313
                                     </label>
318 314
                                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copyright@pai.ai" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="inH-WZ-fdD">
319
-                                        <rect key="frame" x="0.0" y="629" width="375" height="12"/>
315
+                                        <rect key="frame" x="0.0" y="858" width="414" height="12"/>
320 316
                                         <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
321 317
                                         <fontDescription key="fontDescription" type="system" pointSize="10"/>
322 318
                                         <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
@@ -351,22 +347,22 @@
351 347
             <objects>
352 348
                 <viewController storyboardIdentifier="MineOrderViewController" automaticallyAdjustsScrollViewInsets="NO" id="Rcb-gY-KGS" customClass="MineOrderViewController" customModule="Paiai_iOS" customModuleProvider="target" sceneMemberID="viewController">
353 349
                     <view key="view" contentMode="scaleToFill" id="1da-az-lxh">
354
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
350
+                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
355 351
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
356 352
                         <subviews>
357 353
                             <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" rowHeight="64" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Ysr-aa-J9R">
358
-                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
354
+                                <rect key="frame" x="0.0" y="20" width="414" height="876"/>
359 355
                                 <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
360 356
                                 <color key="separatorColor" red="0.94117647058823528" green="0.94117647058823528" blue="0.94117647058823528" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
361 357
                                 <prototypes>
362 358
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="orderCell" rowHeight="64" id="b9t-RY-ZJI" customClass="OrderCell" customModule="Paiai_iOS" customModuleProvider="target">
363
-                                        <rect key="frame" x="0.0" y="28" width="375" height="64"/>
359
+                                        <rect key="frame" x="0.0" y="28" width="414" height="64"/>
364 360
                                         <autoresizingMask key="autoresizingMask"/>
365 361
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="b9t-RY-ZJI" id="90v-hW-Nj2">
366
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="63.5"/>
362
+                                            <rect key="frame" x="0.0" y="0.0" width="414" height="63.5"/>
367 363
                                             <autoresizingMask key="autoresizingMask"/>
368 364
                                             <subviews>
369
-                                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" tag="1001" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="默认头像" translatesAutoresizingMaskIntoConstraints="NO" id="PNO-iQ-jhe">
365
+                                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" tag="1001" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defaultAvatar" translatesAutoresizingMaskIntoConstraints="NO" id="PNO-iQ-jhe">
370 366
                                                     <rect key="frame" x="12" y="8" width="48" height="48"/>
371 367
                                                     <constraints>
372 368
                                                         <constraint firstAttribute="width" secondItem="PNO-iQ-jhe" secondAttribute="height" multiplier="1:1" id="WIg-kG-Lyt"/>
@@ -459,11 +455,11 @@
459 455
             <objects>
460 456
                 <viewController storyboardIdentifier="MineViewController" id="Kfp-Vc-gX5" customClass="MineViewController" customModule="Paiai_iOS" customModuleProvider="target" sceneMemberID="viewController">
461 457
                     <view key="view" contentMode="scaleToFill" id="FlU-Tv-4Jo">
462
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
458
+                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
463 459
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
464 460
                         <subviews>
465 461
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jhj-pW-9Bq">
466
-                                <rect key="frame" x="0.0" y="0.0" width="300" height="667"/>
462
+                                <rect key="frame" x="0.0" y="0.0" width="300" height="896"/>
467 463
                                 <subviews>
468 464
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h2e-Sk-rUf">
469 465
                                         <rect key="frame" x="0.0" y="0.0" width="300" height="180"/>
@@ -499,7 +495,7 @@
499 495
                                         </constraints>
500 496
                                     </view>
501 497
                                     <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="79F-2W-LpP">
502
-                                        <rect key="frame" x="0.0" y="180" width="300" height="403"/>
498
+                                        <rect key="frame" x="0.0" y="180" width="300" height="632"/>
503 499
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
504 500
                                         <view key="tableFooterView" contentMode="scaleToFill" id="n6f-5A-4wg">
505 501
                                             <rect key="frame" x="0.0" y="72" width="300" height="128"/>
@@ -531,7 +527,7 @@
531 527
                                         </connections>
532 528
                                     </tableView>
533 529
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WmD-RM-Gge">
534
-                                        <rect key="frame" x="0.0" y="583" width="300" height="84"/>
530
+                                        <rect key="frame" x="0.0" y="812" width="300" height="84"/>
535 531
                                         <subviews>
536 532
                                             <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uFJ-qP-CrW">
537 533
                                                 <rect key="frame" x="0.0" y="0.0" width="300" height="84"/>
@@ -596,9 +592,9 @@
596 592
         <image name="about-contactUs" width="32" height="32"/>
597 593
         <image name="about-score" width="32" height="32"/>
598 594
         <image name="about-userAgreement" width="32" height="32"/>
595
+        <image name="defaultAvatar" width="16" height="16"/>
599 596
         <image name="list-arrow" width="8" height="12"/>
600 597
         <image name="logo" width="140" height="140"/>
601 598
         <image name="navigation-background" width="6" height="66"/>
602
-        <image name="默认头像" width="240" height="240"/>
603 599
     </resources>
604 600
 </document>

+ 1 - 1
PaiAi/Paiai_iOS/App/Mine/MineAboutViewController.swift

@@ -27,7 +27,7 @@ final class MineAboutViewController: UIViewController {
27 27
         
28 28
 //        scoreLabel.text = UserDefaults.Account.bool(forKey: .isAudit) ? "敬请期待" : "给我评分"
29 29
 //        scoreBtn.isEnabled = !(UserDefaults.Account.bool(forKey: .isAudit))
30
-        title = "关于"
30
+        navigationItem.title = "关于"
31 31
         versionLabel.text = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
32 32
         bindGestures()
33 33
     }

+ 1 - 1
PaiAi/Paiai_iOS/App/Mine/MineFeedbackViewController.swift

@@ -22,7 +22,7 @@ final class MineFeedbackViewController: UIViewController {
22 22
     
23 23
     override func viewDidLoad() {
24 24
         super.viewDidLoad()
25
-        title = "意见反馈"
25
+        navigationItem.title = "意见反馈"
26 26
         textView.placeholder = "您的建议是我们前进的动力"
27 27
         textView.textContainerInset = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
28 28
         bindTextViewToSendBtn()

+ 1 - 1
PaiAi/Paiai_iOS/App/Mine/MineGroupViewController.swift

@@ -32,7 +32,7 @@ final class MineGroupViewController: UIViewController {
32 32
     }
33 33
     
34 34
     private func setNavigationBar() {
35
-        title = "我的照片群"
35
+        navigationItem.title = "我的照片群"
36 36
     }
37 37
     
38 38
     private func setup() {

+ 1 - 1
PaiAi/Paiai_iOS/App/Mine/MineOrderViewController.swift

@@ -29,7 +29,7 @@ final class MineOrderViewController: UIViewController {
29 29
     }
30 30
     
31 31
     private func setNavigationBar() {
32
-        title = "订单记录"
32
+        navigationItem.title = "订单记录"
33 33
     }
34 34
     
35 35
     private func setup() {

+ 1 - 1
PaiAi/Paiai_iOS/App/PhotoDetail/PhotoDetailViewController.swift

@@ -53,7 +53,7 @@ final class PhotoDetailViewController: UIViewController {
53 53
     // MARK: view function
54 54
     override func viewDidLoad() {
55 55
         super.viewDidLoad()
56
-        title = "详情"
56
+        navigationItem.title = "详情"
57 57
         binding()
58 58
         setup()
59 59
     }

+ 1 - 1
PaiAi/Swift-bridge.h

@@ -15,7 +15,7 @@
15 15
 //#import <TencentOpenAPI/QQApiInterface.h>
16 16
 
17 17
 //微信SDK头文件
18
-#import "WXApi.h"
18
+//#import "WXApi.h"
19 19
 
20 20
 //新浪微博SDK头文件
21 21
 //#import "WeiboSDK.h"

kodo - Gogs: Go Git Service

Aucune description

Kimi.Huang: 8d998319f7 Makemigrations 6 ans auparavant
..
migrations 8d998319f7 Makemigrations 6 ans auparavant
__init__.py aa31a5f59a Add kodo 8 ans auparavant
admin.py 0c4bdb5e80 has_used 7 ans auparavant
apps.py aa31a5f59a Add kodo 8 ans auparavant
models.py b9200f9ed2 Sales 6 ans auparavant
tests.py aa31a5f59a Add kodo 8 ans auparavant
views.py aa31a5f59a Add kodo 8 ans auparavant